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..086c7788b969 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 @@ -965,12 +965,43 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct AmazonRdsForOracleAuthenticationType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public AmazonRdsForOracleAuthenticationType(string value) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType Basic { get { throw null; } } + public bool Equals(Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType left, Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType right) { throw null; } + public static implicit operator Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType left, Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType right) { throw null; } + public override string ToString() { throw null; } + } public partial class AmazonRdsForOracleLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public AmazonRdsForOracleLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement connectionString) { } + public AmazonRdsForOracleLinkedService() { } + public Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType? AuthenticationType { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ConnectionString { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement CryptoChecksumClient { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement CryptoChecksumTypesClient { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement EnableBulkLoad { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement EncryptionClient { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement EncryptionTypesClient { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement FetchSize { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement FetchTswtzAsTimestamp { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement InitializationString { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement InitialLobFetchSize { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret Password { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Server { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement StatementCacheSize { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement SupportV1DataTypes { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Username { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleLinkedService System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -1724,6 +1755,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 { } } @@ -6898,11 +6930,13 @@ public ImpalaLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement public Azure.Core.Expressions.DataFactory.DataFactoryElement AllowHostNameCNMismatch { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement AllowSelfSignedServerCert { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.ImpalaAuthenticationType AuthenticationType { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement EnableServerCertificateValidation { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement EnableSsl { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Host { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret Password { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Port { get { throw null; } set { } } + public Azure.ResourceManager.DataFactory.Models.ImpalaThriftTransportProtocol? ThriftTransportProtocol { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TrustedCertPath { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Username { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement UseSystemTrustStore { get { throw null; } set { } } @@ -6937,6 +6971,11 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public enum ImpalaThriftTransportProtocol + { + Binary = 0, + Http = 1, + } public abstract partial class ImportSettings : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { protected ImportSettings() { } @@ -8728,6 +8767,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 +11369,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..086c7788b969 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 @@ -965,12 +965,43 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct AmazonRdsForOracleAuthenticationType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public AmazonRdsForOracleAuthenticationType(string value) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType Basic { get { throw null; } } + public bool Equals(Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType left, Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType right) { throw null; } + public static implicit operator Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType left, Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType right) { throw null; } + public override string ToString() { throw null; } + } public partial class AmazonRdsForOracleLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public AmazonRdsForOracleLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement connectionString) { } + public AmazonRdsForOracleLinkedService() { } + public Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleAuthenticationType? AuthenticationType { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ConnectionString { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement CryptoChecksumClient { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement CryptoChecksumTypesClient { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement EnableBulkLoad { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement EncryptionClient { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement EncryptionTypesClient { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement FetchSize { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement FetchTswtzAsTimestamp { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement InitializationString { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement InitialLobFetchSize { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret Password { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Server { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement StatementCacheSize { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement SupportV1DataTypes { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Username { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.AmazonRdsForOracleLinkedService System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -1724,6 +1755,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 { } } @@ -6898,11 +6930,13 @@ public ImpalaLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement public Azure.Core.Expressions.DataFactory.DataFactoryElement AllowHostNameCNMismatch { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement AllowSelfSignedServerCert { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.ImpalaAuthenticationType AuthenticationType { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement EnableServerCertificateValidation { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement EnableSsl { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Host { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret Password { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Port { get { throw null; } set { } } + public Azure.ResourceManager.DataFactory.Models.ImpalaThriftTransportProtocol? ThriftTransportProtocol { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TrustedCertPath { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Username { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement UseSystemTrustStore { get { throw null; } set { } } @@ -6937,6 +6971,11 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public enum ImpalaThriftTransportProtocol + { + Binary = 0, + Http = 1, + } public abstract partial class ImportSettings : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { protected ImportSettings() { } @@ -8728,6 +8767,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 +11369,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/AmazonRdsForOracleAuthenticationType.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleAuthenticationType.cs new file mode 100644 index 000000000000..7577fc38b4a7 --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleAuthenticationType.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.DataFactory.Models +{ + /// Authentication type for connecting to the AmazonRdsForOracle database. Only used for Version 2.0. + public readonly partial struct AmazonRdsForOracleAuthenticationType : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public AmazonRdsForOracleAuthenticationType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string BasicValue = "Basic"; + + /// Basic. + public static AmazonRdsForOracleAuthenticationType Basic { get; } = new AmazonRdsForOracleAuthenticationType(BasicValue); + /// Determines if two values are the same. + public static bool operator ==(AmazonRdsForOracleAuthenticationType left, AmazonRdsForOracleAuthenticationType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(AmazonRdsForOracleAuthenticationType left, AmazonRdsForOracleAuthenticationType right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator AmazonRdsForOracleAuthenticationType(string value) => new AmazonRdsForOracleAuthenticationType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is AmazonRdsForOracleAuthenticationType other && Equals(other); + /// + public bool Equals(AmazonRdsForOracleAuthenticationType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleLinkedService.Serialization.cs index f2641e5ef8d9..39000e6d605e 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleLinkedService.Serialization.cs @@ -38,13 +38,86 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri base.JsonModelWriteCore(writer, options); writer.WritePropertyName("typeProperties"u8); writer.WriteStartObject(); - writer.WritePropertyName("connectionString"u8); - JsonSerializer.Serialize(writer, ConnectionString); + if (Optional.IsDefined(ConnectionString)) + { + writer.WritePropertyName("connectionString"u8); + JsonSerializer.Serialize(writer, ConnectionString); + } + if (Optional.IsDefined(Server)) + { + writer.WritePropertyName("server"u8); + JsonSerializer.Serialize(writer, Server); + } + if (Optional.IsDefined(AuthenticationType)) + { + writer.WritePropertyName("authenticationType"u8); + writer.WriteStringValue(AuthenticationType.Value.ToString()); + } + if (Optional.IsDefined(Username)) + { + writer.WritePropertyName("username"u8); + JsonSerializer.Serialize(writer, Username); + } if (Optional.IsDefined(Password)) { writer.WritePropertyName("password"u8); JsonSerializer.Serialize(writer, Password); } + if (Optional.IsDefined(EncryptionClient)) + { + writer.WritePropertyName("encryptionClient"u8); + JsonSerializer.Serialize(writer, EncryptionClient); + } + if (Optional.IsDefined(EncryptionTypesClient)) + { + writer.WritePropertyName("encryptionTypesClient"u8); + JsonSerializer.Serialize(writer, EncryptionTypesClient); + } + if (Optional.IsDefined(CryptoChecksumClient)) + { + writer.WritePropertyName("cryptoChecksumClient"u8); + JsonSerializer.Serialize(writer, CryptoChecksumClient); + } + if (Optional.IsDefined(CryptoChecksumTypesClient)) + { + writer.WritePropertyName("cryptoChecksumTypesClient"u8); + JsonSerializer.Serialize(writer, CryptoChecksumTypesClient); + } + if (Optional.IsDefined(InitialLobFetchSize)) + { + writer.WritePropertyName("initialLobFetchSize"u8); + JsonSerializer.Serialize(writer, InitialLobFetchSize); + } + if (Optional.IsDefined(FetchSize)) + { + writer.WritePropertyName("fetchSize"u8); + JsonSerializer.Serialize(writer, FetchSize); + } + if (Optional.IsDefined(StatementCacheSize)) + { + writer.WritePropertyName("statementCacheSize"u8); + JsonSerializer.Serialize(writer, StatementCacheSize); + } + if (Optional.IsDefined(InitializationString)) + { + writer.WritePropertyName("initializationString"u8); + JsonSerializer.Serialize(writer, InitializationString); + } + if (Optional.IsDefined(EnableBulkLoad)) + { + writer.WritePropertyName("enableBulkLoad"u8); + JsonSerializer.Serialize(writer, EnableBulkLoad); + } + if (Optional.IsDefined(SupportV1DataTypes)) + { + writer.WritePropertyName("supportV1DataTypes"u8); + JsonSerializer.Serialize(writer, SupportV1DataTypes); + } + if (Optional.IsDefined(FetchTswtzAsTimestamp)) + { + writer.WritePropertyName("fetchTswtzAsTimestamp"u8); + JsonSerializer.Serialize(writer, FetchTswtzAsTimestamp); + } if (Optional.IsDefined(EncryptedCredential)) { writer.WritePropertyName("encryptedCredential"u8); @@ -92,7 +165,21 @@ internal static AmazonRdsForOracleLinkedService DeserializeAmazonRdsForOracleLin IDictionary parameters = default; IList annotations = default; DataFactoryElement connectionString = default; + DataFactoryElement server = default; + AmazonRdsForOracleAuthenticationType? authenticationType = default; + DataFactoryElement username = default; DataFactorySecret password = default; + DataFactoryElement encryptionClient = default; + DataFactoryElement encryptionTypesClient = default; + DataFactoryElement cryptoChecksumClient = default; + DataFactoryElement cryptoChecksumTypesClient = default; + DataFactoryElement initialLobFetchSize = default; + DataFactoryElement fetchSize = default; + DataFactoryElement statementCacheSize = default; + DataFactoryElement initializationString = default; + DataFactoryElement enableBulkLoad = default; + DataFactoryElement supportV1DataTypes = default; + DataFactoryElement fetchTswtzAsTimestamp = default; string encryptedCredential = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); @@ -168,9 +255,40 @@ internal static AmazonRdsForOracleLinkedService DeserializeAmazonRdsForOracleLin { if (property0.NameEquals("connectionString"u8)) { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } connectionString = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("server"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + server = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("authenticationType"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + authenticationType = new AmazonRdsForOracleAuthenticationType(property0.Value.GetString()); + continue; + } + if (property0.NameEquals("username"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + username = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } if (property0.NameEquals("password"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -180,6 +298,105 @@ internal static AmazonRdsForOracleLinkedService DeserializeAmazonRdsForOracleLin password = JsonSerializer.Deserialize(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("encryptionClient"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + encryptionClient = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("encryptionTypesClient"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + encryptionTypesClient = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("cryptoChecksumClient"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + cryptoChecksumClient = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("cryptoChecksumTypesClient"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + cryptoChecksumTypesClient = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("initialLobFetchSize"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + initialLobFetchSize = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("fetchSize"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + fetchSize = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("statementCacheSize"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + statementCacheSize = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("initializationString"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + initializationString = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("enableBulkLoad"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + enableBulkLoad = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("supportV1DataTypes"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + supportV1DataTypes = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("fetchTswtzAsTimestamp"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + fetchTswtzAsTimestamp = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } if (property0.NameEquals("encryptedCredential"u8)) { encryptedCredential = property0.Value.GetString(); @@ -200,7 +417,21 @@ internal static AmazonRdsForOracleLinkedService DeserializeAmazonRdsForOracleLin annotations ?? new ChangeTrackingList(), additionalProperties, connectionString, + server, + authenticationType, + username, password, + encryptionClient, + encryptionTypesClient, + cryptoChecksumClient, + cryptoChecksumTypesClient, + initialLobFetchSize, + fetchSize, + statementCacheSize, + initializationString, + enableBulkLoad, + supportV1DataTypes, + fetchTswtzAsTimestamp, encryptedCredential); } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleLinkedService.cs index 608208c06c75..a6275bc15bdb 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleLinkedService.cs @@ -11,17 +11,12 @@ namespace Azure.ResourceManager.DataFactory.Models { - /// AmazonRdsForOracle database. + /// AmazonRdsForOracle database. This linked service has supported version property. The Version 1.0 is scheduled for deprecation while your pipeline will continue to run after EOL but without any bug fix or new features. public partial class AmazonRdsForOracleLinkedService : DataFactoryLinkedServiceProperties { /// Initializes a new instance of . - /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - /// is null. - public AmazonRdsForOracleLinkedService(DataFactoryElement connectionString) + public AmazonRdsForOracleLinkedService() { - Argument.AssertNotNull(connectionString, nameof(connectionString)); - - ConnectionString = connectionString; LinkedServiceType = "AmazonRdsForOracle"; } @@ -33,26 +28,77 @@ public AmazonRdsForOracleLinkedService(DataFactoryElement connectionStri /// Parameters for linked service. /// List of tags that can be used for describing the linked service. /// Additional Properties. - /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Only used for Version 1.0. + /// The location of AmazonRdsForOracle database you want to connect to, the supported forms include connector descriptor, Easy Connect (Plus) Naming and Oracle Net Services Name (Only self-hosted IR). Type: string. Only used for Version 2.0. + /// Authentication type for connecting to the AmazonRdsForOracle database. Only used for Version 2.0. + /// The AmazonRdsForOracle database username. Type: string. Only used for Version 2.0. /// The Azure key vault secret reference of password in connection string. + /// Specifies the encryption client behavior. Supported values are accepted, rejected, requested or required, default value is required. Type: string. Only used for Version 2.0. + /// Specifies the encryption algorithms that client can use. Supported values are AES128, AES192, AES256, 3DES112, 3DES168, default value is (AES256). Type: string. Only used for Version 2.0. + /// Specifies the desired data integrity behavior when this client connects to a server. Supported values are accepted, rejected, requested or required, default value is required. Type: string. Only used for Version 2.0. + /// Specifies the crypto-checksum algorithms that client can use. Supported values are SHA1, SHA256, SHA384, SHA512, default value is (SHA512). Type: string. Only used for Version 2.0. + /// Specifies the amount that the source initially fetches for LOB columns, default value is 0. Type: integer. Only used for Version 2.0. + /// Specifies the number of bytes that the driver allocates to fetch the data in one database round-trip, default value is 10485760. Type: integer. Only used for Version 2.0. + /// Specifies the number of cursors or statements to be cached for each database connection, default value is 0. Type: integer. Only used for Version 2.0. + /// Specifies a command that is issued immediately after connecting to the database to manage session settings. Type: string. Only used for Version 2.0. + /// Specifies whether to use bulk copy or batch insert when loading data into the database, default value is true. Type: boolean. Only used for Version 2.0. + /// Specifies whether to use the Version 1.0 data type mappings. Do not set this to true unless you want to keep backward compatibility with Version 1.0's data type mappings, default value is false. Type: boolean. Only used for Version 2.0. + /// Specifies whether the driver returns column value with the TIMESTAMP WITH TIME ZONE data type as DateTime or string. This setting is ignored if supportV1DataTypes is not true, default value is true. Type: boolean. Only used for Version 2.0. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal AmazonRdsForOracleLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactorySecret password, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) + internal AmazonRdsForOracleLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement server, AmazonRdsForOracleAuthenticationType? authenticationType, DataFactoryElement username, DataFactorySecret password, DataFactoryElement encryptionClient, DataFactoryElement encryptionTypesClient, DataFactoryElement cryptoChecksumClient, DataFactoryElement cryptoChecksumTypesClient, DataFactoryElement initialLobFetchSize, DataFactoryElement fetchSize, DataFactoryElement statementCacheSize, DataFactoryElement initializationString, DataFactoryElement enableBulkLoad, DataFactoryElement supportV1DataTypes, DataFactoryElement fetchTswtzAsTimestamp, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; + Server = server; + AuthenticationType = authenticationType; + Username = username; Password = password; + EncryptionClient = encryptionClient; + EncryptionTypesClient = encryptionTypesClient; + CryptoChecksumClient = cryptoChecksumClient; + CryptoChecksumTypesClient = cryptoChecksumTypesClient; + InitialLobFetchSize = initialLobFetchSize; + FetchSize = fetchSize; + StatementCacheSize = statementCacheSize; + InitializationString = initializationString; + EnableBulkLoad = enableBulkLoad; + SupportV1DataTypes = supportV1DataTypes; + FetchTswtzAsTimestamp = fetchTswtzAsTimestamp; EncryptedCredential = encryptedCredential; LinkedServiceType = linkedServiceType ?? "AmazonRdsForOracle"; } - /// Initializes a new instance of for deserialization. - internal AmazonRdsForOracleLinkedService() - { - } - - /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + /// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Only used for Version 1.0. public DataFactoryElement ConnectionString { get; set; } + /// The location of AmazonRdsForOracle database you want to connect to, the supported forms include connector descriptor, Easy Connect (Plus) Naming and Oracle Net Services Name (Only self-hosted IR). Type: string. Only used for Version 2.0. + public DataFactoryElement Server { get; set; } + /// Authentication type for connecting to the AmazonRdsForOracle database. Only used for Version 2.0. + public AmazonRdsForOracleAuthenticationType? AuthenticationType { get; set; } + /// The AmazonRdsForOracle database username. Type: string. Only used for Version 2.0. + public DataFactoryElement Username { get; set; } /// The Azure key vault secret reference of password in connection string. public DataFactorySecret Password { get; set; } + /// Specifies the encryption client behavior. Supported values are accepted, rejected, requested or required, default value is required. Type: string. Only used for Version 2.0. + public DataFactoryElement EncryptionClient { get; set; } + /// Specifies the encryption algorithms that client can use. Supported values are AES128, AES192, AES256, 3DES112, 3DES168, default value is (AES256). Type: string. Only used for Version 2.0. + public DataFactoryElement EncryptionTypesClient { get; set; } + /// Specifies the desired data integrity behavior when this client connects to a server. Supported values are accepted, rejected, requested or required, default value is required. Type: string. Only used for Version 2.0. + public DataFactoryElement CryptoChecksumClient { get; set; } + /// Specifies the crypto-checksum algorithms that client can use. Supported values are SHA1, SHA256, SHA384, SHA512, default value is (SHA512). Type: string. Only used for Version 2.0. + public DataFactoryElement CryptoChecksumTypesClient { get; set; } + /// Specifies the amount that the source initially fetches for LOB columns, default value is 0. Type: integer. Only used for Version 2.0. + public DataFactoryElement InitialLobFetchSize { get; set; } + /// Specifies the number of bytes that the driver allocates to fetch the data in one database round-trip, default value is 10485760. Type: integer. Only used for Version 2.0. + public DataFactoryElement FetchSize { get; set; } + /// Specifies the number of cursors or statements to be cached for each database connection, default value is 0. Type: integer. Only used for Version 2.0. + public DataFactoryElement StatementCacheSize { get; set; } + /// Specifies a command that is issued immediately after connecting to the database to manage session settings. Type: string. Only used for Version 2.0. + public DataFactoryElement InitializationString { get; set; } + /// Specifies whether to use bulk copy or batch insert when loading data into the database, default value is true. Type: boolean. Only used for Version 2.0. + public DataFactoryElement EnableBulkLoad { get; set; } + /// Specifies whether to use the Version 1.0 data type mappings. Do not set this to true unless you want to keep backward compatibility with Version 1.0's data type mappings, default value is false. Type: boolean. Only used for Version 2.0. + public DataFactoryElement SupportV1DataTypes { get; set; } + /// Specifies whether the driver returns column value with the TIMESTAMP WITH TIME ZONE data type as DateTime or string. This setting is ignored if supportV1DataTypes is not true, default value is true. Type: boolean. Only used for Version 2.0. + public DataFactoryElement FetchTswtzAsTimestamp { 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/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/ImpalaLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaLinkedService.Serialization.cs index d57bd035f74b..c00bb2abea91 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaLinkedService.Serialization.cs @@ -57,11 +57,21 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("password"u8); JsonSerializer.Serialize(writer, Password); } + if (Optional.IsDefined(ThriftTransportProtocol)) + { + writer.WritePropertyName("thriftTransportProtocol"u8); + writer.WriteStringValue(ThriftTransportProtocol.Value.ToSerialString()); + } if (Optional.IsDefined(EnableSsl)) { writer.WritePropertyName("enableSsl"u8); JsonSerializer.Serialize(writer, EnableSsl); } + if (Optional.IsDefined(EnableServerCertificateValidation)) + { + writer.WritePropertyName("enableServerCertificateValidation"u8); + JsonSerializer.Serialize(writer, EnableServerCertificateValidation); + } if (Optional.IsDefined(TrustedCertPath)) { writer.WritePropertyName("trustedCertPath"u8); @@ -133,7 +143,9 @@ internal static ImpalaLinkedService DeserializeImpalaLinkedService(JsonElement e ImpalaAuthenticationType authenticationType = default; DataFactoryElement username = default; DataFactorySecret password = default; + ImpalaThriftTransportProtocol? thriftTransportProtocol = default; DataFactoryElement enableSsl = default; + DataFactoryElement enableServerCertificateValidation = default; DataFactoryElement trustedCertPath = default; DataFactoryElement useSystemTrustStore = default; DataFactoryElement allowHostNameCNMismatch = default; @@ -248,6 +260,15 @@ internal static ImpalaLinkedService DeserializeImpalaLinkedService(JsonElement e password = JsonSerializer.Deserialize(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("thriftTransportProtocol"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + thriftTransportProtocol = property0.Value.GetString().ToImpalaThriftTransportProtocol(); + continue; + } if (property0.NameEquals("enableSsl"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -257,6 +278,15 @@ internal static ImpalaLinkedService DeserializeImpalaLinkedService(JsonElement e enableSsl = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("enableServerCertificateValidation"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + enableServerCertificateValidation = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } if (property0.NameEquals("trustedCertPath"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -317,7 +347,9 @@ internal static ImpalaLinkedService DeserializeImpalaLinkedService(JsonElement e authenticationType, username, password, + thriftTransportProtocol, enableSsl, + enableServerCertificateValidation, trustedCertPath, useSystemTrustStore, allowHostNameCNMismatch, diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaLinkedService.cs index c8022b0d976e..00d88d44e550 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaLinkedService.cs @@ -40,20 +40,24 @@ public ImpalaLinkedService(DataFactoryElement host, ImpalaAuthentication /// The authentication type to use. /// The user name used to access the Impala server. The default value is anonymous when using SASLUsername. /// The password corresponding to the user name when using UsernameAndPassword. + /// The transport protocol to use in the Thrift layer (for V2 only). Default value is Binary. /// Specifies whether the connections to the server are encrypted using SSL. The default value is false. + /// Specify whether to enable server SSL certificate validation when you connect.Always use System Trust Store (for V2 only). The default value is true. /// The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. /// Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. /// Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. /// Specifies whether to allow self-signed certificates from the server. The default value is false. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal ImpalaLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, ImpalaAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecret password, DataFactoryElement enableSsl, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) + internal ImpalaLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement host, DataFactoryElement port, ImpalaAuthenticationType authenticationType, DataFactoryElement username, DataFactorySecret password, ImpalaThriftTransportProtocol? thriftTransportProtocol, DataFactoryElement enableSsl, DataFactoryElement enableServerCertificateValidation, DataFactoryElement trustedCertPath, DataFactoryElement useSystemTrustStore, DataFactoryElement allowHostNameCNMismatch, DataFactoryElement allowSelfSignedServerCert, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) { Host = host; Port = port; AuthenticationType = authenticationType; Username = username; Password = password; + ThriftTransportProtocol = thriftTransportProtocol; EnableSsl = enableSsl; + EnableServerCertificateValidation = enableServerCertificateValidation; TrustedCertPath = trustedCertPath; UseSystemTrustStore = useSystemTrustStore; AllowHostNameCNMismatch = allowHostNameCNMismatch; @@ -77,8 +81,12 @@ internal ImpalaLinkedService() public DataFactoryElement Username { get; set; } /// The password corresponding to the user name when using UsernameAndPassword. public DataFactorySecret Password { get; set; } + /// The transport protocol to use in the Thrift layer (for V2 only). Default value is Binary. + public ImpalaThriftTransportProtocol? ThriftTransportProtocol { get; set; } /// Specifies whether the connections to the server are encrypted using SSL. The default value is false. public DataFactoryElement EnableSsl { get; set; } + /// Specify whether to enable server SSL certificate validation when you connect.Always use System Trust Store (for V2 only). The default value is true. + public DataFactoryElement EnableServerCertificateValidation { get; set; } /// The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. public DataFactoryElement TrustedCertPath { get; set; } /// Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaThriftTransportProtocol.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaThriftTransportProtocol.Serialization.cs new file mode 100644 index 000000000000..7c4c6e4288d7 --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaThriftTransportProtocol.Serialization.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.ResourceManager.DataFactory.Models +{ + internal static partial class ImpalaThriftTransportProtocolExtensions + { + public static string ToSerialString(this ImpalaThriftTransportProtocol value) => value switch + { + ImpalaThriftTransportProtocol.Binary => "Binary", + ImpalaThriftTransportProtocol.Http => "HTTP", + _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown ImpalaThriftTransportProtocol value.") + }; + + public static ImpalaThriftTransportProtocol ToImpalaThriftTransportProtocol(this string value) + { + if (StringComparer.OrdinalIgnoreCase.Equals(value, "Binary")) return ImpalaThriftTransportProtocol.Binary; + if (StringComparer.OrdinalIgnoreCase.Equals(value, "HTTP")) return ImpalaThriftTransportProtocol.Http; + throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown ImpalaThriftTransportProtocol value."); + } + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaThriftTransportProtocol.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaThriftTransportProtocol.cs new file mode 100644 index 000000000000..b919e9c4de40 --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaThriftTransportProtocol.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.DataFactory.Models +{ + /// The transport protocol to use in the Thrift layer (for V2 only). Default value is Binary. + public enum ImpalaThriftTransportProtocol + { + /// Binary. + Binary, + /// HTTP. + Http + } +} 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/