diff --git a/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt b/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt index 9df622e5c8cf..2cb9d191ed62 100644 --- a/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt @@ -4,11 +4,11 @@ Commencing code generation Generating CSharp code Executing AutoRest command 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:\Projects\azure-sdk-for-net\sdk -2019-11-26 10:14:48 UTC +2019-12-03 03:18:35 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 51c73f3413f32560f3ce4d2a9fd7d82492e98552 +Commit: 1a9f8e392421b4767e1137586ec95b73c2858097 AutoRest information Requested version: latest Bootstrapper version: autorest@2.0.4407 diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceLinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceLinkedService.cs index 085fbdb39fbc..2a4640e490b9 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceLinkedService.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceLinkedService.cs @@ -55,17 +55,20 @@ public SalesforceLinkedService() /// Salesforce instance. /// The security token is required to /// remotely access Salesforce instance. + /// The Salesforce API version used in ADF. + /// Type: string (or Expression with resultType string). /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public SalesforceLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object environmentUrl = default(object), object username = default(object), SecretBase password = default(SecretBase), SecretBase securityToken = default(SecretBase), object encryptedCredential = default(object)) + public SalesforceLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object environmentUrl = default(object), object username = default(object), SecretBase password = default(SecretBase), SecretBase securityToken = default(SecretBase), object apiVersion = default(object), object encryptedCredential = default(object)) : base(additionalProperties, connectVia, description, parameters, annotations) { EnvironmentUrl = environmentUrl; Username = username; Password = password; SecurityToken = securityToken; + ApiVersion = apiVersion; EncryptedCredential = encryptedCredential; CustomInit(); } @@ -107,6 +110,13 @@ public SalesforceLinkedService() [JsonProperty(PropertyName = "typeProperties.securityToken")] public SecretBase SecurityToken { get; set; } + /// + /// Gets or sets the Salesforce API version used in ADF. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.apiVersion")] + public object ApiVersion { 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/tests/JsonSamples/LinkedServiceJsonSamples.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/LinkedServiceJsonSamples.cs index 3f89a5c107c9..55fe7db76252 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/LinkedServiceJsonSamples.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/LinkedServiceJsonSamples.cs @@ -1127,7 +1127,8 @@ public class LinkedServiceJsonSamples : JsonSampleCollection