diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbConnectionMode.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbConnectionMode.cs new file mode 100644 index 000000000000..e0c61225bc58 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbConnectionMode.cs @@ -0,0 +1,22 @@ +// +// 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 +{ + + /// + /// Defines values for CosmosDbConnectionMode. + /// + public static class CosmosDbConnectionMode + { + public const string Gateway = "Gateway"; + public const string Direct = "Direct"; + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbLinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbLinkedService.cs index 076249b68755..0ae5ab29f54c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbLinkedService.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbLinkedService.cs @@ -52,17 +52,50 @@ public CosmosDbLinkedService() /// The account key of the Azure CosmosDB /// account. Type: SecureString or /// AzureKeyVaultSecretReference. + /// The client ID of the application + /// in Azure Active Directory used for Server-To-Server authentication. + /// Type: string (or Expression with resultType string). + /// The service principal + /// credential type to use in Server-To-Server authentication. + /// 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for + /// certificate. Type: string (or Expression with resultType string). + /// Possible values include: 'ServicePrincipalKey', + /// 'ServicePrincipalCert' + /// The credential of the + /// service principal object in Azure Active Directory. If + /// servicePrincipalCredentialType is 'ServicePrincipalKey', + /// servicePrincipalCredential can be SecureString or + /// AzureKeyVaultSecretReference. If servicePrincipalCredentialType is + /// 'ServicePrincipalCert', servicePrincipalCredential can only be + /// AzureKeyVaultSecretReference. + /// The name or ID of the tenant to which the + /// service principal belongs. Type: string (or Expression with + /// resultType string). + /// Indicates the azure cloud type of the + /// service principle auth. Allowed values are AzurePublic, AzureChina, + /// AzureUsGovernment, AzureGermany. Default value is the data factory + /// regions’ cloud type. Type: string (or Expression with resultType + /// string). + /// The connection mode used to access + /// CosmosDB account. Type: string (or Expression with resultType + /// string). Possible values include: 'Gateway', 'Direct' /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public CosmosDbLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object connectionString = default(object), object accountEndpoint = default(object), object database = default(object), SecretBase accountKey = default(SecretBase), object encryptedCredential = default(object)) + public CosmosDbLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object connectionString = default(object), object accountEndpoint = default(object), object database = default(object), SecretBase accountKey = default(SecretBase), object servicePrincipalId = default(object), string servicePrincipalCredentialType = default(string), SecretBase servicePrincipalCredential = default(SecretBase), object tenant = default(object), object azureCloudType = default(object), string connectionMode = default(string), object encryptedCredential = default(object)) : base(additionalProperties, connectVia, description, parameters, annotations) { ConnectionString = connectionString; AccountEndpoint = accountEndpoint; Database = database; AccountKey = accountKey; + ServicePrincipalId = servicePrincipalId; + ServicePrincipalCredentialType = servicePrincipalCredentialType; + ServicePrincipalCredential = servicePrincipalCredential; + Tenant = tenant; + AzureCloudType = azureCloudType; + ConnectionMode = connectionMode; EncryptedCredential = encryptedCredential; CustomInit(); } @@ -100,6 +133,62 @@ public CosmosDbLinkedService() [JsonProperty(PropertyName = "typeProperties.accountKey")] public SecretBase AccountKey { get; set; } + /// + /// Gets or sets the client ID of the application in Azure Active + /// Directory used for Server-To-Server authentication. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalId")] + public object ServicePrincipalId { get; set; } + + /// + /// Gets or sets the service principal credential type to use in + /// Server-To-Server authentication. 'ServicePrincipalKey' for + /// key/secret, 'ServicePrincipalCert' for certificate. Type: string + /// (or Expression with resultType string). Possible values include: + /// 'ServicePrincipalKey', 'ServicePrincipalCert' + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalCredentialType")] + public string ServicePrincipalCredentialType { get; set; } + + /// + /// Gets or sets the credential of the service principal object in + /// Azure Active Directory. If servicePrincipalCredentialType is + /// 'ServicePrincipalKey', servicePrincipalCredential can be + /// SecureString or AzureKeyVaultSecretReference. If + /// servicePrincipalCredentialType is 'ServicePrincipalCert', + /// servicePrincipalCredential can only be + /// AzureKeyVaultSecretReference. + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalCredential")] + public SecretBase ServicePrincipalCredential { get; set; } + + /// + /// Gets or sets the name or ID of the tenant to which the service + /// principal belongs. Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "typeProperties.tenant")] + public object Tenant { get; set; } + + /// + /// Gets or sets indicates the azure cloud type of the service + /// principle auth. Allowed values are AzurePublic, AzureChina, + /// AzureUsGovernment, AzureGermany. Default value is the data factory + /// regions’ cloud type. Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "typeProperties.azureCloudType")] + public object AzureCloudType { get; set; } + + /// + /// Gets or sets the connection mode used to access CosmosDB account. + /// Type: string (or Expression with resultType string). Possible + /// values include: 'Gateway', 'Direct' + /// + [JsonProperty(PropertyName = "typeProperties.connectionMode")] + public string ConnectionMode { get; set; } + /// /// Gets or sets the encrypted credential used for authentication. /// Credentials are encrypted using the integration runtime credential diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbServicePrincipalCredentialType.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbServicePrincipalCredentialType.cs new file mode 100644 index 000000000000..b88fa320ce35 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbServicePrincipalCredentialType.cs @@ -0,0 +1,22 @@ +// +// 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 +{ + + /// + /// Defines values for CosmosDbServicePrincipalCredentialType. + /// + public static class CosmosDbServicePrincipalCredentialType + { + public const string ServicePrincipalKey = "ServicePrincipalKey"; + public const string ServicePrincipalCert = "ServicePrincipalCert"; + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Factory.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Factory.cs index d85ff38d01f8..e96b57ac1009 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Factory.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Factory.cs @@ -143,6 +143,10 @@ public Factory() /// public virtual void Validate() { + if (Identity != null) + { + Identity.Validate(); + } if (RepoConfiguration != null) { RepoConfiguration.Validate(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryIdentity.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryIdentity.cs index 40f4a1195d4e..42580a9f25d6 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryIdentity.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryIdentity.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -31,31 +32,35 @@ public FactoryIdentity() /// /// Initializes a new instance of the FactoryIdentity class. /// + /// The identity type. Possible values include: + /// 'SystemAssigned', 'UserAssigned', + /// 'SystemAssigned,UserAssigned' /// The principal id of the identity. /// The client tenant id of the /// identity. /// List of user assigned /// identities for the factory. - public FactoryIdentity(System.Guid? principalId = default(System.Guid?), System.Guid? tenantId = default(System.Guid?), IDictionary userAssignedIdentities = default(IDictionary)) + public FactoryIdentity(string type, System.Guid? principalId = default(System.Guid?), System.Guid? tenantId = default(System.Guid?), IDictionary userAssignedIdentities = default(IDictionary)) { + Type = type; PrincipalId = principalId; TenantId = tenantId; UserAssignedIdentities = userAssignedIdentities; CustomInit(); } - /// - /// Static constructor for FactoryIdentity class. - /// - static FactoryIdentity() - { - Type = "SystemAssigned"; - } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); + /// + /// Gets or sets the identity type. Possible values include: + /// 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned' + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + /// /// Gets the principal id of the identity. /// @@ -75,10 +80,17 @@ static FactoryIdentity() public IDictionary UserAssignedIdentities { get; set; } /// - /// The identity type. + /// Validate the object. /// - [JsonProperty(PropertyName = "type")] - public static string Type { get; private set; } - + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + } } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryIdentityType.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryIdentityType.cs new file mode 100644 index 000000000000..242d410d0011 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryIdentityType.cs @@ -0,0 +1,23 @@ +// +// 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 +{ + + /// + /// Defines values for FactoryIdentityType. + /// + public static class FactoryIdentityType + { + public const string SystemAssigned = "SystemAssigned"; + public const string UserAssigned = "UserAssigned"; + public const string SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"; + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryUpdateParameters.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryUpdateParameters.cs index c6c5204a7abd..0f65c6a02eb6 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryUpdateParameters.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryUpdateParameters.cs @@ -58,5 +58,18 @@ public FactoryUpdateParameters() [JsonProperty(PropertyName = "identity")] public FactoryIdentity Identity { get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Identity != null) + { + Identity.Validate(); + } + } } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpLinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpLinkedService.cs index 59f8528d3d92..5c4832f8b56d 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpLinkedService.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpLinkedService.cs @@ -53,6 +53,9 @@ public HttpLinkedService() /// string). /// Password for Basic, Digest, Windows, or /// ClientCertificate with EmbeddedCertData authentication. + /// The additional HTTP headers in the + /// request to RESTful API used for authorization. Type: object (or + /// Expression with resultType object). /// Base64 encoded certificate data for /// ClientCertificate authentication. For on-premises copy with /// ClientCertificate authentication, either CertThumbprint or @@ -70,13 +73,14 @@ public HttpLinkedService() /// If true, validate /// the HTTPS server SSL certificate. Default value is true. Type: /// boolean (or Expression with resultType boolean). - public HttpLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), string authenticationType = default(string), object userName = default(object), SecretBase password = default(SecretBase), object embeddedCertData = default(object), object certThumbprint = default(object), object encryptedCredential = default(object), object enableServerCertificateValidation = default(object)) + public HttpLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), string authenticationType = default(string), object userName = default(object), SecretBase password = default(SecretBase), object authHeaders = default(object), object embeddedCertData = default(object), object certThumbprint = default(object), object encryptedCredential = default(object), object enableServerCertificateValidation = default(object)) : base(additionalProperties, connectVia, description, parameters, annotations) { Url = url; AuthenticationType = authenticationType; UserName = userName; Password = password; + AuthHeaders = authHeaders; EmbeddedCertData = embeddedCertData; CertThumbprint = certThumbprint; EncryptedCredential = encryptedCredential; @@ -120,6 +124,14 @@ public HttpLinkedService() [JsonProperty(PropertyName = "typeProperties.password")] public SecretBase Password { get; set; } + /// + /// Gets or sets the additional HTTP headers in the request to RESTful + /// API used for authorization. Type: object (or Expression with + /// resultType object). + /// + [JsonProperty(PropertyName = "typeProperties.authHeaders")] + public object AuthHeaders { get; set; } + /// /// Gets or sets base64 encoded certificate data for ClientCertificate /// authentication. For on-premises copy with ClientCertificate diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ODataLinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ODataLinkedService.cs index 35aef57a1c51..de9f25138e0f 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ODataLinkedService.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ODataLinkedService.cs @@ -51,6 +51,9 @@ public ODataLinkedService() /// User name of the OData service. Type: string /// (or Expression with resultType string). /// Password of the OData service. + /// The additional HTTP headers in the + /// request to RESTful API used for authorization. Type: object (or + /// Expression with resultType object). /// Specify the tenant information (domain name or /// tenant ID) under which your application resides. Type: string (or /// Expression with resultType string). @@ -84,13 +87,14 @@ public ODataLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public ODataLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), string authenticationType = default(string), object userName = default(object), SecretBase password = default(SecretBase), object tenant = default(object), object servicePrincipalId = default(object), object azureCloudType = default(object), object aadResourceId = default(object), string aadServicePrincipalCredentialType = default(string), SecretBase servicePrincipalKey = default(SecretBase), SecretBase servicePrincipalEmbeddedCert = default(SecretBase), SecretBase servicePrincipalEmbeddedCertPassword = default(SecretBase), object encryptedCredential = default(object)) + public ODataLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), string authenticationType = default(string), object userName = default(object), SecretBase password = default(SecretBase), object authHeaders = default(object), object tenant = default(object), object servicePrincipalId = default(object), object azureCloudType = default(object), object aadResourceId = default(object), string aadServicePrincipalCredentialType = default(string), SecretBase servicePrincipalKey = default(SecretBase), SecretBase servicePrincipalEmbeddedCert = default(SecretBase), SecretBase servicePrincipalEmbeddedCertPassword = default(SecretBase), object encryptedCredential = default(object)) : base(additionalProperties, connectVia, description, parameters, annotations) { Url = url; AuthenticationType = authenticationType; UserName = userName; Password = password; + AuthHeaders = authHeaders; Tenant = tenant; ServicePrincipalId = servicePrincipalId; AzureCloudType = azureCloudType; @@ -136,6 +140,14 @@ public ODataLinkedService() [JsonProperty(PropertyName = "typeProperties.password")] public SecretBase Password { get; set; } + /// + /// Gets or sets the additional HTTP headers in the request to RESTful + /// API used for authorization. Type: object (or Expression with + /// resultType object). + /// + [JsonProperty(PropertyName = "typeProperties.authHeaders")] + public object AuthHeaders { get; set; } + /// /// Gets or sets specify the tenant information (domain name or tenant /// ID) under which your application resides. Type: string (or diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RestServiceLinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RestServiceLinkedService.cs index ef7a9bf8a1bd..9d01c779f3fb 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RestServiceLinkedService.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RestServiceLinkedService.cs @@ -54,6 +54,9 @@ public RestServiceLinkedService() /// type. /// The password used in Basic authentication /// type. + /// The additional HTTP headers in the + /// request to RESTful API used for authorization. Type: object (or + /// Expression with resultType object). /// The application's client ID used /// in AadServicePrincipal authentication type. /// The application's key used in @@ -72,7 +75,7 @@ public RestServiceLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public RestServiceLinkedService(object url, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object enableServerCertificateValidation = default(object), object userName = default(object), SecretBase password = default(SecretBase), object servicePrincipalId = default(object), SecretBase servicePrincipalKey = default(SecretBase), object tenant = default(object), object azureCloudType = default(object), object aadResourceId = default(object), object encryptedCredential = default(object)) + public RestServiceLinkedService(object url, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object enableServerCertificateValidation = default(object), object userName = default(object), SecretBase password = default(SecretBase), object authHeaders = default(object), object servicePrincipalId = default(object), SecretBase servicePrincipalKey = default(SecretBase), object tenant = default(object), object azureCloudType = default(object), object aadResourceId = default(object), object encryptedCredential = default(object)) : base(additionalProperties, connectVia, description, parameters, annotations) { Url = url; @@ -80,6 +83,7 @@ public RestServiceLinkedService() AuthenticationType = authenticationType; UserName = userName; Password = password; + AuthHeaders = authHeaders; ServicePrincipalId = servicePrincipalId; ServicePrincipalKey = servicePrincipalKey; Tenant = tenant; @@ -128,6 +132,14 @@ public RestServiceLinkedService() [JsonProperty(PropertyName = "typeProperties.password")] public SecretBase Password { get; set; } + /// + /// Gets or sets the additional HTTP headers in the request to RESTful + /// API used for authorization. Type: object (or Expression with + /// resultType object). + /// + [JsonProperty(PropertyName = "typeProperties.authHeaders")] + public object AuthHeaders { get; set; } + /// /// Gets or sets the application's client ID used in /// AadServicePrincipal authentication type. 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 100% 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 diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpAuthenticationType.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpAuthenticationType.cs index 3723a2ea0662..e7d93b9a8692 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpAuthenticationType.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpAuthenticationType.cs @@ -18,5 +18,6 @@ public static class SftpAuthenticationType { public const string Basic = "Basic"; public const string SshPublicKey = "SshPublicKey"; + public const string MultiFactor = "MultiFactor"; } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpServerLinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpServerLinkedService.cs index 39509f45ebec..9ca1ed34ff3f 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpServerLinkedService.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpServerLinkedService.cs @@ -49,7 +49,7 @@ public SftpServerLinkedService() /// (or Expression with resultType integer), minimum: 0. /// The authentication type to be used /// to connect to the FTP server. Possible values include: 'Basic', - /// 'SshPublicKey' + /// 'SshPublicKey', 'MultiFactor' /// The username used to log on to the SFTP /// server. Type: string (or Expression with resultType /// string). @@ -118,7 +118,8 @@ public SftpServerLinkedService() /// /// Gets or sets the authentication type to be used to connect to the - /// FTP server. Possible values include: 'Basic', 'SshPublicKey' + /// FTP server. Possible values include: 'Basic', 'SshPublicKey', + /// 'MultiFactor' /// [JsonProperty(PropertyName = "typeProperties.authenticationType")] public string AuthenticationType { get; set; } 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 2011a9871690..75005e8302fd 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 @@ -40,16 +40,5 @@ public static IEnumerable> ApiInfo_DataFactoryMana }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - 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=v2 --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=D:\\Projects\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "fce3400431eff281bddd04bed9727e63765b8da0"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -