diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/CHANGELOG.md b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/CHANGELOG.md index 63cbc0a37840..404eee749d47 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/CHANGELOG.md +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/CHANGELOG.md @@ -1,14 +1,9 @@ # Release History -## 1.0.0-preview.19 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +## 1.0.0-preview.19 (2023-10-30) +- Fix runNotebook sessionId from int to string +- Fix placeholder links causing 404s +- Sync expression Support From DataFactory To Synapse ## 1.0.0-preview.18 (2023-08-08) - Added `authenticationType`, `containerUri`, `sasUri` and `sasToken` properties to BlobService diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/api/Azure.Analytics.Synapse.Artifacts.netstandard2.0.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/api/Azure.Analytics.Synapse.Artifacts.netstandard2.0.cs index 3eec82cea47b..21f9f5014a95 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/api/Azure.Analytics.Synapse.Artifacts.netstandard2.0.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/api/Azure.Analytics.Synapse.Artifacts.netstandard2.0.cs @@ -1119,7 +1119,7 @@ public AmazonRdsForSqlServerSource() { } public object ProduceAdditionalTypes { get { throw null; } set { } } public object SqlReaderQuery { get { throw null; } set { } } public object SqlReaderStoredProcedureName { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } } public partial class AmazonRdsForSqlServerTableDataset : Azure.Analytics.Synapse.Artifacts.Models.Dataset { @@ -1182,7 +1182,7 @@ public partial class AmazonS3ReadSettings : Azure.Analytics.Synapse.Artifacts.Mo { public AmazonS3ReadSettings() { } public object DeleteFilesAfterCompletion { get { throw null; } set { } } - public bool? EnablePartitionDiscovery { get { throw null; } set { } } + public object EnablePartitionDiscovery { get { throw null; } set { } } public object FileListPath { get { throw null; } set { } } public object ModifiedDatetimeEnd { get { throw null; } set { } } public object ModifiedDatetimeStart { get { throw null; } set { } } @@ -1252,10 +1252,10 @@ public static partial class AnalyticsSynapseArtifactsModelFactory public static Azure.Analytics.Synapse.Artifacts.Models.Resource Resource(string id = null, string name = null, string type = null) { throw null; } public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookError RunNotebookError(string ename = null, string evalue = null, System.Collections.Generic.IEnumerable traceback = null) { throw null; } public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookResponse RunNotebookResponse(string message = null, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookResult result = null) { throw null; } - public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookResult RunNotebookResult(string runId = null, string runStatus = null, string lastCheckedOn = null, long? sessionId = default(long?), string sparkPool = null, object sessionDetail = null, string exitValue = null, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookError error = null) { throw null; } - public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshot RunNotebookSnapshot(string exitValue = null, string id = null, string notebook = null, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSparkSessionOptions sessionOptions = null, bool? honorSessionTimeToLive = default(bool?), long? sessionId = default(long?), string sparkPool = null, System.Collections.Generic.IReadOnlyDictionary parameters = null, Azure.Analytics.Synapse.Artifacts.Models.NotebookResource notebookContent = null) { throw null; } + public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookResult RunNotebookResult(string runId = null, string runStatus = null, string lastCheckedOn = null, string sessionId = null, string sparkPool = null, object sessionDetail = null, string exitValue = null, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookError error = null) { throw null; } + public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshot RunNotebookSnapshot(string exitValue = null, string id = null, string notebook = null, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSparkSessionOptions sessionOptions = null, bool? honorSessionTimeToLive = default(bool?), string sessionId = null, string sparkPool = null, System.Collections.Generic.IReadOnlyDictionary parameters = null, Azure.Analytics.Synapse.Artifacts.Models.NotebookResource notebookContent = null) { throw null; } public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshotResponse RunNotebookSnapshotResponse(string message = null, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshotResult result = null) { throw null; } - public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshotResult RunNotebookSnapshotResult(Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshot snapshot = null, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookError error = null, string runId = null, string runStatus = null, string lastCheckedOn = null, long? sessionId = default(long?), string sparkPool = null) { throw null; } + public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshotResult RunNotebookSnapshotResult(Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshot snapshot = null, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookError error = null, string runId = null, string runStatus = null, string lastCheckedOn = null, string sessionId = null, string sparkPool = null) { throw null; } public static Azure.Analytics.Synapse.Artifacts.Models.ScheduleTrigger ScheduleTrigger(string description = null, Azure.Analytics.Synapse.Artifacts.Models.TriggerRuntimeState? runtimeState = default(Azure.Analytics.Synapse.Artifacts.Models.TriggerRuntimeState?), System.Collections.Generic.IEnumerable annotations = null, System.Collections.Generic.IDictionary additionalProperties = null, System.Collections.Generic.IEnumerable pipelines = null, Azure.Analytics.Synapse.Artifacts.Models.ScheduleTriggerRecurrence recurrence = null) { throw null; } public static Azure.Analytics.Synapse.Artifacts.Models.SparkBatchJob SparkBatchJob(Azure.Analytics.Synapse.Artifacts.Models.SparkBatchJobState livyInfo = null, string name = null, string workspaceName = null, string sparkPoolName = null, string submitterName = null, string submitterId = null, string artifactId = null, Azure.Analytics.Synapse.Artifacts.Models.SparkJobType? jobType = default(Azure.Analytics.Synapse.Artifacts.Models.SparkJobType?), Azure.Analytics.Synapse.Artifacts.Models.SparkBatchJobResultType? result = default(Azure.Analytics.Synapse.Artifacts.Models.SparkBatchJobResultType?), Azure.Analytics.Synapse.Artifacts.Models.SparkScheduler scheduler = null, Azure.Analytics.Synapse.Artifacts.Models.SparkServicePlugin plugin = null, System.Collections.Generic.IEnumerable errors = null, System.Collections.Generic.IReadOnlyDictionary tags = null, int id = 0, string appId = null, System.Collections.Generic.IReadOnlyDictionary appInfo = null, Azure.Analytics.Synapse.Artifacts.Models.LivyStates? state = default(Azure.Analytics.Synapse.Artifacts.Models.LivyStates?), System.Collections.Generic.IEnumerable logLines = null) { throw null; } public static Azure.Analytics.Synapse.Artifacts.Models.SparkBatchJobState SparkBatchJobState(System.DateTimeOffset? notStartedAt = default(System.DateTimeOffset?), System.DateTimeOffset? startingAt = default(System.DateTimeOffset?), System.DateTimeOffset? runningAt = default(System.DateTimeOffset?), System.DateTimeOffset? deadAt = default(System.DateTimeOffset?), System.DateTimeOffset? successAt = default(System.DateTimeOffset?), System.DateTimeOffset? terminatedAt = default(System.DateTimeOffset?), System.DateTimeOffset? recoveringAt = default(System.DateTimeOffset?), string currentState = null, Azure.Analytics.Synapse.Artifacts.Models.SparkRequest jobCreationRequest = null) { throw null; } @@ -1455,7 +1455,7 @@ public partial class AzureBlobStorageReadSettings : Azure.Analytics.Synapse.Arti { public AzureBlobStorageReadSettings() { } public object DeleteFilesAfterCompletion { get { throw null; } set { } } - public bool? EnablePartitionDiscovery { get { throw null; } set { } } + public object EnablePartitionDiscovery { get { throw null; } set { } } public object FileListPath { get { throw null; } set { } } public object ModifiedDatetimeEnd { get { throw null; } set { } } public object ModifiedDatetimeStart { get { throw null; } set { } } @@ -1664,7 +1664,7 @@ public partial class AzureFileStorageReadSettings : Azure.Analytics.Synapse.Arti { public AzureFileStorageReadSettings() { } public object DeleteFilesAfterCompletion { get { throw null; } set { } } - public bool? EnablePartitionDiscovery { get { throw null; } set { } } + public object EnablePartitionDiscovery { get { throw null; } set { } } public object FileListPath { get { throw null; } set { } } public object ModifiedDatetimeEnd { get { throw null; } set { } } public object ModifiedDatetimeStart { get { throw null; } set { } } @@ -1946,7 +1946,7 @@ public AzureSqlSink() { } public object PreCopyScript { get { throw null; } set { } } public object SqlWriterStoredProcedureName { get { throw null; } set { } } public object SqlWriterTableType { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } public object StoredProcedureTableTypeParameterName { get { throw null; } set { } } public object TableOption { get { throw null; } set { } } } @@ -1959,7 +1959,7 @@ public AzureSqlSource() { } public object ProduceAdditionalTypes { get { throw null; } set { } } public object SqlReaderQuery { get { throw null; } set { } } public object SqlReaderStoredProcedureName { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } } public partial class AzureSqlTableDataset : Azure.Analytics.Synapse.Artifacts.Models.Dataset { @@ -3372,7 +3372,7 @@ public partial class FileServerReadSettings : Azure.Analytics.Synapse.Artifacts. { public FileServerReadSettings() { } public object DeleteFilesAfterCompletion { get { throw null; } set { } } - public bool? EnablePartitionDiscovery { get { throw null; } set { } } + public object EnablePartitionDiscovery { get { throw null; } set { } } public object FileFilter { get { throw null; } set { } } public object FileListPath { get { throw null; } set { } } public object ModifiedDatetimeEnd { get { throw null; } set { } } @@ -3464,11 +3464,11 @@ public partial class FtpReadSettings : Azure.Analytics.Synapse.Artifacts.Models. public FtpReadSettings() { } public object DeleteFilesAfterCompletion { get { throw null; } set { } } public object DisableChunking { get { throw null; } set { } } - public bool? EnablePartitionDiscovery { get { throw null; } set { } } + public object EnablePartitionDiscovery { get { throw null; } set { } } public object FileListPath { get { throw null; } set { } } public object PartitionRootPath { get { throw null; } set { } } public object Recursive { get { throw null; } set { } } - public bool? UseBinaryTransfer { get { throw null; } set { } } + public object UseBinaryTransfer { get { throw null; } set { } } public object WildcardFileName { get { throw null; } set { } } public object WildcardFolderPath { get { throw null; } set { } } } @@ -3627,7 +3627,7 @@ public partial class GoogleCloudStorageReadSettings : Azure.Analytics.Synapse.Ar { public GoogleCloudStorageReadSettings() { } public object DeleteFilesAfterCompletion { get { throw null; } set { } } - public bool? EnablePartitionDiscovery { get { throw null; } set { } } + public object EnablePartitionDiscovery { get { throw null; } set { } } public object FileListPath { get { throw null; } set { } } public object ModifiedDatetimeEnd { get { throw null; } set { } } public object ModifiedDatetimeStart { get { throw null; } set { } } @@ -3723,7 +3723,7 @@ public partial class HdfsReadSettings : Azure.Analytics.Synapse.Artifacts.Models public HdfsReadSettings() { } public object DeleteFilesAfterCompletion { get { throw null; } set { } } public Azure.Analytics.Synapse.Artifacts.Models.DistcpSettings DistcpSettings { get { throw null; } set { } } - public bool? EnablePartitionDiscovery { get { throw null; } set { } } + public object EnablePartitionDiscovery { get { throw null; } set { } } public object FileListPath { get { throw null; } set { } } public object ModifiedDatetimeEnd { get { throw null; } set { } } public object ModifiedDatetimeStart { get { throw null; } set { } } @@ -4006,8 +4006,9 @@ public HttpLinkedService(object url) { } public partial class HttpReadSettings : Azure.Analytics.Synapse.Artifacts.Models.StoreReadSettings { public HttpReadSettings() { } + public object AdditionalColumns { get { throw null; } set { } } public object AdditionalHeaders { get { throw null; } set { } } - public bool? EnablePartitionDiscovery { get { throw null; } set { } } + public object EnablePartitionDiscovery { get { throw null; } set { } } public object PartitionRootPath { get { throw null; } set { } } public object RequestBody { get { throw null; } set { } } public object RequestMethod { get { throw null; } set { } } @@ -6113,7 +6114,7 @@ internal RunNotebookResult() { } public string RunId { get { throw null; } } public string RunStatus { get { throw null; } } public object SessionDetail { get { throw null; } } - public long? SessionId { get { throw null; } } + public string SessionId { get { throw null; } } public string SparkPool { get { throw null; } } } public partial class RunNotebookSnapshot @@ -6125,7 +6126,7 @@ internal RunNotebookSnapshot() { } public string Notebook { get { throw null; } } public Azure.Analytics.Synapse.Artifacts.Models.NotebookResource NotebookContent { get { throw null; } } public System.Collections.Generic.IReadOnlyDictionary Parameters { get { throw null; } } - public long? SessionId { get { throw null; } } + public string SessionId { get { throw null; } } public Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSparkSessionOptions SessionOptions { get { throw null; } } public string SparkPool { get { throw null; } } } @@ -6142,7 +6143,7 @@ internal RunNotebookSnapshotResult() { } public string LastCheckedOn { get { throw null; } } public string RunId { get { throw null; } } public string RunStatus { get { throw null; } } - public long? SessionId { get { throw null; } } + public string SessionId { get { throw null; } } public Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshot Snapshot { get { throw null; } } public string SparkPool { get { throw null; } } } @@ -6477,25 +6478,6 @@ public SapHanaLinkedService(object server) { } public object Server { get { throw null; } set { } } public object UserName { get { throw null; } set { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct SapHanaPartitionOption : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public SapHanaPartitionOption(string value) { throw null; } - public static Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption None { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption PhysicalPartitionsOfTable { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption SapHanaDynamicRange { get { throw null; } } - public bool Equals(Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption left, Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption right) { throw null; } - public static implicit operator Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption (string value) { throw null; } - public static bool operator !=(Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption left, Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption right) { throw null; } - public override string ToString() { throw null; } - } public partial class SapHanaPartitionSettings { public SapHanaPartitionSettings() { } @@ -6505,7 +6487,7 @@ public partial class SapHanaSource : Azure.Analytics.Synapse.Artifacts.Models.Ta { public SapHanaSource() { } public object PacketSize { get { throw null; } set { } } - public Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionOption? PartitionOption { get { throw null; } set { } } + public object PartitionOption { get { throw null; } set { } } public Azure.Analytics.Synapse.Artifacts.Models.SapHanaPartitionSettings PartitionSettings { get { throw null; } set { } } public object Query { get { throw null; } set { } } } @@ -6601,28 +6583,6 @@ public SapTableLinkedService() { } public object SystemNumber { get { throw null; } set { } } public object UserName { get { throw null; } set { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct SapTablePartitionOption : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public SapTablePartitionOption(string value) { throw null; } - public static Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption None { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption PartitionOnCalendarDate { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption PartitionOnCalendarMonth { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption PartitionOnCalendarYear { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption PartitionOnInt { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption PartitionOnTime { get { throw null; } } - public bool Equals(Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption left, Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption right) { throw null; } - public static implicit operator Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption (string value) { throw null; } - public static bool operator !=(Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption left, Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption right) { throw null; } - public override string ToString() { throw null; } - } public partial class SapTablePartitionSettings { public SapTablePartitionSettings() { } @@ -6641,7 +6601,7 @@ public partial class SapTableSource : Azure.Analytics.Synapse.Artifacts.Models.T public SapTableSource() { } public object BatchSize { get { throw null; } set { } } public object CustomRfcReadTableFunctionModule { get { throw null; } set { } } - public Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionOption? PartitionOption { get { throw null; } set { } } + public object PartitionOption { get { throw null; } set { } } public Azure.Analytics.Synapse.Artifacts.Models.SapTablePartitionSettings PartitionSettings { get { throw null; } set { } } public object RfcTableFields { get { throw null; } set { } } public object RfcTableOptions { get { throw null; } set { } } @@ -6696,6 +6656,7 @@ public partial class ScriptActivity : Azure.Analytics.Synapse.Artifacts.Models.E { public ScriptActivity(string name) : base (default(string)) { } public Azure.Analytics.Synapse.Artifacts.Models.ScriptActivityTypePropertiesLogSettings LogSettings { get { throw null; } set { } } + public object ScriptBlockExecutionTimeout { get { throw null; } set { } } public System.Collections.Generic.IList Scripts { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -6906,7 +6867,7 @@ public partial class SftpReadSettings : Azure.Analytics.Synapse.Artifacts.Models public SftpReadSettings() { } public object DeleteFilesAfterCompletion { get { throw null; } set { } } public object DisableChunking { get { throw null; } set { } } - public bool? EnablePartitionDiscovery { get { throw null; } set { } } + public object EnablePartitionDiscovery { get { throw null; } set { } } public object FileListPath { get { throw null; } set { } } public object ModifiedDatetimeEnd { get { throw null; } set { } } public object ModifiedDatetimeStart { get { throw null; } set { } } @@ -7439,7 +7400,7 @@ public SqlMISink() { } public object PreCopyScript { get { throw null; } set { } } public object SqlWriterStoredProcedureName { get { throw null; } set { } } public object SqlWriterTableType { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } public object StoredProcedureTableTypeParameterName { get { throw null; } set { } } public object TableOption { get { throw null; } set { } } } @@ -7452,7 +7413,7 @@ public SqlMISource() { } public object ProduceAdditionalTypes { get { throw null; } set { } } public object SqlReaderQuery { get { throw null; } set { } } public object SqlReaderStoredProcedureName { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } } public partial class SqlPartitionSettings { @@ -7509,7 +7470,7 @@ public partial class SqlPoolStoredProcedureActivity : Azure.Analytics.Synapse.Ar public SqlPoolStoredProcedureActivity(string name, Azure.Analytics.Synapse.Artifacts.Models.SqlPoolReference sqlPool, object storedProcedureName) : base (default(string)) { } public Azure.Analytics.Synapse.Artifacts.Models.SqlPoolReference SqlPool { get { throw null; } set { } } public object StoredProcedureName { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } } public partial class SqlScript { @@ -7581,7 +7542,7 @@ public SqlServerSink() { } public object PreCopyScript { get { throw null; } set { } } public object SqlWriterStoredProcedureName { get { throw null; } set { } } public object SqlWriterTableType { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } public object StoredProcedureTableTypeParameterName { get { throw null; } set { } } public object TableOption { get { throw null; } set { } } } @@ -7594,7 +7555,7 @@ public SqlServerSource() { } public object ProduceAdditionalTypes { get { throw null; } set { } } public object SqlReaderQuery { get { throw null; } set { } } public object SqlReaderStoredProcedureName { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } } public partial class SqlServerStoredProcedureActivity : Azure.Analytics.Synapse.Artifacts.Models.ExecutionActivity { @@ -7615,7 +7576,7 @@ public SqlSink() { } public object PreCopyScript { get { throw null; } set { } } public object SqlWriterStoredProcedureName { get { throw null; } set { } } public object SqlWriterTableType { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } public object StoredProcedureTableTypeParameterName { get { throw null; } set { } } public object TableOption { get { throw null; } set { } } } @@ -7627,7 +7588,7 @@ public SqlSource() { } public Azure.Analytics.Synapse.Artifacts.Models.SqlPartitionSettings PartitionSettings { get { throw null; } set { } } public object SqlReaderQuery { get { throw null; } set { } } public object SqlReaderStoredProcedureName { get { throw null; } set { } } - public System.Collections.Generic.IDictionary StoredProcedureParameters { get { throw null; } } + public object StoredProcedureParameters { get { throw null; } set { } } } public partial class SquareLinkedService : Azure.Analytics.Synapse.Artifacts.Models.LinkedService { @@ -7777,35 +7738,6 @@ public partial class StartDataFlowDebugSessionResponse public StartDataFlowDebugSessionResponse() { } public string JobVersion { get { throw null; } set { } } } - public partial class StoredProcedureParameter - { - public StoredProcedureParameter() { } - public Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType? Type { get { throw null; } set { } } - public object Value { get { throw null; } set { } } - } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct StoredProcedureParameterType : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public StoredProcedureParameterType(string value) { throw null; } - public static Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType Boolean { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType Date { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType Decimal { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType Guid { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType Int { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType Int64 { get { throw null; } } - public static Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType String { get { throw null; } } - public bool Equals(Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType left, Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType right) { throw null; } - public static implicit operator Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType (string value) { throw null; } - public static bool operator !=(Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType left, Azure.Analytics.Synapse.Artifacts.Models.StoredProcedureParameterType right) { throw null; } - public override string ToString() { throw null; } - } public partial class StoreReadSettings { public StoreReadSettings() { } @@ -8348,7 +8280,7 @@ public WebActivityAuthentication(string type) { } public Azure.Analytics.Synapse.Artifacts.Models.SecretBase Pfx { get { throw null; } set { } } public object Resource { get { throw null; } set { } } public string Type { get { throw null; } set { } } - public string Username { get { throw null; } set { } } + public object Username { get { throw null; } set { } } public object UserTenant { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/AnalyticsSynapseArtifactsModelFactory.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/AnalyticsSynapseArtifactsModelFactory.cs index e3248d6c230d..ce62bb82a206 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/AnalyticsSynapseArtifactsModelFactory.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/AnalyticsSynapseArtifactsModelFactory.cs @@ -121,7 +121,7 @@ public static RunNotebookResponse RunNotebookResponse(string message = null, Run /// Output of exit command. /// Run notebook error. /// A new instance for mocking. - public static RunNotebookResult RunNotebookResult(string runId = null, string runStatus = null, string lastCheckedOn = null, long? sessionId = null, string sparkPool = null, object sessionDetail = null, string exitValue = null, RunNotebookError error = null) + public static RunNotebookResult RunNotebookResult(string runId = null, string runStatus = null, string lastCheckedOn = null, string sessionId = null, string sparkPool = null, object sessionDetail = null, string exitValue = null, RunNotebookError error = null) { return new RunNotebookResult(runId, runStatus, lastCheckedOn, sessionId, sparkPool, sessionDetail, exitValue, error); } @@ -156,7 +156,7 @@ public static RunNotebookSnapshotResponse RunNotebookSnapshotResponse(string mes /// Livy session id. /// SparkPool name. /// A new instance for mocking. - public static RunNotebookSnapshotResult RunNotebookSnapshotResult(RunNotebookSnapshot snapshot = null, RunNotebookError error = null, string runId = null, string runStatus = null, string lastCheckedOn = null, long? sessionId = null, string sparkPool = null) + public static RunNotebookSnapshotResult RunNotebookSnapshotResult(RunNotebookSnapshot snapshot = null, RunNotebookError error = null, string runId = null, string runStatus = null, string lastCheckedOn = null, string sessionId = null, string sparkPool = null) { return new RunNotebookSnapshotResult(snapshot, error, runId, runStatus, lastCheckedOn, sessionId, sparkPool); } @@ -172,7 +172,7 @@ public static RunNotebookSnapshotResult RunNotebookSnapshotResult(RunNotebookSna /// Run notebook parameters. /// Notebook resource type. /// A new instance for mocking. - public static RunNotebookSnapshot RunNotebookSnapshot(string exitValue = null, string id = null, string notebook = null, RunNotebookSparkSessionOptions sessionOptions = null, bool? honorSessionTimeToLive = null, long? sessionId = null, string sparkPool = null, IReadOnlyDictionary parameters = null, NotebookResource notebookContent = null) + public static RunNotebookSnapshot RunNotebookSnapshot(string exitValue = null, string id = null, string notebook = null, RunNotebookSparkSessionOptions sessionOptions = null, bool? honorSessionTimeToLive = null, string sessionId = null, string sparkPool = null, IReadOnlyDictionary parameters = null, NotebookResource notebookContent = null) { parameters ??= new Dictionary(); diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/BigDataPoolsClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/BigDataPoolsClient.cs index 3e077512416f..774062c6ebd6 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/BigDataPoolsClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/BigDataPoolsClient.cs @@ -28,7 +28,7 @@ protected BigDataPoolsClient() } /// Initializes a new instance of BigDataPoolsClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public BigDataPoolsClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public BigDataPoolsClient(Uri endpoint, TokenCredential credential, ArtifactsCli /// Initializes a new instance of BigDataPoolsClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal BigDataPoolsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/BigDataPoolsRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/BigDataPoolsRestClient.cs index e0042a1d0e49..91cf8e6d165d 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/BigDataPoolsRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/BigDataPoolsRestClient.cs @@ -27,7 +27,7 @@ internal partial class BigDataPoolsRestClient /// Initializes a new instance of BigDataPoolsRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public BigDataPoolsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowClient.cs index ace097ea164d..7a8bdcd5f4e3 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowClient.cs @@ -29,7 +29,7 @@ protected DataFlowClient() } /// Initializes a new instance of DataFlowClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public DataFlowClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public DataFlowClient(Uri endpoint, TokenCredential credential, ArtifactsClientO /// Initializes a new instance of DataFlowClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal DataFlowClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowDebugSessionClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowDebugSessionClient.cs index 967f20654897..d70b92c6a775 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowDebugSessionClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowDebugSessionClient.cs @@ -29,7 +29,7 @@ protected DataFlowDebugSessionClient() } /// Initializes a new instance of DataFlowDebugSessionClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public DataFlowDebugSessionClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public DataFlowDebugSessionClient(Uri endpoint, TokenCredential credential, Arti /// Initializes a new instance of DataFlowDebugSessionClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal DataFlowDebugSessionClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowDebugSessionRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowDebugSessionRestClient.cs index a316913378e1..ad5e20dc5cab 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowDebugSessionRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowDebugSessionRestClient.cs @@ -27,7 +27,7 @@ internal partial class DataFlowDebugSessionRestClient /// Initializes a new instance of DataFlowDebugSessionRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public DataFlowDebugSessionRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowRestClient.cs index be865af636c8..b8856536b944 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DataFlowRestClient.cs @@ -27,7 +27,7 @@ internal partial class DataFlowRestClient /// Initializes a new instance of DataFlowRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public DataFlowRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DatasetClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DatasetClient.cs index 0b33038d9275..b3d1a54976b1 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DatasetClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DatasetClient.cs @@ -29,7 +29,7 @@ protected DatasetClient() } /// Initializes a new instance of DatasetClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public DatasetClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public DatasetClient(Uri endpoint, TokenCredential credential, ArtifactsClientOp /// Initializes a new instance of DatasetClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal DatasetClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DatasetRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DatasetRestClient.cs index 4e9f4e459d7a..9d6c46653709 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DatasetRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/DatasetRestClient.cs @@ -27,7 +27,7 @@ internal partial class DatasetRestClient /// Initializes a new instance of DatasetRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public DatasetRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/IntegrationRuntimesClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/IntegrationRuntimesClient.cs index d5ba57192618..1f2ba0b90a96 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/IntegrationRuntimesClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/IntegrationRuntimesClient.cs @@ -28,7 +28,7 @@ protected IntegrationRuntimesClient() } /// Initializes a new instance of IntegrationRuntimesClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public IntegrationRuntimesClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public IntegrationRuntimesClient(Uri endpoint, TokenCredential credential, Artif /// Initializes a new instance of IntegrationRuntimesClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal IntegrationRuntimesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/IntegrationRuntimesRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/IntegrationRuntimesRestClient.cs index d4c6e6d93494..4711dc5b60d2 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/IntegrationRuntimesRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/IntegrationRuntimesRestClient.cs @@ -27,7 +27,7 @@ internal partial class IntegrationRuntimesRestClient /// Initializes a new instance of IntegrationRuntimesRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public IntegrationRuntimesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptClient.cs index 56836a5ab2d7..c284a922f8eb 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptClient.cs @@ -28,7 +28,7 @@ protected KqlScriptClient() } /// Initializes a new instance of KqlScriptClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public KqlScriptClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public KqlScriptClient(Uri endpoint, TokenCredential credential, ArtifactsClient /// Initializes a new instance of KqlScriptClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal KqlScriptClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptRestClient.cs index a641ef9ffb8b..fa272fc6ef91 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptRestClient.cs @@ -27,7 +27,7 @@ internal partial class KqlScriptRestClient /// Initializes a new instance of KqlScriptRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public KqlScriptRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptsClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptsClient.cs index 939a1ab7415a..2ff5f5a79e68 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptsClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptsClient.cs @@ -28,7 +28,7 @@ protected KqlScriptsClient() } /// Initializes a new instance of KqlScriptsClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public KqlScriptsClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public KqlScriptsClient(Uri endpoint, TokenCredential credential, ArtifactsClien /// Initializes a new instance of KqlScriptsClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal KqlScriptsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptsRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptsRestClient.cs index 5d41ff307e71..cfebdf16c91d 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptsRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/KqlScriptsRestClient.cs @@ -27,7 +27,7 @@ internal partial class KqlScriptsRestClient /// Initializes a new instance of KqlScriptsRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public KqlScriptsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryClient.cs index c24a89bb4676..88b01a7ad8ed 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryClient.cs @@ -30,7 +30,7 @@ protected LibraryClient() } /// Initializes a new instance of LibraryClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public LibraryClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -54,7 +54,7 @@ public LibraryClient(Uri endpoint, TokenCredential credential, ArtifactsClientOp /// Initializes a new instance of LibraryClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal LibraryClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryRestClient.cs index 3630fc4f6606..986335a8d025 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryRestClient.cs @@ -28,7 +28,7 @@ internal partial class LibraryRestClient /// Initializes a new instance of LibraryRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public LibraryRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkConnectionClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkConnectionClient.cs index 745988db0a77..c0a4317c163b 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkConnectionClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkConnectionClient.cs @@ -29,7 +29,7 @@ protected LinkConnectionClient() } /// Initializes a new instance of LinkConnectionClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public LinkConnectionClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public LinkConnectionClient(Uri endpoint, TokenCredential credential, ArtifactsC /// Initializes a new instance of LinkConnectionClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal LinkConnectionClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkConnectionRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkConnectionRestClient.cs index 260f7f8e15aa..80134ea9f436 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkConnectionRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkConnectionRestClient.cs @@ -27,7 +27,7 @@ internal partial class LinkConnectionRestClient /// Initializes a new instance of LinkConnectionRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public LinkConnectionRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkedServiceClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkedServiceClient.cs index 0d1ae21168cf..73ff15ac8c07 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkedServiceClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkedServiceClient.cs @@ -29,7 +29,7 @@ protected LinkedServiceClient() } /// Initializes a new instance of LinkedServiceClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public LinkedServiceClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public LinkedServiceClient(Uri endpoint, TokenCredential credential, ArtifactsCl /// Initializes a new instance of LinkedServiceClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal LinkedServiceClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkedServiceRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkedServiceRestClient.cs index e7a2d12b5669..0138763a630c 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkedServiceRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LinkedServiceRestClient.cs @@ -27,7 +27,7 @@ internal partial class LinkedServiceRestClient /// Initializes a new instance of LinkedServiceRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public LinkedServiceRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/MetastoreClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/MetastoreClient.cs index 07725b064f57..a287350d22a0 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/MetastoreClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/MetastoreClient.cs @@ -28,7 +28,7 @@ protected MetastoreClient() } /// Initializes a new instance of MetastoreClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public MetastoreClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public MetastoreClient(Uri endpoint, TokenCredential credential, ArtifactsClient /// Initializes a new instance of MetastoreClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal MetastoreClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/MetastoreRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/MetastoreRestClient.cs index cf3381af6605..dfdc8d0c1076 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/MetastoreRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/MetastoreRestClient.cs @@ -27,7 +27,7 @@ internal partial class MetastoreRestClient /// Initializes a new instance of MetastoreRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public MetastoreRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonRdsForSqlServerSource.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonRdsForSqlServerSource.Serialization.cs index 6e2cd87b304f..ea0c2094483b 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonRdsForSqlServerSource.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonRdsForSqlServerSource.Serialization.cs @@ -29,16 +29,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("sqlReaderStoredProcedureName"u8); writer.WriteObjectValue(SqlReaderStoredProcedureName); } - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } if (Optional.IsDefined(IsolationLevel)) { @@ -103,7 +97,7 @@ internal static AmazonRdsForSqlServerSource DeserializeAmazonRdsForSqlServerSour } Optional sqlReaderQuery = default; Optional sqlReaderStoredProcedureName = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; Optional isolationLevel = default; Optional produceAdditionalTypes = default; Optional partitionOption = default; @@ -142,12 +136,7 @@ internal static AmazonRdsForSqlServerSource DeserializeAmazonRdsForSqlServerSour { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property0.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property.Value.GetObject(); continue; } if (property.NameEquals("isolationLevel"u8)) @@ -239,7 +228,7 @@ internal static AmazonRdsForSqlServerSource DeserializeAmazonRdsForSqlServerSour additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new AmazonRdsForSqlServerSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, Optional.ToDictionary(storedProcedureParameters), isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); + return new AmazonRdsForSqlServerSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); } internal partial class AmazonRdsForSqlServerSourceConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonRdsForSqlServerSource.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonRdsForSqlServerSource.cs index 7b57da597668..76d5a405654d 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonRdsForSqlServerSource.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonRdsForSqlServerSource.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { @@ -16,7 +15,6 @@ public partial class AmazonRdsForSqlServerSource : TabularSource /// Initializes a new instance of AmazonRdsForSqlServerSource. public AmazonRdsForSqlServerSource() { - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "AmazonRdsForSqlServerSource"; } @@ -35,7 +33,7 @@ public AmazonRdsForSqlServerSource() /// Which additional types to produce. /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal AmazonRdsForSqlServerSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, IDictionary storedProcedureParameters, object isolationLevel, object produceAdditionalTypes, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) + internal AmazonRdsForSqlServerSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, object storedProcedureParameters, object isolationLevel, object produceAdditionalTypes, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -52,7 +50,7 @@ internal AmazonRdsForSqlServerSource(string type, object sourceRetryCount, objec /// 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). public object SqlReaderStoredProcedureName { get; set; } /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - public IDictionary StoredProcedureParameters { get; } + public object 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 object IsolationLevel { get; set; } /// Which additional types to produce. diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonS3ReadSettings.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonS3ReadSettings.Serialization.cs index adf3207bb7de..3bd965abf465 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonS3ReadSettings.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonS3ReadSettings.Serialization.cs @@ -47,7 +47,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(EnablePartitionDiscovery)) { writer.WritePropertyName("enablePartitionDiscovery"u8); - writer.WriteBooleanValue(EnablePartitionDiscovery.Value); + writer.WriteObjectValue(EnablePartitionDiscovery); } if (Optional.IsDefined(PartitionRootPath)) { @@ -95,7 +95,7 @@ internal static AmazonS3ReadSettings DeserializeAmazonS3ReadSettings(JsonElement Optional wildcardFileName = default; Optional prefix = default; Optional fileListPath = default; - Optional enablePartitionDiscovery = default; + Optional enablePartitionDiscovery = default; Optional partitionRootPath = default; Optional deleteFilesAfterCompletion = default; Optional modifiedDatetimeStart = default; @@ -157,7 +157,7 @@ internal static AmazonS3ReadSettings DeserializeAmazonS3ReadSettings(JsonElement { continue; } - enablePartitionDiscovery = property.Value.GetBoolean(); + enablePartitionDiscovery = property.Value.GetObject(); continue; } if (property.NameEquals("partitionRootPath"u8)) @@ -213,7 +213,7 @@ internal static AmazonS3ReadSettings DeserializeAmazonS3ReadSettings(JsonElement additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new AmazonS3ReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, Optional.ToNullable(enablePartitionDiscovery), partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); + return new AmazonS3ReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); } internal partial class AmazonS3ReadSettingsConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonS3ReadSettings.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonS3ReadSettings.cs index 32765462f118..9d3e8ae8a563 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonS3ReadSettings.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AmazonS3ReadSettings.cs @@ -27,12 +27,12 @@ public AmazonS3ReadSettings() /// AmazonS3 wildcardFileName. Type: string (or Expression with resultType string). /// The prefix filter for the S3 object name. Type: string (or Expression with resultType string). /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - /// Indicates whether to enable partition discovery. + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal AmazonS3ReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object prefix, object fileListPath, bool? enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd) : base(type, maxConcurrentConnections, additionalProperties) + internal AmazonS3ReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object prefix, object fileListPath, object enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd) : base(type, maxConcurrentConnections, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; @@ -57,8 +57,8 @@ internal AmazonS3ReadSettings(string type, object maxConcurrentConnections, IDic public object Prefix { get; set; } /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). public object FileListPath { get; set; } - /// Indicates whether to enable partition discovery. - public bool? EnablePartitionDiscovery { get; set; } + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + public object EnablePartitionDiscovery { get; set; } /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). public object PartitionRootPath { get; set; } /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureBlobStorageReadSettings.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureBlobStorageReadSettings.Serialization.cs index bca967b138d3..922b778b5b26 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureBlobStorageReadSettings.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureBlobStorageReadSettings.Serialization.cs @@ -47,7 +47,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(EnablePartitionDiscovery)) { writer.WritePropertyName("enablePartitionDiscovery"u8); - writer.WriteBooleanValue(EnablePartitionDiscovery.Value); + writer.WriteObjectValue(EnablePartitionDiscovery); } if (Optional.IsDefined(PartitionRootPath)) { @@ -95,7 +95,7 @@ internal static AzureBlobStorageReadSettings DeserializeAzureBlobStorageReadSett Optional wildcardFileName = default; Optional prefix = default; Optional fileListPath = default; - Optional enablePartitionDiscovery = default; + Optional enablePartitionDiscovery = default; Optional partitionRootPath = default; Optional deleteFilesAfterCompletion = default; Optional modifiedDatetimeStart = default; @@ -157,7 +157,7 @@ internal static AzureBlobStorageReadSettings DeserializeAzureBlobStorageReadSett { continue; } - enablePartitionDiscovery = property.Value.GetBoolean(); + enablePartitionDiscovery = property.Value.GetObject(); continue; } if (property.NameEquals("partitionRootPath"u8)) @@ -213,7 +213,7 @@ internal static AzureBlobStorageReadSettings DeserializeAzureBlobStorageReadSett additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new AzureBlobStorageReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, Optional.ToNullable(enablePartitionDiscovery), partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); + return new AzureBlobStorageReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); } internal partial class AzureBlobStorageReadSettingsConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureBlobStorageReadSettings.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureBlobStorageReadSettings.cs index abbc23c5cbb5..ea9ad0333bb7 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureBlobStorageReadSettings.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureBlobStorageReadSettings.cs @@ -27,12 +27,12 @@ public AzureBlobStorageReadSettings() /// Azure blob wildcardFileName. Type: string (or Expression with resultType string). /// The prefix filter for the Azure Blob name. Type: string (or Expression with resultType string). /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - /// Indicates whether to enable partition discovery. + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal AzureBlobStorageReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object prefix, object fileListPath, bool? enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd) : base(type, maxConcurrentConnections, additionalProperties) + internal AzureBlobStorageReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object prefix, object fileListPath, object enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd) : base(type, maxConcurrentConnections, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; @@ -57,8 +57,8 @@ internal AzureBlobStorageReadSettings(string type, object maxConcurrentConnectio public object Prefix { get; set; } /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). public object FileListPath { get; set; } - /// Indicates whether to enable partition discovery. - public bool? EnablePartitionDiscovery { get; set; } + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + public object EnablePartitionDiscovery { get; set; } /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). public object PartitionRootPath { get; set; } /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureFileStorageReadSettings.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureFileStorageReadSettings.Serialization.cs index cf1a9e2d0d8b..a29b01810806 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureFileStorageReadSettings.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureFileStorageReadSettings.Serialization.cs @@ -47,7 +47,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(EnablePartitionDiscovery)) { writer.WritePropertyName("enablePartitionDiscovery"u8); - writer.WriteBooleanValue(EnablePartitionDiscovery.Value); + writer.WriteObjectValue(EnablePartitionDiscovery); } if (Optional.IsDefined(PartitionRootPath)) { @@ -95,7 +95,7 @@ internal static AzureFileStorageReadSettings DeserializeAzureFileStorageReadSett Optional wildcardFileName = default; Optional prefix = default; Optional fileListPath = default; - Optional enablePartitionDiscovery = default; + Optional enablePartitionDiscovery = default; Optional partitionRootPath = default; Optional deleteFilesAfterCompletion = default; Optional modifiedDatetimeStart = default; @@ -157,7 +157,7 @@ internal static AzureFileStorageReadSettings DeserializeAzureFileStorageReadSett { continue; } - enablePartitionDiscovery = property.Value.GetBoolean(); + enablePartitionDiscovery = property.Value.GetObject(); continue; } if (property.NameEquals("partitionRootPath"u8)) @@ -213,7 +213,7 @@ internal static AzureFileStorageReadSettings DeserializeAzureFileStorageReadSett additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new AzureFileStorageReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, Optional.ToNullable(enablePartitionDiscovery), partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); + return new AzureFileStorageReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); } internal partial class AzureFileStorageReadSettingsConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureFileStorageReadSettings.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureFileStorageReadSettings.cs index 777d07910405..4c86c12216e5 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureFileStorageReadSettings.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureFileStorageReadSettings.cs @@ -27,12 +27,12 @@ public AzureFileStorageReadSettings() /// Azure File Storage wildcardFileName. Type: string (or Expression with resultType string). /// The prefix filter for the Azure File name starting from root path. Type: string (or Expression with resultType string). /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - /// Indicates whether to enable partition discovery. + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal AzureFileStorageReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object prefix, object fileListPath, bool? enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd) : base(type, maxConcurrentConnections, additionalProperties) + internal AzureFileStorageReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object prefix, object fileListPath, object enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd) : base(type, maxConcurrentConnections, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; @@ -57,8 +57,8 @@ internal AzureFileStorageReadSettings(string type, object maxConcurrentConnectio public object Prefix { get; set; } /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). public object FileListPath { get; set; } - /// Indicates whether to enable partition discovery. - public bool? EnablePartitionDiscovery { get; set; } + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + public object EnablePartitionDiscovery { get; set; } /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). public object PartitionRootPath { get; set; } /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSink.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSink.Serialization.cs index 67962e12af33..b280aa77198b 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSink.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSink.Serialization.cs @@ -34,16 +34,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("preCopyScript"u8); writer.WriteObjectValue(PreCopyScript); } - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } if (Optional.IsDefined(StoredProcedureTableTypeParameterName)) { @@ -99,7 +93,7 @@ internal static AzureSqlSink DeserializeAzureSqlSink(JsonElement element) Optional sqlWriterStoredProcedureName = default; Optional sqlWriterTableType = default; Optional preCopyScript = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; Optional storedProcedureTableTypeParameterName = default; Optional tableOption = default; string type = default; @@ -145,12 +139,7 @@ internal static AzureSqlSink DeserializeAzureSqlSink(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property0.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property.Value.GetObject(); continue; } if (property.NameEquals("storedProcedureTableTypeParameterName"u8)) @@ -224,7 +213,7 @@ internal static AzureSqlSink DeserializeAzureSqlSink(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new AzureSqlSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, Optional.ToDictionary(storedProcedureParameters), storedProcedureTableTypeParameterName.Value, tableOption.Value); + return new AzureSqlSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, storedProcedureParameters.Value, storedProcedureTableTypeParameterName.Value, tableOption.Value); } internal partial class AzureSqlSinkConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSink.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSink.cs index 998b55ab59d8..a12c21e3c5af 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSink.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSink.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { @@ -16,7 +15,6 @@ public partial class AzureSqlSink : CopySink /// Initializes a new instance of AzureSqlSink. public AzureSqlSink() { - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "AzureSqlSink"; } @@ -34,7 +32,7 @@ public AzureSqlSink() /// SQL stored procedure parameters. /// 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). - internal AzureSqlSink(string type, object writeBatchSize, object writeBatchTimeout, object sinkRetryCount, object sinkRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object sqlWriterStoredProcedureName, object sqlWriterTableType, object preCopyScript, IDictionary storedProcedureParameters, object storedProcedureTableTypeParameterName, object tableOption) : base(type, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, additionalProperties) + internal AzureSqlSink(string type, object writeBatchSize, object writeBatchTimeout, object sinkRetryCount, object sinkRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object sqlWriterStoredProcedureName, object sqlWriterTableType, object preCopyScript, object storedProcedureParameters, object storedProcedureTableTypeParameterName, object tableOption) : base(type, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; @@ -52,7 +50,7 @@ internal AzureSqlSink(string type, object writeBatchSize, object writeBatchTimeo /// SQL pre-copy script. Type: string (or Expression with resultType string). public object PreCopyScript { get; set; } /// SQL stored procedure parameters. - public IDictionary StoredProcedureParameters { get; } + public object StoredProcedureParameters { get; set; } /// The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). public object StoredProcedureTableTypeParameterName { get; set; } /// The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSource.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSource.Serialization.cs index 22f5f01b78f6..1e5720622c5f 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSource.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSource.Serialization.cs @@ -29,16 +29,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("sqlReaderStoredProcedureName"u8); writer.WriteObjectValue(SqlReaderStoredProcedureName); } - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } if (Optional.IsDefined(IsolationLevel)) { @@ -103,7 +97,7 @@ internal static AzureSqlSource DeserializeAzureSqlSource(JsonElement element) } Optional sqlReaderQuery = default; Optional sqlReaderStoredProcedureName = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; Optional isolationLevel = default; Optional produceAdditionalTypes = default; Optional partitionOption = default; @@ -142,12 +136,7 @@ internal static AzureSqlSource DeserializeAzureSqlSource(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property0.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property.Value.GetObject(); continue; } if (property.NameEquals("isolationLevel"u8)) @@ -239,7 +228,7 @@ internal static AzureSqlSource DeserializeAzureSqlSource(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new AzureSqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, Optional.ToDictionary(storedProcedureParameters), isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); + return new AzureSqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); } internal partial class AzureSqlSourceConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSource.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSource.cs index e357a5178ebf..f00b20a1670a 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSource.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSqlSource.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { @@ -16,7 +15,6 @@ public partial class AzureSqlSource : TabularSource /// Initializes a new instance of AzureSqlSource. public AzureSqlSource() { - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "AzureSqlSource"; } @@ -35,7 +33,7 @@ public AzureSqlSource() /// Which additional types to produce. /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal AzureSqlSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, IDictionary storedProcedureParameters, object isolationLevel, object produceAdditionalTypes, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) + internal AzureSqlSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, object storedProcedureParameters, object isolationLevel, object produceAdditionalTypes, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -52,7 +50,7 @@ internal AzureSqlSource(string type, object sourceRetryCount, object sourceRetry /// 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). public object SqlReaderStoredProcedureName { get; set; } /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - public IDictionary StoredProcedureParameters { get; } + public object 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 object IsolationLevel { get; set; } /// Which additional types to produce. diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FileServerReadSettings.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FileServerReadSettings.Serialization.cs index 72f8469764fa..8405bef18d6d 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FileServerReadSettings.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FileServerReadSettings.Serialization.cs @@ -42,7 +42,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(EnablePartitionDiscovery)) { writer.WritePropertyName("enablePartitionDiscovery"u8); - writer.WriteBooleanValue(EnablePartitionDiscovery.Value); + writer.WriteObjectValue(EnablePartitionDiscovery); } if (Optional.IsDefined(PartitionRootPath)) { @@ -94,7 +94,7 @@ internal static FileServerReadSettings DeserializeFileServerReadSettings(JsonEle Optional wildcardFolderPath = default; Optional wildcardFileName = default; Optional fileListPath = default; - Optional enablePartitionDiscovery = default; + Optional enablePartitionDiscovery = default; Optional partitionRootPath = default; Optional deleteFilesAfterCompletion = default; Optional modifiedDatetimeStart = default; @@ -148,7 +148,7 @@ internal static FileServerReadSettings DeserializeFileServerReadSettings(JsonEle { continue; } - enablePartitionDiscovery = property.Value.GetBoolean(); + enablePartitionDiscovery = property.Value.GetObject(); continue; } if (property.NameEquals("partitionRootPath"u8)) @@ -213,7 +213,7 @@ internal static FileServerReadSettings DeserializeFileServerReadSettings(JsonEle additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new FileServerReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, fileListPath.Value, Optional.ToNullable(enablePartitionDiscovery), partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, fileFilter.Value); + return new FileServerReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, fileFilter.Value); } internal partial class FileServerReadSettingsConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FileServerReadSettings.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FileServerReadSettings.cs index 3dca4693f92e..a88e1f2e5b56 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FileServerReadSettings.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FileServerReadSettings.cs @@ -26,13 +26,13 @@ public FileServerReadSettings() /// FileServer wildcardFolderPath. Type: string (or Expression with resultType string). /// FileServer wildcardFileName. Type: string (or Expression with resultType string). /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - /// Indicates whether to enable partition discovery. + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). /// 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). - internal FileServerReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object fileListPath, bool? enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd, object fileFilter) : base(type, maxConcurrentConnections, additionalProperties) + internal FileServerReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object fileListPath, object enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd, object fileFilter) : base(type, maxConcurrentConnections, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; @@ -55,8 +55,8 @@ internal FileServerReadSettings(string type, object maxConcurrentConnections, ID public object WildcardFileName { get; set; } /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). public object FileListPath { get; set; } - /// Indicates whether to enable partition discovery. - public bool? EnablePartitionDiscovery { get; set; } + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + public object EnablePartitionDiscovery { get; set; } /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). public object PartitionRootPath { get; set; } /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FtpReadSettings.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FtpReadSettings.Serialization.cs index 88443b0adba5..58ed08b79c48 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FtpReadSettings.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FtpReadSettings.Serialization.cs @@ -37,7 +37,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(EnablePartitionDiscovery)) { writer.WritePropertyName("enablePartitionDiscovery"u8); - writer.WriteBooleanValue(EnablePartitionDiscovery.Value); + writer.WriteObjectValue(EnablePartitionDiscovery); } if (Optional.IsDefined(PartitionRootPath)) { @@ -57,7 +57,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(UseBinaryTransfer)) { writer.WritePropertyName("useBinaryTransfer"u8); - writer.WriteBooleanValue(UseBinaryTransfer.Value); + writer.WriteObjectValue(UseBinaryTransfer); } if (Optional.IsDefined(DisableChunking)) { @@ -88,11 +88,11 @@ internal static FtpReadSettings DeserializeFtpReadSettings(JsonElement element) Optional recursive = default; Optional wildcardFolderPath = default; Optional wildcardFileName = default; - Optional enablePartitionDiscovery = default; + Optional enablePartitionDiscovery = default; Optional partitionRootPath = default; Optional deleteFilesAfterCompletion = default; Optional fileListPath = default; - Optional useBinaryTransfer = default; + Optional useBinaryTransfer = default; Optional disableChunking = default; string type = default; Optional maxConcurrentConnections = default; @@ -133,7 +133,7 @@ internal static FtpReadSettings DeserializeFtpReadSettings(JsonElement element) { continue; } - enablePartitionDiscovery = property.Value.GetBoolean(); + enablePartitionDiscovery = property.Value.GetObject(); continue; } if (property.NameEquals("partitionRootPath"u8)) @@ -169,7 +169,7 @@ internal static FtpReadSettings DeserializeFtpReadSettings(JsonElement element) { continue; } - useBinaryTransfer = property.Value.GetBoolean(); + useBinaryTransfer = property.Value.GetObject(); continue; } if (property.NameEquals("disableChunking"u8)) @@ -198,7 +198,7 @@ internal static FtpReadSettings DeserializeFtpReadSettings(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new FtpReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, Optional.ToNullable(enablePartitionDiscovery), partitionRootPath.Value, deleteFilesAfterCompletion.Value, fileListPath.Value, Optional.ToNullable(useBinaryTransfer), disableChunking.Value); + return new FtpReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, fileListPath.Value, useBinaryTransfer.Value, disableChunking.Value); } internal partial class FtpReadSettingsConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FtpReadSettings.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FtpReadSettings.cs index 3e61ef4f8557..81ad42072f89 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FtpReadSettings.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/FtpReadSettings.cs @@ -25,13 +25,13 @@ public FtpReadSettings() /// If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). /// Ftp wildcardFolderPath. Type: string (or Expression with resultType string). /// Ftp wildcardFileName. Type: string (or Expression with resultType string). - /// Indicates whether to enable partition discovery. + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - /// Specify whether to use binary transfer mode for FTP stores. + /// Specify whether to use binary transfer mode for FTP stores. Type: boolean (or Expression with resultType boolean). /// If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). - internal FtpReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, bool? enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object fileListPath, bool? useBinaryTransfer, object disableChunking) : base(type, maxConcurrentConnections, additionalProperties) + internal FtpReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object fileListPath, object useBinaryTransfer, object disableChunking) : base(type, maxConcurrentConnections, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; @@ -51,16 +51,16 @@ internal FtpReadSettings(string type, object maxConcurrentConnections, IDictiona public object WildcardFolderPath { get; set; } /// Ftp wildcardFileName. Type: string (or Expression with resultType string). public object WildcardFileName { get; set; } - /// Indicates whether to enable partition discovery. - public bool? EnablePartitionDiscovery { get; set; } + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + public object EnablePartitionDiscovery { get; set; } /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). public object PartitionRootPath { get; set; } /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). public object DeleteFilesAfterCompletion { get; set; } /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). public object FileListPath { get; set; } - /// Specify whether to use binary transfer mode for FTP stores. - public bool? UseBinaryTransfer { get; set; } + /// Specify whether to use binary transfer mode for FTP stores. Type: boolean (or Expression with resultType boolean). + public object UseBinaryTransfer { get; set; } /// If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). public object DisableChunking { get; set; } } diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/GoogleCloudStorageReadSettings.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/GoogleCloudStorageReadSettings.Serialization.cs index 41dfc0293724..c910eaa8a7b4 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/GoogleCloudStorageReadSettings.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/GoogleCloudStorageReadSettings.Serialization.cs @@ -47,7 +47,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(EnablePartitionDiscovery)) { writer.WritePropertyName("enablePartitionDiscovery"u8); - writer.WriteBooleanValue(EnablePartitionDiscovery.Value); + writer.WriteObjectValue(EnablePartitionDiscovery); } if (Optional.IsDefined(PartitionRootPath)) { @@ -95,7 +95,7 @@ internal static GoogleCloudStorageReadSettings DeserializeGoogleCloudStorageRead Optional wildcardFileName = default; Optional prefix = default; Optional fileListPath = default; - Optional enablePartitionDiscovery = default; + Optional enablePartitionDiscovery = default; Optional partitionRootPath = default; Optional deleteFilesAfterCompletion = default; Optional modifiedDatetimeStart = default; @@ -157,7 +157,7 @@ internal static GoogleCloudStorageReadSettings DeserializeGoogleCloudStorageRead { continue; } - enablePartitionDiscovery = property.Value.GetBoolean(); + enablePartitionDiscovery = property.Value.GetObject(); continue; } if (property.NameEquals("partitionRootPath"u8)) @@ -213,7 +213,7 @@ internal static GoogleCloudStorageReadSettings DeserializeGoogleCloudStorageRead additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new GoogleCloudStorageReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, Optional.ToNullable(enablePartitionDiscovery), partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); + return new GoogleCloudStorageReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, prefix.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value); } internal partial class GoogleCloudStorageReadSettingsConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/GoogleCloudStorageReadSettings.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/GoogleCloudStorageReadSettings.cs index 4396641329cf..e31e4cdf3e43 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/GoogleCloudStorageReadSettings.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/GoogleCloudStorageReadSettings.cs @@ -27,12 +27,12 @@ public GoogleCloudStorageReadSettings() /// Google Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). /// The prefix filter for the Google Cloud Storage object name. Type: string (or Expression with resultType string). /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - /// Indicates whether to enable partition discovery. + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). - internal GoogleCloudStorageReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object prefix, object fileListPath, bool? enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd) : base(type, maxConcurrentConnections, additionalProperties) + internal GoogleCloudStorageReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object prefix, object fileListPath, object enablePartitionDiscovery, object partitionRootPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd) : base(type, maxConcurrentConnections, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; @@ -57,8 +57,8 @@ internal GoogleCloudStorageReadSettings(string type, object maxConcurrentConnect public object Prefix { get; set; } /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). public object FileListPath { get; set; } - /// Indicates whether to enable partition discovery. - public bool? EnablePartitionDiscovery { get; set; } + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + public object EnablePartitionDiscovery { get; set; } /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). public object PartitionRootPath { get; set; } /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HdfsReadSettings.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HdfsReadSettings.Serialization.cs index c09d4eb112ff..dd610a1fd2f6 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HdfsReadSettings.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HdfsReadSettings.Serialization.cs @@ -42,7 +42,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(EnablePartitionDiscovery)) { writer.WritePropertyName("enablePartitionDiscovery"u8); - writer.WriteBooleanValue(EnablePartitionDiscovery.Value); + writer.WriteObjectValue(EnablePartitionDiscovery); } if (Optional.IsDefined(PartitionRootPath)) { @@ -94,7 +94,7 @@ internal static HdfsReadSettings DeserializeHdfsReadSettings(JsonElement element Optional wildcardFolderPath = default; Optional wildcardFileName = default; Optional fileListPath = default; - Optional enablePartitionDiscovery = default; + Optional enablePartitionDiscovery = default; Optional partitionRootPath = default; Optional modifiedDatetimeStart = default; Optional modifiedDatetimeEnd = default; @@ -148,7 +148,7 @@ internal static HdfsReadSettings DeserializeHdfsReadSettings(JsonElement element { continue; } - enablePartitionDiscovery = property.Value.GetBoolean(); + enablePartitionDiscovery = property.Value.GetObject(); continue; } if (property.NameEquals("partitionRootPath"u8)) @@ -213,7 +213,7 @@ internal static HdfsReadSettings DeserializeHdfsReadSettings(JsonElement element additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new HdfsReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, fileListPath.Value, Optional.ToNullable(enablePartitionDiscovery), partitionRootPath.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, distcpSettings.Value, deleteFilesAfterCompletion.Value); + return new HdfsReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, fileListPath.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, distcpSettings.Value, deleteFilesAfterCompletion.Value); } internal partial class HdfsReadSettingsConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HdfsReadSettings.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HdfsReadSettings.cs index 4722aaafd0d6..fefd180cc0bb 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HdfsReadSettings.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HdfsReadSettings.cs @@ -26,13 +26,13 @@ public HdfsReadSettings() /// HDFS wildcardFolderPath. Type: string (or Expression with resultType string). /// HDFS wildcardFileName. Type: string (or Expression with resultType string). /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - /// Indicates whether to enable partition discovery. + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). /// Specifies Distcp-related settings. /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). - internal HdfsReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object fileListPath, bool? enablePartitionDiscovery, object partitionRootPath, object modifiedDatetimeStart, object modifiedDatetimeEnd, DistcpSettings distcpSettings, object deleteFilesAfterCompletion) : base(type, maxConcurrentConnections, additionalProperties) + internal HdfsReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object fileListPath, object enablePartitionDiscovery, object partitionRootPath, object modifiedDatetimeStart, object modifiedDatetimeEnd, DistcpSettings distcpSettings, object deleteFilesAfterCompletion) : base(type, maxConcurrentConnections, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; @@ -55,8 +55,8 @@ internal HdfsReadSettings(string type, object maxConcurrentConnections, IDiction public object WildcardFileName { get; set; } /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). public object FileListPath { get; set; } - /// Indicates whether to enable partition discovery. - public bool? EnablePartitionDiscovery { get; set; } + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + public object EnablePartitionDiscovery { get; set; } /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). public object PartitionRootPath { get; set; } /// The start of file's modified datetime. Type: string (or Expression with resultType string). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HttpReadSettings.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HttpReadSettings.Serialization.cs index 6fc265ea21bf..6dd25e284b47 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HttpReadSettings.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HttpReadSettings.Serialization.cs @@ -42,13 +42,18 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(EnablePartitionDiscovery)) { writer.WritePropertyName("enablePartitionDiscovery"u8); - writer.WriteBooleanValue(EnablePartitionDiscovery.Value); + writer.WriteObjectValue(EnablePartitionDiscovery); } if (Optional.IsDefined(PartitionRootPath)) { writer.WritePropertyName("partitionRootPath"u8); writer.WriteObjectValue(PartitionRootPath); } + if (Optional.IsDefined(AdditionalColumns)) + { + writer.WritePropertyName("additionalColumns"u8); + writer.WriteObjectValue(AdditionalColumns); + } writer.WritePropertyName("type"u8); writer.WriteStringValue(Type); if (Optional.IsDefined(MaxConcurrentConnections)) @@ -74,8 +79,9 @@ internal static HttpReadSettings DeserializeHttpReadSettings(JsonElement element Optional requestBody = default; Optional additionalHeaders = default; Optional requestTimeout = default; - Optional enablePartitionDiscovery = default; + Optional enablePartitionDiscovery = default; Optional partitionRootPath = default; + Optional additionalColumns = default; string type = default; Optional maxConcurrentConnections = default; IDictionary additionalProperties = default; @@ -124,7 +130,7 @@ internal static HttpReadSettings DeserializeHttpReadSettings(JsonElement element { continue; } - enablePartitionDiscovery = property.Value.GetBoolean(); + enablePartitionDiscovery = property.Value.GetObject(); continue; } if (property.NameEquals("partitionRootPath"u8)) @@ -136,6 +142,15 @@ internal static HttpReadSettings DeserializeHttpReadSettings(JsonElement element partitionRootPath = property.Value.GetObject(); continue; } + if (property.NameEquals("additionalColumns"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + additionalColumns = property.Value.GetObject(); + continue; + } if (property.NameEquals("type"u8)) { type = property.Value.GetString(); @@ -153,7 +168,7 @@ internal static HttpReadSettings DeserializeHttpReadSettings(JsonElement element additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new HttpReadSettings(type, maxConcurrentConnections.Value, additionalProperties, requestMethod.Value, requestBody.Value, additionalHeaders.Value, requestTimeout.Value, Optional.ToNullable(enablePartitionDiscovery), partitionRootPath.Value); + return new HttpReadSettings(type, maxConcurrentConnections.Value, additionalProperties, requestMethod.Value, requestBody.Value, additionalHeaders.Value, requestTimeout.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, additionalColumns.Value); } internal partial class HttpReadSettingsConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HttpReadSettings.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HttpReadSettings.cs index b9836441dcc5..58561d50c9fd 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HttpReadSettings.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HttpReadSettings.cs @@ -9,7 +9,7 @@ namespace Azure.Analytics.Synapse.Artifacts.Models { - /// Sftp read settings. + /// Http read settings. public partial class HttpReadSettings : StoreReadSettings { /// Initializes a new instance of HttpReadSettings. @@ -26,9 +26,10 @@ public HttpReadSettings() /// 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. Type: string (or Expression with resultType string). /// Specifies the timeout for a HTTP client to get HTTP response from HTTP server. - /// Indicates whether to enable partition discovery. + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). - internal HttpReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object requestMethod, object requestBody, object additionalHeaders, object requestTimeout, bool? enablePartitionDiscovery, object partitionRootPath) : base(type, maxConcurrentConnections, additionalProperties) + /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + internal HttpReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object requestMethod, object requestBody, object additionalHeaders, object requestTimeout, object enablePartitionDiscovery, object partitionRootPath, object additionalColumns) : base(type, maxConcurrentConnections, additionalProperties) { RequestMethod = requestMethod; RequestBody = requestBody; @@ -36,6 +37,7 @@ internal HttpReadSettings(string type, object maxConcurrentConnections, IDiction RequestTimeout = requestTimeout; EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; + AdditionalColumns = additionalColumns; Type = type ?? "HttpReadSettings"; } @@ -47,9 +49,11 @@ internal HttpReadSettings(string type, object maxConcurrentConnections, IDiction public object AdditionalHeaders { get; set; } /// Specifies the timeout for a HTTP client to get HTTP response from HTTP server. public object RequestTimeout { get; set; } - /// Indicates whether to enable partition discovery. - public bool? EnablePartitionDiscovery { get; set; } + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + public object EnablePartitionDiscovery { get; set; } /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). public object PartitionRootPath { get; set; } + /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + public object AdditionalColumns { get; set; } } } diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookResult.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookResult.Serialization.cs index ca7d4e63349e..90d4a038a2b7 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookResult.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookResult.Serialization.cs @@ -24,7 +24,7 @@ internal static RunNotebookResult DeserializeRunNotebookResult(JsonElement eleme Optional runId = default; Optional runStatus = default; Optional lastCheckedOn = default; - Optional sessionId = default; + Optional sessionId = default; Optional sparkPool = default; Optional sessionDetail = default; Optional exitValue = default; @@ -48,11 +48,7 @@ internal static RunNotebookResult DeserializeRunNotebookResult(JsonElement eleme } if (property.NameEquals("sessionId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - sessionId = property.Value.GetInt64(); + sessionId = property.Value.GetString(); continue; } if (property.NameEquals("sparkPool"u8)) @@ -84,7 +80,7 @@ internal static RunNotebookResult DeserializeRunNotebookResult(JsonElement eleme continue; } } - return new RunNotebookResult(runId.Value, runStatus.Value, lastCheckedOn.Value, Optional.ToNullable(sessionId), sparkPool.Value, sessionDetail.Value, exitValue.Value, error.Value); + return new RunNotebookResult(runId.Value, runStatus.Value, lastCheckedOn.Value, sessionId.Value, sparkPool.Value, sessionDetail.Value, exitValue.Value, error.Value); } internal partial class RunNotebookResultConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookResult.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookResult.cs index 15d3bcdb15ab..b591ff6631ad 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookResult.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookResult.cs @@ -24,7 +24,7 @@ internal RunNotebookResult() /// Run notebook session details. /// Output of exit command. /// Run notebook error. - internal RunNotebookResult(string runId, string runStatus, string lastCheckedOn, long? sessionId, string sparkPool, object sessionDetail, string exitValue, RunNotebookError error) + internal RunNotebookResult(string runId, string runStatus, string lastCheckedOn, string sessionId, string sparkPool, object sessionDetail, string exitValue, RunNotebookError error) { RunId = runId; RunStatus = runStatus; @@ -43,7 +43,7 @@ internal RunNotebookResult(string runId, string runStatus, string lastCheckedOn, /// Timestamp of last update. public string LastCheckedOn { get; } /// Livy session id. - public long? SessionId { get; } + public string SessionId { get; } /// SparkPool name. public string SparkPool { get; } /// Run notebook session details. diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshot.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshot.Serialization.cs index c43071812cba..45723d26c705 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshot.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshot.Serialization.cs @@ -27,7 +27,7 @@ internal static RunNotebookSnapshot DeserializeRunNotebookSnapshot(JsonElement e string notebook = default; Optional sessionOptions = default; Optional honorSessionTimeToLive = default; - Optional sessionId = default; + Optional sessionId = default; Optional sparkPool = default; Optional> parameters = default; Optional notebookContent = default; @@ -68,11 +68,7 @@ internal static RunNotebookSnapshot DeserializeRunNotebookSnapshot(JsonElement e } if (property.NameEquals("sessionId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - sessionId = property.Value.GetInt64(); + sessionId = property.Value.GetString(); continue; } if (property.NameEquals("sparkPool"u8)) @@ -104,7 +100,7 @@ internal static RunNotebookSnapshot DeserializeRunNotebookSnapshot(JsonElement e continue; } } - return new RunNotebookSnapshot(exitValue.Value, id, notebook, sessionOptions.Value, Optional.ToNullable(honorSessionTimeToLive), Optional.ToNullable(sessionId), sparkPool.Value, Optional.ToDictionary(parameters), notebookContent.Value); + return new RunNotebookSnapshot(exitValue.Value, id, notebook, sessionOptions.Value, Optional.ToNullable(honorSessionTimeToLive), sessionId.Value, sparkPool.Value, Optional.ToDictionary(parameters), notebookContent.Value); } internal partial class RunNotebookSnapshotConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshot.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshot.cs index 2434f587b6bd..46010a765bfa 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshot.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshot.cs @@ -38,7 +38,7 @@ internal RunNotebookSnapshot(string id, string notebook) /// SparkPool name. /// Run notebook parameters. /// Notebook resource type. - internal RunNotebookSnapshot(string exitValue, string id, string notebook, RunNotebookSparkSessionOptions sessionOptions, bool? honorSessionTimeToLive, long? sessionId, string sparkPool, IReadOnlyDictionary parameters, NotebookResource notebookContent) + internal RunNotebookSnapshot(string exitValue, string id, string notebook, RunNotebookSparkSessionOptions sessionOptions, bool? honorSessionTimeToLive, string sessionId, string sparkPool, IReadOnlyDictionary parameters, NotebookResource notebookContent) { ExitValue = exitValue; Id = id; @@ -62,7 +62,7 @@ internal RunNotebookSnapshot(string exitValue, string id, string notebook, RunNo /// Whether session should run till time to live after run completes. public bool? HonorSessionTimeToLive { get; } /// Livy session id. - public long? SessionId { get; } + public string SessionId { get; } /// SparkPool name. public string SparkPool { get; } /// Run notebook parameters. diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshotResult.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshotResult.Serialization.cs index 183d3f66f1c3..d98ad67f1ae4 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshotResult.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshotResult.Serialization.cs @@ -26,7 +26,7 @@ internal static RunNotebookSnapshotResult DeserializeRunNotebookSnapshotResult(J string runId = default; string runStatus = default; Optional lastCheckedOn = default; - Optional sessionId = default; + Optional sessionId = default; Optional sparkPool = default; foreach (var property in element.EnumerateObject()) { @@ -61,11 +61,7 @@ internal static RunNotebookSnapshotResult DeserializeRunNotebookSnapshotResult(J } if (property.NameEquals("sessionId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - sessionId = property.Value.GetInt64(); + sessionId = property.Value.GetString(); continue; } if (property.NameEquals("sparkPool"u8)) @@ -74,7 +70,7 @@ internal static RunNotebookSnapshotResult DeserializeRunNotebookSnapshotResult(J continue; } } - return new RunNotebookSnapshotResult(snapshot, error.Value, runId, runStatus, lastCheckedOn.Value, Optional.ToNullable(sessionId), sparkPool.Value); + return new RunNotebookSnapshotResult(snapshot, error.Value, runId, runStatus, lastCheckedOn.Value, sessionId.Value, sparkPool.Value); } internal partial class RunNotebookSnapshotResultConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshotResult.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshotResult.cs index 7e9ec0e6a5be..05bdd60a4b02 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshotResult.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunNotebookSnapshotResult.cs @@ -37,7 +37,7 @@ internal RunNotebookSnapshotResult(RunNotebookSnapshot snapshot, string runId, s /// Timestamp of last update. /// Livy session id. /// SparkPool name. - internal RunNotebookSnapshotResult(RunNotebookSnapshot snapshot, RunNotebookError error, string runId, string runStatus, string lastCheckedOn, long? sessionId, string sparkPool) + internal RunNotebookSnapshotResult(RunNotebookSnapshot snapshot, RunNotebookError error, string runId, string runStatus, string lastCheckedOn, string sessionId, string sparkPool) { Snapshot = snapshot; Error = error; @@ -59,7 +59,7 @@ internal RunNotebookSnapshotResult(RunNotebookSnapshot snapshot, RunNotebookErro /// Timestamp of last update. public string LastCheckedOn { get; } /// Livy session id. - public long? SessionId { get; } + public string SessionId { get; } /// SparkPool name. public string SparkPool { get; } } diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaPartitionOption.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaPartitionOption.cs index 2e05a0289cd3..e4c4c5845629 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaPartitionOption.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaPartitionOption.cs @@ -11,7 +11,7 @@ namespace Azure.Analytics.Synapse.Artifacts.Models { /// The partition mechanism that will be used for SAP HANA read in parallel. - public readonly partial struct SapHanaPartitionOption : IEquatable + internal readonly partial struct SapHanaPartitionOption : IEquatable { private readonly string _value; diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaSource.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaSource.Serialization.cs index fb028db59124..5f54817432ee 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaSource.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaSource.Serialization.cs @@ -32,7 +32,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(PartitionOption)) { writer.WritePropertyName("partitionOption"u8); - writer.WriteStringValue(PartitionOption.Value.ToString()); + writer.WriteObjectValue(PartitionOption); } if (Optional.IsDefined(PartitionSettings)) { @@ -82,7 +82,7 @@ internal static SapHanaSource DeserializeSapHanaSource(JsonElement element) } Optional query = default; Optional packetSize = default; - Optional partitionOption = default; + Optional partitionOption = default; Optional partitionSettings = default; Optional queryTimeout = default; Optional additionalColumns = default; @@ -118,7 +118,7 @@ internal static SapHanaSource DeserializeSapHanaSource(JsonElement element) { continue; } - partitionOption = new SapHanaPartitionOption(property.Value.GetString()); + partitionOption = property.Value.GetObject(); continue; } if (property.NameEquals("partitionSettings"u8)) @@ -183,7 +183,7 @@ internal static SapHanaSource DeserializeSapHanaSource(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SapHanaSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, packetSize.Value, Optional.ToNullable(partitionOption), partitionSettings.Value); + return new SapHanaSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, query.Value, packetSize.Value, partitionOption.Value, partitionSettings.Value); } internal partial class SapHanaSourceConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaSource.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaSource.cs index e355f8f64d04..6ffdb9015d00 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaSource.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapHanaSource.cs @@ -28,9 +28,9 @@ public SapHanaSource() /// Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). /// SAP HANA Sql query. Type: string (or Expression with resultType string). /// The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). - /// The partition mechanism that will be used for SAP HANA read in parallel. + /// The partition mechanism that will be used for SAP HANA read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". /// The settings that will be leveraged for SAP HANA source partitioning. - internal SapHanaSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object query, object packetSize, SapHanaPartitionOption? partitionOption, SapHanaPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) + internal SapHanaSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object query, object packetSize, object partitionOption, SapHanaPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) { Query = query; PacketSize = packetSize; @@ -43,8 +43,8 @@ internal SapHanaSource(string type, object sourceRetryCount, object sourceRetryW public object Query { get; set; } /// The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). public object PacketSize { get; set; } - /// The partition mechanism that will be used for SAP HANA read in parallel. - public SapHanaPartitionOption? PartitionOption { get; set; } + /// The partition mechanism that will be used for SAP HANA read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". + public object PartitionOption { get; set; } /// The settings that will be leveraged for SAP HANA source partitioning. public SapHanaPartitionSettings PartitionSettings { get; set; } } diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTablePartitionOption.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTablePartitionOption.cs index 3e6cb959b3f9..c2226509782b 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTablePartitionOption.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTablePartitionOption.cs @@ -11,7 +11,7 @@ namespace Azure.Analytics.Synapse.Artifacts.Models { /// The partition mechanism that will be used for SAP table read in parallel. - public readonly partial struct SapTablePartitionOption : IEquatable + internal readonly partial struct SapTablePartitionOption : IEquatable { private readonly string _value; diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTableSource.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTableSource.Serialization.cs index a68091c98a4b..26a0316b3ed8 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTableSource.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTableSource.Serialization.cs @@ -57,7 +57,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(PartitionOption)) { writer.WritePropertyName("partitionOption"u8); - writer.WriteStringValue(PartitionOption.Value.ToString()); + writer.WriteObjectValue(PartitionOption); } if (Optional.IsDefined(PartitionSettings)) { @@ -112,7 +112,7 @@ internal static SapTableSource DeserializeSapTableSource(JsonElement element) Optional batchSize = default; Optional customRfcReadTableFunctionModule = default; Optional sapDataColumnDelimiter = default; - Optional partitionOption = default; + Optional partitionOption = default; Optional partitionSettings = default; Optional queryTimeout = default; Optional additionalColumns = default; @@ -193,7 +193,7 @@ internal static SapTableSource DeserializeSapTableSource(JsonElement element) { continue; } - partitionOption = new SapTablePartitionOption(property.Value.GetString()); + partitionOption = property.Value.GetObject(); continue; } if (property.NameEquals("partitionSettings"u8)) @@ -258,7 +258,7 @@ internal static SapTableSource DeserializeSapTableSource(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SapTableSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, rowCount.Value, rowSkips.Value, rfcTableFields.Value, rfcTableOptions.Value, batchSize.Value, customRfcReadTableFunctionModule.Value, sapDataColumnDelimiter.Value, Optional.ToNullable(partitionOption), partitionSettings.Value); + return new SapTableSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, rowCount.Value, rowSkips.Value, rfcTableFields.Value, rfcTableOptions.Value, batchSize.Value, customRfcReadTableFunctionModule.Value, sapDataColumnDelimiter.Value, partitionOption.Value, partitionSettings.Value); } internal partial class SapTableSourceConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTableSource.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTableSource.cs index 6990b47f3197..8a98e3f42b59 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTableSource.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapTableSource.cs @@ -33,9 +33,9 @@ public SapTableSource() /// Specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer). /// Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). /// The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). - /// The partition mechanism that will be used for SAP table read in parallel. + /// The partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime". /// The settings that will be leveraged for SAP table source partitioning. - internal SapTableSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object rowCount, object rowSkips, object rfcTableFields, object rfcTableOptions, object batchSize, object customRfcReadTableFunctionModule, object sapDataColumnDelimiter, SapTablePartitionOption? partitionOption, SapTablePartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) + internal SapTableSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object rowCount, object rowSkips, object rfcTableFields, object rfcTableOptions, object batchSize, object customRfcReadTableFunctionModule, object sapDataColumnDelimiter, object partitionOption, SapTablePartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) { RowCount = rowCount; RowSkips = rowSkips; @@ -63,8 +63,8 @@ internal SapTableSource(string type, object sourceRetryCount, object sourceRetry public object CustomRfcReadTableFunctionModule { get; set; } /// The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). public object SapDataColumnDelimiter { get; set; } - /// The partition mechanism that will be used for SAP table read in parallel. - public SapTablePartitionOption? PartitionOption { get; set; } + /// The partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime". + public object PartitionOption { get; set; } /// The settings that will be leveraged for SAP table source partitioning. public SapTablePartitionSettings PartitionSettings { get; set; } } diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/ScriptActivity.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/ScriptActivity.Serialization.cs index 5f2e459ac7c2..cb56f2ad1820 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/ScriptActivity.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/ScriptActivity.Serialization.cs @@ -70,6 +70,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) } writer.WritePropertyName("typeProperties"u8); writer.WriteStartObject(); + if (Optional.IsDefined(ScriptBlockExecutionTimeout)) + { + writer.WritePropertyName("scriptBlockExecutionTimeout"u8); + writer.WriteObjectValue(ScriptBlockExecutionTimeout); + } if (Optional.IsCollectionDefined(Scripts)) { writer.WritePropertyName("scripts"u8); @@ -109,6 +114,7 @@ internal static ScriptActivity DeserializeScriptActivity(JsonElement element) Optional onInactiveMarkAs = default; Optional> dependsOn = default; Optional> userProperties = default; + Optional scriptBlockExecutionTimeout = default; Optional> scripts = default; Optional logSettings = default; IDictionary additionalProperties = default; @@ -203,6 +209,15 @@ internal static ScriptActivity DeserializeScriptActivity(JsonElement element) } foreach (var property0 in property.Value.EnumerateObject()) { + if (property0.NameEquals("scriptBlockExecutionTimeout"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + scriptBlockExecutionTimeout = property0.Value.GetObject(); + continue; + } if (property0.NameEquals("scripts"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -232,7 +247,7 @@ internal static ScriptActivity DeserializeScriptActivity(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new ScriptActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName.Value, policy.Value, Optional.ToList(scripts), logSettings.Value); + return new ScriptActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, linkedServiceName.Value, policy.Value, scriptBlockExecutionTimeout.Value, Optional.ToList(scripts), logSettings.Value); } internal partial class ScriptActivityConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/ScriptActivity.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/ScriptActivity.cs index ef43906b292c..fc7cf6942530 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/ScriptActivity.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/ScriptActivity.cs @@ -36,15 +36,19 @@ public ScriptActivity(string name) : base(name) /// Additional Properties. /// Linked service reference. /// Activity policy. + /// ScriptBlock execution timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Array of script blocks. Type: array. /// Log settings of script activity. - internal ScriptActivity(string name, string type, string description, ActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, LinkedServiceReference linkedServiceName, ActivityPolicy policy, IList scripts, ScriptActivityTypePropertiesLogSettings logSettings) : base(name, type, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + internal ScriptActivity(string name, string type, string description, ActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, LinkedServiceReference linkedServiceName, ActivityPolicy policy, object scriptBlockExecutionTimeout, IList scripts, ScriptActivityTypePropertiesLogSettings logSettings) : base(name, type, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { + ScriptBlockExecutionTimeout = scriptBlockExecutionTimeout; Scripts = scripts; LogSettings = logSettings; Type = type ?? "Script"; } + /// ScriptBlock execution timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + public object ScriptBlockExecutionTimeout { get; set; } /// Array of script blocks. Type: array. public IList Scripts { get; } /// Log settings of script activity. diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SftpReadSettings.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SftpReadSettings.Serialization.cs index 78f000e4a34a..6115f34fbfe6 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SftpReadSettings.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SftpReadSettings.Serialization.cs @@ -37,7 +37,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(EnablePartitionDiscovery)) { writer.WritePropertyName("enablePartitionDiscovery"u8); - writer.WriteBooleanValue(EnablePartitionDiscovery.Value); + writer.WriteObjectValue(EnablePartitionDiscovery); } if (Optional.IsDefined(PartitionRootPath)) { @@ -93,7 +93,7 @@ internal static SftpReadSettings DeserializeSftpReadSettings(JsonElement element Optional recursive = default; Optional wildcardFolderPath = default; Optional wildcardFileName = default; - Optional enablePartitionDiscovery = default; + Optional enablePartitionDiscovery = default; Optional partitionRootPath = default; Optional fileListPath = default; Optional deleteFilesAfterCompletion = default; @@ -139,7 +139,7 @@ internal static SftpReadSettings DeserializeSftpReadSettings(JsonElement element { continue; } - enablePartitionDiscovery = property.Value.GetBoolean(); + enablePartitionDiscovery = property.Value.GetObject(); continue; } if (property.NameEquals("partitionRootPath"u8)) @@ -213,7 +213,7 @@ internal static SftpReadSettings DeserializeSftpReadSettings(JsonElement element additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SftpReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, Optional.ToNullable(enablePartitionDiscovery), partitionRootPath.Value, fileListPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, disableChunking.Value); + return new SftpReadSettings(type, maxConcurrentConnections.Value, additionalProperties, recursive.Value, wildcardFolderPath.Value, wildcardFileName.Value, enablePartitionDiscovery.Value, partitionRootPath.Value, fileListPath.Value, deleteFilesAfterCompletion.Value, modifiedDatetimeStart.Value, modifiedDatetimeEnd.Value, disableChunking.Value); } internal partial class SftpReadSettingsConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SftpReadSettings.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SftpReadSettings.cs index b24c13e6e544..c04abdb5f813 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SftpReadSettings.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SftpReadSettings.cs @@ -25,14 +25,14 @@ public SftpReadSettings() /// If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). /// Sftp wildcardFolderPath. Type: string (or Expression with resultType string). /// Sftp wildcardFileName. Type: string (or Expression with resultType string). - /// Indicates whether to enable partition discovery. + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). /// Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). /// The start of file's modified datetime. Type: string (or Expression with resultType string). /// The end of file's modified datetime. Type: string (or Expression with resultType string). /// If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). - internal SftpReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, bool? enablePartitionDiscovery, object partitionRootPath, object fileListPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd, object disableChunking) : base(type, maxConcurrentConnections, additionalProperties) + internal SftpReadSettings(string type, object maxConcurrentConnections, IDictionary additionalProperties, object recursive, object wildcardFolderPath, object wildcardFileName, object enablePartitionDiscovery, object partitionRootPath, object fileListPath, object deleteFilesAfterCompletion, object modifiedDatetimeStart, object modifiedDatetimeEnd, object disableChunking) : base(type, maxConcurrentConnections, additionalProperties) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; @@ -53,8 +53,8 @@ internal SftpReadSettings(string type, object maxConcurrentConnections, IDiction public object WildcardFolderPath { get; set; } /// Sftp wildcardFileName. Type: string (or Expression with resultType string). public object WildcardFileName { get; set; } - /// Indicates whether to enable partition discovery. - public bool? EnablePartitionDiscovery { get; set; } + /// Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + public object EnablePartitionDiscovery { get; set; } /// Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). public object PartitionRootPath { get; set; } /// Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISink.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISink.Serialization.cs index efed409df2b6..39170a10add4 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISink.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISink.Serialization.cs @@ -34,16 +34,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("preCopyScript"u8); writer.WriteObjectValue(PreCopyScript); } - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } if (Optional.IsDefined(StoredProcedureTableTypeParameterName)) { @@ -99,7 +93,7 @@ internal static SqlMISink DeserializeSqlMISink(JsonElement element) Optional sqlWriterStoredProcedureName = default; Optional sqlWriterTableType = default; Optional preCopyScript = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; Optional storedProcedureTableTypeParameterName = default; Optional tableOption = default; string type = default; @@ -145,12 +139,7 @@ internal static SqlMISink DeserializeSqlMISink(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property0.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property.Value.GetObject(); continue; } if (property.NameEquals("storedProcedureTableTypeParameterName"u8)) @@ -224,7 +213,7 @@ internal static SqlMISink DeserializeSqlMISink(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SqlMISink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, Optional.ToDictionary(storedProcedureParameters), storedProcedureTableTypeParameterName.Value, tableOption.Value); + return new SqlMISink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, storedProcedureParameters.Value, storedProcedureTableTypeParameterName.Value, tableOption.Value); } internal partial class SqlMISinkConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISink.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISink.cs index 9aa957011ac2..427579c9279e 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISink.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISink.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { @@ -16,7 +15,6 @@ public partial class SqlMISink : CopySink /// Initializes a new instance of SqlMISink. public SqlMISink() { - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "SqlMISink"; } @@ -34,7 +32,7 @@ public SqlMISink() /// SQL stored procedure parameters. /// 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). - internal SqlMISink(string type, object writeBatchSize, object writeBatchTimeout, object sinkRetryCount, object sinkRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object sqlWriterStoredProcedureName, object sqlWriterTableType, object preCopyScript, IDictionary storedProcedureParameters, object storedProcedureTableTypeParameterName, object tableOption) : base(type, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, additionalProperties) + internal SqlMISink(string type, object writeBatchSize, object writeBatchTimeout, object sinkRetryCount, object sinkRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object sqlWriterStoredProcedureName, object sqlWriterTableType, object preCopyScript, object storedProcedureParameters, object storedProcedureTableTypeParameterName, object tableOption) : base(type, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; @@ -52,7 +50,7 @@ internal SqlMISink(string type, object writeBatchSize, object writeBatchTimeout, /// SQL pre-copy script. Type: string (or Expression with resultType string). public object PreCopyScript { get; set; } /// SQL stored procedure parameters. - public IDictionary StoredProcedureParameters { get; } + public object StoredProcedureParameters { get; set; } /// The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). public object StoredProcedureTableTypeParameterName { get; set; } /// The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISource.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISource.Serialization.cs index a9b25bc09a3d..29eb5834928e 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISource.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISource.Serialization.cs @@ -29,16 +29,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("sqlReaderStoredProcedureName"u8); writer.WriteObjectValue(SqlReaderStoredProcedureName); } - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } if (Optional.IsDefined(IsolationLevel)) { @@ -103,7 +97,7 @@ internal static SqlMISource DeserializeSqlMISource(JsonElement element) } Optional sqlReaderQuery = default; Optional sqlReaderStoredProcedureName = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; Optional isolationLevel = default; Optional produceAdditionalTypes = default; Optional partitionOption = default; @@ -142,12 +136,7 @@ internal static SqlMISource DeserializeSqlMISource(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property0.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property.Value.GetObject(); continue; } if (property.NameEquals("isolationLevel"u8)) @@ -239,7 +228,7 @@ internal static SqlMISource DeserializeSqlMISource(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SqlMISource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, Optional.ToDictionary(storedProcedureParameters), isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); + return new SqlMISource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); } internal partial class SqlMISourceConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISource.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISource.cs index 6b7e4a4c8c99..528f3cbd3a40 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISource.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlMISource.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { @@ -16,7 +15,6 @@ public partial class SqlMISource : TabularSource /// Initializes a new instance of SqlMISource. public SqlMISource() { - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "SqlMISource"; } @@ -35,7 +33,7 @@ public SqlMISource() /// Which additional types to produce. /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal SqlMISource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, IDictionary storedProcedureParameters, object isolationLevel, object produceAdditionalTypes, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) + internal SqlMISource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, object storedProcedureParameters, object isolationLevel, object produceAdditionalTypes, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -52,7 +50,7 @@ internal SqlMISource(string type, object sourceRetryCount, object sourceRetryWai /// Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). public object SqlReaderStoredProcedureName { get; set; } /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - public IDictionary StoredProcedureParameters { get; } + public object 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 object IsolationLevel { get; set; } /// Which additional types to produce. diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlPoolStoredProcedureActivity.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlPoolStoredProcedureActivity.Serialization.cs index 0ea4799d0e4d..289d7f7df94e 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlPoolStoredProcedureActivity.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlPoolStoredProcedureActivity.Serialization.cs @@ -64,16 +64,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStartObject(); writer.WritePropertyName("storedProcedureName"u8); writer.WriteObjectValue(StoredProcedureName); - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } writer.WriteEndObject(); foreach (var item in AdditionalProperties) @@ -99,7 +93,7 @@ internal static SqlPoolStoredProcedureActivity DeserializeSqlPoolStoredProcedure Optional> dependsOn = default; Optional> userProperties = default; object storedProcedureName = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -190,12 +184,7 @@ internal static SqlPoolStoredProcedureActivity DeserializeSqlPoolStoredProcedure { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property1 in property0.Value.EnumerateObject()) - { - dictionary.Add(property1.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property1.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property0.Value.GetObject(); continue; } } @@ -204,7 +193,7 @@ internal static SqlPoolStoredProcedureActivity DeserializeSqlPoolStoredProcedure additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SqlPoolStoredProcedureActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, sqlPool, storedProcedureName, Optional.ToDictionary(storedProcedureParameters)); + return new SqlPoolStoredProcedureActivity(name, type, description.Value, Optional.ToNullable(state), Optional.ToNullable(onInactiveMarkAs), Optional.ToList(dependsOn), Optional.ToList(userProperties), additionalProperties, sqlPool, storedProcedureName, storedProcedureParameters.Value); } internal partial class SqlPoolStoredProcedureActivityConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlPoolStoredProcedureActivity.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlPoolStoredProcedureActivity.cs index a0d1b1c1c04f..e555d7b2f051 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlPoolStoredProcedureActivity.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlPoolStoredProcedureActivity.cs @@ -27,7 +27,6 @@ public SqlPoolStoredProcedureActivity(string name, SqlPoolReference sqlPool, obj SqlPool = sqlPool; StoredProcedureName = storedProcedureName; - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "SqlPoolStoredProcedure"; } @@ -43,7 +42,7 @@ public SqlPoolStoredProcedureActivity(string name, SqlPoolReference sqlPool, obj /// SQL pool stored procedure reference. /// Stored procedure name. Type: string (or Expression with resultType string). /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - internal SqlPoolStoredProcedureActivity(string name, string type, string description, ActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, SqlPoolReference sqlPool, object storedProcedureName, IDictionary storedProcedureParameters) : base(name, type, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) + internal SqlPoolStoredProcedureActivity(string name, string type, string description, ActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, SqlPoolReference sqlPool, object storedProcedureName, object storedProcedureParameters) : base(name, type, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties) { SqlPool = sqlPool; StoredProcedureName = storedProcedureName; @@ -56,6 +55,6 @@ internal SqlPoolStoredProcedureActivity(string name, string type, string descrip /// Stored procedure name. Type: string (or Expression with resultType string). public object StoredProcedureName { get; set; } /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - public IDictionary StoredProcedureParameters { get; } + public object StoredProcedureParameters { get; set; } } } diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSink.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSink.Serialization.cs index 497855df3f25..fd7bd360842b 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSink.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSink.Serialization.cs @@ -34,16 +34,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("preCopyScript"u8); writer.WriteObjectValue(PreCopyScript); } - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } if (Optional.IsDefined(StoredProcedureTableTypeParameterName)) { @@ -99,7 +93,7 @@ internal static SqlServerSink DeserializeSqlServerSink(JsonElement element) Optional sqlWriterStoredProcedureName = default; Optional sqlWriterTableType = default; Optional preCopyScript = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; Optional storedProcedureTableTypeParameterName = default; Optional tableOption = default; string type = default; @@ -145,12 +139,7 @@ internal static SqlServerSink DeserializeSqlServerSink(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property0.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property.Value.GetObject(); continue; } if (property.NameEquals("storedProcedureTableTypeParameterName"u8)) @@ -224,7 +213,7 @@ internal static SqlServerSink DeserializeSqlServerSink(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SqlServerSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, Optional.ToDictionary(storedProcedureParameters), storedProcedureTableTypeParameterName.Value, tableOption.Value); + return new SqlServerSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, storedProcedureParameters.Value, storedProcedureTableTypeParameterName.Value, tableOption.Value); } internal partial class SqlServerSinkConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSink.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSink.cs index 6a9296069e5c..6533f1fdd3ac 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSink.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSink.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { @@ -16,7 +15,6 @@ public partial class SqlServerSink : CopySink /// Initializes a new instance of SqlServerSink. public SqlServerSink() { - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "SqlServerSink"; } @@ -34,7 +32,7 @@ public SqlServerSink() /// SQL stored procedure parameters. /// 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). - internal SqlServerSink(string type, object writeBatchSize, object writeBatchTimeout, object sinkRetryCount, object sinkRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object sqlWriterStoredProcedureName, object sqlWriterTableType, object preCopyScript, IDictionary storedProcedureParameters, object storedProcedureTableTypeParameterName, object tableOption) : base(type, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, additionalProperties) + internal SqlServerSink(string type, object writeBatchSize, object writeBatchTimeout, object sinkRetryCount, object sinkRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object sqlWriterStoredProcedureName, object sqlWriterTableType, object preCopyScript, object storedProcedureParameters, object storedProcedureTableTypeParameterName, object tableOption) : base(type, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; @@ -52,7 +50,7 @@ internal SqlServerSink(string type, object writeBatchSize, object writeBatchTime /// SQL pre-copy script. Type: string (or Expression with resultType string). public object PreCopyScript { get; set; } /// SQL stored procedure parameters. - public IDictionary StoredProcedureParameters { get; } + public object StoredProcedureParameters { get; set; } /// The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). public object StoredProcedureTableTypeParameterName { get; set; } /// The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSource.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSource.Serialization.cs index 47438d1687fd..549bf5c5506f 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSource.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSource.Serialization.cs @@ -29,16 +29,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("sqlReaderStoredProcedureName"u8); writer.WriteObjectValue(SqlReaderStoredProcedureName); } - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } if (Optional.IsDefined(IsolationLevel)) { @@ -103,7 +97,7 @@ internal static SqlServerSource DeserializeSqlServerSource(JsonElement element) } Optional sqlReaderQuery = default; Optional sqlReaderStoredProcedureName = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; Optional isolationLevel = default; Optional produceAdditionalTypes = default; Optional partitionOption = default; @@ -142,12 +136,7 @@ internal static SqlServerSource DeserializeSqlServerSource(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property0.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property.Value.GetObject(); continue; } if (property.NameEquals("isolationLevel"u8)) @@ -239,7 +228,7 @@ internal static SqlServerSource DeserializeSqlServerSource(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SqlServerSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, Optional.ToDictionary(storedProcedureParameters), isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); + return new SqlServerSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, produceAdditionalTypes.Value, partitionOption.Value, partitionSettings.Value); } internal partial class SqlServerSourceConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSource.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSource.cs index 26a9d55a0f0f..9ed5d4c4159d 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSource.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlServerSource.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { @@ -16,7 +15,6 @@ public partial class SqlServerSource : TabularSource /// Initializes a new instance of SqlServerSource. public SqlServerSource() { - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "SqlServerSource"; } @@ -35,7 +33,7 @@ public SqlServerSource() /// Which additional types to produce. /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". /// The settings that will be leveraged for Sql source partitioning. - internal SqlServerSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, IDictionary storedProcedureParameters, object isolationLevel, object produceAdditionalTypes, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) + internal SqlServerSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, object storedProcedureParameters, object isolationLevel, object produceAdditionalTypes, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -52,7 +50,7 @@ internal SqlServerSource(string type, object sourceRetryCount, object sourceRetr /// 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). public object SqlReaderStoredProcedureName { get; set; } /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - public IDictionary StoredProcedureParameters { get; } + public object 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 object IsolationLevel { get; set; } /// Which additional types to produce. diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSink.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSink.Serialization.cs index a4102910a2e6..960c94be5b4c 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSink.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSink.Serialization.cs @@ -34,16 +34,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("preCopyScript"u8); writer.WriteObjectValue(PreCopyScript); } - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } if (Optional.IsDefined(StoredProcedureTableTypeParameterName)) { @@ -99,7 +93,7 @@ internal static SqlSink DeserializeSqlSink(JsonElement element) Optional sqlWriterStoredProcedureName = default; Optional sqlWriterTableType = default; Optional preCopyScript = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; Optional storedProcedureTableTypeParameterName = default; Optional tableOption = default; string type = default; @@ -145,12 +139,7 @@ internal static SqlSink DeserializeSqlSink(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property0.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property.Value.GetObject(); continue; } if (property.NameEquals("storedProcedureTableTypeParameterName"u8)) @@ -224,7 +213,7 @@ internal static SqlSink DeserializeSqlSink(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SqlSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, Optional.ToDictionary(storedProcedureParameters), storedProcedureTableTypeParameterName.Value, tableOption.Value); + return new SqlSink(type, writeBatchSize.Value, writeBatchTimeout.Value, sinkRetryCount.Value, sinkRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, sqlWriterStoredProcedureName.Value, sqlWriterTableType.Value, preCopyScript.Value, storedProcedureParameters.Value, storedProcedureTableTypeParameterName.Value, tableOption.Value); } internal partial class SqlSinkConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSink.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSink.cs index b1308ba9787d..85716e1cfdd2 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSink.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSink.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { @@ -16,7 +15,6 @@ public partial class SqlSink : CopySink /// Initializes a new instance of SqlSink. public SqlSink() { - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "SqlSink"; } @@ -34,7 +32,7 @@ public SqlSink() /// SQL stored procedure parameters. /// 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). - internal SqlSink(string type, object writeBatchSize, object writeBatchTimeout, object sinkRetryCount, object sinkRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object sqlWriterStoredProcedureName, object sqlWriterTableType, object preCopyScript, IDictionary storedProcedureParameters, object storedProcedureTableTypeParameterName, object tableOption) : base(type, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, additionalProperties) + internal SqlSink(string type, object writeBatchSize, object writeBatchTimeout, object sinkRetryCount, object sinkRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object sqlWriterStoredProcedureName, object sqlWriterTableType, object preCopyScript, object storedProcedureParameters, object storedProcedureTableTypeParameterName, object tableOption) : base(type, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections, additionalProperties) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; @@ -52,7 +50,7 @@ internal SqlSink(string type, object writeBatchSize, object writeBatchTimeout, o /// SQL pre-copy script. Type: string (or Expression with resultType string). public object PreCopyScript { get; set; } /// SQL stored procedure parameters. - public IDictionary StoredProcedureParameters { get; } + public object StoredProcedureParameters { get; set; } /// The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). public object StoredProcedureTableTypeParameterName { get; set; } /// The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSource.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSource.Serialization.cs index bd122263746d..732e550c44c6 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSource.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSource.Serialization.cs @@ -29,16 +29,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("sqlReaderStoredProcedureName"u8); writer.WriteObjectValue(SqlReaderStoredProcedureName); } - if (Optional.IsCollectionDefined(StoredProcedureParameters)) + if (Optional.IsDefined(StoredProcedureParameters)) { writer.WritePropertyName("storedProcedureParameters"u8); - writer.WriteStartObject(); - foreach (var item in StoredProcedureParameters) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); + writer.WriteObjectValue(StoredProcedureParameters); } if (Optional.IsDefined(IsolationLevel)) { @@ -98,7 +92,7 @@ internal static SqlSource DeserializeSqlSource(JsonElement element) } Optional sqlReaderQuery = default; Optional sqlReaderStoredProcedureName = default; - Optional> storedProcedureParameters = default; + Optional storedProcedureParameters = default; Optional isolationLevel = default; Optional partitionOption = default; Optional partitionSettings = default; @@ -136,12 +130,7 @@ internal static SqlSource DeserializeSqlSource(JsonElement element) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, StoredProcedureParameter.DeserializeStoredProcedureParameter(property0.Value)); - } - storedProcedureParameters = dictionary; + storedProcedureParameters = property.Value.GetObject(); continue; } if (property.NameEquals("isolationLevel"u8)) @@ -224,7 +213,7 @@ internal static SqlSource DeserializeSqlSource(JsonElement element) additionalPropertiesDictionary.Add(property.Name, property.Value.GetObject()); } additionalProperties = additionalPropertiesDictionary; - return new SqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, Optional.ToDictionary(storedProcedureParameters), isolationLevel.Value, partitionOption.Value, partitionSettings.Value); + return new SqlSource(type, sourceRetryCount.Value, sourceRetryWait.Value, maxConcurrentConnections.Value, additionalProperties, queryTimeout.Value, additionalColumns.Value, sqlReaderQuery.Value, sqlReaderStoredProcedureName.Value, storedProcedureParameters.Value, isolationLevel.Value, partitionOption.Value, partitionSettings.Value); } internal partial class SqlSourceConverter : JsonConverter diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSource.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSource.cs index 7ac73913d980..a2a50b6b8861 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSource.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlSource.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { @@ -16,7 +15,6 @@ public partial class SqlSource : TabularSource /// Initializes a new instance of SqlSource. public SqlSource() { - StoredProcedureParameters = new ChangeTrackingDictionary(); Type = "SqlSource"; } @@ -34,7 +32,7 @@ public SqlSource() /// 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 settings that will be leveraged for Sql source partitioning. - internal SqlSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, IDictionary storedProcedureParameters, object isolationLevel, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) + internal SqlSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, object storedProcedureParameters, object isolationLevel, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; @@ -50,7 +48,7 @@ internal SqlSource(string type, object sourceRetryCount, object sourceRetryWait, /// 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). public object SqlReaderStoredProcedureName { get; set; } /// Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - public IDictionary StoredProcedureParameters { get; } + public object 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 object IsolationLevel { get; set; } /// The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameter.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameter.Serialization.cs deleted file mode 100644 index 64421eb970e1..000000000000 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameter.Serialization.cs +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Text.Json; -using System.Text.Json.Serialization; -using Azure.Core; - -namespace Azure.Analytics.Synapse.Artifacts.Models -{ - [JsonConverter(typeof(StoredProcedureParameterConverter))] - public partial class StoredProcedureParameter : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(Value)) - { - if (Value != null) - { - writer.WritePropertyName("value"u8); - writer.WriteObjectValue(Value); - } - else - { - writer.WriteNull("value"); - } - } - if (Optional.IsDefined(Type)) - { - writer.WritePropertyName("type"u8); - writer.WriteStringValue(Type.Value.ToString()); - } - writer.WriteEndObject(); - } - - internal static StoredProcedureParameter DeserializeStoredProcedureParameter(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - Optional value = default; - Optional type = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("value"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - value = null; - continue; - } - value = property.Value.GetObject(); - continue; - } - if (property.NameEquals("type"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - type = new StoredProcedureParameterType(property.Value.GetString()); - continue; - } - } - return new StoredProcedureParameter(value.Value, Optional.ToNullable(type)); - } - - internal partial class StoredProcedureParameterConverter : JsonConverter - { - public override void Write(Utf8JsonWriter writer, StoredProcedureParameter model, JsonSerializerOptions options) - { - writer.WriteObjectValue(model); - } - public override StoredProcedureParameter Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - using var document = JsonDocument.ParseValue(ref reader); - return DeserializeStoredProcedureParameter(document.RootElement); - } - } - } -} diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameter.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameter.cs index 43df072d992d..2c016af66fe2 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameter.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameter.cs @@ -8,25 +8,16 @@ namespace Azure.Analytics.Synapse.Artifacts.Models { /// SQL stored procedure parameter. - public partial class StoredProcedureParameter + internal partial class StoredProcedureParameter { /// Initializes a new instance of StoredProcedureParameter. - public StoredProcedureParameter() + internal StoredProcedureParameter() { } - /// Initializes a new instance of StoredProcedureParameter. - /// Stored procedure parameter value. Type: string (or Expression with resultType string). - /// Stored procedure parameter type. - internal StoredProcedureParameter(object value, StoredProcedureParameterType? type) - { - Value = value; - Type = type; - } - /// Stored procedure parameter value. Type: string (or Expression with resultType string). - public object Value { get; set; } + public object Value { get; } /// Stored procedure parameter type. - public StoredProcedureParameterType? Type { get; set; } + public StoredProcedureParameterType? Type { get; } } } diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameterType.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameterType.cs index 95efe4ffa09f..1d609e372f73 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameterType.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/StoredProcedureParameterType.cs @@ -11,7 +11,7 @@ namespace Azure.Analytics.Synapse.Artifacts.Models { /// Stored procedure parameter type. - public readonly partial struct StoredProcedureParameterType : IEquatable + internal readonly partial struct StoredProcedureParameterType : IEquatable { private readonly string _value; diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/WebActivityAuthentication.Serialization.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/WebActivityAuthentication.Serialization.cs index 23c94ab735fc..1a9d76bb20d7 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/WebActivityAuthentication.Serialization.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/WebActivityAuthentication.Serialization.cs @@ -28,7 +28,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) if (Optional.IsDefined(Username)) { writer.WritePropertyName("username"u8); - writer.WriteStringValue(Username); + writer.WriteObjectValue(Username); } if (Optional.IsDefined(Password)) { @@ -61,7 +61,7 @@ internal static WebActivityAuthentication DeserializeWebActivityAuthentication(J } string type = default; Optional pfx = default; - Optional username = default; + Optional username = default; Optional password = default; Optional resource = default; Optional userTenant = default; @@ -84,7 +84,11 @@ internal static WebActivityAuthentication DeserializeWebActivityAuthentication(J } if (property.NameEquals("username"u8)) { - username = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + username = property.Value.GetObject(); continue; } if (property.NameEquals("password"u8)) diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/WebActivityAuthentication.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/WebActivityAuthentication.cs index b71d540b2326..bdbccf793cd5 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/WebActivityAuthentication.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/WebActivityAuthentication.cs @@ -30,7 +30,7 @@ public WebActivityAuthentication(string type) /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include and . /// - /// Web activity authentication user name for basic authentication. + /// Web activity authentication user name for basic authentication. Type: string (or Expression with resultType string). /// /// Password for the PFX file or basic authentication. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. @@ -39,7 +39,7 @@ public WebActivityAuthentication(string type) /// Resource for which Azure Auth token will be requested when using MSI Authentication. Type: string (or Expression with resultType string). /// TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication. Type: string (or Expression with resultType string). /// The credential reference containing authentication information. - internal WebActivityAuthentication(string type, SecretBase pfx, string username, SecretBase password, object resource, object userTenant, CredentialReference credential) + internal WebActivityAuthentication(string type, SecretBase pfx, object username, SecretBase password, object resource, object userTenant, CredentialReference credential) { Type = type; Pfx = pfx; @@ -58,8 +58,8 @@ internal WebActivityAuthentication(string type, SecretBase pfx, string username, /// The available derived classes include and . /// public SecretBase Pfx { get; set; } - /// Web activity authentication user name for basic authentication. - public string Username { get; set; } + /// Web activity authentication user name for basic authentication. Type: string (or Expression with resultType string). + public object Username { get; set; } /// /// Password for the PFX file or basic authentication. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookClient.cs index 5afe50856bf6..9486a9a53632 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookClient.cs @@ -29,7 +29,7 @@ protected NotebookClient() } /// Initializes a new instance of NotebookClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public NotebookClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public NotebookClient(Uri endpoint, TokenCredential credential, ArtifactsClientO /// Initializes a new instance of NotebookClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal NotebookClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookOperationResultClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookOperationResultClient.cs index 8bc4a2ba9776..9bda3113f99a 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookOperationResultClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookOperationResultClient.cs @@ -27,7 +27,7 @@ protected NotebookOperationResultClient() } /// Initializes a new instance of NotebookOperationResultClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public NotebookOperationResultClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -51,7 +51,7 @@ public NotebookOperationResultClient(Uri endpoint, TokenCredential credential, A /// Initializes a new instance of NotebookOperationResultClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal NotebookOperationResultClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookOperationResultRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookOperationResultRestClient.cs index 56dfdb66e69b..94aa7472ef10 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookOperationResultRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookOperationResultRestClient.cs @@ -25,7 +25,7 @@ internal partial class NotebookOperationResultRestClient /// Initializes a new instance of NotebookOperationResultRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public NotebookOperationResultRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookRestClient.cs index 13719286653d..1bcb665f1b54 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/NotebookRestClient.cs @@ -27,7 +27,7 @@ internal partial class NotebookRestClient /// Initializes a new instance of NotebookRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public NotebookRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineClient.cs index 6c3e5a286035..417de2b6cce7 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineClient.cs @@ -30,7 +30,7 @@ protected PipelineClient() } /// Initializes a new instance of PipelineClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public PipelineClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -54,7 +54,7 @@ public PipelineClient(Uri endpoint, TokenCredential credential, ArtifactsClientO /// Initializes a new instance of PipelineClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal PipelineClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRestClient.cs index 00ecddd439e7..266fb68410a8 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRestClient.cs @@ -28,7 +28,7 @@ internal partial class PipelineRestClient /// Initializes a new instance of PipelineRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public PipelineRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRunClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRunClient.cs index 7ae33642f868..15897a126a31 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRunClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRunClient.cs @@ -28,7 +28,7 @@ protected PipelineRunClient() } /// Initializes a new instance of PipelineRunClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public PipelineRunClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public PipelineRunClient(Uri endpoint, TokenCredential credential, ArtifactsClie /// Initializes a new instance of PipelineRunClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal PipelineRunClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRunRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRunRestClient.cs index 99e3a57062c0..0b0258a058a7 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRunRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/PipelineRunRestClient.cs @@ -27,7 +27,7 @@ internal partial class PipelineRunRestClient /// Initializes a new instance of PipelineRunRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public PipelineRunRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/RunNotebookClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/RunNotebookClient.cs index c5666dc22a2b..c338baf31dbf 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/RunNotebookClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/RunNotebookClient.cs @@ -28,7 +28,7 @@ protected RunNotebookClient() } /// Initializes a new instance of RunNotebookClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public RunNotebookClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public RunNotebookClient(Uri endpoint, TokenCredential credential, ArtifactsClie /// Initializes a new instance of RunNotebookClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal RunNotebookClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/RunNotebookRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/RunNotebookRestClient.cs index 3a9fef1d5d84..76ad7063aaa7 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/RunNotebookRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/RunNotebookRestClient.cs @@ -27,7 +27,7 @@ internal partial class RunNotebookRestClient /// Initializes a new instance of RunNotebookRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public RunNotebookRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkConfigurationClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkConfigurationClient.cs index 18e5e30dfb08..3fe36d29be49 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkConfigurationClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkConfigurationClient.cs @@ -29,7 +29,7 @@ protected SparkConfigurationClient() } /// Initializes a new instance of SparkConfigurationClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public SparkConfigurationClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public SparkConfigurationClient(Uri endpoint, TokenCredential credential, Artifa /// Initializes a new instance of SparkConfigurationClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal SparkConfigurationClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkConfigurationRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkConfigurationRestClient.cs index 8bea92612c0f..2646c03c35a9 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkConfigurationRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkConfigurationRestClient.cs @@ -27,7 +27,7 @@ internal partial class SparkConfigurationRestClient /// Initializes a new instance of SparkConfigurationRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public SparkConfigurationRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkJobDefinitionClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkJobDefinitionClient.cs index 9ce90903b988..0f2e2750ddbe 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkJobDefinitionClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkJobDefinitionClient.cs @@ -29,7 +29,7 @@ protected SparkJobDefinitionClient() } /// Initializes a new instance of SparkJobDefinitionClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public SparkJobDefinitionClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public SparkJobDefinitionClient(Uri endpoint, TokenCredential credential, Artifa /// Initializes a new instance of SparkJobDefinitionClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal SparkJobDefinitionClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkJobDefinitionRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkJobDefinitionRestClient.cs index 4e9fe1b7b027..2ec3a8c725e9 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkJobDefinitionRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkJobDefinitionRestClient.cs @@ -27,7 +27,7 @@ internal partial class SparkJobDefinitionRestClient /// Initializes a new instance of SparkJobDefinitionRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public SparkJobDefinitionRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlPoolsClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlPoolsClient.cs index 46cc95e68bab..fb01b07942ef 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlPoolsClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlPoolsClient.cs @@ -28,7 +28,7 @@ protected SqlPoolsClient() } /// Initializes a new instance of SqlPoolsClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public SqlPoolsClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public SqlPoolsClient(Uri endpoint, TokenCredential credential, ArtifactsClientO /// Initializes a new instance of SqlPoolsClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal SqlPoolsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlPoolsRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlPoolsRestClient.cs index d83a55afa879..c5ad0f818895 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlPoolsRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlPoolsRestClient.cs @@ -27,7 +27,7 @@ internal partial class SqlPoolsRestClient /// Initializes a new instance of SqlPoolsRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public SqlPoolsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlScriptClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlScriptClient.cs index cfc3a6c5a66e..fcdf67bb132d 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlScriptClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlScriptClient.cs @@ -29,7 +29,7 @@ protected SqlScriptClient() } /// Initializes a new instance of SqlScriptClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public SqlScriptClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public SqlScriptClient(Uri endpoint, TokenCredential credential, ArtifactsClient /// Initializes a new instance of SqlScriptClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal SqlScriptClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlScriptRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlScriptRestClient.cs index ed0b36010258..275d8e06b6ed 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlScriptRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SqlScriptRestClient.cs @@ -27,7 +27,7 @@ internal partial class SqlScriptRestClient /// Initializes a new instance of SqlScriptRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public SqlScriptRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerClient.cs index a053904a0947..9078001f2f13 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerClient.cs @@ -29,7 +29,7 @@ protected TriggerClient() } /// Initializes a new instance of TriggerClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public TriggerClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -53,7 +53,7 @@ public TriggerClient(Uri endpoint, TokenCredential credential, ArtifactsClientOp /// Initializes a new instance of TriggerClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal TriggerClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRestClient.cs index a23c6ae93076..1055ad2ee811 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRestClient.cs @@ -27,7 +27,7 @@ internal partial class TriggerRestClient /// Initializes a new instance of TriggerRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public TriggerRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRunClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRunClient.cs index 82e64865dba7..d1196b00d14c 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRunClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRunClient.cs @@ -28,7 +28,7 @@ protected TriggerRunClient() } /// Initializes a new instance of TriggerRunClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public TriggerRunClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public TriggerRunClient(Uri endpoint, TokenCredential credential, ArtifactsClien /// Initializes a new instance of TriggerRunClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal TriggerRunClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRunRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRunRestClient.cs index 00fc4625a4d8..8da062891a4d 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRunRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/TriggerRunRestClient.cs @@ -27,7 +27,7 @@ internal partial class TriggerRunRestClient /// Initializes a new instance of TriggerRunRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public TriggerRunRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceClient.cs index 08f7bbfad2d7..5410a8447095 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceClient.cs @@ -28,7 +28,7 @@ protected WorkspaceClient() } /// Initializes a new instance of WorkspaceClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public WorkspaceClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public WorkspaceClient(Uri endpoint, TokenCredential credential, ArtifactsClient /// Initializes a new instance of WorkspaceClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal WorkspaceClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceGitRepoManagementClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceGitRepoManagementClient.cs index 032f203a7898..0c0bd45b0b82 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceGitRepoManagementClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceGitRepoManagementClient.cs @@ -28,7 +28,7 @@ protected WorkspaceGitRepoManagementClient() } /// Initializes a new instance of WorkspaceGitRepoManagementClient. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. public WorkspaceGitRepoManagementClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options = null) @@ -52,7 +52,7 @@ public WorkspaceGitRepoManagementClient(Uri endpoint, TokenCredential credential /// Initializes a new instance of WorkspaceGitRepoManagementClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. internal WorkspaceGitRepoManagementClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceGitRepoManagementRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceGitRepoManagementRestClient.cs index 6f15d7094f74..167de27b417c 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceGitRepoManagementRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceGitRepoManagementRestClient.cs @@ -27,7 +27,7 @@ internal partial class WorkspaceGitRepoManagementRestClient /// Initializes a new instance of WorkspaceGitRepoManagementRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public WorkspaceGitRepoManagementRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceRestClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceRestClient.cs index b04d3e89bb36..f06acfaccecc 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceRestClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/WorkspaceRestClient.cs @@ -27,7 +27,7 @@ internal partial class WorkspaceRestClient /// Initializes a new instance of WorkspaceRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. - /// The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. + /// The workspace development endpoint, for example `https://myworkspace.dev.azuresynapse.net`. /// , or is null. public WorkspaceRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint) { diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/autorest.md b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/autorest.md index b05cdd538863..4785cd71bd10 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/autorest.md +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/autorest.md @@ -8,7 +8,7 @@ Run `dotnet build /t:GenerateCode` to generate code. ``` yaml tag: package-artifacts-composite-v7 require: - - https://github.com/Azure/azure-rest-api-specs/blob/1e56b6fbe36e2dcbaccd342f108b7c6efb175181/specification/synapse/data-plane/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/5ae522bc106bf8609c6cb379e584aa3e0e2639f3/specification/synapse/data-plane/readme.md namespace: Azure.Analytics.Synapse.Artifacts generation1-convenience-client: true public-clients: true