diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.net8.0.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.net8.0.cs index 799ca8e5a9d9..7cf89879d5f4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.net8.0.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.net8.0.cs @@ -1724,6 +1724,7 @@ public AzureDatabricksLinkedService(Azure.Core.Expressions.DataFactory.DataFacto public Azure.Core.Expressions.DataFactory.DataFactorySecret AccessToken { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Authentication { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.DataFactoryCredentialReference Credential { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement DataSecurityMode { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Domain { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ExistingClusterId { get { throw null; } set { } } @@ -8728,6 +8729,9 @@ public partial class Office365LinkedService : Azure.ResourceManager.DataFactory. public Office365LinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement office365TenantId, Azure.Core.Expressions.DataFactory.DataFactoryElement servicePrincipalTenantId, Azure.Core.Expressions.DataFactory.DataFactoryElement servicePrincipalId, Azure.Core.Expressions.DataFactory.DataFactorySecret servicePrincipalKey) { } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Office365TenantId { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement ServicePrincipalCredentialType { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactorySecret ServicePrincipalEmbeddedCert { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactorySecret ServicePrincipalEmbeddedCertPassword { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ServicePrincipalId { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret ServicePrincipalKey { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ServicePrincipalTenantId { get { throw null; } set { } } @@ -11327,6 +11331,8 @@ public SnowflakeV2LinkedService(Azure.Core.Expressions.DataFactory.DataFactoryEl public Azure.Core.Expressions.DataFactory.DataFactorySecret Password { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret PrivateKey { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret PrivateKeyPassphrase { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Role { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Schema { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Scope { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TenantId { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement User { get { throw null; } set { } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.netstandard2.0.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.netstandard2.0.cs index 799ca8e5a9d9..7cf89879d5f4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.netstandard2.0.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.netstandard2.0.cs @@ -1724,6 +1724,7 @@ public AzureDatabricksLinkedService(Azure.Core.Expressions.DataFactory.DataFacto public Azure.Core.Expressions.DataFactory.DataFactorySecret AccessToken { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Authentication { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.DataFactoryCredentialReference Credential { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement DataSecurityMode { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Domain { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ExistingClusterId { get { throw null; } set { } } @@ -8728,6 +8729,9 @@ public partial class Office365LinkedService : Azure.ResourceManager.DataFactory. public Office365LinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement office365TenantId, Azure.Core.Expressions.DataFactory.DataFactoryElement servicePrincipalTenantId, Azure.Core.Expressions.DataFactory.DataFactoryElement servicePrincipalId, Azure.Core.Expressions.DataFactory.DataFactorySecret servicePrincipalKey) { } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Office365TenantId { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement ServicePrincipalCredentialType { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactorySecret ServicePrincipalEmbeddedCert { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactorySecret ServicePrincipalEmbeddedCertPassword { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ServicePrincipalId { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret ServicePrincipalKey { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ServicePrincipalTenantId { get { throw null; } set { } } @@ -11327,6 +11331,8 @@ public SnowflakeV2LinkedService(Azure.Core.Expressions.DataFactory.DataFactoryEl public Azure.Core.Expressions.DataFactory.DataFactorySecret Password { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret PrivateKey { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret PrivateKeyPassphrase { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Role { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Schema { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Scope { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TenantId { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement User { get { throw null; } set { } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksLinkedService.Serialization.cs index b13579179007..c1a05e97f89a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksLinkedService.Serialization.cs @@ -184,6 +184,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("credential"u8); writer.WriteObjectValue(Credential, options); } + if (Optional.IsDefined(DataSecurityMode)) + { + writer.WritePropertyName("dataSecurityMode"u8); + JsonSerializer.Serialize(writer, DataSecurityMode); + } writer.WriteEndObject(); foreach (var item in AdditionalProperties) { @@ -244,6 +249,7 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer string encryptedCredential = default; DataFactoryElement policyId = default; DataFactoryCredentialReference credential = default; + DataFactoryElement dataSecurityMode = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -515,6 +521,15 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer credential = DataFactoryCredentialReference.DeserializeDataFactoryCredentialReference(property0.Value, options); continue; } + if (property0.NameEquals("dataSecurityMode"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + dataSecurityMode = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } } continue; } @@ -547,7 +562,8 @@ internal static AzureDatabricksLinkedService DeserializeAzureDatabricksLinkedSer newClusterEnableElasticDisk, encryptedCredential, policyId, - credential); + credential, + dataSecurityMode); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksLinkedService.cs index afbafafb1898..e702efeb7a96 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksLinkedService.cs @@ -55,7 +55,8 @@ public AzureDatabricksLinkedService(DataFactoryElement domain) /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// The policy id for limiting the ability to configure clusters based on a user defined set of rules. Type: string (or Expression with resultType string). /// The credential reference containing authentication information. - internal AzureDatabricksLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement domain, DataFactorySecret accessToken, DataFactoryElement authentication, DataFactoryElement workspaceResourceId, DataFactoryElement existingClusterId, DataFactoryElement instancePoolId, DataFactoryElement newClusterVersion, DataFactoryElement newClusterNumOfWorker, DataFactoryElement newClusterNodeType, IDictionary newClusterSparkConf, IDictionary newClusterSparkEnvVars, IDictionary newClusterCustomTags, DataFactoryElement newClusterLogDestination, DataFactoryElement newClusterDriverNodeType, DataFactoryElement> newClusterInitScripts, DataFactoryElement newClusterEnableElasticDisk, string encryptedCredential, DataFactoryElement policyId, DataFactoryCredentialReference credential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) + /// The data security mode for the Databricks Cluster. Type: string (or Expression with resultType string). + internal AzureDatabricksLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement domain, DataFactorySecret accessToken, DataFactoryElement authentication, DataFactoryElement workspaceResourceId, DataFactoryElement existingClusterId, DataFactoryElement instancePoolId, DataFactoryElement newClusterVersion, DataFactoryElement newClusterNumOfWorker, DataFactoryElement newClusterNodeType, IDictionary newClusterSparkConf, IDictionary newClusterSparkEnvVars, IDictionary newClusterCustomTags, DataFactoryElement newClusterLogDestination, DataFactoryElement newClusterDriverNodeType, DataFactoryElement> newClusterInitScripts, DataFactoryElement newClusterEnableElasticDisk, string encryptedCredential, DataFactoryElement policyId, DataFactoryCredentialReference credential, DataFactoryElement dataSecurityMode) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) { Domain = domain; AccessToken = accessToken; @@ -76,6 +77,7 @@ internal AzureDatabricksLinkedService(string linkedServiceType, string linkedSer EncryptedCredential = encryptedCredential; PolicyId = policyId; Credential = credential; + DataSecurityMode = dataSecurityMode; LinkedServiceType = linkedServiceType ?? "AzureDatabricks"; } @@ -209,5 +211,7 @@ internal AzureDatabricksLinkedService() public DataFactoryElement PolicyId { get; set; } /// The credential reference containing authentication information. public DataFactoryCredentialReference Credential { get; set; } + /// The data security mode for the Databricks Cluster. Type: string (or Expression with resultType string). + public DataFactoryElement DataSecurityMode { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365LinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365LinkedService.Serialization.cs index 8f5a2c203e46..db23a6d19974 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365LinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365LinkedService.Serialization.cs @@ -46,6 +46,21 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri JsonSerializer.Serialize(writer, ServicePrincipalId); writer.WritePropertyName("servicePrincipalKey"u8); JsonSerializer.Serialize(writer, ServicePrincipalKey); + if (Optional.IsDefined(ServicePrincipalCredentialType)) + { + writer.WritePropertyName("servicePrincipalCredentialType"u8); + JsonSerializer.Serialize(writer, ServicePrincipalCredentialType); + } + if (Optional.IsDefined(ServicePrincipalEmbeddedCert)) + { + writer.WritePropertyName("servicePrincipalEmbeddedCert"u8); + JsonSerializer.Serialize(writer, ServicePrincipalEmbeddedCert); + } + if (Optional.IsDefined(ServicePrincipalEmbeddedCertPassword)) + { + writer.WritePropertyName("servicePrincipalEmbeddedCertPassword"u8); + JsonSerializer.Serialize(writer, ServicePrincipalEmbeddedCertPassword); + } if (Optional.IsDefined(EncryptedCredential)) { writer.WritePropertyName("encryptedCredential"u8); @@ -96,6 +111,9 @@ internal static Office365LinkedService DeserializeOffice365LinkedService(JsonEle DataFactoryElement servicePrincipalTenantId = default; DataFactoryElement servicePrincipalId = default; DataFactorySecret servicePrincipalKey = default; + DataFactoryElement servicePrincipalCredentialType = default; + DataFactorySecret servicePrincipalEmbeddedCert = default; + DataFactorySecret servicePrincipalEmbeddedCertPassword = default; string encryptedCredential = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); @@ -189,6 +207,33 @@ internal static Office365LinkedService DeserializeOffice365LinkedService(JsonEle servicePrincipalKey = JsonSerializer.Deserialize(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("servicePrincipalCredentialType"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + servicePrincipalCredentialType = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("servicePrincipalEmbeddedCert"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + servicePrincipalEmbeddedCert = JsonSerializer.Deserialize(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("servicePrincipalEmbeddedCertPassword"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + servicePrincipalEmbeddedCertPassword = JsonSerializer.Deserialize(property0.Value.GetRawText()); + continue; + } if (property0.NameEquals("encryptedCredential"u8)) { encryptedCredential = property0.Value.GetString(); @@ -212,6 +257,9 @@ internal static Office365LinkedService DeserializeOffice365LinkedService(JsonEle servicePrincipalTenantId, servicePrincipalId, servicePrincipalKey, + servicePrincipalCredentialType, + servicePrincipalEmbeddedCert, + servicePrincipalEmbeddedCertPassword, encryptedCredential); } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365LinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365LinkedService.cs index 0404fa4c60ee..93110f014a6e 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365LinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365LinkedService.cs @@ -46,13 +46,19 @@ public Office365LinkedService(DataFactoryElement office365TenantId, Data /// Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string). /// Specify the application's client ID. Type: string (or Expression with resultType string). /// Specify the application's key. + /// The service principal credential type for authentication.'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. If not specified, 'ServicePrincipalKey' is in use. Type: string (or Expression with resultType string). + /// Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + /// Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal Office365LinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement office365TenantId, DataFactoryElement servicePrincipalTenantId, DataFactoryElement servicePrincipalId, DataFactorySecret servicePrincipalKey, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) + internal Office365LinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement office365TenantId, DataFactoryElement servicePrincipalTenantId, DataFactoryElement servicePrincipalId, DataFactorySecret servicePrincipalKey, DataFactoryElement servicePrincipalCredentialType, DataFactorySecret servicePrincipalEmbeddedCert, DataFactorySecret servicePrincipalEmbeddedCertPassword, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) { Office365TenantId = office365TenantId; ServicePrincipalTenantId = servicePrincipalTenantId; ServicePrincipalId = servicePrincipalId; ServicePrincipalKey = servicePrincipalKey; + ServicePrincipalCredentialType = servicePrincipalCredentialType; + ServicePrincipalEmbeddedCert = servicePrincipalEmbeddedCert; + ServicePrincipalEmbeddedCertPassword = servicePrincipalEmbeddedCertPassword; EncryptedCredential = encryptedCredential; LinkedServiceType = linkedServiceType ?? "Office365"; } @@ -70,6 +76,12 @@ internal Office365LinkedService() public DataFactoryElement ServicePrincipalId { get; set; } /// Specify the application's key. public DataFactorySecret ServicePrincipalKey { get; set; } + /// The service principal credential type for authentication.'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. If not specified, 'ServicePrincipalKey' is in use. Type: string (or Expression with resultType string). + public DataFactoryElement ServicePrincipalCredentialType { get; set; } + /// Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + public DataFactorySecret ServicePrincipalEmbeddedCert { get; set; } + /// Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). + public DataFactorySecret ServicePrincipalEmbeddedCertPassword { get; set; } /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. public string EncryptedCredential { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.Serialization.cs index ebe1a2171787..36673896de1a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.Serialization.cs @@ -89,11 +89,21 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("privateKeyPassphrase"u8); JsonSerializer.Serialize(writer, PrivateKeyPassphrase); } + if (Optional.IsDefined(Role)) + { + writer.WritePropertyName("role"u8); + JsonSerializer.Serialize(writer, Role); + } if (Optional.IsDefined(Host)) { writer.WritePropertyName("host"u8); JsonSerializer.Serialize(writer, Host); } + if (Optional.IsDefined(Schema)) + { + writer.WritePropertyName("schema"u8); + JsonSerializer.Serialize(writer, Schema); + } if (Optional.IsDefined(EncryptedCredential)) { writer.WritePropertyName("encryptedCredential"u8); @@ -152,7 +162,9 @@ internal static SnowflakeV2LinkedService DeserializeSnowflakeV2LinkedService(Jso DataFactoryElement scope = default; DataFactorySecret privateKey = default; DataFactorySecret privateKeyPassphrase = default; + DataFactoryElement role = default; DataFactoryElement host = default; + DataFactoryElement schema = default; string encryptedCredential = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); @@ -322,6 +334,15 @@ internal static SnowflakeV2LinkedService DeserializeSnowflakeV2LinkedService(Jso privateKeyPassphrase = JsonSerializer.Deserialize(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("role"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + role = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } if (property0.NameEquals("host"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -331,6 +352,15 @@ internal static SnowflakeV2LinkedService DeserializeSnowflakeV2LinkedService(Jso host = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("schema"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + schema = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } if (property0.NameEquals("encryptedCredential"u8)) { encryptedCredential = property0.Value.GetString(); @@ -362,7 +392,9 @@ internal static SnowflakeV2LinkedService DeserializeSnowflakeV2LinkedService(Jso scope, privateKey, privateKeyPassphrase, + role, host, + schema, encryptedCredential); } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.cs index 7e2365d2318d..f8b9e7b6d07a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.cs @@ -51,9 +51,11 @@ public SnowflakeV2LinkedService(DataFactoryElement accountIdentifier, Da /// The scope of the application registered in Azure Active Directory for AADServicePrincipal authentication. /// The Azure key vault secret reference of privateKey for KeyPair auth. /// The Azure key vault secret reference of private key password for KeyPair auth with encrypted private key. - /// The host name of the Snowflake account. + /// The default access control role to use in the Snowflake session. Type: string (or Expression with resultType string). + /// The host name of the Snowflake account. Type: string (or Expression with resultType string). + /// Schema name for connection. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SnowflakeV2LinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement accountIdentifier, DataFactoryElement user, DataFactorySecret password, DataFactoryElement database, DataFactoryElement warehouse, SnowflakeAuthenticationType? authenticationType, DataFactoryElement clientId, DataFactorySecret clientSecret, DataFactoryElement tenantId, DataFactoryElement scope, DataFactorySecret privateKey, DataFactorySecret privateKeyPassphrase, DataFactoryElement host, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) + internal SnowflakeV2LinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement accountIdentifier, DataFactoryElement user, DataFactorySecret password, DataFactoryElement database, DataFactoryElement warehouse, SnowflakeAuthenticationType? authenticationType, DataFactoryElement clientId, DataFactorySecret clientSecret, DataFactoryElement tenantId, DataFactoryElement scope, DataFactorySecret privateKey, DataFactorySecret privateKeyPassphrase, DataFactoryElement role, DataFactoryElement host, DataFactoryElement schema, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) { AccountIdentifier = accountIdentifier; User = user; @@ -67,7 +69,9 @@ internal SnowflakeV2LinkedService(string linkedServiceType, string linkedService Scope = scope; PrivateKey = privateKey; PrivateKeyPassphrase = privateKeyPassphrase; + Role = role; Host = host; + Schema = schema; EncryptedCredential = encryptedCredential; LinkedServiceType = linkedServiceType ?? "SnowflakeV2"; } @@ -101,8 +105,12 @@ internal SnowflakeV2LinkedService() public DataFactorySecret PrivateKey { get; set; } /// The Azure key vault secret reference of private key password for KeyPair auth with encrypted private key. public DataFactorySecret PrivateKeyPassphrase { get; set; } - /// The host name of the Snowflake account. + /// The default access control role to use in the Snowflake session. Type: string (or Expression with resultType string). + public DataFactoryElement Role { get; set; } + /// The host name of the Snowflake account. Type: string (or Expression with resultType string). public DataFactoryElement Host { get; set; } + /// Schema name for connection. Type: string (or Expression with resultType string). + public DataFactoryElement Schema { get; set; } /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. public string EncryptedCredential { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md index 49c24bfa6c16..982c7476cbb7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md @@ -8,7 +8,7 @@ azure-arm: true csharp: true library-name: DataFactory namespace: Azure.ResourceManager.DataFactory -require: https://github.com/Azure/azure-rest-api-specs/blob/87643ba491d34656ed9d08ddce7544d033c349eb/specification/datafactory/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/datafactory/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true sample-gen: diff --git a/sdk/durabletask/ci.mgmt.yml b/sdk/durabletask/ci.mgmt.yml index 5f63204cd804..32b11e75b082 100644 --- a/sdk/durabletask/ci.mgmt.yml +++ b/sdk/durabletask/ci.mgmt.yml @@ -1,7 +1,6 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. trigger: none - pr: branches: include: diff --git a/sdk/pineconevectordb/ci.yml b/sdk/pineconevectordb/ci.yml deleted file mode 100644 index 0b8325c8c903..000000000000 --- a/sdk/pineconevectordb/ci.yml +++ /dev/null @@ -1,35 +0,0 @@ -# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - -trigger: - branches: - include: - - main - - hotfix/* - - release/* - paths: - include: - - sdk/pineconevectordb - - sdk/pineconevectordb/ci.yml - - sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDb - -pr: - branches: - include: - - main - - feature/* - - hotfix/* - - release/* - paths: - include: - - sdk/pineconevectordb - - sdk/pineconevectordb/ci.yml - - sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDb - -extends: - template: /eng/pipelines/templates/stages/archetype-sdk-client.yml - parameters: - ServiceDirectory: pineconevectordb - ArtifactName: packages - Artifacts: - - name: Azure.ResourceManager.PineconeVectorDb - safeName: AzureResourceManagerPineconeVectorDb diff --git a/sdk/storage/ci.yml b/sdk/storage/ci.yml index 2ca0501b60bd..4e749e6b85b1 100644 --- a/sdk/storage/ci.yml +++ b/sdk/storage/ci.yml @@ -12,6 +12,8 @@ trigger: - sdk/storage/Azure.Storage.DataMovement/ - sdk/storage/Azure.Storage.DataMovement.Blobs/ - sdk/storage/Azure.Storage.DataMovement.Files/ + exclude: + - sdk/storage/Azure.ResourceManager.Storage/ - sdk/storage/Azure.Storage.DataMovement.Blobs.Files.Shares/ exclude: - sdk/storage/Azure.ResourceManager.Storage/