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 c92a2ec48498..a5a0e1d00fd8 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 @@ -1278,7 +1278,7 @@ public partial class AzureFunctionActivity : Azure.ResourceManager.DataFactory.M public AzureFunctionActivity(string name, Azure.ResourceManager.DataFactory.Models.AzureFunctionActivityMethod method, Azure.Core.Expressions.DataFactory.DataFactoryElement functionName) : base (default(string)) { } public Azure.Core.Expressions.DataFactory.DataFactoryElement Body { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement FunctionName { get { throw null; } set { } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement Headers { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement> Headers { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.AzureFunctionActivityMethod Method { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -1306,13 +1306,13 @@ public AzureFunctionActivity(string name, Azure.ResourceManager.DataFactory.Mode } public partial class AzureFunctionLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties { - public AzureFunctionLinkedService(System.BinaryData functionAppUri) { } + public AzureFunctionLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement functionAppUri) { } public Azure.Core.Expressions.DataFactory.DataFactoryElement Authentication { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.DataFactoryCredentialReference Credential { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } - public System.BinaryData FunctionAppUri { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement FunctionAppUri { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecretBaseDefinition FunctionKey { get { throw null; } set { } } - public System.BinaryData ResourceId { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement ResourceId { get { throw null; } set { } } } public partial class AzureKeyVaultLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties { @@ -1348,7 +1348,7 @@ public partial class AzureMLExecutePipelineActivity : Azure.ResourceManager.Data { public AzureMLExecutePipelineActivity(string name) : base (default(string)) { } public Azure.Core.Expressions.DataFactory.DataFactoryElement ContinueOnStepFailure { get { throw null; } set { } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement> DataPathAssignments { get { throw null; } set { } } + public System.BinaryData DataPathAssignments { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ExperimentName { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement MLParentRunId { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement MLPipelineEndpointId { get { throw null; } set { } } @@ -1548,7 +1548,7 @@ public partial class AzureSqlSource : Azure.ResourceManager.DataFactory.Models.T { public AzureSqlSource() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement IsolationLevel { get { throw null; } set { } } - public System.BinaryData PartitionOption { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement PartitionOption { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SqlPartitionSettings PartitionSettings { get { throw null; } set { } } public System.BinaryData ProduceAdditionalTypes { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement SqlReaderQuery { get { throw null; } set { } } @@ -1729,10 +1729,10 @@ public ChainingTrigger(Azure.ResourceManager.DataFactory.Models.TriggerPipelineR } public partial class CmdkeySetup : Azure.ResourceManager.DataFactory.Models.CustomSetupBase { - public CmdkeySetup(System.BinaryData targetName, System.BinaryData userName, Azure.Core.Expressions.DataFactory.DataFactorySecretBaseDefinition password) { } + public CmdkeySetup(Azure.Core.Expressions.DataFactory.DataFactoryElement targetName, Azure.Core.Expressions.DataFactory.DataFactoryElement userName, Azure.Core.Expressions.DataFactory.DataFactorySecretBaseDefinition password) { } public Azure.Core.Expressions.DataFactory.DataFactorySecretBaseDefinition Password { get { throw null; } set { } } - public System.BinaryData TargetName { get { throw null; } set { } } - public System.BinaryData UserName { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement TargetName { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement UserName { get { throw null; } set { } } } public partial class CommonDataServiceForAppsEntityDataset : Azure.ResourceManager.DataFactory.Models.DataFactoryDatasetProperties { @@ -2190,7 +2190,7 @@ public DataFactoryDatasetProperties(Azure.Core.Expressions.DataFactory.DataFacto public string FolderName { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference LinkedServiceName { get { throw null; } set { } } public System.Collections.Generic.IDictionary Parameters { get { throw null; } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement> Schema { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Schema { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement> Structure { get { throw null; } set { } } } public enum DataFactoryDayOfWeek @@ -2893,13 +2893,6 @@ public DatasetReference(Azure.ResourceManager.DataFactory.Models.DatasetReferenc public static bool operator !=(Azure.ResourceManager.DataFactory.Models.DatasetReferenceType left, Azure.ResourceManager.DataFactory.Models.DatasetReferenceType right) { throw null; } public override string ToString() { throw null; } } - public partial class DatasetSchemaDataElement - { - public DatasetSchemaDataElement() { } - public System.Collections.Generic.IDictionary AdditionalProperties { get { throw null; } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement SchemaColumnName { get { throw null; } set { } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement SchemaColumnType { get { throw null; } set { } } - } public partial class DatasetStorageFormat { public DatasetStorageFormat() { } @@ -3878,12 +3871,12 @@ public HDInsightMapReduceActivity(string name, Azure.Core.Expressions.DataFactor } public partial class HDInsightOnDemandLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties { - public HDInsightOnDemandLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement clusterSize, Azure.Core.Expressions.DataFactory.DataFactoryElement timeToLiveExpression, Azure.Core.Expressions.DataFactory.DataFactoryElement version, Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference linkedServiceName, Azure.Core.Expressions.DataFactory.DataFactoryElement hostSubscriptionId, Azure.Core.Expressions.DataFactory.DataFactoryElement tenant, Azure.Core.Expressions.DataFactory.DataFactoryElement clusterResourceGroup) { } + public HDInsightOnDemandLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement clusterSize, Azure.Core.Expressions.DataFactory.DataFactoryElement timeToLiveExpression, Azure.Core.Expressions.DataFactory.DataFactoryElement version, Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference linkedServiceName, Azure.Core.Expressions.DataFactory.DataFactoryElement hostSubscriptionId, Azure.Core.Expressions.DataFactory.DataFactoryElement tenant, Azure.Core.Expressions.DataFactory.DataFactoryElement clusterResourceGroup) { } public System.Collections.Generic.IList AdditionalLinkedServiceNames { get { throw null; } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterNamePrefix { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecretBaseDefinition ClusterPassword { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterResourceGroup { get { throw null; } set { } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterSize { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterSize { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecretBaseDefinition ClusterSshPassword { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterSshUserName { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterType { get { throw null; } set { } } @@ -3917,7 +3910,7 @@ public HDInsightOnDemandLinkedService(Azure.Core.Expressions.DataFactory.DataFac public partial class HDInsightPigActivity : Azure.ResourceManager.DataFactory.Models.ExecutionActivity { public HDInsightPigActivity(string name) : base (default(string)) { } - public System.BinaryData Arguments { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement> Arguments { get { throw null; } set { } } public System.Collections.Generic.IDictionary Defines { get { throw null; } } public Azure.ResourceManager.DataFactory.Models.HDInsightActivityDebugInfoOptionSetting? GetDebugInfo { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference ScriptLinkedService { get { throw null; } set { } } @@ -4068,7 +4061,7 @@ public partial class HttpLinkedService : Azure.ResourceManager.DataFactory.Model { public HttpLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement uri) { } public Azure.ResourceManager.DataFactory.Models.HttpAuthenticationType? AuthenticationType { get { throw null; } set { } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement AuthHeaders { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement> AuthHeaders { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement CertThumbprint { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement EmbeddedCertData { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement EnableServerCertificateValidation { get { throw null; } set { } } @@ -5238,7 +5231,7 @@ public ODataLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement< public Azure.Core.Expressions.DataFactory.DataFactoryElement AadResourceId { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.ODataAadServicePrincipalCredentialType? AadServicePrincipalCredentialType { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.ODataAuthenticationType? AuthenticationType { get { throw null; } set { } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement AuthHeaders { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement> AuthHeaders { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement AzureCloudType { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecretBaseDefinition Password { get { throw null; } set { } } @@ -5893,8 +5886,8 @@ public RestServiceLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryEl public partial class RestSink : Azure.ResourceManager.DataFactory.Models.CopySink { public RestSink() { } - public Azure.Core.Expressions.DataFactory.DataFactoryElement AdditionalHeaders { get { throw null; } set { } } - public System.BinaryData HttpCompressionType { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement> AdditionalHeaders { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement HttpCompressionType { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement HttpRequestTimeout { get { throw null; } set { } } public System.BinaryData RequestInterval { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement RequestMethod { get { throw null; } set { } } @@ -5902,7 +5895,7 @@ public RestSink() { } public partial class RestSource : Azure.ResourceManager.DataFactory.Models.CopyActivitySource { public RestSource() { } - public System.BinaryData AdditionalColumns { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement> AdditionalColumns { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement AdditionalHeaders { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement HttpRequestTimeout { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement PaginationRules { get { throw null; } set { } } @@ -6731,8 +6724,8 @@ public SnowflakeImportCopyCommand() { } } public partial class SnowflakeLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties { - public SnowflakeLinkedService(System.BinaryData connectionString) { } - public System.BinaryData ConnectionString { get { throw null; } set { } } + public SnowflakeLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement connectionString) { } + public Azure.Core.Expressions.DataFactory.DataFactoryElement ConnectionString { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryKeyVaultSecretReference Password { get { throw null; } set { } } } @@ -6920,7 +6913,7 @@ public partial class SqlDWSource : Azure.ResourceManager.DataFactory.Models.Tabu { public SqlDWSource() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement IsolationLevel { get { throw null; } set { } } - public System.BinaryData PartitionOption { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement PartitionOption { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SqlPartitionSettings PartitionSettings { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement SqlReaderQuery { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement SqlReaderStoredProcedureName { get { throw null; } set { } } @@ -6943,13 +6936,13 @@ public SqlMISink() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement StoredProcedureTableTypeParameterName { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TableOption { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SqlUpsertSettings UpsertSettings { get { throw null; } set { } } - public System.BinaryData WriteBehavior { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement WriteBehavior { get { throw null; } set { } } } public partial class SqlMISource : Azure.ResourceManager.DataFactory.Models.TabularSource { public SqlMISource() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement IsolationLevel { get { throw null; } set { } } - public System.BinaryData PartitionOption { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement PartitionOption { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SqlPartitionSettings PartitionSettings { get { throw null; } set { } } public System.BinaryData ProduceAdditionalTypes { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement SqlReaderQuery { get { throw null; } set { } } @@ -6983,13 +6976,13 @@ public SqlServerSink() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement StoredProcedureTableTypeParameterName { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TableOption { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SqlUpsertSettings UpsertSettings { get { throw null; } set { } } - public System.BinaryData WriteBehavior { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement WriteBehavior { get { throw null; } set { } } } public partial class SqlServerSource : Azure.ResourceManager.DataFactory.Models.TabularSource { public SqlServerSource() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement IsolationLevel { get { throw null; } set { } } - public System.BinaryData PartitionOption { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement PartitionOption { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SqlPartitionSettings PartitionSettings { get { throw null; } set { } } public System.BinaryData ProduceAdditionalTypes { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement SqlReaderQuery { get { throw null; } set { } } @@ -7020,13 +7013,13 @@ public SqlSink() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement StoredProcedureTableTypeParameterName { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TableOption { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SqlUpsertSettings UpsertSettings { get { throw null; } set { } } - public System.BinaryData WriteBehavior { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement WriteBehavior { get { throw null; } set { } } } public partial class SqlSource : Azure.ResourceManager.DataFactory.Models.TabularSource { public SqlSource() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement IsolationLevel { get { throw null; } set { } } - public System.BinaryData PartitionOption { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement PartitionOption { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SqlPartitionSettings PartitionSettings { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement SqlReaderQuery { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement SqlReaderStoredProcedureName { get { throw null; } set { } } @@ -7347,8 +7340,8 @@ public SynapseSparkJobDefinitionActivity(string name, Azure.ResourceManager.Data } public partial class SynapseSparkJobReference { - public SynapseSparkJobReference(Azure.ResourceManager.DataFactory.Models.SparkJobReferenceType sparkJobReferenceType, System.BinaryData referenceName) { } - public System.BinaryData ReferenceName { get { throw null; } set { } } + public SynapseSparkJobReference(Azure.ResourceManager.DataFactory.Models.SparkJobReferenceType sparkJobReferenceType, Azure.Core.Expressions.DataFactory.DataFactoryElement referenceName) { } + public Azure.Core.Expressions.DataFactory.DataFactoryElement ReferenceName { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SparkJobReferenceType SparkJobReferenceType { get { throw null; } set { } } } public partial class TabularSource : Azure.ResourceManager.DataFactory.Models.CopyActivitySource @@ -7557,9 +7550,11 @@ public WebActivity(string name, Azure.ResourceManager.DataFactory.Models.WebActi public Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeReference ConnectVia { get { throw null; } set { } } public System.Collections.Generic.IList Datasets { get { throw null; } } public bool? DisableCertValidation { get { throw null; } set { } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement Headers { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement> Headers { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement HttpRequestTimeout { get { throw null; } set { } } public System.Collections.Generic.IList LinkedServices { get { throw null; } } public Azure.ResourceManager.DataFactory.Models.WebActivityMethod Method { get { throw null; } set { } } + public bool? TurnOffAsync { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Uri { get { throw null; } set { } } } public partial class WebActivityAuthentication @@ -7614,7 +7609,7 @@ public partial class WebHookActivity : Azure.ResourceManager.DataFactory.Models. public WebHookActivity(string name, Azure.ResourceManager.DataFactory.Models.WebHookActivityMethod method, Azure.Core.Expressions.DataFactory.DataFactoryElement uri) : base (default(string)) { } public Azure.ResourceManager.DataFactory.Models.WebActivityAuthentication Authentication { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Body { get { throw null; } set { } } - public Azure.Core.Expressions.DataFactory.DataFactoryElement Headers { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement> Headers { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.WebHookActivityMethod Method { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.SecureInputOutputPolicy Policy { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ReportStatusOnCallBack { get { throw null; } set { } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryResource.cs index 797bc8572c12..46adcbf0be4b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryResource.cs @@ -667,13 +667,9 @@ public async Task AddDataFlowToDebugSession_DataFlowDebugSessionAddDataFlow() QuoteChar = "\"", EscapeChar = "\\", FirstRowAsHeader = true, -Schema = new DatasetSchemaDataElement[] +Schema = BinaryData.FromObjectAsJson(new object[] { new Dictionary() { -new DatasetSchemaDataElement() -{ -SchemaColumnType = "String", -} -}, +["type"] = "String"} }), Annotations = { }, diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonMwsObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonMwsObjectDataset.Serialization.cs index 58ad0bd509fb..24bf864408a6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonMwsObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonMwsObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static AmazonMwsObjectDataset DeserializeAmazonMwsObjectDataset(JsonEle string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static AmazonMwsObjectDataset DeserializeAmazonMwsObjectDataset(JsonEle { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonMwsObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonMwsObjectDataset.cs index c9e1eee4453c..adacd9b6f07d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonMwsObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonMwsObjectDataset.cs @@ -36,7 +36,7 @@ public AmazonMwsObjectDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal AmazonMwsObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonMwsObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "AmazonMWSObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleTableDataset.Serialization.cs index 34904ded63ee..5342e943932c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleTableDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static AmazonRdsForOracleTableDataset DeserializeAmazonRdsForOracleTabl string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static AmazonRdsForOracleTableDataset DeserializeAmazonRdsForOracleTabl { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleTableDataset.cs index f5b63e3032bc..a2700d198942 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForOracleTableDataset.cs @@ -37,7 +37,7 @@ public AmazonRdsForOracleTableDataset(DataFactoryLinkedServiceReference linkedSe /// Additional Properties. /// The schema name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). /// The table name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). - internal AmazonRdsForOracleTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonRdsForOracleTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { SchemaTypePropertiesSchema = schemaTypePropertiesSchema; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForSqlServerTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForSqlServerTableDataset.Serialization.cs index eccf8e237d56..037208d1176c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForSqlServerTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForSqlServerTableDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static AmazonRdsForSqlServerTableDataset DeserializeAmazonRdsForSqlServ string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static AmazonRdsForSqlServerTableDataset DeserializeAmazonRdsForSqlServ { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForSqlServerTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForSqlServerTableDataset.cs index 46ca3600b9bc..09cd719457ad 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForSqlServerTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRdsForSqlServerTableDataset.cs @@ -37,7 +37,7 @@ public AmazonRdsForSqlServerTableDataset(DataFactoryLinkedServiceReference linke /// Additional Properties. /// The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). /// The table name of the SQL Server dataset. Type: string (or Expression with resultType string). - internal AmazonRdsForSqlServerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonRdsForSqlServerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { SchemaTypePropertiesSchema = schemaTypePropertiesSchema; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRedshiftTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRedshiftTableDataset.Serialization.cs index d6dc64aa630e..cc5ed298765f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRedshiftTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRedshiftTableDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static AmazonRedshiftTableDataset DeserializeAmazonRedshiftTableDataset string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static AmazonRedshiftTableDataset DeserializeAmazonRedshiftTableDataset { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRedshiftTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRedshiftTableDataset.cs index d497840d96de..921b45ec14b9 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRedshiftTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonRedshiftTableDataset.cs @@ -38,7 +38,7 @@ public AmazonRedshiftTableDataset(DataFactoryLinkedServiceReference linkedServic /// This property will be retired. Please consider using schema + table properties instead. /// The Amazon Redshift table name. Type: string (or Expression with resultType string). /// The Amazon Redshift schema name. Type: string (or Expression with resultType string). - internal AmazonRedshiftTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonRedshiftTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonS3Dataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonS3Dataset.Serialization.cs index 703779b10c3b..b8873198a11a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonS3Dataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonS3Dataset.Serialization.cs @@ -139,7 +139,7 @@ internal static AmazonS3Dataset DeserializeAmazonS3Dataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -181,7 +181,7 @@ internal static AmazonS3Dataset DeserializeAmazonS3Dataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonS3Dataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonS3Dataset.cs index 7564c6b570b2..8be0611eaebf 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonS3Dataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AmazonS3Dataset.cs @@ -50,7 +50,7 @@ public AmazonS3Dataset(DataFactoryLinkedServiceReference linkedServiceName, Data /// The available derived classes include , , , and . /// /// The data compression method used for the Amazon S3 object. - internal AmazonS3Dataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement bucketName, DataFactoryElement key, DataFactoryElement prefix, DataFactoryElement version, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AmazonS3Dataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement bucketName, DataFactoryElement key, DataFactoryElement prefix, DataFactoryElement version, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { BucketName = bucketName; Key = key; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AvroDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AvroDataset.Serialization.cs index cd880b7d8219..90bd3a7c4cd9 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AvroDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AvroDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static AvroDataset DeserializeAvroDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static AvroDataset DeserializeAvroDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AvroDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AvroDataset.cs index b02e5aefc2bf..10ce3e7bdaa8 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AvroDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AvroDataset.cs @@ -42,7 +42,7 @@ public AvroDataset(DataFactoryLinkedServiceReference linkedServiceName) : base(l /// /// The data avroCompressionCodec. Type: string (or Expression with resultType string). /// - internal AvroDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement avroCompressionCodec, int? avroCompressionLevel) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AvroDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement avroCompressionCodec, int? avroCompressionLevel) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; AvroCompressionCodec = avroCompressionCodec; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobDataset.Serialization.cs index abf36d49f8c9..995f9ffef1c0 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobDataset.Serialization.cs @@ -137,7 +137,7 @@ internal static AzureBlobDataset DeserializeAzureBlobDataset(JsonElement element string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -178,7 +178,7 @@ internal static AzureBlobDataset DeserializeAzureBlobDataset(JsonElement element { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobDataset.cs index d95171daef21..b0b3d26af565 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobDataset.cs @@ -46,7 +46,7 @@ public AzureBlobDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// The available derived classes include , , , and . /// /// The data compression method used for the blob storage. - internal AzureBlobDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement tableRootLocation, DataFactoryElement fileName, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureBlobDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement tableRootLocation, DataFactoryElement fileName, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { FolderPath = folderPath; TableRootLocation = tableRootLocation; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobFSDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobFSDataset.Serialization.cs index a2b5b2fd74b7..c93b67b30be1 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobFSDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobFSDataset.Serialization.cs @@ -122,7 +122,7 @@ internal static AzureBlobFSDataset DeserializeAzureBlobFSDataset(JsonElement ele string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -160,7 +160,7 @@ internal static AzureBlobFSDataset DeserializeAzureBlobFSDataset(JsonElement ele { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobFSDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobFSDataset.cs index 2406839ddcbc..a0fdb9366ead 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobFSDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureBlobFSDataset.cs @@ -43,7 +43,7 @@ public AzureBlobFSDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The available derived classes include , , , and . /// /// The data compression method used for the blob storage. - internal AzureBlobFSDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureBlobFSDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { FolderPath = folderPath; FileName = fileName; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataExplorerTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataExplorerTableDataset.Serialization.cs index 102005881465..0fca483b126a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataExplorerTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataExplorerTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static AzureDataExplorerTableDataset DeserializeAzureDataExplorerTableD string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static AzureDataExplorerTableDataset DeserializeAzureDataExplorerTableD { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataExplorerTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataExplorerTableDataset.cs index a0b125ab2015..72b24ad9cbb4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataExplorerTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataExplorerTableDataset.cs @@ -36,7 +36,7 @@ public AzureDataExplorerTableDataset(DataFactoryLinkedServiceReference linkedSer /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string). - internal AzureDataExplorerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureDataExplorerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Table = table; DatasetType = datasetType ?? "AzureDataExplorerTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataLakeStoreDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataLakeStoreDataset.Serialization.cs index cd94ed3f0692..542d64baa56e 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataLakeStoreDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataLakeStoreDataset.Serialization.cs @@ -122,7 +122,7 @@ internal static AzureDataLakeStoreDataset DeserializeAzureDataLakeStoreDataset(J string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -160,7 +160,7 @@ internal static AzureDataLakeStoreDataset DeserializeAzureDataLakeStoreDataset(J { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataLakeStoreDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataLakeStoreDataset.cs index 303564e39e05..46e063f98b88 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataLakeStoreDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDataLakeStoreDataset.cs @@ -43,7 +43,7 @@ public AzureDataLakeStoreDataset(DataFactoryLinkedServiceReference linkedService /// The available derived classes include , , , and . /// /// The data compression method used for the item(s) in the Azure Data Lake Store. - internal AzureDataLakeStoreDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureDataLakeStoreDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { FolderPath = folderPath; FileName = fileName; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksDeltaLakeDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksDeltaLakeDataset.Serialization.cs index da7565d71b79..09d32002787b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksDeltaLakeDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksDeltaLakeDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static AzureDatabricksDeltaLakeDataset DeserializeAzureDatabricksDeltaL string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static AzureDatabricksDeltaLakeDataset DeserializeAzureDatabricksDeltaL { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksDeltaLakeDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksDeltaLakeDataset.cs index 62f2bbc3203c..a770482010f6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksDeltaLakeDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureDatabricksDeltaLakeDataset.cs @@ -37,7 +37,7 @@ public AzureDatabricksDeltaLakeDataset(DataFactoryLinkedServiceReference linkedS /// Additional Properties. /// The name of delta table. Type: string (or Expression with resultType string). /// The database name of delta table. Type: string (or Expression with resultType string). - internal AzureDatabricksDeltaLakeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement table, DataFactoryElement database) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureDatabricksDeltaLakeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement table, DataFactoryElement database) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Table = table; Database = database; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionActivity.Serialization.cs index edafde6e9fba..6df68421acdd 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionActivity.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionActivity.Serialization.cs @@ -116,7 +116,7 @@ internal static AzureFunctionActivity DeserializeAzureFunctionActivity(JsonEleme Optional> userProperties = default; AzureFunctionActivityMethod method = default; DataFactoryElement functionName = default; - Optional> headers = default; + Optional>> headers = default; Optional> body = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); @@ -226,7 +226,7 @@ internal static AzureFunctionActivity DeserializeAzureFunctionActivity(JsonEleme { continue; } - headers = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + headers = JsonSerializer.Deserialize>>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("body"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionActivity.cs index 11bd664d06ae..587b45f918e6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionActivity.cs @@ -43,9 +43,9 @@ public AzureFunctionActivity(string name, AzureFunctionActivityMethod method, Da /// Activity policy. /// Rest API method for target endpoint. /// Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string). - /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: dictionary (or Expression with resultType dictionary). /// Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). - internal AzureFunctionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, AzureFunctionActivityMethod method, DataFactoryElement functionName, DataFactoryElement headers, DataFactoryElement body) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal AzureFunctionActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, AzureFunctionActivityMethod method, DataFactoryElement functionName, DataFactoryElement> headers, DataFactoryElement body) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Method = method; FunctionName = functionName; @@ -58,8 +58,8 @@ internal AzureFunctionActivity(string name, string activityType, string descript public AzureFunctionActivityMethod Method { get; set; } /// Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string). public DataFactoryElement FunctionName { get; set; } - /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). - public DataFactoryElement Headers { get; set; } + /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: dictionary (or Expression with resultType dictionary). + public DataFactoryElement> Headers { get; set; } /// Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). public DataFactoryElement Body { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionLinkedService.Serialization.cs index 8814a5f157ed..0ebcc54610bd 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionLinkedService.Serialization.cs @@ -66,14 +66,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("typeProperties"u8); writer.WriteStartObject(); writer.WritePropertyName("functionAppUrl"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(FunctionAppUri); -#else - using (JsonDocument document = JsonDocument.Parse(FunctionAppUri)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, FunctionAppUri); if (Optional.IsDefined(FunctionKey)) { writer.WritePropertyName("functionKey"u8); @@ -92,14 +85,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(ResourceId)) { writer.WritePropertyName("resourceId"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(ResourceId); -#else - using (JsonDocument document = JsonDocument.Parse(ResourceId)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, ResourceId); } if (Optional.IsDefined(Authentication)) { @@ -133,11 +119,11 @@ internal static AzureFunctionLinkedService DeserializeAzureFunctionLinkedService Optional description = default; Optional> parameters = default; Optional> annotations = default; - BinaryData functionAppUrl = default; + DataFactoryElement functionAppUrl = default; Optional functionKey = default; Optional encryptedCredential = default; Optional credential = default; - Optional resourceId = default; + Optional> resourceId = default; Optional> authentication = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); @@ -208,7 +194,7 @@ internal static AzureFunctionLinkedService DeserializeAzureFunctionLinkedService { if (property0.NameEquals("functionAppUrl"u8)) { - functionAppUrl = BinaryData.FromString(property0.Value.GetRawText()); + functionAppUrl = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("functionKey"u8)) @@ -240,7 +226,7 @@ internal static AzureFunctionLinkedService DeserializeAzureFunctionLinkedService { continue; } - resourceId = BinaryData.FromString(property0.Value.GetRawText()); + resourceId = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("authentication"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionLinkedService.cs index 255d33f012e3..c7c55875f7f4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureFunctionLinkedService.cs @@ -16,9 +16,9 @@ namespace Azure.ResourceManager.DataFactory.Models public partial class AzureFunctionLinkedService : DataFactoryLinkedServiceProperties { /// Initializes a new instance of . - /// The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net. + /// The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net. Type: string (or Expression with resultType string). /// is null. - public AzureFunctionLinkedService(BinaryData functionAppUri) + public AzureFunctionLinkedService(DataFactoryElement functionAppUri) { Argument.AssertNotNull(functionAppUri, nameof(functionAppUri)); @@ -33,13 +33,13 @@ public AzureFunctionLinkedService(BinaryData functionAppUri) /// Parameters for linked service. /// List of tags that can be used for describing the linked service. /// Additional Properties. - /// The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net. + /// The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net. Type: string (or Expression with resultType string). /// Function or Host key for Azure Function App. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// The credential reference containing authentication information. - /// Allowed token audiences for azure function. + /// Allowed token audiences for azure function. Type: string (or Expression with resultType string). /// Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string). - internal AzureFunctionLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData functionAppUri, DataFactorySecretBaseDefinition functionKey, string encryptedCredential, DataFactoryCredentialReference credential, BinaryData resourceId, DataFactoryElement authentication) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal AzureFunctionLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement functionAppUri, DataFactorySecretBaseDefinition functionKey, string encryptedCredential, DataFactoryCredentialReference credential, DataFactoryElement resourceId, DataFactoryElement authentication) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { FunctionAppUri = functionAppUri; FunctionKey = functionKey; @@ -50,74 +50,16 @@ internal AzureFunctionLinkedService(string linkedServiceType, IntegrationRuntime LinkedServiceType = linkedServiceType ?? "AzureFunction"; } - /// - /// The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net. - /// - /// To assign an object to 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 BinaryData FunctionAppUri { get; set; } + /// The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net. Type: string (or Expression with resultType string). + public DataFactoryElement FunctionAppUri { get; set; } /// Function or Host key for Azure Function App. public DataFactorySecretBaseDefinition FunctionKey { get; set; } /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. public string EncryptedCredential { get; set; } /// The credential reference containing authentication information. public DataFactoryCredentialReference Credential { get; set; } - /// - /// Allowed token audiences for azure function. - /// - /// To assign an object to 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 BinaryData ResourceId { get; set; } + /// Allowed token audiences for azure function. Type: string (or Expression with resultType string). + public DataFactoryElement ResourceId { get; set; } /// Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string). public DataFactoryElement Authentication { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMLExecutePipelineActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMLExecutePipelineActivity.Serialization.cs index 71abaa7da6d2..0504decde5b7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMLExecutePipelineActivity.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMLExecutePipelineActivity.Serialization.cs @@ -97,7 +97,14 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(DataPathAssignments)) { writer.WritePropertyName("dataPathAssignments"u8); - JsonSerializer.Serialize(writer, DataPathAssignments); +#if NET6_0_OR_GREATER + writer.WriteRawValue(DataPathAssignments); +#else + using (JsonDocument document = JsonDocument.Parse(DataPathAssignments)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif } if (Optional.IsDefined(MLParentRunId)) { @@ -145,7 +152,7 @@ internal static AzureMLExecutePipelineActivity DeserializeAzureMLExecutePipeline Optional> version = default; Optional> experimentName = default; Optional>> mlPipelineParameters = default; - Optional>> dataPathAssignments = default; + Optional dataPathAssignments = default; Optional> mlParentRunId = default; Optional> continueOnStepFailure = default; IDictionary additionalProperties = default; @@ -291,7 +298,7 @@ internal static AzureMLExecutePipelineActivity DeserializeAzureMLExecutePipeline { continue; } - dataPathAssignments = JsonSerializer.Deserialize>>(property0.Value.GetRawText()); + dataPathAssignments = BinaryData.FromString(property0.Value.GetRawText()); continue; } if (property0.NameEquals("mlParentRunId"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMLExecutePipelineActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMLExecutePipelineActivity.cs index 039b4f676766..4c5b00186a60 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMLExecutePipelineActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMLExecutePipelineActivity.cs @@ -41,10 +41,10 @@ public AzureMLExecutePipelineActivity(string name) : base(name) /// Version of the published Azure ML pipeline endpoint. Type: string (or Expression with resultType string). /// Run history experiment name of the pipeline run. This information will be passed in the ExperimentName property of the published pipeline execution request. Type: string (or Expression with resultType string). /// Key,Value pairs to be passed to the published Azure ML pipeline endpoint. Keys must match the names of pipeline parameters defined in the published pipeline. Values will be passed in the ParameterAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). - /// Dictionary used for changing data path assignments without retraining. Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). + /// Dictionary used for changing data path assignments without retraining. Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type: object (or Expression with resultType object). /// The parent Azure ML Service pipeline run id. This information will be passed in the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType string). /// Whether to continue execution of other steps in the PipelineRun if a step fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution request. Type: boolean (or Expression with resultType boolean). - internal AzureMLExecutePipelineActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement mlPipelineId, DataFactoryElement mlPipelineEndpointId, DataFactoryElement version, DataFactoryElement experimentName, DataFactoryElement> mlPipelineParameters, DataFactoryElement> dataPathAssignments, DataFactoryElement mlParentRunId, DataFactoryElement continueOnStepFailure) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal AzureMLExecutePipelineActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement mlPipelineId, DataFactoryElement mlPipelineEndpointId, DataFactoryElement version, DataFactoryElement experimentName, DataFactoryElement> mlPipelineParameters, BinaryData dataPathAssignments, DataFactoryElement mlParentRunId, DataFactoryElement continueOnStepFailure) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { MLPipelineId = mlPipelineId; MLPipelineEndpointId = mlPipelineEndpointId; @@ -67,8 +67,37 @@ internal AzureMLExecutePipelineActivity(string name, string activityType, string public DataFactoryElement ExperimentName { get; set; } /// Key,Value pairs to be passed to the published Azure ML pipeline endpoint. Keys must match the names of pipeline parameters defined in the published pipeline. Values will be passed in the ParameterAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). public DataFactoryElement> MLPipelineParameters { get; set; } - /// Dictionary used for changing data path assignments without retraining. Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). - public DataFactoryElement> DataPathAssignments { get; set; } + /// + /// Dictionary used for changing data path assignments without retraining. Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type: object (or Expression with resultType object). + /// + /// To assign an object to 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 BinaryData DataPathAssignments { get; set; } /// The parent Azure ML Service pipeline run id. This information will be passed in the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType string). public DataFactoryElement MLParentRunId { get; set; } /// Whether to continue execution of other steps in the PipelineRun if a step fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution request. Type: boolean (or Expression with resultType boolean). diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMariaDBTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMariaDBTableDataset.Serialization.cs index 7a536a6e944f..dbc47cda1078 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMariaDBTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMariaDBTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static AzureMariaDBTableDataset DeserializeAzureMariaDBTableDataset(Jso string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static AzureMariaDBTableDataset DeserializeAzureMariaDBTableDataset(Jso { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMariaDBTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMariaDBTableDataset.cs index 2fe659ad3b91..ef981891d9fa 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMariaDBTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMariaDBTableDataset.cs @@ -36,7 +36,7 @@ public AzureMariaDBTableDataset(DataFactoryLinkedServiceReference linkedServiceN /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal AzureMariaDBTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureMariaDBTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "AzureMariaDBTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMySqlTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMySqlTableDataset.Serialization.cs index a9e972e041bd..0bc0b0126609 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMySqlTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMySqlTableDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static AzureMySqlTableDataset DeserializeAzureMySqlTableDataset(JsonEle string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static AzureMySqlTableDataset DeserializeAzureMySqlTableDataset(JsonEle { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMySqlTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMySqlTableDataset.cs index 173c1046eccb..0978502889ba 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMySqlTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureMySqlTableDataset.cs @@ -37,7 +37,7 @@ public AzureMySqlTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// Additional Properties. /// The Azure MySQL database table name. Type: string (or Expression with resultType string). /// The name of Azure MySQL database table. Type: string (or Expression with resultType string). - internal AzureMySqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureMySqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.Serialization.cs index ae86c722fb80..e9e293689fc8 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static AzurePostgreSqlTableDataset DeserializeAzurePostgreSqlTableDatas string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static AzurePostgreSqlTableDataset DeserializeAzurePostgreSqlTableDatas { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.cs index 73ebec715232..8529cb1f4238 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.cs @@ -38,7 +38,7 @@ public AzurePostgreSqlTableDataset(DataFactoryLinkedServiceReference linkedServi /// The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). /// The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). /// The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). - internal AzurePostgreSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzurePostgreSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSearchIndexDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSearchIndexDataset.Serialization.cs index 291484395d28..d20bc31acf92 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSearchIndexDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSearchIndexDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static AzureSearchIndexDataset DeserializeAzureSearchIndexDataset(JsonE string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static AzureSearchIndexDataset DeserializeAzureSearchIndexDataset(JsonE { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSearchIndexDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSearchIndexDataset.cs index 8c4fed3ed958..ac2064375636 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSearchIndexDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSearchIndexDataset.cs @@ -39,7 +39,7 @@ public AzureSearchIndexDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The name of the Azure Search Index. Type: string (or Expression with resultType string). - internal AzureSearchIndexDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement indexName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureSearchIndexDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement indexName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { IndexName = indexName; DatasetType = datasetType ?? "AzureSearchIndex"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlDWTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlDWTableDataset.Serialization.cs index 1878fd3ccef4..1addac364bf6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlDWTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlDWTableDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static AzureSqlDWTableDataset DeserializeAzureSqlDWTableDataset(JsonEle string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static AzureSqlDWTableDataset DeserializeAzureSqlDWTableDataset(JsonEle { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlDWTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlDWTableDataset.cs index 7b1fcb402d70..ab48e4fc8cc7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlDWTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlDWTableDataset.cs @@ -38,7 +38,7 @@ public AzureSqlDWTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). /// The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). - internal AzureSqlDWTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureSqlDWTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlMITableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlMITableDataset.Serialization.cs index 3a33aa61861d..ee5026fbea9a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlMITableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlMITableDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static AzureSqlMITableDataset DeserializeAzureSqlMITableDataset(JsonEle string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static AzureSqlMITableDataset DeserializeAzureSqlMITableDataset(JsonEle { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlMITableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlMITableDataset.cs index f8bce1d0fd8c..2c1d8c988ab3 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlMITableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlMITableDataset.cs @@ -38,7 +38,7 @@ public AzureSqlMITableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string). /// The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string). - internal AzureSqlMITableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureSqlMITableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlSource.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlSource.Serialization.cs index 69373f9be9f7..10e2178fe42a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlSource.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlSource.Serialization.cs @@ -60,14 +60,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(PartitionOption)) { writer.WritePropertyName("partitionOption"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(PartitionOption); -#else - using (JsonDocument document = JsonDocument.Parse(PartitionOption)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, PartitionOption); } if (Optional.IsDefined(PartitionSettings)) { @@ -139,7 +132,7 @@ internal static AzureSqlSource DeserializeAzureSqlSource(JsonElement element) Optional storedProcedureParameters = default; Optional> isolationLevel = default; Optional produceAdditionalTypes = default; - Optional partitionOption = default; + Optional> partitionOption = default; Optional partitionSettings = default; Optional> queryTimeout = default; Optional additionalColumns = default; @@ -203,7 +196,7 @@ internal static AzureSqlSource DeserializeAzureSqlSource(JsonElement element) { continue; } - partitionOption = BinaryData.FromString(property.Value.GetRawText()); + partitionOption = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("partitionSettings"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlSource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlSource.cs index ebee9b63c789..c9e85ead29a5 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlSource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlSource.cs @@ -34,9 +34,9 @@ public AzureSqlSource() /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". /// Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). /// Which additional types to produce. - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). /// The settings that will be leveraged for Sql source partitioning. - internal AzureSqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal AzureSqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, DataFactoryElement partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -116,37 +116,8 @@ internal AzureSqlSource(string copySourceType, DataFactoryElement sourceRet /// /// public BinaryData ProduceAdditionalTypes { get; set; } - /// - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - /// - /// To assign an object to 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 BinaryData PartitionOption { get; set; } + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). + public DataFactoryElement PartitionOption { get; set; } /// The settings that will be leveraged for Sql source partitioning. public SqlPartitionSettings PartitionSettings { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlTableDataset.Serialization.cs index 88bacb87a3b4..3fd2a84f8413 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlTableDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static AzureSqlTableDataset DeserializeAzureSqlTableDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static AzureSqlTableDataset DeserializeAzureSqlTableDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlTableDataset.cs index c1ba95ebb57a..d336be2b9009 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureSqlTableDataset.cs @@ -38,7 +38,7 @@ public AzureSqlTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the Azure SQL database. Type: string (or Expression with resultType string). /// The table name of the Azure SQL database. Type: string (or Expression with resultType string). - internal AzureSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureTableDataset.Serialization.cs index b5056a815009..1b5e75b43fdb 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureTableDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static AzureTableDataset DeserializeAzureTableDataset(JsonElement eleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static AzureTableDataset DeserializeAzureTableDataset(JsonElement eleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureTableDataset.cs index 2e89bd4ef736..b978fef7088c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureTableDataset.cs @@ -39,7 +39,7 @@ public AzureTableDataset(DataFactoryLinkedServiceReference linkedServiceName, Da /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name of the Azure Table storage. Type: string (or Expression with resultType string). - internal AzureTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal AzureTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "AzureTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/BinaryDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/BinaryDataset.Serialization.cs index 5abf5b870cd9..beb41eaaf116 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/BinaryDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/BinaryDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static BinaryDataset DeserializeBinaryDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static BinaryDataset DeserializeBinaryDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/BinaryDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/BinaryDataset.cs index 9f8ed11d0c05..abd8036ee5ec 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/BinaryDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/BinaryDataset.cs @@ -41,7 +41,7 @@ public BinaryDataset(DataFactoryLinkedServiceReference linkedServiceName) : base /// The available derived classes include , , , , , , , , , , , , and . /// /// The data compression method used for the binary dataset. - internal BinaryDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal BinaryDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; Compression = compression; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CassandraTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CassandraTableDataset.Serialization.cs index a8e73f6fadd7..0d6b6388f410 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CassandraTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CassandraTableDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static CassandraTableDataset DeserializeCassandraTableDataset(JsonEleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static CassandraTableDataset DeserializeCassandraTableDataset(JsonEleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CassandraTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CassandraTableDataset.cs index 9f2ac53817b1..4dac521e11b6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CassandraTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CassandraTableDataset.cs @@ -37,7 +37,7 @@ public CassandraTableDataset(DataFactoryLinkedServiceReference linkedServiceName /// Additional Properties. /// The table name of the Cassandra database. Type: string (or Expression with resultType string). /// The keyspace of the Cassandra database. Type: string (or Expression with resultType string). - internal CassandraTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement keyspace) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CassandraTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement keyspace) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Keyspace = keyspace; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CmdkeySetup.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CmdkeySetup.Serialization.cs index 47288becd866..5251987049e6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CmdkeySetup.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CmdkeySetup.Serialization.cs @@ -5,7 +5,6 @@ #nullable disable -using System; using System.Text.Json; using Azure.Core; using Azure.Core.Expressions.DataFactory; @@ -22,23 +21,9 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("typeProperties"u8); writer.WriteStartObject(); writer.WritePropertyName("targetName"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(TargetName); -#else - using (JsonDocument document = JsonDocument.Parse(TargetName)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, TargetName); writer.WritePropertyName("userName"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(UserName); -#else - using (JsonDocument document = JsonDocument.Parse(UserName)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, UserName); writer.WritePropertyName("password"u8); JsonSerializer.Serialize(writer, Password); writer.WriteEndObject(); @@ -52,8 +37,8 @@ internal static CmdkeySetup DeserializeCmdkeySetup(JsonElement element) return null; } string type = default; - BinaryData targetName = default; - BinaryData userName = default; + DataFactoryElement targetName = default; + DataFactoryElement userName = default; DataFactorySecretBaseDefinition password = default; foreach (var property in element.EnumerateObject()) { @@ -73,12 +58,12 @@ internal static CmdkeySetup DeserializeCmdkeySetup(JsonElement element) { if (property0.NameEquals("targetName"u8)) { - targetName = BinaryData.FromString(property0.Value.GetRawText()); + targetName = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("userName"u8)) { - userName = BinaryData.FromString(property0.Value.GetRawText()); + userName = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("password"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CmdkeySetup.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CmdkeySetup.cs index 2e5b6a82d397..d20a05f50580 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CmdkeySetup.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CmdkeySetup.cs @@ -15,11 +15,11 @@ namespace Azure.ResourceManager.DataFactory.Models public partial class CmdkeySetup : CustomSetupBase { /// Initializes a new instance of . - /// The server name of data source access. - /// The user name of data source access. + /// The server name of data source access. Type: string. + /// The user name of data source access. Type: string. /// The password of data source access. /// , or is null. - public CmdkeySetup(BinaryData targetName, BinaryData userName, DataFactorySecretBaseDefinition password) + public CmdkeySetup(DataFactoryElement targetName, DataFactoryElement userName, DataFactorySecretBaseDefinition password) { Argument.AssertNotNull(targetName, nameof(targetName)); Argument.AssertNotNull(userName, nameof(userName)); @@ -33,10 +33,10 @@ public CmdkeySetup(BinaryData targetName, BinaryData userName, DataFactorySecret /// Initializes a new instance of . /// The type of custom setup. - /// The server name of data source access. - /// The user name of data source access. + /// The server name of data source access. Type: string. + /// The user name of data source access. Type: string. /// The password of data source access. - internal CmdkeySetup(string customSetupBaseType, BinaryData targetName, BinaryData userName, DataFactorySecretBaseDefinition password) : base(customSetupBaseType) + internal CmdkeySetup(string customSetupBaseType, DataFactoryElement targetName, DataFactoryElement userName, DataFactorySecretBaseDefinition password) : base(customSetupBaseType) { TargetName = targetName; UserName = userName; @@ -44,68 +44,10 @@ internal CmdkeySetup(string customSetupBaseType, BinaryData targetName, BinaryDa CustomSetupBaseType = customSetupBaseType ?? "CmdkeySetup"; } - /// - /// The server name of data source access. - /// - /// To assign an object to 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 BinaryData TargetName { get; set; } - /// - /// The user name of data source access. - /// - /// To assign an object to 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 BinaryData UserName { get; set; } + /// The server name of data source access. Type: string. + public DataFactoryElement TargetName { get; set; } + /// The user name of data source access. Type: string. + public DataFactoryElement UserName { get; set; } /// The password of data source access. public DataFactorySecretBaseDefinition Password { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CommonDataServiceForAppsEntityDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CommonDataServiceForAppsEntityDataset.Serialization.cs index fd935535ff31..3f888d16e77d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CommonDataServiceForAppsEntityDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CommonDataServiceForAppsEntityDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static CommonDataServiceForAppsEntityDataset DeserializeCommonDataServi string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static CommonDataServiceForAppsEntityDataset DeserializeCommonDataServi { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CommonDataServiceForAppsEntityDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CommonDataServiceForAppsEntityDataset.cs index e34b56cdda4f..7dfc6a9b224a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CommonDataServiceForAppsEntityDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CommonDataServiceForAppsEntityDataset.cs @@ -36,7 +36,7 @@ public CommonDataServiceForAppsEntityDataset(DataFactoryLinkedServiceReference l /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The logical name of the entity. Type: string (or Expression with resultType string). - internal CommonDataServiceForAppsEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CommonDataServiceForAppsEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { EntityName = entityName; DatasetType = datasetType ?? "CommonDataServiceForAppsEntity"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ConcurObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ConcurObjectDataset.Serialization.cs index b4931b9aac31..b1be0e19c5fb 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ConcurObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ConcurObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static ConcurObjectDataset DeserializeConcurObjectDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static ConcurObjectDataset DeserializeConcurObjectDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ConcurObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ConcurObjectDataset.cs index 41926152adb9..26481337b700 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ConcurObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ConcurObjectDataset.cs @@ -36,7 +36,7 @@ public ConcurObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ConcurObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ConcurObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ConcurObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBMongoDBApiCollectionDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBMongoDBApiCollectionDataset.Serialization.cs index c7f2fffe6884..3f2e1e03966f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBMongoDBApiCollectionDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBMongoDBApiCollectionDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static CosmosDBMongoDBApiCollectionDataset DeserializeCosmosDBMongoDBAp string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static CosmosDBMongoDBApiCollectionDataset DeserializeCosmosDBMongoDBAp { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBMongoDBApiCollectionDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBMongoDBApiCollectionDataset.cs index e660c22937d0..e3fe5ad617f2 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBMongoDBApiCollectionDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBMongoDBApiCollectionDataset.cs @@ -39,7 +39,7 @@ public CosmosDBMongoDBApiCollectionDataset(DataFactoryLinkedServiceReference lin /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). - internal CosmosDBMongoDBApiCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CosmosDBMongoDBApiCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Collection = collection; DatasetType = datasetType ?? "CosmosDbMongoDbApiCollection"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBSqlApiCollectionDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBSqlApiCollectionDataset.Serialization.cs index 62427fe7f058..604f9d5e07f2 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBSqlApiCollectionDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBSqlApiCollectionDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static CosmosDBSqlApiCollectionDataset DeserializeCosmosDBSqlApiCollect string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static CosmosDBSqlApiCollectionDataset DeserializeCosmosDBSqlApiCollect { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBSqlApiCollectionDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBSqlApiCollectionDataset.cs index 64f4acc40bbf..89218c3a35b9 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBSqlApiCollectionDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CosmosDBSqlApiCollectionDataset.cs @@ -39,7 +39,7 @@ public CosmosDBSqlApiCollectionDataset(DataFactoryLinkedServiceReference linkedS /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). - internal CosmosDBSqlApiCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CosmosDBSqlApiCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { CollectionName = collectionName; DatasetType = datasetType ?? "CosmosDbSqlApiCollection"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CouchbaseTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CouchbaseTableDataset.Serialization.cs index 4c8690a53074..aa5ff601e21c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CouchbaseTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CouchbaseTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static CouchbaseTableDataset DeserializeCouchbaseTableDataset(JsonEleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static CouchbaseTableDataset DeserializeCouchbaseTableDataset(JsonEleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CouchbaseTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CouchbaseTableDataset.cs index 11ead3be6794..2731537fe725 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CouchbaseTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CouchbaseTableDataset.cs @@ -36,7 +36,7 @@ public CouchbaseTableDataset(DataFactoryLinkedServiceReference linkedServiceName /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal CouchbaseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CouchbaseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "CouchbaseTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CustomDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CustomDataset.Serialization.cs index 4e08a91748ac..f0754fd06005 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CustomDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CustomDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static CustomDataset DeserializeCustomDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -155,7 +155,7 @@ internal static CustomDataset DeserializeCustomDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CustomDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CustomDataset.cs index 6d5d579f83df..5d56f28fb3ab 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CustomDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/CustomDataset.cs @@ -36,7 +36,7 @@ public CustomDataset(DataFactoryLinkedServiceReference linkedServiceName) : base /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// Custom dataset properties. - internal CustomDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData typeProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal CustomDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData typeProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TypeProperties = typeProperties; DatasetType = datasetType ?? "CustomDataset"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryDatasetProperties.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryDatasetProperties.cs index c931c027d33b..172b98994cc3 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryDatasetProperties.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryDatasetProperties.cs @@ -42,7 +42,7 @@ public DataFactoryDatasetProperties(DataFactoryLinkedServiceReference linkedServ /// List of tags that can be used for describing the Dataset. /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. - internal DataFactoryDatasetProperties(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties) + internal DataFactoryDatasetProperties(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties) { DatasetType = datasetType; Description = description; @@ -62,7 +62,7 @@ internal DataFactoryDatasetProperties(string datasetType, string description, Da /// Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. public DataFactoryElement> Structure { get; set; } /// Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - public DataFactoryElement> Schema { get; set; } + public DataFactoryElement Schema { get; set; } /// Linked service reference. public DataFactoryLinkedServiceReference LinkedServiceName { get; set; } /// Parameters for dataset. diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryHttpDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryHttpDataset.Serialization.cs index c6cce868ed9b..01d562487cfe 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryHttpDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryHttpDataset.Serialization.cs @@ -132,7 +132,7 @@ internal static DataFactoryHttpDataset DeserializeDataFactoryHttpDataset(JsonEle string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -172,7 +172,7 @@ internal static DataFactoryHttpDataset DeserializeDataFactoryHttpDataset(JsonEle { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryHttpDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryHttpDataset.cs index 61fe04695f54..176be37d25df 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryHttpDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryHttpDataset.cs @@ -49,7 +49,7 @@ public DataFactoryHttpDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The available derived classes include , , , and . /// /// The data compression method used on files. - internal DataFactoryHttpDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement relativeUri, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DataFactoryHttpDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement relativeUri, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DatasetStorageFormat format, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { RelativeUri = relativeUri; RequestMethod = requestMethod; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatasetSchemaDataElement.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatasetSchemaDataElement.Serialization.cs deleted file mode 100644 index f6d56bb4533d..000000000000 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatasetSchemaDataElement.Serialization.cs +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using System.Text.Json; -using System.Text.Json.Serialization; -using Azure.Core; -using Azure.Core.Expressions.DataFactory; - -namespace Azure.ResourceManager.DataFactory.Models -{ - [JsonConverter(typeof(DatasetSchemaDataElementConverter))] - public partial class DatasetSchemaDataElement : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(SchemaColumnName)) - { - writer.WritePropertyName("name"u8); - JsonSerializer.Serialize(writer, SchemaColumnName); - } - if (Optional.IsDefined(SchemaColumnType)) - { - writer.WritePropertyName("type"u8); - JsonSerializer.Serialize(writer, SchemaColumnType); - } - 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)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - writer.WriteEndObject(); - } - - internal static DatasetSchemaDataElement DeserializeDatasetSchemaDataElement(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - Optional> name = default; - Optional> type = default; - IDictionary additionalProperties = default; - Dictionary additionalPropertiesDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("name"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - name = JsonSerializer.Deserialize>(property.Value.GetRawText()); - continue; - } - if (property.NameEquals("type"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - type = JsonSerializer.Deserialize>(property.Value.GetRawText()); - continue; - } - additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - additionalProperties = additionalPropertiesDictionary; - return new DatasetSchemaDataElement(name.Value, type.Value, additionalProperties); - } - - internal partial class DatasetSchemaDataElementConverter : JsonConverter - { - public override void Write(Utf8JsonWriter writer, DatasetSchemaDataElement model, JsonSerializerOptions options) - { - writer.WriteObjectValue(model); - } - public override DatasetSchemaDataElement Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - using var document = JsonDocument.ParseValue(ref reader); - return DeserializeDatasetSchemaDataElement(document.RootElement); - } - } - } -} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatasetSchemaDataElement.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatasetSchemaDataElement.cs deleted file mode 100644 index f9764e60cc41..000000000000 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DatasetSchemaDataElement.cs +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using Azure.Core; -using Azure.Core.Expressions.DataFactory; - -namespace Azure.ResourceManager.DataFactory.Models -{ - /// Columns that define the physical type schema of the dataset. - public partial class DatasetSchemaDataElement - { - /// Initializes a new instance of . - public DatasetSchemaDataElement() - { - AdditionalProperties = new ChangeTrackingDictionary(); - } - - /// Initializes a new instance of . - /// Name of the schema column. Type: string (or Expression with resultType string). - /// Type of the schema column. Type: string (or Expression with resultType string). - /// Additional Properties. - internal DatasetSchemaDataElement(DataFactoryElement schemaColumnName, DataFactoryElement schemaColumnType, IDictionary additionalProperties) - { - SchemaColumnName = schemaColumnName; - SchemaColumnType = schemaColumnType; - AdditionalProperties = additionalProperties; - } - - /// Name of the schema column. Type: string (or Expression with resultType string). - public DataFactoryElement SchemaColumnName { get; set; } - /// Type of the schema column. Type: string (or Expression with resultType string). - public DataFactoryElement SchemaColumnType { get; set; } - /// - /// Additional Properties - /// - /// 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 AdditionalProperties { get; } - } -} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Db2TableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Db2TableDataset.Serialization.cs index afc6b84ee865..7809eb4e8eb9 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Db2TableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Db2TableDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static Db2TableDataset DeserializeDb2TableDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static Db2TableDataset DeserializeDb2TableDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Db2TableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Db2TableDataset.cs index ebbca864aaa8..d52031afb6aa 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Db2TableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Db2TableDataset.cs @@ -38,7 +38,7 @@ public Db2TableDataset(DataFactoryLinkedServiceReference linkedServiceName) : ba /// This property will be retired. Please consider using schema + table properties instead. /// The Db2 schema name. Type: string (or Expression with resultType string). /// The Db2 table name. Type: string (or Expression with resultType string). - internal Db2TableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal Db2TableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DelimitedTextDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DelimitedTextDataset.Serialization.cs index 1cf4d01286a0..1ce283501251 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DelimitedTextDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DelimitedTextDataset.Serialization.cs @@ -152,7 +152,7 @@ internal static DelimitedTextDataset DeserializeDelimitedTextDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -196,7 +196,7 @@ internal static DelimitedTextDataset DeserializeDelimitedTextDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DelimitedTextDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DelimitedTextDataset.cs index e01b5e5b91a3..36ea80248221 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DelimitedTextDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DelimitedTextDataset.cs @@ -49,7 +49,7 @@ public DelimitedTextDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The escape character. Type: string (or Expression with resultType string). /// When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). /// The null value string. Type: string (or Expression with resultType string). - internal DelimitedTextDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement columnDelimiter, DataFactoryElement rowDelimiter, DataFactoryElement encodingName, DataFactoryElement compressionCodec, DataFactoryElement compressionLevel, DataFactoryElement quoteChar, DataFactoryElement escapeChar, DataFactoryElement firstRowAsHeader, DataFactoryElement nullValue) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DelimitedTextDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement columnDelimiter, DataFactoryElement rowDelimiter, DataFactoryElement encodingName, DataFactoryElement compressionCodec, DataFactoryElement compressionLevel, DataFactoryElement quoteChar, DataFactoryElement escapeChar, DataFactoryElement firstRowAsHeader, DataFactoryElement nullValue) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; ColumnDelimiter = columnDelimiter; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DocumentDBCollectionDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DocumentDBCollectionDataset.Serialization.cs index a987858f7f2e..1d64ccc1af66 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DocumentDBCollectionDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DocumentDBCollectionDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static DocumentDBCollectionDataset DeserializeDocumentDBCollectionDatas string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static DocumentDBCollectionDataset DeserializeDocumentDBCollectionDatas { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DocumentDBCollectionDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DocumentDBCollectionDataset.cs index 295ce04e6b26..344e779520a1 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DocumentDBCollectionDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DocumentDBCollectionDataset.cs @@ -39,7 +39,7 @@ public DocumentDBCollectionDataset(DataFactoryLinkedServiceReference linkedServi /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// Document Database collection name. Type: string (or Expression with resultType string). - internal DocumentDBCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DocumentDBCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { CollectionName = collectionName; DatasetType = datasetType ?? "DocumentDbCollection"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DrillTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DrillTableDataset.Serialization.cs index 2a832190b72f..b7795b7a8034 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DrillTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DrillTableDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static DrillTableDataset DeserializeDrillTableDataset(JsonElement eleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static DrillTableDataset DeserializeDrillTableDataset(JsonElement eleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DrillTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DrillTableDataset.cs index c263cb7ab6cc..b0d2f038644e 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DrillTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DrillTableDataset.cs @@ -38,7 +38,7 @@ public DrillTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Drill. Type: string (or Expression with resultType string). /// The schema name of the Drill. Type: string (or Expression with resultType string). - internal DrillTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DrillTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsAXResourceDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsAXResourceDataset.Serialization.cs index 2d67a5f57b6a..7a8e6cc814ee 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsAXResourceDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsAXResourceDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static DynamicsAXResourceDataset DeserializeDynamicsAXResourceDataset(J string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static DynamicsAXResourceDataset DeserializeDynamicsAXResourceDataset(J { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsAXResourceDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsAXResourceDataset.cs index c29bd9a19bd0..c9fe5e0b1583 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsAXResourceDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsAXResourceDataset.cs @@ -39,7 +39,7 @@ public DynamicsAXResourceDataset(DataFactoryLinkedServiceReference linkedService /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). - internal DynamicsAXResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DynamicsAXResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Path = path; DatasetType = datasetType ?? "DynamicsAXResource"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsCrmEntityDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsCrmEntityDataset.Serialization.cs index b8d182843567..2fb668689e0f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsCrmEntityDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsCrmEntityDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static DynamicsCrmEntityDataset DeserializeDynamicsCrmEntityDataset(Jso string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static DynamicsCrmEntityDataset DeserializeDynamicsCrmEntityDataset(Jso { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsCrmEntityDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsCrmEntityDataset.cs index 0e0cb7914d53..6cd543bbd375 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsCrmEntityDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsCrmEntityDataset.cs @@ -36,7 +36,7 @@ public DynamicsCrmEntityDataset(DataFactoryLinkedServiceReference linkedServiceN /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The logical name of the entity. Type: string (or Expression with resultType string). - internal DynamicsCrmEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DynamicsCrmEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { EntityName = entityName; DatasetType = datasetType ?? "DynamicsCrmEntity"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsEntityDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsEntityDataset.Serialization.cs index 9e37ee48eec3..670b450751f7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsEntityDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsEntityDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static DynamicsEntityDataset DeserializeDynamicsEntityDataset(JsonEleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static DynamicsEntityDataset DeserializeDynamicsEntityDataset(JsonEleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsEntityDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsEntityDataset.cs index 11f640ebde3a..782a693ee71d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsEntityDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DynamicsEntityDataset.cs @@ -36,7 +36,7 @@ public DynamicsEntityDataset(DataFactoryLinkedServiceReference linkedServiceName /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The logical name of the entity. Type: string (or Expression with resultType string). - internal DynamicsEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal DynamicsEntityDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement entityName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { EntityName = entityName; DatasetType = datasetType ?? "DynamicsEntity"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EloquaObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EloquaObjectDataset.Serialization.cs index f2a58fbaad1c..278151975bb9 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EloquaObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EloquaObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static EloquaObjectDataset DeserializeEloquaObjectDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static EloquaObjectDataset DeserializeEloquaObjectDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EloquaObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EloquaObjectDataset.cs index 1a5d2f90c0c6..e8d50807c068 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EloquaObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EloquaObjectDataset.cs @@ -36,7 +36,7 @@ public EloquaObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal EloquaObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal EloquaObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "EloquaObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExcelDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExcelDataset.Serialization.cs index f64dd1437068..2f15bac156b5 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExcelDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExcelDataset.Serialization.cs @@ -137,7 +137,7 @@ internal static ExcelDataset DeserializeExcelDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -178,7 +178,7 @@ internal static ExcelDataset DeserializeExcelDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExcelDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExcelDataset.cs index 26aa332dd97e..a0ecd5114dfa 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExcelDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ExcelDataset.cs @@ -46,7 +46,7 @@ public ExcelDataset(DataFactoryLinkedServiceReference linkedServiceName) : base( /// When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). /// The data compression method used for the json dataset. /// The null value string. Type: string (or Expression with resultType string). - internal ExcelDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement sheetName, DataFactoryElement sheetIndex, DataFactoryElement range, DataFactoryElement firstRowAsHeader, DatasetCompression compression, DataFactoryElement nullValue) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ExcelDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement sheetName, DataFactoryElement sheetIndex, DataFactoryElement range, DataFactoryElement firstRowAsHeader, DatasetCompression compression, DataFactoryElement nullValue) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; SheetName = sheetName; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/FileShareDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/FileShareDataset.Serialization.cs index 7bc52131c906..7bc602313df2 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/FileShareDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/FileShareDataset.Serialization.cs @@ -137,7 +137,7 @@ internal static FileShareDataset DeserializeFileShareDataset(JsonElement element string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -178,7 +178,7 @@ internal static FileShareDataset DeserializeFileShareDataset(JsonElement element { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/FileShareDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/FileShareDataset.cs index d6b703d6128e..d06447224f16 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/FileShareDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/FileShareDataset.cs @@ -46,7 +46,7 @@ public FileShareDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// /// Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). /// The data compression method used for the file system. - internal FileShareDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DataFactoryElement fileFilter, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal FileShareDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement folderPath, DataFactoryElement fileName, DataFactoryElement modifiedDatetimeStart, DataFactoryElement modifiedDatetimeEnd, DatasetStorageFormat format, DataFactoryElement fileFilter, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { FolderPath = folderPath; FileName = fileName; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleAdWordsObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleAdWordsObjectDataset.Serialization.cs index 4654d66b8240..f4611b681675 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleAdWordsObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleAdWordsObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static GoogleAdWordsObjectDataset DeserializeGoogleAdWordsObjectDataset string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static GoogleAdWordsObjectDataset DeserializeGoogleAdWordsObjectDataset { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleAdWordsObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleAdWordsObjectDataset.cs index 8bd22edaf2c7..a5dea1f78cf0 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleAdWordsObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleAdWordsObjectDataset.cs @@ -36,7 +36,7 @@ public GoogleAdWordsObjectDataset(DataFactoryLinkedServiceReference linkedServic /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal GoogleAdWordsObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal GoogleAdWordsObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "GoogleAdWordsObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleBigQueryObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleBigQueryObjectDataset.Serialization.cs index 3e5597cad3ed..0ae437ba02eb 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleBigQueryObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleBigQueryObjectDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static GoogleBigQueryObjectDataset DeserializeGoogleBigQueryObjectDatas string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static GoogleBigQueryObjectDataset DeserializeGoogleBigQueryObjectDatas { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleBigQueryObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleBigQueryObjectDataset.cs index f837b6572c64..5f3f20a05dee 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleBigQueryObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GoogleBigQueryObjectDataset.cs @@ -38,7 +38,7 @@ public GoogleBigQueryObjectDataset(DataFactoryLinkedServiceReference linkedServi /// This property will be retired. Please consider using database + table properties instead. /// The table name of the Google BigQuery. Type: string (or Expression with resultType string). /// The database name of the Google BigQuery. Type: string (or Expression with resultType string). - internal GoogleBigQueryObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement dataset) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal GoogleBigQueryObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement dataset) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GreenplumTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GreenplumTableDataset.Serialization.cs index ad5f02be45f7..7e676d44ab69 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GreenplumTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GreenplumTableDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static GreenplumTableDataset DeserializeGreenplumTableDataset(JsonEleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static GreenplumTableDataset DeserializeGreenplumTableDataset(JsonEleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GreenplumTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GreenplumTableDataset.cs index 3f7f948aa9a8..2da25024e83a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GreenplumTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/GreenplumTableDataset.cs @@ -38,7 +38,7 @@ public GreenplumTableDataset(DataFactoryLinkedServiceReference linkedServiceName /// This property will be retired. Please consider using schema + table properties instead. /// The table name of Greenplum. Type: string (or Expression with resultType string). /// The schema name of Greenplum. Type: string (or Expression with resultType string). - internal GreenplumTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal GreenplumTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HBaseObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HBaseObjectDataset.Serialization.cs index 614c9168c70c..9dcd55fa9a28 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HBaseObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HBaseObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static HBaseObjectDataset DeserializeHBaseObjectDataset(JsonElement ele string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static HBaseObjectDataset DeserializeHBaseObjectDataset(JsonElement ele { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HBaseObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HBaseObjectDataset.cs index 432f2876e289..028609a26678 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HBaseObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HBaseObjectDataset.cs @@ -36,7 +36,7 @@ public HBaseObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal HBaseObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal HBaseObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "HBaseObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs index c518e5b7d22f..2b6664c38a66 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs @@ -328,7 +328,7 @@ internal static HDInsightOnDemandLinkedService DeserializeHDInsightOnDemandLinke Optional description = default; Optional> parameters = default; Optional> annotations = default; - DataFactoryElement clusterSize = default; + DataFactoryElement clusterSize = default; DataFactoryElement timeToLive = default; DataFactoryElement version = default; DataFactoryLinkedServiceReference linkedServiceName = default; @@ -431,7 +431,7 @@ internal static HDInsightOnDemandLinkedService DeserializeHDInsightOnDemandLinke { if (property0.NameEquals("clusterSize"u8)) { - clusterSize = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + clusterSize = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("timeToLive"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.cs index 6dede96f8402..a5bb14e2b316 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.DataFactory.Models public partial class HDInsightOnDemandLinkedService : DataFactoryLinkedServiceProperties { /// Initializes a new instance of . - /// Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). + /// Number of worker/data nodes in the cluster. Suggestion value: 4. Type: int (or Expression with resultType int). /// The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). /// Version of the HDInsight cluster.  Type: string (or Expression with resultType string). /// Azure Storage linked service to be used by the on-demand cluster for storing and processing data. @@ -24,7 +24,7 @@ public partial class HDInsightOnDemandLinkedService : DataFactoryLinkedServicePr /// The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). /// The resource group where the cluster belongs. Type: string (or Expression with resultType string). /// , , , , , or is null. - public HDInsightOnDemandLinkedService(DataFactoryElement clusterSize, DataFactoryElement timeToLiveExpression, DataFactoryElement version, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement hostSubscriptionId, DataFactoryElement tenant, DataFactoryElement clusterResourceGroup) + public HDInsightOnDemandLinkedService(DataFactoryElement clusterSize, DataFactoryElement timeToLiveExpression, DataFactoryElement version, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement hostSubscriptionId, DataFactoryElement tenant, DataFactoryElement clusterResourceGroup) { Argument.AssertNotNull(clusterSize, nameof(clusterSize)); Argument.AssertNotNull(timeToLiveExpression, nameof(timeToLiveExpression)); @@ -53,7 +53,7 @@ public HDInsightOnDemandLinkedService(DataFactoryElement clusterSize, Da /// Parameters for linked service. /// List of tags that can be used for describing the linked service. /// Additional Properties. - /// Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). + /// Number of worker/data nodes in the cluster. Suggestion value: 4. Type: int (or Expression with resultType int). /// The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). /// Version of the HDInsight cluster.  Type: string (or Expression with resultType string). /// Azure Storage linked service to be used by the on-demand cluster for storing and processing data. @@ -87,7 +87,7 @@ public HDInsightOnDemandLinkedService(DataFactoryElement clusterSize, Da /// The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). /// The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). /// The credential reference containing authentication information. - internal HDInsightOnDemandLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement clusterSize, DataFactoryElement timeToLiveExpression, DataFactoryElement version, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement hostSubscriptionId, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement clusterResourceGroup, DataFactoryElement clusterNamePrefix, DataFactoryElement clusterUserName, DataFactorySecretBaseDefinition clusterPassword, DataFactoryElement clusterSshUserName, DataFactorySecretBaseDefinition clusterSshPassword, IList additionalLinkedServiceNames, DataFactoryLinkedServiceReference hcatalogLinkedServiceName, DataFactoryElement clusterType, DataFactoryElement sparkVersion, BinaryData coreConfiguration, BinaryData hBaseConfiguration, BinaryData hdfsConfiguration, BinaryData hiveConfiguration, BinaryData mapReduceConfiguration, BinaryData oozieConfiguration, BinaryData stormConfiguration, BinaryData yarnConfiguration, string encryptedCredential, BinaryData headNodeSize, BinaryData dataNodeSize, BinaryData zookeeperNodeSize, IList scriptActions, DataFactoryElement virtualNetworkId, DataFactoryElement subnetName, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal HDInsightOnDemandLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement clusterSize, DataFactoryElement timeToLiveExpression, DataFactoryElement version, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement hostSubscriptionId, DataFactoryElement servicePrincipalId, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement clusterResourceGroup, DataFactoryElement clusterNamePrefix, DataFactoryElement clusterUserName, DataFactorySecretBaseDefinition clusterPassword, DataFactoryElement clusterSshUserName, DataFactorySecretBaseDefinition clusterSshPassword, IList additionalLinkedServiceNames, DataFactoryLinkedServiceReference hcatalogLinkedServiceName, DataFactoryElement clusterType, DataFactoryElement sparkVersion, BinaryData coreConfiguration, BinaryData hBaseConfiguration, BinaryData hdfsConfiguration, BinaryData hiveConfiguration, BinaryData mapReduceConfiguration, BinaryData oozieConfiguration, BinaryData stormConfiguration, BinaryData yarnConfiguration, string encryptedCredential, BinaryData headNodeSize, BinaryData dataNodeSize, BinaryData zookeeperNodeSize, IList scriptActions, DataFactoryElement virtualNetworkId, DataFactoryElement subnetName, DataFactoryCredentialReference credential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ClusterSize = clusterSize; TimeToLiveExpression = timeToLiveExpression; @@ -126,8 +126,8 @@ internal HDInsightOnDemandLinkedService(string linkedServiceType, IntegrationRun LinkedServiceType = linkedServiceType ?? "HDInsightOnDemand"; } - /// Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). - public DataFactoryElement ClusterSize { get; set; } + /// Number of worker/data nodes in the cluster. Suggestion value: 4. Type: int (or Expression with resultType int). + public DataFactoryElement ClusterSize { get; set; } /// The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). public DataFactoryElement TimeToLiveExpression { get; set; } /// Version of the HDInsight cluster.  Type: string (or Expression with resultType string). diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightPigActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightPigActivity.Serialization.cs index ef889a7cdd2c..70d076e05355 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightPigActivity.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightPigActivity.Serialization.cs @@ -82,14 +82,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(Arguments)) { writer.WritePropertyName("arguments"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(Arguments); -#else - using (JsonDocument document = JsonDocument.Parse(Arguments)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, Arguments); } if (Optional.IsDefined(GetDebugInfo)) { @@ -161,7 +154,7 @@ internal static HDInsightPigActivity DeserializeHDInsightPigActivity(JsonElement Optional> dependsOn = default; Optional> userProperties = default; Optional> storageLinkedServices = default; - Optional arguments = default; + Optional>> arguments = default; Optional getDebugInfo = default; Optional> scriptPath = default; Optional scriptLinkedService = default; @@ -278,7 +271,7 @@ internal static HDInsightPigActivity DeserializeHDInsightPigActivity(JsonElement { continue; } - arguments = BinaryData.FromString(property0.Value.GetRawText()); + arguments = JsonSerializer.Deserialize>>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("getDebugInfo"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightPigActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightPigActivity.cs index dc33f6f0cd0c..943812a5d993 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightPigActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightPigActivity.cs @@ -44,7 +44,7 @@ public HDInsightPigActivity(string name) : base(name) /// Script path. Type: string (or Expression with resultType string). /// Script linked service reference. /// Allows user to specify defines for Pig job request. - internal HDInsightPigActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, BinaryData arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement scriptPath, DataFactoryLinkedServiceReference scriptLinkedService, IDictionary defines) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal HDInsightPigActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, IList storageLinkedServices, DataFactoryElement> arguments, HDInsightActivityDebugInfoOptionSetting? getDebugInfo, DataFactoryElement scriptPath, DataFactoryLinkedServiceReference scriptLinkedService, IDictionary defines) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { StorageLinkedServices = storageLinkedServices; Arguments = arguments; @@ -57,37 +57,8 @@ internal HDInsightPigActivity(string name, string activityType, string descripti /// Storage linked service references. public IList StorageLinkedServices { get; } - /// - /// User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array). - /// - /// To assign an object to 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 BinaryData Arguments { get; set; } + /// User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array). + public DataFactoryElement> Arguments { get; set; } /// Debug info option. public HDInsightActivityDebugInfoOptionSetting? GetDebugInfo { get; set; } /// Script path. Type: string (or Expression with resultType string). diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HiveObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HiveObjectDataset.Serialization.cs index 2b26dd5a9042..f50d4e820044 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HiveObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HiveObjectDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static HiveObjectDataset DeserializeHiveObjectDataset(JsonElement eleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static HiveObjectDataset DeserializeHiveObjectDataset(JsonElement eleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HiveObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HiveObjectDataset.cs index b6b5847537e6..10b57c2a8245 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HiveObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HiveObjectDataset.cs @@ -38,7 +38,7 @@ public HiveObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Hive. Type: string (or Expression with resultType string). /// The schema name of the Hive. Type: string (or Expression with resultType string). - internal HiveObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal HiveObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HttpLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HttpLinkedService.Serialization.cs index 3a34c16497e0..328cc02bc1fc 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HttpLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HttpLinkedService.Serialization.cs @@ -138,7 +138,7 @@ internal static HttpLinkedService DeserializeHttpLinkedService(JsonElement eleme Optional authenticationType = default; Optional> userName = default; Optional password = default; - Optional> authHeaders = default; + Optional>> authHeaders = default; Optional> embeddedCertData = default; Optional> certThumbprint = default; Optional encryptedCredential = default; @@ -248,7 +248,7 @@ internal static HttpLinkedService DeserializeHttpLinkedService(JsonElement eleme { continue; } - authHeaders = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + authHeaders = JsonSerializer.Deserialize>>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("embeddedCertData"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HttpLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HttpLinkedService.cs index b561f7fdc90f..3a1fdcd72627 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HttpLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HttpLinkedService.cs @@ -37,12 +37,12 @@ public HttpLinkedService(DataFactoryElement uri) /// The authentication type to be used to connect to the HTTP server. /// User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string). /// Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. - /// The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). + /// The additional HTTP headers in the request to RESTful API used for authorization. Type: key value pairs (value should be string type). /// Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). /// Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. /// If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean). - internal HttpLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, HttpAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement authHeaders, DataFactoryElement embeddedCertData, DataFactoryElement certThumbprint, string encryptedCredential, DataFactoryElement enableServerCertificateValidation) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal HttpLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, HttpAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement> authHeaders, DataFactoryElement embeddedCertData, DataFactoryElement certThumbprint, string encryptedCredential, DataFactoryElement enableServerCertificateValidation) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; AuthenticationType = authenticationType; @@ -64,8 +64,8 @@ internal HttpLinkedService(string linkedServiceType, IntegrationRuntimeReference public DataFactoryElement UserName { get; set; } /// Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. public DataFactorySecretBaseDefinition Password { get; set; } - /// The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). - public DataFactoryElement AuthHeaders { get; set; } + /// The additional HTTP headers in the request to RESTful API used for authorization. Type: key value pairs (value should be string type). + public DataFactoryElement> AuthHeaders { get; set; } /// Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). public DataFactoryElement EmbeddedCertData { get; set; } /// Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HubspotObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HubspotObjectDataset.Serialization.cs index c7900b103186..d283e8fa1edd 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HubspotObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HubspotObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static HubspotObjectDataset DeserializeHubspotObjectDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static HubspotObjectDataset DeserializeHubspotObjectDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HubspotObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HubspotObjectDataset.cs index 730a66e01667..5d5ee0c91f4a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HubspotObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HubspotObjectDataset.cs @@ -36,7 +36,7 @@ public HubspotObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal HubspotObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal HubspotObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "HubspotObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaObjectDataset.Serialization.cs index b5ee824bc23d..2a8fd431daae 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaObjectDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static ImpalaObjectDataset DeserializeImpalaObjectDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static ImpalaObjectDataset DeserializeImpalaObjectDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaObjectDataset.cs index da6ab52e4162..8bcb543095dc 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ImpalaObjectDataset.cs @@ -38,7 +38,7 @@ public ImpalaObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Impala. Type: string (or Expression with resultType string). /// The schema name of the Impala. Type: string (or Expression with resultType string). - internal ImpalaObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ImpalaObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InformixTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InformixTableDataset.Serialization.cs index 57d5d0d0c7dc..2fdeb0ad456b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InformixTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InformixTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static InformixTableDataset DeserializeInformixTableDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static InformixTableDataset DeserializeInformixTableDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InformixTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InformixTableDataset.cs index 06e04b3d4d22..6f9c33224a55 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InformixTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InformixTableDataset.cs @@ -36,7 +36,7 @@ public InformixTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Informix table name. Type: string (or Expression with resultType string). - internal InformixTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal InformixTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "InformixTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.Serialization.cs index 748118e35150..babaaf9fbe69 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static JiraObjectDataset DeserializeJiraObjectDataset(JsonElement eleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static JiraObjectDataset DeserializeJiraObjectDataset(JsonElement eleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.cs index 0d9e4a1d4639..4abc6a950bd5 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.cs @@ -36,7 +36,7 @@ public JiraObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal JiraObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal JiraObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "JiraObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JsonDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JsonDataset.Serialization.cs index 1c74df50190d..15fadf060eaa 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JsonDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JsonDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static JsonDataset DeserializeJsonDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static JsonDataset DeserializeJsonDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JsonDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JsonDataset.cs index e66f909e429c..b28bd9c6c672 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JsonDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JsonDataset.cs @@ -42,7 +42,7 @@ public JsonDataset(DataFactoryLinkedServiceReference linkedServiceName) : base(l /// /// The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). /// The data compression method used for the json dataset. - internal JsonDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement encodingName, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal JsonDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement encodingName, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; EncodingName = encodingName; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LakeHouseTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LakeHouseTableDataset.Serialization.cs index 3a389d0fed6f..466e476d2333 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LakeHouseTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LakeHouseTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static LakeHouseTableDataset DeserializeLakeHouseTableDataset(JsonEleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static LakeHouseTableDataset DeserializeLakeHouseTableDataset(JsonEleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LakeHouseTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LakeHouseTableDataset.cs index 28ed5b7bd7d8..4c2db8e69060 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LakeHouseTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LakeHouseTableDataset.cs @@ -36,7 +36,7 @@ public LakeHouseTableDataset(DataFactoryLinkedServiceReference linkedServiceName /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The name of Microsoft Fabric LakeHouse Table. Type: string (or Expression with resultType string). - internal LakeHouseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal LakeHouseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Table = table; DatasetType = datasetType ?? "LakeHouseTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MagentoObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MagentoObjectDataset.Serialization.cs index 1e0d61424165..c6c3a1965c8d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MagentoObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MagentoObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static MagentoObjectDataset DeserializeMagentoObjectDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static MagentoObjectDataset DeserializeMagentoObjectDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MagentoObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MagentoObjectDataset.cs index ec81a7c1681b..9536813b1bed 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MagentoObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MagentoObjectDataset.cs @@ -36,7 +36,7 @@ public MagentoObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal MagentoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MagentoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MagentoObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MariaDBTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MariaDBTableDataset.Serialization.cs index 2ad06ba304a4..7caafb2db4b4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MariaDBTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MariaDBTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static MariaDBTableDataset DeserializeMariaDBTableDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static MariaDBTableDataset DeserializeMariaDBTableDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MariaDBTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MariaDBTableDataset.cs index f46d477e1627..2681f9e380ba 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MariaDBTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MariaDBTableDataset.cs @@ -36,7 +36,7 @@ public MariaDBTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal MariaDBTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MariaDBTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MariaDBTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MarketoObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MarketoObjectDataset.Serialization.cs index 29a41b3f9d5f..06745e1a9213 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MarketoObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MarketoObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static MarketoObjectDataset DeserializeMarketoObjectDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static MarketoObjectDataset DeserializeMarketoObjectDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MarketoObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MarketoObjectDataset.cs index 6eb9ed7b5216..1c228b0b0466 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MarketoObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MarketoObjectDataset.cs @@ -36,7 +36,7 @@ public MarketoObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal MarketoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MarketoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MarketoObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MicrosoftAccessTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MicrosoftAccessTableDataset.Serialization.cs index 4ded4ec6bfbc..b406daa45d82 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MicrosoftAccessTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MicrosoftAccessTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static MicrosoftAccessTableDataset DeserializeMicrosoftAccessTableDatas string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static MicrosoftAccessTableDataset DeserializeMicrosoftAccessTableDatas { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MicrosoftAccessTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MicrosoftAccessTableDataset.cs index a12a8deda76c..d62d2af16558 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MicrosoftAccessTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MicrosoftAccessTableDataset.cs @@ -36,7 +36,7 @@ public MicrosoftAccessTableDataset(DataFactoryLinkedServiceReference linkedServi /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Microsoft Access table name. Type: string (or Expression with resultType string). - internal MicrosoftAccessTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MicrosoftAccessTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MicrosoftAccessTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBAtlasCollectionDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBAtlasCollectionDataset.Serialization.cs index 8f1359ef1665..95771a898998 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBAtlasCollectionDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBAtlasCollectionDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static MongoDBAtlasCollectionDataset DeserializeMongoDBAtlasCollectionD string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static MongoDBAtlasCollectionDataset DeserializeMongoDBAtlasCollectionD { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBAtlasCollectionDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBAtlasCollectionDataset.cs index 847da72a14b8..9d30d3504bad 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBAtlasCollectionDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBAtlasCollectionDataset.cs @@ -39,7 +39,7 @@ public MongoDBAtlasCollectionDataset(DataFactoryLinkedServiceReference linkedSer /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string). - internal MongoDBAtlasCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MongoDBAtlasCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Collection = collection; DatasetType = datasetType ?? "MongoDbAtlasCollection"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBCollectionDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBCollectionDataset.Serialization.cs index b8b5ef7b0ba7..ee2b8168b968 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBCollectionDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBCollectionDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static MongoDBCollectionDataset DeserializeMongoDBCollectionDataset(Jso string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static MongoDBCollectionDataset DeserializeMongoDBCollectionDataset(Jso { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBCollectionDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBCollectionDataset.cs index b34dd9ea046f..e951436ba81a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBCollectionDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBCollectionDataset.cs @@ -39,7 +39,7 @@ public MongoDBCollectionDataset(DataFactoryLinkedServiceReference linkedServiceN /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name of the MongoDB database. Type: string (or Expression with resultType string). - internal MongoDBCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MongoDBCollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collectionName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { CollectionName = collectionName; DatasetType = datasetType ?? "MongoDbCollection"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBV2CollectionDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBV2CollectionDataset.Serialization.cs index 103846ff12a6..6e0196f51aed 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBV2CollectionDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBV2CollectionDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static MongoDBV2CollectionDataset DeserializeMongoDBV2CollectionDataset string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static MongoDBV2CollectionDataset DeserializeMongoDBV2CollectionDataset { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBV2CollectionDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBV2CollectionDataset.cs index d619f67a771d..c7c169ac3307 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBV2CollectionDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MongoDBV2CollectionDataset.cs @@ -39,7 +39,7 @@ public MongoDBV2CollectionDataset(DataFactoryLinkedServiceReference linkedServic /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The collection name of the MongoDB database. Type: string (or Expression with resultType string). - internal MongoDBV2CollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MongoDBV2CollectionDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement collection) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Collection = collection; DatasetType = datasetType ?? "MongoDbV2Collection"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MySqlTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MySqlTableDataset.Serialization.cs index 31bd11e11b3d..36357eaa48f4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MySqlTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MySqlTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static MySqlTableDataset DeserializeMySqlTableDataset(JsonElement eleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static MySqlTableDataset DeserializeMySqlTableDataset(JsonElement eleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MySqlTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MySqlTableDataset.cs index 76b699626be7..da6ff1247de6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MySqlTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/MySqlTableDataset.cs @@ -36,7 +36,7 @@ public MySqlTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The MySQL table name. Type: string (or Expression with resultType string). - internal MySqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal MySqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "MySqlTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaTableDataset.Serialization.cs index 514dfca9faba..324d23a9e24c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaTableDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static NetezzaTableDataset DeserializeNetezzaTableDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static NetezzaTableDataset DeserializeNetezzaTableDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaTableDataset.cs index e4dfb8a92a08..6fffb297916b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaTableDataset.cs @@ -38,7 +38,7 @@ public NetezzaTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Netezza. Type: string (or Expression with resultType string). /// The schema name of the Netezza. Type: string (or Expression with resultType string). - internal NetezzaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal NetezzaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataLinkedService.Serialization.cs index 2c2108ba71ac..b8101544c9aa 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataLinkedService.Serialization.cs @@ -163,7 +163,7 @@ internal static ODataLinkedService DeserializeODataLinkedService(JsonElement ele Optional authenticationType = default; Optional> userName = default; Optional password = default; - Optional> authHeaders = default; + Optional>> authHeaders = default; Optional> tenant = default; Optional> servicePrincipalId = default; Optional> azureCloudType = default; @@ -278,7 +278,7 @@ internal static ODataLinkedService DeserializeODataLinkedService(JsonElement ele { continue; } - authHeaders = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + authHeaders = JsonSerializer.Deserialize>>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("tenant"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataLinkedService.cs index bcafa571799d..528cc3fdbe9b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataLinkedService.cs @@ -37,7 +37,7 @@ public ODataLinkedService(DataFactoryElement uri) /// Type of authentication used to connect to the OData service. /// User name of the OData service. Type: string (or Expression with resultType string). /// Password of the OData service. - /// The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). + /// The additional HTTP headers in the request to RESTful API used for authorization. Type: key value pairs (value should be string type). /// Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string). /// Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). /// Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). @@ -47,7 +47,7 @@ public ODataLinkedService(DataFactoryElement uri) /// 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 ODataLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, ODataAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement authHeaders, DataFactoryElement tenant, DataFactoryElement servicePrincipalId, DataFactoryElement azureCloudType, DataFactoryElement aadResourceId, ODataAadServicePrincipalCredentialType? aadServicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactorySecretBaseDefinition servicePrincipalEmbeddedCert, DataFactorySecretBaseDefinition servicePrincipalEmbeddedCertPassword, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal ODataLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement uri, ODataAuthenticationType? authenticationType, DataFactoryElement userName, DataFactorySecretBaseDefinition password, DataFactoryElement> authHeaders, DataFactoryElement tenant, DataFactoryElement servicePrincipalId, DataFactoryElement azureCloudType, DataFactoryElement aadResourceId, ODataAadServicePrincipalCredentialType? aadServicePrincipalCredentialType, DataFactorySecretBaseDefinition servicePrincipalKey, DataFactorySecretBaseDefinition servicePrincipalEmbeddedCert, DataFactorySecretBaseDefinition servicePrincipalEmbeddedCertPassword, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { Uri = uri; AuthenticationType = authenticationType; @@ -74,8 +74,8 @@ internal ODataLinkedService(string linkedServiceType, IntegrationRuntimeReferenc public DataFactoryElement UserName { get; set; } /// Password of the OData service. public DataFactorySecretBaseDefinition Password { get; set; } - /// The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). - public DataFactoryElement AuthHeaders { get; set; } + /// The additional HTTP headers in the request to RESTful API used for authorization. Type: key value pairs (value should be string type). + public DataFactoryElement> AuthHeaders { get; set; } /// Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string). public DataFactoryElement Tenant { get; set; } /// Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataResourceDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataResourceDataset.Serialization.cs index c1019f1863dc..8b8ef57a9679 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataResourceDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataResourceDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static ODataResourceDataset DeserializeODataResourceDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static ODataResourceDataset DeserializeODataResourceDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataResourceDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataResourceDataset.cs index 47f73d616a52..84cd7706ff16 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataResourceDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ODataResourceDataset.cs @@ -36,7 +36,7 @@ public ODataResourceDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The OData resource path. Type: string (or Expression with resultType string). - internal ODataResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ODataResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Path = path; DatasetType = datasetType ?? "ODataResource"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OdbcTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OdbcTableDataset.Serialization.cs index 695f65e2564f..993fd36fdd4c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OdbcTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OdbcTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static OdbcTableDataset DeserializeOdbcTableDataset(JsonElement element string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static OdbcTableDataset DeserializeOdbcTableDataset(JsonElement element { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OdbcTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OdbcTableDataset.cs index 6a4fc607b7c3..35b31d5e2787 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OdbcTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OdbcTableDataset.cs @@ -36,7 +36,7 @@ public OdbcTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The ODBC table name. Type: string (or Expression with resultType string). - internal OdbcTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal OdbcTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "OdbcTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365Dataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365Dataset.Serialization.cs index 293565e4dcb0..400ed40f8c24 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365Dataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365Dataset.Serialization.cs @@ -109,7 +109,7 @@ internal static Office365Dataset DeserializeOffice365Dataset(JsonElement element string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -145,7 +145,7 @@ internal static Office365Dataset DeserializeOffice365Dataset(JsonElement element { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365Dataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365Dataset.cs index d374d5dc974a..4d9228102ad6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365Dataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/Office365Dataset.cs @@ -40,7 +40,7 @@ public Office365Dataset(DataFactoryLinkedServiceReference linkedServiceName, Dat /// Additional Properties. /// Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). /// A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string). - internal Office365Dataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement predicate) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal Office365Dataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement predicate) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Predicate = predicate; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleServiceCloudObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleServiceCloudObjectDataset.Serialization.cs index 733e6c81a689..76f9dcce7881 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleServiceCloudObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleServiceCloudObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static OracleServiceCloudObjectDataset DeserializeOracleServiceCloudObj string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static OracleServiceCloudObjectDataset DeserializeOracleServiceCloudObj { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleServiceCloudObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleServiceCloudObjectDataset.cs index b1375a8d97c1..30a6ffb0cfcb 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleServiceCloudObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleServiceCloudObjectDataset.cs @@ -36,7 +36,7 @@ public OracleServiceCloudObjectDataset(DataFactoryLinkedServiceReference linkedS /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal OracleServiceCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal OracleServiceCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "OracleServiceCloudObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleTableDataset.Serialization.cs index 6ca2c034b0b1..c94de9a97445 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleTableDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static OracleTableDataset DeserializeOracleTableDataset(JsonElement ele string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static OracleTableDataset DeserializeOracleTableDataset(JsonElement ele { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleTableDataset.cs index 48230905bca8..98b3f646fe13 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OracleTableDataset.cs @@ -38,7 +38,7 @@ public OracleTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the on-premises Oracle database. Type: string (or Expression with resultType string). /// The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). - internal OracleTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal OracleTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OrcDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OrcDataset.Serialization.cs index 1a02977088a2..793877d92c3b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OrcDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OrcDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static OrcDataset DeserializeOrcDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static OrcDataset DeserializeOrcDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OrcDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OrcDataset.cs index b3abbcf59364..b10f28111644 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OrcDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/OrcDataset.cs @@ -41,7 +41,7 @@ public OrcDataset(DataFactoryLinkedServiceReference linkedServiceName) : base(li /// The available derived classes include , , , , , , , , , , , , and . /// /// The data orcCompressionCodec. Type: string (or Expression with resultType string). - internal OrcDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement orcCompressionCodec) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal OrcDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement orcCompressionCodec) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; OrcCompressionCodec = orcCompressionCodec; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ParquetDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ParquetDataset.Serialization.cs index ab5e2548c60b..26f02f563892 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ParquetDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ParquetDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static ParquetDataset DeserializeParquetDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static ParquetDataset DeserializeParquetDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ParquetDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ParquetDataset.cs index f67ce68f1779..e24f9130ceb9 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ParquetDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ParquetDataset.cs @@ -41,7 +41,7 @@ public ParquetDataset(DataFactoryLinkedServiceReference linkedServiceName) : bas /// The available derived classes include , , , , , , , , , , , , and . /// /// The data compressionCodec. Type: string (or Expression with resultType string). - internal ParquetDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement compressionCodec) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ParquetDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement compressionCodec) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; CompressionCodec = compressionCodec; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PaypalObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PaypalObjectDataset.Serialization.cs index 68e69b7f1553..4f2310774425 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PaypalObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PaypalObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static PaypalObjectDataset DeserializePaypalObjectDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static PaypalObjectDataset DeserializePaypalObjectDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PaypalObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PaypalObjectDataset.cs index e218659c4b6e..e8766ba586ed 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PaypalObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PaypalObjectDataset.cs @@ -36,7 +36,7 @@ public PaypalObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal PaypalObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal PaypalObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "PaypalObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PhoenixObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PhoenixObjectDataset.Serialization.cs index f50bbf49b95b..e54f0e0464f3 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PhoenixObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PhoenixObjectDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static PhoenixObjectDataset DeserializePhoenixObjectDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static PhoenixObjectDataset DeserializePhoenixObjectDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PhoenixObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PhoenixObjectDataset.cs index 678a96531ae2..2c2568c1f6d4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PhoenixObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PhoenixObjectDataset.cs @@ -38,7 +38,7 @@ public PhoenixObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Phoenix. Type: string (or Expression with resultType string). /// The schema name of the Phoenix. Type: string (or Expression with resultType string). - internal PhoenixObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal PhoenixObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PostgreSqlTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PostgreSqlTableDataset.Serialization.cs index f28080e90b65..1349300af344 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PostgreSqlTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PostgreSqlTableDataset.Serialization.cs @@ -117,7 +117,7 @@ internal static PostgreSqlTableDataset DeserializePostgreSqlTableDataset(JsonEle string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -154,7 +154,7 @@ internal static PostgreSqlTableDataset DeserializePostgreSqlTableDataset(JsonEle { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PostgreSqlTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PostgreSqlTableDataset.cs index 8d7ee4e252d4..bbd6d5544162 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PostgreSqlTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PostgreSqlTableDataset.cs @@ -38,7 +38,7 @@ public PostgreSqlTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// This property will be retired. Please consider using schema + table properties instead. /// The PostgreSQL table name. Type: string (or Expression with resultType string). /// The PostgreSQL schema name. Type: string (or Expression with resultType string). - internal PostgreSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal PostgreSqlTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PrestoObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PrestoObjectDataset.Serialization.cs index 8d36f0f2e019..2715b51aa777 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PrestoObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PrestoObjectDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static PrestoObjectDataset DeserializePrestoObjectDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static PrestoObjectDataset DeserializePrestoObjectDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PrestoObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PrestoObjectDataset.cs index 6ef5be983013..0e47132713ef 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PrestoObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/PrestoObjectDataset.cs @@ -38,7 +38,7 @@ public PrestoObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Presto. Type: string (or Expression with resultType string). /// The schema name of the Presto. Type: string (or Expression with resultType string). - internal PrestoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal PrestoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/QuickBooksObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/QuickBooksObjectDataset.Serialization.cs index 60cc6edf9fe2..a9f8995f7523 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/QuickBooksObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/QuickBooksObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static QuickBooksObjectDataset DeserializeQuickBooksObjectDataset(JsonE string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static QuickBooksObjectDataset DeserializeQuickBooksObjectDataset(JsonE { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/QuickBooksObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/QuickBooksObjectDataset.cs index 2d21ad239440..9fdd3552a486 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/QuickBooksObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/QuickBooksObjectDataset.cs @@ -36,7 +36,7 @@ public QuickBooksObjectDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal QuickBooksObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal QuickBooksObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "QuickBooksObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RelationalTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RelationalTableDataset.Serialization.cs index 12897c08b7df..4cd682c95ed2 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RelationalTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RelationalTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static RelationalTableDataset DeserializeRelationalTableDataset(JsonEle string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static RelationalTableDataset DeserializeRelationalTableDataset(JsonEle { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RelationalTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RelationalTableDataset.cs index 62ff6d397931..9a19bedac3a3 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RelationalTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RelationalTableDataset.cs @@ -36,7 +36,7 @@ public RelationalTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The relational table name. Type: string (or Expression with resultType string). - internal RelationalTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal RelationalTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "RelationalTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ResponsysObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ResponsysObjectDataset.Serialization.cs index 86ce1dcd686a..f769dd7d3445 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ResponsysObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ResponsysObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static ResponsysObjectDataset DeserializeResponsysObjectDataset(JsonEle string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static ResponsysObjectDataset DeserializeResponsysObjectDataset(JsonEle { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ResponsysObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ResponsysObjectDataset.cs index 95372cadb568..96f52b463ddb 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ResponsysObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ResponsysObjectDataset.cs @@ -36,7 +36,7 @@ public ResponsysObjectDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ResponsysObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ResponsysObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ResponsysObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestResourceDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestResourceDataset.Serialization.cs index 693542d68e89..e1aa6f3b826d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestResourceDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestResourceDataset.Serialization.cs @@ -163,7 +163,7 @@ internal static RestResourceDataset DeserializeRestResourceDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -202,7 +202,7 @@ internal static RestResourceDataset DeserializeRestResourceDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestResourceDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestResourceDataset.cs index 920f972963a0..3e48d167776c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestResourceDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestResourceDataset.cs @@ -42,7 +42,7 @@ public RestResourceDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). /// The additional HTTP headers in the request to the RESTful API. /// The pagination rules to compose next page requests. - internal RestResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement relativeUri, DataFactoryElement requestMethod, DataFactoryElement requestBody, IDictionary additionalHeaders, IDictionary paginationRules) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal RestResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement relativeUri, DataFactoryElement requestMethod, DataFactoryElement requestBody, IDictionary additionalHeaders, IDictionary paginationRules) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { RelativeUri = relativeUri; RequestMethod = requestMethod; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSink.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSink.Serialization.cs index a053f2147f4a..7a559f6809e6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSink.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSink.Serialization.cs @@ -48,14 +48,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(HttpCompressionType)) { writer.WritePropertyName("httpCompressionType"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(HttpCompressionType); -#else - using (JsonDocument document = JsonDocument.Parse(HttpCompressionType)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, HttpCompressionType); } writer.WritePropertyName("type"u8); writer.WriteStringValue(CopySinkType); @@ -111,10 +104,10 @@ internal static RestSink DeserializeRestSink(JsonElement element) return null; } Optional> requestMethod = default; - Optional> additionalHeaders = default; + Optional>> additionalHeaders = default; Optional> httpRequestTimeout = default; Optional requestInterval = default; - Optional httpCompressionType = default; + Optional> httpCompressionType = default; string type = default; Optional> writeBatchSize = default; Optional> writeBatchTimeout = default; @@ -141,7 +134,7 @@ internal static RestSink DeserializeRestSink(JsonElement element) { continue; } - additionalHeaders = JsonSerializer.Deserialize>(property.Value.GetRawText()); + additionalHeaders = JsonSerializer.Deserialize>>(property.Value.GetRawText()); continue; } if (property.NameEquals("httpRequestTimeout"u8)) @@ -168,7 +161,7 @@ internal static RestSink DeserializeRestSink(JsonElement element) { continue; } - httpCompressionType = BinaryData.FromString(property.Value.GetRawText()); + httpCompressionType = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("type"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSink.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSink.cs index e72b30d638d3..305162a6b957 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSink.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSink.cs @@ -30,11 +30,11 @@ public RestSink() /// If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). /// Additional Properties. /// The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression with resultType string). - /// The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + /// The additional HTTP headers in the request to the RESTful API. Type: key value pairs (value should be string type). /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// The time to await before sending next request, in milliseconds. - /// Http Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. - internal RestSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement requestMethod, DataFactoryElement additionalHeaders, DataFactoryElement httpRequestTimeout, BinaryData requestInterval, BinaryData httpCompressionType) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + /// Http Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. Type: string (or Expression with resultType string). + internal RestSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement requestMethod, DataFactoryElement> additionalHeaders, DataFactoryElement httpRequestTimeout, BinaryData requestInterval, DataFactoryElement httpCompressionType) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { RequestMethod = requestMethod; AdditionalHeaders = additionalHeaders; @@ -46,8 +46,8 @@ internal RestSink(string copySinkType, DataFactoryElement writeBatchSize, D /// The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression with resultType string). public DataFactoryElement RequestMethod { get; set; } - /// The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). - public DataFactoryElement AdditionalHeaders { get; set; } + /// The additional HTTP headers in the request to the RESTful API. Type: key value pairs (value should be string type). + public DataFactoryElement> AdditionalHeaders { get; set; } /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). public DataFactoryElement HttpRequestTimeout { get; set; } /// @@ -81,36 +81,7 @@ internal RestSink(string copySinkType, DataFactoryElement writeBatchSize, D /// /// public BinaryData RequestInterval { get; set; } - /// - /// Http Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. - /// - /// To assign an object to 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 BinaryData HttpCompressionType { get; set; } + /// Http Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. Type: string (or Expression with resultType string). + public DataFactoryElement HttpCompressionType { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSource.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSource.Serialization.cs index 4262fd568cbc..03bebec0ef5b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSource.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSource.Serialization.cs @@ -58,14 +58,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(AdditionalColumns)) { writer.WritePropertyName("additionalColumns"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(AdditionalColumns); -#else - using (JsonDocument document = JsonDocument.Parse(AdditionalColumns)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, AdditionalColumns); } writer.WritePropertyName("type"u8); writer.WriteStringValue(CopySourceType); @@ -116,7 +109,7 @@ internal static RestSource DeserializeRestSource(JsonElement element) Optional> paginationRules = default; Optional> httpRequestTimeout = default; Optional requestInterval = default; - Optional additionalColumns = default; + Optional>> additionalColumns = default; string type = default; Optional> sourceRetryCount = default; Optional> sourceRetryWait = default; @@ -186,7 +179,7 @@ internal static RestSource DeserializeRestSource(JsonElement element) { continue; } - additionalColumns = BinaryData.FromString(property.Value.GetRawText()); + additionalColumns = JsonSerializer.Deserialize>>(property.Value.GetRawText()); continue; } if (property.NameEquals("type"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSource.cs index d167a0fdfe72..585ff8592231 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/RestSource.cs @@ -33,8 +33,8 @@ public RestSource() /// The pagination rules to compose next page requests. Type: string (or Expression with resultType string). /// The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// The time to await before sending next page request. - /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - internal RestSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DataFactoryElement paginationRules, DataFactoryElement httpRequestTimeout, BinaryData requestInterval, BinaryData additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + /// Specifies the additional columns to be added to source data. Type: key value pairs (value should be string type). + internal RestSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement requestMethod, DataFactoryElement requestBody, DataFactoryElement additionalHeaders, DataFactoryElement paginationRules, DataFactoryElement httpRequestTimeout, BinaryData requestInterval, DataFactoryElement> additionalColumns) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { RequestMethod = requestMethod; RequestBody = requestBody; @@ -87,36 +87,7 @@ internal RestSource(string copySourceType, DataFactoryElement sourceRetryCo /// /// public BinaryData RequestInterval { get; set; } - /// - /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - /// - /// To assign an object to 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 BinaryData AdditionalColumns { get; set; } + /// Specifies the additional columns to be added to source data. Type: key value pairs (value should be string type). + public DataFactoryElement> AdditionalColumns { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceMarketingCloudObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceMarketingCloudObjectDataset.Serialization.cs index 2e61db0ab861..349577d56af7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceMarketingCloudObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceMarketingCloudObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static SalesforceMarketingCloudObjectDataset DeserializeSalesforceMarke string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static SalesforceMarketingCloudObjectDataset DeserializeSalesforceMarke { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceMarketingCloudObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceMarketingCloudObjectDataset.cs index c2faaee4661b..d4b10eb90fe9 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceMarketingCloudObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceMarketingCloudObjectDataset.cs @@ -36,7 +36,7 @@ public SalesforceMarketingCloudObjectDataset(DataFactoryLinkedServiceReference l /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal SalesforceMarketingCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SalesforceMarketingCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "SalesforceMarketingCloudObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceObjectDataset.Serialization.cs index d5859ca72347..0c6c30200cdf 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static SalesforceObjectDataset DeserializeSalesforceObjectDataset(JsonE string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static SalesforceObjectDataset DeserializeSalesforceObjectDataset(JsonE { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceObjectDataset.cs index 9acfd6635cae..2a7f903708f7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceObjectDataset.cs @@ -36,7 +36,7 @@ public SalesforceObjectDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Salesforce object API name. Type: string (or Expression with resultType string). - internal SalesforceObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement objectApiName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SalesforceObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement objectApiName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { ObjectApiName = objectApiName; DatasetType = datasetType ?? "SalesforceObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceServiceCloudObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceServiceCloudObjectDataset.Serialization.cs index 77be49fa7859..10e3c4275a4c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceServiceCloudObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceServiceCloudObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static SalesforceServiceCloudObjectDataset DeserializeSalesforceService string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static SalesforceServiceCloudObjectDataset DeserializeSalesforceService { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceServiceCloudObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceServiceCloudObjectDataset.cs index e404b36b7840..2b14ab250060 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceServiceCloudObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceServiceCloudObjectDataset.cs @@ -36,7 +36,7 @@ public SalesforceServiceCloudObjectDataset(DataFactoryLinkedServiceReference lin /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string). - internal SalesforceServiceCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement objectApiName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SalesforceServiceCloudObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement objectApiName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { ObjectApiName = objectApiName; DatasetType = datasetType ?? "SalesforceServiceCloudObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapBWCubeDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapBWCubeDataset.Serialization.cs index ed07f1b294a0..d4f360eff381 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapBWCubeDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapBWCubeDataset.Serialization.cs @@ -99,7 +99,7 @@ internal static SapBWCubeDataset DeserializeSapBWCubeDataset(JsonElement element string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -133,7 +133,7 @@ internal static SapBWCubeDataset DeserializeSapBWCubeDataset(JsonElement element { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapBWCubeDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapBWCubeDataset.cs index ea5026738974..ca9b1d475c7a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapBWCubeDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapBWCubeDataset.cs @@ -35,7 +35,7 @@ public SapBWCubeDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// List of tags that can be used for describing the Dataset. /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. - internal SapBWCubeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapBWCubeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DatasetType = datasetType ?? "SapBwCube"; } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapCloudForCustomerResourceDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapCloudForCustomerResourceDataset.Serialization.cs index e992fb3f5f80..e00ac5e4cc8a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapCloudForCustomerResourceDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapCloudForCustomerResourceDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static SapCloudForCustomerResourceDataset DeserializeSapCloudForCustome string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static SapCloudForCustomerResourceDataset DeserializeSapCloudForCustome { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapCloudForCustomerResourceDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapCloudForCustomerResourceDataset.cs index f25b45147bd8..8a7bdb1b096c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapCloudForCustomerResourceDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapCloudForCustomerResourceDataset.cs @@ -39,7 +39,7 @@ public SapCloudForCustomerResourceDataset(DataFactoryLinkedServiceReference link /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). - internal SapCloudForCustomerResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapCloudForCustomerResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Path = path; DatasetType = datasetType ?? "SapCloudForCustomerResource"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapEccResourceDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapEccResourceDataset.Serialization.cs index 282655897e02..0d0d98d4483c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapEccResourceDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapEccResourceDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static SapEccResourceDataset DeserializeSapEccResourceDataset(JsonEleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static SapEccResourceDataset DeserializeSapEccResourceDataset(JsonEleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapEccResourceDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapEccResourceDataset.cs index 3477787d19c6..2cbde9ec2bb2 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapEccResourceDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapEccResourceDataset.cs @@ -39,7 +39,7 @@ public SapEccResourceDataset(DataFactoryLinkedServiceReference linkedServiceName /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). - internal SapEccResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapEccResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Path = path; DatasetType = datasetType ?? "SapEccResource"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapHanaTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapHanaTableDataset.Serialization.cs index 8606485a1023..6429a6e868d8 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapHanaTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapHanaTableDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static SapHanaTableDataset DeserializeSapHanaTableDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static SapHanaTableDataset DeserializeSapHanaTableDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapHanaTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapHanaTableDataset.cs index f64514c5247e..799bf9113e51 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapHanaTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapHanaTableDataset.cs @@ -37,7 +37,7 @@ public SapHanaTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// Additional Properties. /// The schema name of SAP HANA. Type: string (or Expression with resultType string). /// The table name of SAP HANA. Type: string (or Expression with resultType string). - internal SapHanaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapHanaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { SchemaTypePropertiesSchema = schemaTypePropertiesSchema; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOdpResourceDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOdpResourceDataset.Serialization.cs index 9fbb21dd7360..7ad11c9057a7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOdpResourceDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOdpResourceDataset.Serialization.cs @@ -106,7 +106,7 @@ internal static SapOdpResourceDataset DeserializeSapOdpResourceDataset(JsonEleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static SapOdpResourceDataset DeserializeSapOdpResourceDataset(JsonEleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOdpResourceDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOdpResourceDataset.cs index 363bd9fa37ff..a9ccdc33cca0 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOdpResourceDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOdpResourceDataset.cs @@ -43,7 +43,7 @@ public SapOdpResourceDataset(DataFactoryLinkedServiceReference linkedServiceName /// Additional Properties. /// The context of the SAP ODP Object. Type: string (or Expression with resultType string). /// The name of the SAP ODP Object. Type: string (or Expression with resultType string). - internal SapOdpResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement context, DataFactoryElement objectName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapOdpResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement context, DataFactoryElement objectName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Context = context; ObjectName = objectName; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOpenHubTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOpenHubTableDataset.Serialization.cs index ff789277ac1f..4224f77768be 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOpenHubTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOpenHubTableDataset.Serialization.cs @@ -114,7 +114,7 @@ internal static SapOpenHubTableDataset DeserializeSapOpenHubTableDataset(JsonEle string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -151,7 +151,7 @@ internal static SapOpenHubTableDataset DeserializeSapOpenHubTableDataset(JsonEle { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOpenHubTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOpenHubTableDataset.cs index 0871ae0686b1..fab41ab296dc 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOpenHubTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapOpenHubTableDataset.cs @@ -41,7 +41,7 @@ public SapOpenHubTableDataset(DataFactoryLinkedServiceReference linkedServiceNam /// The name of the Open Hub Destination with destination type as Database Table. Type: string (or Expression with resultType string). /// Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). /// The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). - internal SapOpenHubTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement openHubDestinationName, DataFactoryElement excludeLastRequest, DataFactoryElement baseRequestId) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapOpenHubTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement openHubDestinationName, DataFactoryElement excludeLastRequest, DataFactoryElement baseRequestId) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { OpenHubDestinationName = openHubDestinationName; ExcludeLastRequest = excludeLastRequest; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapTableResourceDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapTableResourceDataset.Serialization.cs index 74b55897e34b..62e18f637af6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapTableResourceDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapTableResourceDataset.Serialization.cs @@ -104,7 +104,7 @@ internal static SapTableResourceDataset DeserializeSapTableResourceDataset(JsonE string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -139,7 +139,7 @@ internal static SapTableResourceDataset DeserializeSapTableResourceDataset(JsonE { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapTableResourceDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapTableResourceDataset.cs index 5b68d9298a13..cbe58df41972 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapTableResourceDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SapTableResourceDataset.cs @@ -39,7 +39,7 @@ public SapTableResourceDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The name of the SAP Table. Type: string (or Expression with resultType string). - internal SapTableResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SapTableResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "SapTableResource"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ServiceNowObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ServiceNowObjectDataset.Serialization.cs index 70d51225b4d7..c58bb33707fe 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ServiceNowObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ServiceNowObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static ServiceNowObjectDataset DeserializeServiceNowObjectDataset(JsonE string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static ServiceNowObjectDataset DeserializeServiceNowObjectDataset(JsonE { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ServiceNowObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ServiceNowObjectDataset.cs index d6734c1c0f6a..850c4cde9c67 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ServiceNowObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ServiceNowObjectDataset.cs @@ -36,7 +36,7 @@ public ServiceNowObjectDataset(DataFactoryLinkedServiceReference linkedServiceNa /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ServiceNowObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ServiceNowObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ServiceNowObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SharePointOnlineListResourceDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SharePointOnlineListResourceDataset.Serialization.cs index 3544ccf89938..a67a9fc49e1c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SharePointOnlineListResourceDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SharePointOnlineListResourceDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static SharePointOnlineListResourceDataset DeserializeSharePointOnlineL string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static SharePointOnlineListResourceDataset DeserializeSharePointOnlineL { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SharePointOnlineListResourceDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SharePointOnlineListResourceDataset.cs index bc8fb11facad..23c2001adaaf 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SharePointOnlineListResourceDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SharePointOnlineListResourceDataset.cs @@ -36,7 +36,7 @@ public SharePointOnlineListResourceDataset(DataFactoryLinkedServiceReference lin /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The name of the SharePoint Online list. Type: string (or Expression with resultType string). - internal SharePointOnlineListResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement listName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SharePointOnlineListResourceDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement listName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { ListName = listName; DatasetType = datasetType ?? "SharePointOnlineListResource"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ShopifyObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ShopifyObjectDataset.Serialization.cs index 86608dc0d466..10a6c571dd0e 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ShopifyObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ShopifyObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static ShopifyObjectDataset DeserializeShopifyObjectDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static ShopifyObjectDataset DeserializeShopifyObjectDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ShopifyObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ShopifyObjectDataset.cs index 512306638a6f..64d89cfe45ee 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ShopifyObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ShopifyObjectDataset.cs @@ -36,7 +36,7 @@ public ShopifyObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ShopifyObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ShopifyObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ShopifyObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeDataset.Serialization.cs index b612b572e0ff..7181467ec3d7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static SnowflakeDataset DeserializeSnowflakeDataset(JsonElement element string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static SnowflakeDataset DeserializeSnowflakeDataset(JsonElement element { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeDataset.cs index 851fe7d49c84..f5d62b2ee7cf 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeDataset.cs @@ -37,7 +37,7 @@ public SnowflakeDataset(DataFactoryLinkedServiceReference linkedServiceName) : b /// Additional Properties. /// The schema name of the Snowflake database. Type: string (or Expression with resultType string). /// The table name of the Snowflake database. Type: string (or Expression with resultType string). - internal SnowflakeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SnowflakeDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { SchemaTypePropertiesSchema = schemaTypePropertiesSchema; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeLinkedService.Serialization.cs index 688941d550c6..be67d26ba1d7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeLinkedService.Serialization.cs @@ -66,14 +66,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("typeProperties"u8); writer.WriteStartObject(); writer.WritePropertyName("connectionString"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(ConnectionString); -#else - using (JsonDocument document = JsonDocument.Parse(ConnectionString)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, ConnectionString); if (Optional.IsDefined(Password)) { writer.WritePropertyName("password"u8); @@ -111,7 +104,7 @@ internal static SnowflakeLinkedService DeserializeSnowflakeLinkedService(JsonEle Optional description = default; Optional> parameters = default; Optional> annotations = default; - BinaryData connectionString = default; + DataFactoryElement connectionString = default; Optional password = default; Optional encryptedCredential = default; IDictionary additionalProperties = default; @@ -183,7 +176,7 @@ internal static SnowflakeLinkedService DeserializeSnowflakeLinkedService(JsonEle { if (property0.NameEquals("connectionString"u8)) { - connectionString = BinaryData.FromString(property0.Value.GetRawText()); + connectionString = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("password"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeLinkedService.cs index 5e43aed54a47..f0e6f263d901 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeLinkedService.cs @@ -18,7 +18,7 @@ public partial class SnowflakeLinkedService : DataFactoryLinkedServiceProperties /// Initializes a new instance of . /// The connection string of snowflake. Type: string, SecureString. /// is null. - public SnowflakeLinkedService(BinaryData connectionString) + public SnowflakeLinkedService(DataFactoryElement connectionString) { Argument.AssertNotNull(connectionString, nameof(connectionString)); @@ -36,7 +36,7 @@ public SnowflakeLinkedService(BinaryData connectionString) /// The connection string of snowflake. Type: string, SecureString. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SnowflakeLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, BinaryData connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) + internal SnowflakeLinkedService(string linkedServiceType, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecretReference password, string encryptedCredential) : base(linkedServiceType, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; Password = password; @@ -44,37 +44,8 @@ internal SnowflakeLinkedService(string linkedServiceType, IntegrationRuntimeRefe LinkedServiceType = linkedServiceType ?? "Snowflake"; } - /// - /// The connection string of snowflake. Type: string, SecureString. - /// - /// To assign an object to 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 BinaryData ConnectionString { get; set; } + /// The connection string of snowflake. Type: string, SecureString. + public DataFactoryElement ConnectionString { get; set; } /// The Azure key vault secret reference of password in connection string. public DataFactoryKeyVaultSecretReference Password { get; set; } /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SparkObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SparkObjectDataset.Serialization.cs index 83ee8329e852..92ce17522295 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SparkObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SparkObjectDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static SparkObjectDataset DeserializeSparkObjectDataset(JsonElement ele string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static SparkObjectDataset DeserializeSparkObjectDataset(JsonElement ele { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SparkObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SparkObjectDataset.cs index 61cb6fb1c016..05aa6cceff52 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SparkObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SparkObjectDataset.cs @@ -38,7 +38,7 @@ public SparkObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Spark. Type: string (or Expression with resultType string). /// The schema name of the Spark. Type: string (or Expression with resultType string). - internal SparkObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SparkObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlDWSource.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlDWSource.Serialization.cs index d8b2205c7487..4d8857a52f25 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlDWSource.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlDWSource.Serialization.cs @@ -48,14 +48,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(PartitionOption)) { writer.WritePropertyName("partitionOption"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(PartitionOption); -#else - using (JsonDocument document = JsonDocument.Parse(PartitionOption)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, PartitionOption); } if (Optional.IsDefined(PartitionSettings)) { @@ -126,7 +119,7 @@ internal static SqlDWSource DeserializeSqlDWSource(JsonElement element) Optional> sqlReaderStoredProcedureName = default; Optional storedProcedureParameters = default; Optional> isolationLevel = default; - Optional partitionOption = default; + Optional> partitionOption = default; Optional partitionSettings = default; Optional> queryTimeout = default; Optional additionalColumns = default; @@ -181,7 +174,7 @@ internal static SqlDWSource DeserializeSqlDWSource(JsonElement element) { continue; } - partitionOption = BinaryData.FromString(property.Value.GetRawText()); + partitionOption = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("partitionSettings"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlDWSource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlDWSource.cs index e055fc4f5720..4a8c73b6ccb4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlDWSource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlDWSource.cs @@ -33,9 +33,9 @@ public SqlDWSource() /// Name of the stored procedure for a SQL Data Warehouse source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter. /// Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). /// The settings that will be leveraged for Sql source partitioning. - internal SqlDWSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SqlDWSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, DataFactoryElement partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -83,37 +83,8 @@ internal SqlDWSource(string copySourceType, DataFactoryElement sourceRetryC public BinaryData StoredProcedureParameters { get; set; } /// Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). public DataFactoryElement IsolationLevel { get; set; } - /// - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - /// - /// To assign an object to 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 BinaryData PartitionOption { get; set; } + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). + public DataFactoryElement PartitionOption { get; set; } /// The settings that will be leveraged for Sql source partitioning. public SqlPartitionSettings PartitionSettings { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISink.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISink.Serialization.cs index a229513be605..5a0da99a807c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISink.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISink.Serialization.cs @@ -63,14 +63,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(WriteBehavior)) { writer.WritePropertyName("writeBehavior"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(WriteBehavior); -#else - using (JsonDocument document = JsonDocument.Parse(WriteBehavior)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, WriteBehavior); } if (Optional.IsDefined(UpsertSettings)) { @@ -137,7 +130,7 @@ internal static SqlMISink DeserializeSqlMISink(JsonElement element) Optional> storedProcedureTableTypeParameterName = default; Optional> tableOption = default; Optional> sqlWriterUseTableLock = default; - Optional writeBehavior = default; + Optional> writeBehavior = default; Optional upsertSettings = default; string type = default; Optional> writeBatchSize = default; @@ -219,7 +212,7 @@ internal static SqlMISink DeserializeSqlMISink(JsonElement element) { continue; } - writeBehavior = BinaryData.FromString(property.Value.GetRawText()); + writeBehavior = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("upsertSettings"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISink.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISink.cs index b0416c9b7c33..51abbb5daa93 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISink.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISink.cs @@ -36,9 +36,9 @@ public SqlMISink() /// The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). /// The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). - /// White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). + /// White behavior when copying data into azure SQL MI. Type: string (or Expression with resultType string). /// SQL upsert settings. - internal SqlMISink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SqlMISink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, DataFactoryElement writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; @@ -95,37 +95,8 @@ internal SqlMISink(string copySinkType, DataFactoryElement writeBatchSize, public DataFactoryElement TableOption { get; set; } /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). public DataFactoryElement SqlWriterUseTableLock { get; set; } - /// - /// White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) - /// - /// To assign an object to 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 BinaryData WriteBehavior { get; set; } + /// White behavior when copying data into azure SQL MI. Type: string (or Expression with resultType string). + public DataFactoryElement WriteBehavior { get; set; } /// SQL upsert settings. public SqlUpsertSettings UpsertSettings { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISource.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISource.Serialization.cs index f23c64cafa86..364e4f2d3dcf 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISource.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISource.Serialization.cs @@ -60,14 +60,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(PartitionOption)) { writer.WritePropertyName("partitionOption"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(PartitionOption); -#else - using (JsonDocument document = JsonDocument.Parse(PartitionOption)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, PartitionOption); } if (Optional.IsDefined(PartitionSettings)) { @@ -139,7 +132,7 @@ internal static SqlMISource DeserializeSqlMISource(JsonElement element) Optional storedProcedureParameters = default; Optional> isolationLevel = default; Optional produceAdditionalTypes = default; - Optional partitionOption = default; + Optional> partitionOption = default; Optional partitionSettings = default; Optional> queryTimeout = default; Optional additionalColumns = default; @@ -203,7 +196,7 @@ internal static SqlMISource DeserializeSqlMISource(JsonElement element) { continue; } - partitionOption = BinaryData.FromString(property.Value.GetRawText()); + partitionOption = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("partitionSettings"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISource.cs index ac2c33224b0b..b3f4196d7512 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlMISource.cs @@ -34,9 +34,9 @@ public SqlMISource() /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". /// Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). /// Which additional types to produce. - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). /// The settings that will be leveraged for Sql source partitioning. - internal SqlMISource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SqlMISource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, DataFactoryElement partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -116,37 +116,8 @@ internal SqlMISource(string copySourceType, DataFactoryElement sourceRetryC /// /// public BinaryData ProduceAdditionalTypes { get; set; } - /// - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - /// - /// To assign an object to 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 BinaryData PartitionOption { get; set; } + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). + public DataFactoryElement PartitionOption { get; set; } /// The settings that will be leveraged for Sql source partitioning. public SqlPartitionSettings PartitionSettings { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSink.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSink.Serialization.cs index 159d01338108..0e8466d5f5c3 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSink.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSink.Serialization.cs @@ -63,14 +63,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(WriteBehavior)) { writer.WritePropertyName("writeBehavior"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(WriteBehavior); -#else - using (JsonDocument document = JsonDocument.Parse(WriteBehavior)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, WriteBehavior); } if (Optional.IsDefined(UpsertSettings)) { @@ -137,7 +130,7 @@ internal static SqlServerSink DeserializeSqlServerSink(JsonElement element) Optional> storedProcedureTableTypeParameterName = default; Optional> tableOption = default; Optional> sqlWriterUseTableLock = default; - Optional writeBehavior = default; + Optional> writeBehavior = default; Optional upsertSettings = default; string type = default; Optional> writeBatchSize = default; @@ -219,7 +212,7 @@ internal static SqlServerSink DeserializeSqlServerSink(JsonElement element) { continue; } - writeBehavior = BinaryData.FromString(property.Value.GetRawText()); + writeBehavior = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("upsertSettings"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSink.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSink.cs index ff40e1bcd221..0055d024b1c1 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSink.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSink.cs @@ -36,9 +36,9 @@ public SqlServerSink() /// The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). /// The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). - /// Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). + /// Write behavior when copying data into sql server. Type: string (or Expression with resultType string). /// SQL upsert settings. - internal SqlServerSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SqlServerSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, DataFactoryElement writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; @@ -95,37 +95,8 @@ internal SqlServerSink(string copySinkType, DataFactoryElement writeBatchSi public DataFactoryElement TableOption { get; set; } /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). public DataFactoryElement SqlWriterUseTableLock { get; set; } - /// - /// Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) - /// - /// To assign an object to 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 BinaryData WriteBehavior { get; set; } + /// Write behavior when copying data into sql server. Type: string (or Expression with resultType string). + public DataFactoryElement WriteBehavior { get; set; } /// SQL upsert settings. public SqlUpsertSettings UpsertSettings { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSource.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSource.Serialization.cs index d72e0fae48f2..bd1f25df54f5 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSource.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSource.Serialization.cs @@ -60,14 +60,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(PartitionOption)) { writer.WritePropertyName("partitionOption"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(PartitionOption); -#else - using (JsonDocument document = JsonDocument.Parse(PartitionOption)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, PartitionOption); } if (Optional.IsDefined(PartitionSettings)) { @@ -139,7 +132,7 @@ internal static SqlServerSource DeserializeSqlServerSource(JsonElement element) Optional storedProcedureParameters = default; Optional> isolationLevel = default; Optional produceAdditionalTypes = default; - Optional partitionOption = default; + Optional> partitionOption = default; Optional partitionSettings = default; Optional> queryTimeout = default; Optional additionalColumns = default; @@ -203,7 +196,7 @@ internal static SqlServerSource DeserializeSqlServerSource(JsonElement element) { continue; } - partitionOption = BinaryData.FromString(property.Value.GetRawText()); + partitionOption = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("partitionSettings"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSource.cs index 22d2a055f05e..a2534e11e179 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerSource.cs @@ -34,9 +34,9 @@ public SqlServerSource() /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". /// Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). /// Which additional types to produce. - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). /// The settings that will be leveraged for Sql source partitioning. - internal SqlServerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SqlServerSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData produceAdditionalTypes, DataFactoryElement partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -116,37 +116,8 @@ internal SqlServerSource(string copySourceType, DataFactoryElement sourceRe /// /// public BinaryData ProduceAdditionalTypes { get; set; } - /// - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - /// - /// To assign an object to 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 BinaryData PartitionOption { get; set; } + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). + public DataFactoryElement PartitionOption { get; set; } /// The settings that will be leveraged for Sql source partitioning. public SqlPartitionSettings PartitionSettings { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerTableDataset.Serialization.cs index 53f95e5a80e0..211f8adf9e15 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerTableDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static SqlServerTableDataset DeserializeSqlServerTableDataset(JsonEleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static SqlServerTableDataset DeserializeSqlServerTableDataset(JsonEleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerTableDataset.cs index f91016b398ed..024c84df8169 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlServerTableDataset.cs @@ -38,7 +38,7 @@ public SqlServerTableDataset(DataFactoryLinkedServiceReference linkedServiceName /// This property will be retired. Please consider using schema + table properties instead. /// The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). /// The table name of the SQL Server dataset. Type: string (or Expression with resultType string). - internal SqlServerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SqlServerTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; SchemaTypePropertiesSchema = schemaTypePropertiesSchema; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSink.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSink.Serialization.cs index 9bc18ca58caa..8e3fb1e8764b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSink.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSink.Serialization.cs @@ -63,14 +63,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(WriteBehavior)) { writer.WritePropertyName("writeBehavior"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(WriteBehavior); -#else - using (JsonDocument document = JsonDocument.Parse(WriteBehavior)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, WriteBehavior); } if (Optional.IsDefined(UpsertSettings)) { @@ -137,7 +130,7 @@ internal static SqlSink DeserializeSqlSink(JsonElement element) Optional> storedProcedureTableTypeParameterName = default; Optional> tableOption = default; Optional> sqlWriterUseTableLock = default; - Optional writeBehavior = default; + Optional> writeBehavior = default; Optional upsertSettings = default; string type = default; Optional> writeBatchSize = default; @@ -219,7 +212,7 @@ internal static SqlSink DeserializeSqlSink(JsonElement element) { continue; } - writeBehavior = BinaryData.FromString(property.Value.GetRawText()); + writeBehavior = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("upsertSettings"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSink.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSink.cs index 176d88b33ee4..ad871589a7bd 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSink.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSink.cs @@ -36,9 +36,9 @@ public SqlSink() /// The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). /// The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). - /// Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). + /// Write behavior when copying data into sql. Type: string (or Expression with resultType string). /// SQL upsert settings. - internal SqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, BinaryData writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) + internal SqlSink(string copySinkType, DataFactoryElement writeBatchSize, DataFactoryElement writeBatchTimeout, DataFactoryElement sinkRetryCount, DataFactoryElement sinkRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement sqlWriterStoredProcedureName, DataFactoryElement sqlWriterTableType, DataFactoryElement preCopyScript, BinaryData storedProcedureParameters, DataFactoryElement storedProcedureTableTypeParameterName, DataFactoryElement tableOption, DataFactoryElement sqlWriterUseTableLock, DataFactoryElement writeBehavior, SqlUpsertSettings upsertSettings) : base(copySinkType, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; @@ -95,37 +95,8 @@ internal SqlSink(string copySinkType, DataFactoryElement writeBatchSize, Da public DataFactoryElement TableOption { get; set; } /// Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). public DataFactoryElement SqlWriterUseTableLock { get; set; } - /// - /// Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) - /// - /// To assign an object to 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 BinaryData WriteBehavior { get; set; } + /// Write behavior when copying data into sql. Type: string (or Expression with resultType string). + public DataFactoryElement WriteBehavior { get; set; } /// SQL upsert settings. public SqlUpsertSettings UpsertSettings { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSource.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSource.Serialization.cs index 109c6420ff7b..d53e67a7cf55 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSource.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSource.Serialization.cs @@ -48,14 +48,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(PartitionOption)) { writer.WritePropertyName("partitionOption"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(PartitionOption); -#else - using (JsonDocument document = JsonDocument.Parse(PartitionOption)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, PartitionOption); } if (Optional.IsDefined(PartitionSettings)) { @@ -126,7 +119,7 @@ internal static SqlSource DeserializeSqlSource(JsonElement element) Optional> sqlReaderStoredProcedureName = default; Optional storedProcedureParameters = default; Optional> isolationLevel = default; - Optional partitionOption = default; + Optional> partitionOption = default; Optional partitionSettings = default; Optional> queryTimeout = default; Optional additionalColumns = default; @@ -181,7 +174,7 @@ internal static SqlSource DeserializeSqlSource(JsonElement element) { continue; } - partitionOption = BinaryData.FromString(property.Value.GetRawText()); + partitionOption = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("partitionSettings"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSource.cs index 0e924e21063f..73b7be89292b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SqlSource.cs @@ -33,9 +33,9 @@ public SqlSource() /// Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". /// Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). /// The settings that will be leveraged for Sql source partitioning. - internal SqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, BinaryData partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + internal SqlSource(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement sqlReaderQuery, DataFactoryElement sqlReaderStoredProcedureName, BinaryData storedProcedureParameters, DataFactoryElement isolationLevel, DataFactoryElement partitionOption, SqlPartitionSettings partitionSettings) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -83,37 +83,8 @@ internal SqlSource(string copySourceType, DataFactoryElement sourceRetryCou public BinaryData StoredProcedureParameters { get; set; } /// Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). public DataFactoryElement IsolationLevel { get; set; } - /// - /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - /// - /// To assign an object to 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 BinaryData PartitionOption { get; set; } + /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string). + public DataFactoryElement PartitionOption { get; set; } /// The settings that will be leveraged for Sql source partitioning. public SqlPartitionSettings PartitionSettings { get; set; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SquareObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SquareObjectDataset.Serialization.cs index 846bfc992174..8f0783ce61ef 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SquareObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SquareObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static SquareObjectDataset DeserializeSquareObjectDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static SquareObjectDataset DeserializeSquareObjectDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SquareObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SquareObjectDataset.cs index 1f89c18feb19..cfa2b332d164 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SquareObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SquareObjectDataset.cs @@ -36,7 +36,7 @@ public SquareObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal SquareObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SquareObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "SquareObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SybaseTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SybaseTableDataset.Serialization.cs index f35ede4c43a9..a1690c926bab 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SybaseTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SybaseTableDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static SybaseTableDataset DeserializeSybaseTableDataset(JsonElement ele string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static SybaseTableDataset DeserializeSybaseTableDataset(JsonElement ele { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SybaseTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SybaseTableDataset.cs index eb9c09f6763f..a95e29f75420 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SybaseTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SybaseTableDataset.cs @@ -36,7 +36,7 @@ public SybaseTableDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The Sybase table name. Type: string (or Expression with resultType string). - internal SybaseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal SybaseTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "SybaseTable"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SynapseSparkJobReference.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SynapseSparkJobReference.Serialization.cs index 0f4bc9d4560b..e9cd34e1fafc 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SynapseSparkJobReference.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SynapseSparkJobReference.Serialization.cs @@ -5,9 +5,9 @@ #nullable disable -using System; using System.Text.Json; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace Azure.ResourceManager.DataFactory.Models { @@ -19,14 +19,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("type"u8); writer.WriteStringValue(SparkJobReferenceType.ToString()); writer.WritePropertyName("referenceName"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(ReferenceName); -#else - using (JsonDocument document = JsonDocument.Parse(ReferenceName)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif + JsonSerializer.Serialize(writer, ReferenceName); writer.WriteEndObject(); } @@ -37,7 +30,7 @@ internal static SynapseSparkJobReference DeserializeSynapseSparkJobReference(Jso return null; } SparkJobReferenceType type = default; - BinaryData referenceName = default; + DataFactoryElement referenceName = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type"u8)) @@ -47,7 +40,7 @@ internal static SynapseSparkJobReference DeserializeSynapseSparkJobReference(Jso } if (property.NameEquals("referenceName"u8)) { - referenceName = BinaryData.FromString(property.Value.GetRawText()); + referenceName = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SynapseSparkJobReference.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SynapseSparkJobReference.cs index 278107acddf4..f72b7e6e28be 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SynapseSparkJobReference.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SynapseSparkJobReference.cs @@ -7,6 +7,7 @@ using System; using Azure.Core; +using Azure.Core.Expressions.DataFactory; namespace Azure.ResourceManager.DataFactory.Models { @@ -17,7 +18,7 @@ public partial class SynapseSparkJobReference /// Synapse spark job reference type. /// Reference spark job name. Expression with resultType string. /// is null. - public SynapseSparkJobReference(SparkJobReferenceType sparkJobReferenceType, BinaryData referenceName) + public SynapseSparkJobReference(SparkJobReferenceType sparkJobReferenceType, DataFactoryElement referenceName) { Argument.AssertNotNull(referenceName, nameof(referenceName)); @@ -27,36 +28,7 @@ public SynapseSparkJobReference(SparkJobReferenceType sparkJobReferenceType, Bin /// Synapse spark job reference type. public SparkJobReferenceType SparkJobReferenceType { get; set; } - /// - /// Reference spark job name. Expression with resultType string. - /// - /// To assign an object to 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 BinaryData ReferenceName { get; set; } + /// Reference spark job name. Expression with resultType string. + public DataFactoryElement ReferenceName { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/TeradataTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/TeradataTableDataset.Serialization.cs index de83e928fa00..ad6e445b5329 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/TeradataTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/TeradataTableDataset.Serialization.cs @@ -112,7 +112,7 @@ internal static TeradataTableDataset DeserializeTeradataTableDataset(JsonElement string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -148,7 +148,7 @@ internal static TeradataTableDataset DeserializeTeradataTableDataset(JsonElement { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/TeradataTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/TeradataTableDataset.cs index 506dff60e73b..65a4ea7c9e0b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/TeradataTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/TeradataTableDataset.cs @@ -37,7 +37,7 @@ public TeradataTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// Additional Properties. /// The database name of Teradata. Type: string (or Expression with resultType string). /// The table name of Teradata. Type: string (or Expression with resultType string). - internal TeradataTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement database, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal TeradataTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement database, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Database = database; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UnknownDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UnknownDataset.Serialization.cs index 237d18a6b64c..30e1dda7f4d7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UnknownDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UnknownDataset.Serialization.cs @@ -99,7 +99,7 @@ internal static UnknownDataset DeserializeUnknownDataset(JsonElement element) string type = "Unknown"; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -133,7 +133,7 @@ internal static UnknownDataset DeserializeUnknownDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UnknownDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UnknownDataset.cs index 2d7f82c57c4a..f477e9a12a2a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UnknownDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/UnknownDataset.cs @@ -24,7 +24,7 @@ internal partial class UnknownDataset : DataFactoryDatasetProperties /// List of tags that can be used for describing the Dataset. /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. - internal UnknownDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal UnknownDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DatasetType = datasetType ?? "Unknown"; } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/VerticaTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/VerticaTableDataset.Serialization.cs index 0ddfeb3cb71e..62c9297d77af 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/VerticaTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/VerticaTableDataset.Serialization.cs @@ -124,7 +124,7 @@ internal static VerticaTableDataset DeserializeVerticaTableDataset(JsonElement e string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -161,7 +161,7 @@ internal static VerticaTableDataset DeserializeVerticaTableDataset(JsonElement e { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/VerticaTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/VerticaTableDataset.cs index 3e3903f9dc1f..c88b51c0005e 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/VerticaTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/VerticaTableDataset.cs @@ -38,7 +38,7 @@ public VerticaTableDataset(DataFactoryLinkedServiceReference linkedServiceName) /// This property will be retired. Please consider using schema + table properties instead. /// The table name of the Vertica. Type: string (or Expression with resultType string). /// The schema name of the Vertica. Type: string (or Expression with resultType string). - internal VerticaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal VerticaTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, BinaryData tableName, DataFactoryElement table, DataFactoryElement schemaTypePropertiesSchema) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; Table = table; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebActivity.Serialization.cs index 0aa25f7c2fcf..6838bcd89ee0 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebActivity.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebActivity.Serialization.cs @@ -93,6 +93,16 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("disableCertValidation"u8); writer.WriteBooleanValue(DisableCertValidation.Value); } + if (Optional.IsDefined(HttpRequestTimeout)) + { + writer.WritePropertyName("httpRequestTimeout"u8); + JsonSerializer.Serialize(writer, HttpRequestTimeout); + } + if (Optional.IsDefined(TurnOffAsync)) + { + writer.WritePropertyName("turnOffAsync"u8); + writer.WriteBooleanValue(TurnOffAsync.Value); + } if (Optional.IsCollectionDefined(Datasets)) { writer.WritePropertyName("datasets"u8); @@ -151,10 +161,12 @@ internal static WebActivity DeserializeWebActivity(JsonElement element) Optional> userProperties = default; WebActivityMethod method = default; DataFactoryElement url = default; - Optional> headers = default; + Optional>> headers = default; Optional> body = default; Optional authentication = default; Optional disableCertValidation = default; + Optional> httpRequestTimeout = default; + Optional turnOffAsync = default; Optional> datasets = default; Optional> linkedServices = default; Optional connectVia = default; @@ -266,7 +278,7 @@ internal static WebActivity DeserializeWebActivity(JsonElement element) { continue; } - headers = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + headers = JsonSerializer.Deserialize>>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("body"u8)) @@ -296,6 +308,24 @@ internal static WebActivity DeserializeWebActivity(JsonElement element) disableCertValidation = property0.Value.GetBoolean(); continue; } + if (property0.NameEquals("httpRequestTimeout"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + httpRequestTimeout = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("turnOffAsync"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + turnOffAsync = property0.Value.GetBoolean(); + continue; + } if (property0.NameEquals("datasets"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -339,7 +369,7 @@ internal static WebActivity DeserializeWebActivity(JsonElement element) additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); } additionalProperties = additionalPropertiesDictionary; - return new WebActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, method, url, headers.Value, body.Value, authentication.Value, Optional.ToNullable(disableCertValidation), Optional.ToList(datasets), Optional.ToList(linkedServices), connectVia.Value); + return new WebActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName, policy.Value, method, url, headers.Value, body.Value, authentication.Value, Optional.ToNullable(disableCertValidation), httpRequestTimeout.Value, Optional.ToNullable(turnOffAsync), Optional.ToList(datasets), Optional.ToList(linkedServices), connectVia.Value); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebActivity.cs index cfe67f5f6264..d5f0df96546e 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebActivity.cs @@ -45,14 +45,16 @@ public WebActivity(string name, WebActivityMethod method, DataFactoryElement Activity policy. /// Rest API method for target endpoint. /// Web activity target endpoint and path. Type: string (or Expression with resultType string). - /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: dictionary (or Expression with resultType dictionary). /// Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). /// Authentication method used for calling the endpoint. /// When set to true, Certificate validation will be disabled. + /// Timeout for the HTTP request to get a response. Format is in TimeSpan (hh:mm:ss). This value is the timeout to get a response, not the activity timeout. The default value is 00:01:00 (1 minute). The range is from 1 to 10 minutes. + /// Option to disable invoking HTTP GET on location given in response header of a HTTP 202 Response. If set true, it stops invoking HTTP GET on http location given in response header. If set false then continues to invoke HTTP GET call on location given in http response headers. /// List of datasets passed to web endpoint. /// List of linked services passed to web endpoint. /// The integration runtime reference. - internal WebActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, WebActivityMethod method, DataFactoryElement uri, DataFactoryElement headers, DataFactoryElement body, WebActivityAuthentication authentication, bool? disableCertValidation, IList datasets, IList linkedServices, IntegrationRuntimeReference connectVia) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal WebActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, WebActivityMethod method, DataFactoryElement uri, DataFactoryElement> headers, DataFactoryElement body, WebActivityAuthentication authentication, bool? disableCertValidation, DataFactoryElement httpRequestTimeout, bool? turnOffAsync, IList datasets, IList linkedServices, IntegrationRuntimeReference connectVia) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Method = method; Uri = uri; @@ -60,6 +62,8 @@ internal WebActivity(string name, string activityType, string description, Pipel Body = body; Authentication = authentication; DisableCertValidation = disableCertValidation; + HttpRequestTimeout = httpRequestTimeout; + TurnOffAsync = turnOffAsync; Datasets = datasets; LinkedServices = linkedServices; ConnectVia = connectVia; @@ -70,14 +74,18 @@ internal WebActivity(string name, string activityType, string description, Pipel public WebActivityMethod Method { get; set; } /// Web activity target endpoint and path. Type: string (or Expression with resultType string). public DataFactoryElement Uri { get; set; } - /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). - public DataFactoryElement Headers { get; set; } + /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: dictionary (or Expression with resultType dictionary). + public DataFactoryElement> Headers { get; set; } /// Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). public DataFactoryElement Body { get; set; } /// Authentication method used for calling the endpoint. public WebActivityAuthentication Authentication { get; set; } /// When set to true, Certificate validation will be disabled. public bool? DisableCertValidation { get; set; } + /// Timeout for the HTTP request to get a response. Format is in TimeSpan (hh:mm:ss). This value is the timeout to get a response, not the activity timeout. The default value is 00:01:00 (1 minute). The range is from 1 to 10 minutes. + public DataFactoryElement HttpRequestTimeout { get; set; } + /// Option to disable invoking HTTP GET on location given in response header of a HTTP 202 Response. If set true, it stops invoking HTTP GET on http location given in response header. If set false then continues to invoke HTTP GET call on location given in http response headers. + public bool? TurnOffAsync { get; set; } /// List of datasets passed to web endpoint. public IList Datasets { get; } /// List of linked services passed to web endpoint. diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebHookActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebHookActivity.Serialization.cs index 561bd5789be6..b9912799a942 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebHookActivity.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebHookActivity.Serialization.cs @@ -126,7 +126,7 @@ internal static WebHookActivity DeserializeWebHookActivity(JsonElement element) WebHookActivityMethod method = default; DataFactoryElement url = default; Optional timeout = default; - Optional> headers = default; + Optional>> headers = default; Optional> body = default; Optional authentication = default; Optional> reportStatusOnCallBack = default; @@ -234,7 +234,7 @@ internal static WebHookActivity DeserializeWebHookActivity(JsonElement element) { continue; } - headers = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + headers = JsonSerializer.Deserialize>>(property0.Value.GetRawText()); continue; } if (property0.NameEquals("body"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebHookActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebHookActivity.cs index 966de28ab196..73efadcbe149 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebHookActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebHookActivity.cs @@ -43,11 +43,11 @@ public WebHookActivity(string name, WebHookActivityMethod method, DataFactoryEle /// Rest API method for target endpoint. /// WebHook activity target endpoint and path. Type: string (or Expression with resultType string). /// The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: dictionary (or Expression with resultType dictionary). /// Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). /// Authentication method used for calling the endpoint. /// When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean). - internal WebHookActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, SecureInputOutputPolicy policy, WebHookActivityMethod method, DataFactoryElement uri, string timeout, DataFactoryElement headers, DataFactoryElement body, WebActivityAuthentication authentication, DataFactoryElement reportStatusOnCallBack) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal WebHookActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, SecureInputOutputPolicy policy, WebHookActivityMethod method, DataFactoryElement uri, string timeout, DataFactoryElement> headers, DataFactoryElement body, WebActivityAuthentication authentication, DataFactoryElement reportStatusOnCallBack) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { Policy = policy; Method = method; @@ -68,8 +68,8 @@ internal WebHookActivity(string name, string activityType, string description, P public DataFactoryElement Uri { get; set; } /// The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). public string Timeout { get; set; } - /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). - public DataFactoryElement Headers { get; set; } + /// Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: dictionary (or Expression with resultType dictionary). + public DataFactoryElement> Headers { get; set; } /// Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). public DataFactoryElement Body { get; set; } /// Authentication method used for calling the endpoint. diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebTableDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebTableDataset.Serialization.cs index 2878febcea8a..e40f339e7876 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebTableDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebTableDataset.Serialization.cs @@ -109,7 +109,7 @@ internal static WebTableDataset DeserializeWebTableDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -145,7 +145,7 @@ internal static WebTableDataset DeserializeWebTableDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebTableDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebTableDataset.cs index 1f167d0b4086..bc4d18e2af59 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebTableDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/WebTableDataset.cs @@ -40,7 +40,7 @@ public WebTableDataset(DataFactoryLinkedServiceReference linkedServiceName, Data /// Additional Properties. /// The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. /// The relative URL to the web page from the linked service URL. Type: string (or Expression with resultType string). - internal WebTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement index, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal WebTableDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement index, DataFactoryElement path) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { Index = index; Path = path; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XeroObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XeroObjectDataset.Serialization.cs index d20a22c4fe8a..3be953cc663f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XeroObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XeroObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static XeroObjectDataset DeserializeXeroObjectDataset(JsonElement eleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static XeroObjectDataset DeserializeXeroObjectDataset(JsonElement eleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XeroObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XeroObjectDataset.cs index 86af6b7ddd1b..fd7061e2f209 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XeroObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XeroObjectDataset.cs @@ -36,7 +36,7 @@ public XeroObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal XeroObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal XeroObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "XeroObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XmlDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XmlDataset.Serialization.cs index e428e57596d3..65a61235e70a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XmlDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XmlDataset.Serialization.cs @@ -122,7 +122,7 @@ internal static XmlDataset DeserializeXmlDataset(JsonElement element) string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -160,7 +160,7 @@ internal static XmlDataset DeserializeXmlDataset(JsonElement element) { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XmlDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XmlDataset.cs index 003bcf6ff120..ecab1369ff89 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XmlDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/XmlDataset.cs @@ -43,7 +43,7 @@ public XmlDataset(DataFactoryLinkedServiceReference linkedServiceName) : base(li /// The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). /// The null value string. Type: string (or Expression with resultType string). /// The data compression method used for the json dataset. - internal XmlDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement encodingName, DataFactoryElement nullValue, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal XmlDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DatasetLocation dataLocation, DataFactoryElement encodingName, DataFactoryElement nullValue, DatasetCompression compression) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { DataLocation = dataLocation; EncodingName = encodingName; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ZohoObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ZohoObjectDataset.Serialization.cs index 5f5e21e4c6aa..978662b25019 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ZohoObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ZohoObjectDataset.Serialization.cs @@ -107,7 +107,7 @@ internal static ZohoObjectDataset DeserializeZohoObjectDataset(JsonElement eleme string type = default; Optional description = default; Optional>> structure = default; - Optional>> schema = default; + Optional> schema = default; DataFactoryLinkedServiceReference linkedServiceName = default; Optional> parameters = default; Optional> annotations = default; @@ -142,7 +142,7 @@ internal static ZohoObjectDataset DeserializeZohoObjectDataset(JsonElement eleme { continue; } - schema = JsonSerializer.Deserialize>>(property.Value.GetRawText()); + schema = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } if (property.NameEquals("linkedServiceName"u8)) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ZohoObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ZohoObjectDataset.cs index 6515a67844d5..bf284f982251 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ZohoObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ZohoObjectDataset.cs @@ -36,7 +36,7 @@ public ZohoObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. /// The table name. Type: string (or Expression with resultType string). - internal ZohoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + internal ZohoObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; DatasetType = datasetType ?? "ZohoObject"; diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md index e664e4db156e..7988a199eebb 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md @@ -9,7 +9,7 @@ generate-model-factory: false csharp: true library-name: DataFactory namespace: Azure.ResourceManager.DataFactory -require: https://github.com/Azure/azure-rest-api-specs/blob/78eac0bd58633028293cb1ec1709baa200bed9e2/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: