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 4d5c0acb1715..65bdbf461122 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 @@ -3449,6 +3449,18 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer 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 partial class DatabricksJobActivity : Azure.ResourceManager.DataFactory.Models.ExecutionActivity, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public DatabricksJobActivity(string name, Azure.Core.Expressions.DataFactory.DataFactoryElement jobId) : base (default(string)) { } + public Azure.Core.Expressions.DataFactory.DataFactoryElement JobId { get { throw null; } set { } } + public System.Collections.Generic.IDictionary JobParameters { get { throw null; } } + protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.DatabricksJobActivity 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) { } + Azure.ResourceManager.DataFactory.Models.DatabricksJobActivity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + 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 partial class DatabricksNotebookActivity : Azure.ResourceManager.DataFactory.Models.ExecutionActivity, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public DatabricksNotebookActivity(string name, Azure.Core.Expressions.DataFactory.DataFactoryElement notebookPath) : base (default(string)) { } @@ -6932,11 +6944,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 { } } @@ -6971,6 +6985,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() { } 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 4d5c0acb1715..65bdbf461122 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 @@ -3449,6 +3449,18 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer 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 partial class DatabricksJobActivity : Azure.ResourceManager.DataFactory.Models.ExecutionActivity, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public DatabricksJobActivity(string name, Azure.Core.Expressions.DataFactory.DataFactoryElement jobId) : base (default(string)) { } + public Azure.Core.Expressions.DataFactory.DataFactoryElement JobId { get { throw null; } set { } } + public System.Collections.Generic.IDictionary JobParameters { get { throw null; } } + protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.DatabricksJobActivity 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) { } + Azure.ResourceManager.DataFactory.Models.DatabricksJobActivity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + 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 partial class DatabricksNotebookActivity : Azure.ResourceManager.DataFactory.Models.ExecutionActivity, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public DatabricksNotebookActivity(string name, Azure.Core.Expressions.DataFactory.DataFactoryElement notebookPath) : base (default(string)) { } @@ -6932,11 +6944,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 { } } @@ -6971,6 +6985,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() { } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/ArmDataFactoryModelFactory.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/ArmDataFactoryModelFactory.cs index dac7ed6748f2..0bcbfd554f73 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/ArmDataFactoryModelFactory.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/ArmDataFactoryModelFactory.cs @@ -400,7 +400,7 @@ public static DataFactoryDatasetData DataFactoryDatasetData(ResourceIdentifier i /// /// List of activities in pipeline. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// /// List of parameters for pipeline. /// List of variables for pipeline. diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/DataFactoryPipelineData.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/DataFactoryPipelineData.cs index a3e74de95894..7dcd8cef77ff 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/DataFactoryPipelineData.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/DataFactoryPipelineData.cs @@ -39,7 +39,7 @@ public DataFactoryPipelineData() /// /// List of activities in pipeline. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// /// List of parameters for pipeline. /// List of variables for pipeline. @@ -70,7 +70,7 @@ internal DataFactoryPipelineData(ResourceIdentifier id, string name, ResourceTyp /// /// List of activities in pipeline. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// public IList Activities { get; } /// List of parameters for pipeline. diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatabricksJobActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatabricksJobActivity.Serialization.cs new file mode 100644 index 000000000000..26b1ccd28e8a --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatabricksJobActivity.Serialization.cs @@ -0,0 +1,282 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; +using Azure.Core.Expressions.DataFactory; + +namespace Azure.ResourceManager.DataFactory.Models +{ + public partial class DatabricksJobActivity : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(DatabricksJobActivity)} does not support writing '{format}' format."); + } + + base.JsonModelWriteCore(writer, options); + writer.WritePropertyName("typeProperties"u8); + writer.WriteStartObject(); + writer.WritePropertyName("jobId"u8); + JsonSerializer.Serialize(writer, JobId); + if (Optional.IsCollectionDefined(JobParameters)) + { + writer.WritePropertyName("jobParameters"u8); + writer.WriteStartObject(); + foreach (var item in JobParameters) + { + writer.WritePropertyName(item.Key); + if (item.Value == null) + { + writer.WriteNullValue(); + continue; + } +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + writer.WriteEndObject(); + } + writer.WriteEndObject(); + foreach (var item in AdditionalProperties) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + + DatabricksJobActivity IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(DatabricksJobActivity)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeDatabricksJobActivity(document.RootElement, options); + } + + internal static DatabricksJobActivity DeserializeDatabricksJobActivity(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + DataFactoryLinkedServiceReference linkedServiceName = default; + PipelineActivityPolicy policy = default; + string name = default; + string type = default; + string description = default; + PipelineActivityState? state = default; + ActivityOnInactiveMarkAs? onInactiveMarkAs = default; + IList dependsOn = default; + IList userProperties = default; + DataFactoryElement jobId = default; + IDictionary jobParameters = default; + IDictionary additionalProperties = default; + Dictionary additionalPropertiesDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("linkedServiceName"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + linkedServiceName = JsonSerializer.Deserialize(property.Value.GetRawText()); + continue; + } + if (property.NameEquals("policy"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + policy = PipelineActivityPolicy.DeserializePipelineActivityPolicy(property.Value, options); + continue; + } + if (property.NameEquals("name"u8)) + { + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("type"u8)) + { + type = property.Value.GetString(); + continue; + } + if (property.NameEquals("description"u8)) + { + description = property.Value.GetString(); + continue; + } + if (property.NameEquals("state"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + state = new PipelineActivityState(property.Value.GetString()); + continue; + } + if (property.NameEquals("onInactiveMarkAs"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + onInactiveMarkAs = new ActivityOnInactiveMarkAs(property.Value.GetString()); + continue; + } + if (property.NameEquals("dependsOn"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(PipelineActivityDependency.DeserializePipelineActivityDependency(item, options)); + } + dependsOn = array; + continue; + } + if (property.NameEquals("userProperties"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(PipelineActivityUserProperty.DeserializePipelineActivityUserProperty(item, options)); + } + userProperties = array; + continue; + } + if (property.NameEquals("typeProperties"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + foreach (var property0 in property.Value.EnumerateObject()) + { + if (property0.NameEquals("jobId"u8)) + { + jobId = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("jobParameters"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + Dictionary dictionary = new Dictionary(); + foreach (var property1 in property0.Value.EnumerateObject()) + { + if (property1.Value.ValueKind == JsonValueKind.Null) + { + dictionary.Add(property1.Name, null); + } + else + { + dictionary.Add(property1.Name, BinaryData.FromString(property1.Value.GetRawText())); + } + } + jobParameters = dictionary; + continue; + } + } + continue; + } + additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + additionalProperties = additionalPropertiesDictionary; + return new DatabricksJobActivity( + name, + type, + description, + state, + onInactiveMarkAs, + dependsOn ?? new ChangeTrackingList(), + userProperties ?? new ChangeTrackingList(), + additionalProperties, + linkedServiceName, + policy, + jobId, + jobParameters ?? new ChangeTrackingDictionary()); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(DatabricksJobActivity)} does not support writing '{options.Format}' format."); + } + } + + DatabricksJobActivity IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeDatabricksJobActivity(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(DatabricksJobActivity)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatabricksJobActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatabricksJobActivity.cs new file mode 100644 index 000000000000..660db62ba4b6 --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatabricksJobActivity.cs @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using Azure.Core.Expressions.DataFactory; + +namespace Azure.ResourceManager.DataFactory.Models +{ + /// Databricks Job activity. + public partial class DatabricksJobActivity : ExecutionActivity + { + /// Initializes a new instance of . + /// Activity name. + /// The Id of the Databricks Job to be executed. Type: string (or Expression with resultType string). + /// or is null. + public DatabricksJobActivity(string name, DataFactoryElement jobId) : base(name) + { + Argument.AssertNotNull(name, nameof(name)); + Argument.AssertNotNull(jobId, nameof(jobId)); + + JobId = jobId; + JobParameters = new ChangeTrackingDictionary(); + ActivityType = "DatabricksJob"; + } + + /// Initializes a new instance of . + /// Activity name. + /// Type of activity. + /// Activity description. + /// Activity state. This is an optional property and if not provided, the state will be Active by default. + /// Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + /// Activity depends on condition. + /// Activity user properties. + /// Additional Properties. + /// Linked service reference. + /// Activity policy. + /// The Id of the Databricks Job to be executed. Type: string (or Expression with resultType string). + /// Job parameters to be used for each run of this job. If the job takes a parameter that is not specified, the default value from the job will be used. + internal DatabricksJobActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement jobId, IDictionary jobParameters) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + { + JobId = jobId; + JobParameters = jobParameters; + ActivityType = activityType ?? "DatabricksJob"; + } + + /// Initializes a new instance of for deserialization. + internal DatabricksJobActivity() + { + } + + /// The Id of the Databricks Job to be executed. Type: string (or Expression with resultType string). + public DataFactoryElement JobId { get; set; } + /// + /// Job parameters to be used for each run of this job. If the job takes a parameter that is not specified, the default value from the job will be used. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + public IDictionary JobParameters { get; } + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExecutionActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExecutionActivity.Serialization.cs index 99d95c887d65..1a6ac47c5baf 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExecutionActivity.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExecutionActivity.Serialization.cs @@ -91,6 +91,7 @@ internal static ExecutionActivity DeserializeExecutionActivity(JsonElement eleme case "AzureMLUpdateResource": return AzureMLUpdateResourceActivity.DeserializeAzureMLUpdateResourceActivity(element, options); case "Copy": return CopyActivity.DeserializeCopyActivity(element, options); case "Custom": return CustomActivity.DeserializeCustomActivity(element, options); + case "DatabricksJob": return DatabricksJobActivity.DeserializeDatabricksJobActivity(element, options); case "DatabricksNotebook": return DatabricksNotebookActivity.DeserializeDatabricksNotebookActivity(element, options); case "DatabricksSparkJar": return DatabricksSparkJarActivity.DeserializeDatabricksSparkJarActivity(element, options); case "DatabricksSparkPython": return DatabricksSparkPythonActivity.DeserializeDatabricksSparkPythonActivity(element, options); diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExecutionActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExecutionActivity.cs index 3e025a89360e..51110a84e3e9 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExecutionActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExecutionActivity.cs @@ -14,7 +14,7 @@ namespace Azure.ResourceManager.DataFactory.Models /// /// Base class for all execution activities. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , and . /// public partial class ExecutionActivity : PipelineActivity { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ForEachActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ForEachActivity.cs index 13e6f9157498..1d1222aaf99f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ForEachActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ForEachActivity.cs @@ -20,7 +20,7 @@ public partial class ForEachActivity : ControlActivity /// /// List of activities to execute . /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// /// , or is null. public ForEachActivity(string name, DataFactoryExpression items, IEnumerable activities) : base(name) @@ -49,7 +49,7 @@ public ForEachActivity(string name, DataFactoryExpression items, IEnumerable /// List of activities to execute . /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// internal ForEachActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, bool? isSequential, int? batchCount, DataFactoryExpression items, IList activities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { @@ -74,7 +74,7 @@ internal ForEachActivity() /// /// List of activities to execute . /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// public IList Activities { get; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/IfConditionActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/IfConditionActivity.cs index 92fed84cbe1e..33939ec6ae2f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/IfConditionActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/IfConditionActivity.cs @@ -41,12 +41,12 @@ public IfConditionActivity(string name, DataFactoryExpression expression) : base /// /// List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// /// /// List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// internal IfConditionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryExpression expression, IList ifTrueActivities, IList ifFalseActivities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { @@ -66,13 +66,13 @@ internal IfConditionActivity() /// /// List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// public IList IfTrueActivities { get; } /// /// List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// public IList IfFalseActivities { get; } } 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/PipelineActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PipelineActivity.Serialization.cs index 628a72ae9bc2..9447ca4bb5ed 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PipelineActivity.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PipelineActivity.Serialization.cs @@ -120,6 +120,7 @@ internal static PipelineActivity DeserializePipelineActivity(JsonElement element case "Container": return ControlActivity.DeserializeControlActivity(element, options); case "Copy": return CopyActivity.DeserializeCopyActivity(element, options); case "Custom": return CustomActivity.DeserializeCustomActivity(element, options); + case "DatabricksJob": return DatabricksJobActivity.DeserializeDatabricksJobActivity(element, options); case "DatabricksNotebook": return DatabricksNotebookActivity.DeserializeDatabricksNotebookActivity(element, options); case "DatabricksSparkJar": return DatabricksSparkJarActivity.DeserializeDatabricksSparkJarActivity(element, options); case "DatabricksSparkPython": return DatabricksSparkPythonActivity.DeserializeDatabricksSparkPythonActivity(element, options); diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PipelineActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PipelineActivity.cs index 5bad22a5ae35..fa4f9c720079 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PipelineActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PipelineActivity.cs @@ -13,7 +13,7 @@ namespace Azure.ResourceManager.DataFactory.Models /// /// A pipeline activity. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// public abstract partial class PipelineActivity { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SwitchActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SwitchActivity.cs index d75c69759d06..d8796677c98b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SwitchActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SwitchActivity.cs @@ -42,7 +42,7 @@ public SwitchActivity(string name, DataFactoryExpression @on) : base(name) /// /// List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// internal SwitchActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryExpression @on, IList cases, IList defaultActivities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { @@ -64,7 +64,7 @@ internal SwitchActivity() /// /// List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// public IList DefaultActivities { get; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SwitchCaseActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SwitchCaseActivity.cs index fa3c97a8a0e0..160b8d4fd375 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SwitchCaseActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SwitchCaseActivity.cs @@ -56,7 +56,7 @@ public SwitchCaseActivity() /// /// List of activities to execute for satisfied case condition. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// /// Keeps track of any properties unknown to the library. internal SwitchCaseActivity(string value, IList activities, IDictionary serializedAdditionalRawData) @@ -71,7 +71,7 @@ internal SwitchCaseActivity(string value, IList activities, ID /// /// List of activities to execute for satisfied case condition. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// public IList Activities { get; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UntilActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UntilActivity.cs index 51cbce5fc425..322d793ee7b7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UntilActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UntilActivity.cs @@ -21,7 +21,7 @@ public partial class UntilActivity : ControlActivity /// /// List of activities to execute. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// /// , or is null. public UntilActivity(string name, DataFactoryExpression expression, IEnumerable activities) : base(name) @@ -49,7 +49,7 @@ public UntilActivity(string name, DataFactoryExpression expression, IEnumerable< /// /// List of activities to execute. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// internal UntilActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryExpression expression, DataFactoryElement timeout, IList activities) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { @@ -71,7 +71,7 @@ internal UntilActivity() /// /// List of activities to execute. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . + /// The available derived classes include , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and . /// public IList Activities { get; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md index c6f0e1d4cac8..7eaf535bd9ce 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/4c0f7731c93696af01bd2bb9927bf28d2afcbc98/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/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/