diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeSsisProperties.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeSsisProperties.cs index ce973fd96ae6..839739aad639 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeSsisProperties.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeSsisProperties.cs @@ -48,7 +48,9 @@ public IntegrationRuntimeSsisProperties() /// Possible values include: 'Standard', 'Enterprise' /// Custom setup without /// script properties for a SSIS integration runtime. - public IntegrationRuntimeSsisProperties(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeSsisCatalogInfo catalogInfo = default(IntegrationRuntimeSsisCatalogInfo), string licenseType = default(string), IntegrationRuntimeCustomSetupScriptProperties customSetupScriptProperties = default(IntegrationRuntimeCustomSetupScriptProperties), IntegrationRuntimeDataProxyProperties dataProxyProperties = default(IntegrationRuntimeDataProxyProperties), string edition = default(string), IList expressCustomSetupProperties = default(IList)) + /// Package stores for the SSIS Integration + /// Runtime. + public IntegrationRuntimeSsisProperties(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeSsisCatalogInfo catalogInfo = default(IntegrationRuntimeSsisCatalogInfo), string licenseType = default(string), IntegrationRuntimeCustomSetupScriptProperties customSetupScriptProperties = default(IntegrationRuntimeCustomSetupScriptProperties), IntegrationRuntimeDataProxyProperties dataProxyProperties = default(IntegrationRuntimeDataProxyProperties), string edition = default(string), IList expressCustomSetupProperties = default(IList), IList packageStores = default(IList)) { AdditionalProperties = additionalProperties; CatalogInfo = catalogInfo; @@ -57,6 +59,7 @@ public IntegrationRuntimeSsisProperties() DataProxyProperties = dataProxyProperties; Edition = edition; ExpressCustomSetupProperties = expressCustomSetupProperties; + PackageStores = packageStores; CustomInit(); } @@ -114,6 +117,12 @@ public IntegrationRuntimeSsisProperties() [JsonProperty(PropertyName = "expressCustomSetupProperties")] public IList ExpressCustomSetupProperties { get; set; } + /// + /// Gets or sets package stores for the SSIS Integration Runtime. + /// + [JsonProperty(PropertyName = "packageStores")] + public IList PackageStores { get; set; } + /// /// Validate the object. /// @@ -130,6 +139,16 @@ public virtual void Validate() { CustomSetupScriptProperties.Validate(); } + if (PackageStores != null) + { + foreach (var element in PackageStores) + { + if (element != null) + { + element.Validate(); + } + } + } } } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PackageStore.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PackageStore.cs new file mode 100644 index 000000000000..2128cc4b7623 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PackageStore.cs @@ -0,0 +1,78 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Package store for the SSIS integration runtime. + /// + public partial class PackageStore + { + /// + /// Initializes a new instance of the PackageStore class. + /// + public PackageStore() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PackageStore class. + /// + /// The name of the package store + /// The package store linked + /// service reference. + public PackageStore(string name, EntityReference packageStoreLinkedService) + { + Name = name; + PackageStoreLinkedService = packageStoreLinkedService; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the package store + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets the package store linked service reference. + /// + [JsonProperty(PropertyName = "packageStoreLinkedService")] + public EntityReference PackageStoreLinkedService { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + if (PackageStoreLinkedService == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "PackageStoreLinkedService"); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisPackageLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SSISPackageLocation.cs similarity index 84% rename from sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisPackageLocation.cs rename to sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SSISPackageLocation.cs index 602b4a64b6db..0c6083576c94 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisPackageLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SSISPackageLocation.cs @@ -37,13 +37,16 @@ public SSISPackageLocation() /// The SSIS package path. Type: string (or /// Expression with resultType string). /// The type of SSIS package location. Possible - /// values include: 'SSISDB', 'File', 'InlinePackage' + /// values include: 'SSISDB', 'File', 'InlinePackage', + /// 'PackageStore' /// Password of the package. /// The package access /// credential. /// The configuration file of the /// package execution. Type: string (or Expression with resultType /// string). + /// The configuration file + /// access credential. /// The package name. /// The embedded package content. Type: /// string (or Expression with resultType string). @@ -51,13 +54,14 @@ public SSISPackageLocation() /// modified date. /// The embedded child package /// list. - public SSISPackageLocation(object packagePath = default(object), string type = default(string), SecretBase packagePassword = default(SecretBase), SSISAccessCredential accessCredential = default(SSISAccessCredential), object configurationPath = default(object), string packageName = default(string), object packageContent = default(object), string packageLastModifiedDate = default(string), IList childPackages = default(IList)) + public SSISPackageLocation(object packagePath = default(object), string type = default(string), SecretBase packagePassword = default(SecretBase), SSISAccessCredential accessCredential = default(SSISAccessCredential), object configurationPath = default(object), SSISAccessCredential configurationAccessCredential = default(SSISAccessCredential), string packageName = default(string), object packageContent = default(object), string packageLastModifiedDate = default(string), IList childPackages = default(IList)) { PackagePath = packagePath; Type = type; PackagePassword = packagePassword; AccessCredential = accessCredential; ConfigurationPath = configurationPath; + ConfigurationAccessCredential = configurationAccessCredential; PackageName = packageName; PackageContent = packageContent; PackageLastModifiedDate = packageLastModifiedDate; @@ -79,7 +83,7 @@ public SSISPackageLocation() /// /// Gets or sets the type of SSIS package location. Possible values - /// include: 'SSISDB', 'File', 'InlinePackage' + /// include: 'SSISDB', 'File', 'InlinePackage', 'PackageStore' /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } @@ -103,6 +107,12 @@ public SSISPackageLocation() [JsonProperty(PropertyName = "typeProperties.configurationPath")] public object ConfigurationPath { get; set; } + /// + /// Gets or sets the configuration file access credential. + /// + [JsonProperty(PropertyName = "typeProperties.configurationAccessCredential")] + public SSISAccessCredential ConfigurationAccessCredential { get; set; } + /// /// Gets or sets the package name. /// @@ -140,6 +150,10 @@ public virtual void Validate() { AccessCredential.Validate(); } + if (ConfigurationAccessCredential != null) + { + ConfigurationAccessCredential.Validate(); + } if (ChildPackages != null) { foreach (var element in ChildPackages) diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisPackageLocationType.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisPackageLocationType.cs index 9640cd9e0b8c..337f74c111a8 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisPackageLocationType.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisPackageLocationType.cs @@ -19,5 +19,6 @@ public static class SsisPackageLocationType public const string SSISDB = "SSISDB"; public const string File = "File"; public const string InlinePackage = "InlinePackage"; + public const string PackageStore = "PackageStore"; } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/SdkInfo_DataFactoryManagementClient.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/SdkInfo_DataFactoryManagementClient.cs index 38426566791b..b31348b3961b 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/SdkInfo_DataFactoryManagementClient.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/SdkInfo_DataFactoryManagementClient.cs @@ -37,15 +37,5 @@ public static IEnumerable> ApiInfo_DataFactoryMana }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=D:\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "7e6f562210b6223a186d22ed3d7f2b38e4efdfe2"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } }