Skip to content

Commit 02baeea

Browse files
idear1203Dongwei Wang
andauthored
[Synapse] - Many models now have public setters (Azure#18848)
* [Synapse] - Many models now have public getters * Fix Export api issue Co-authored-by: Dongwei Wang <dongwwa@microsoft.com>
1 parent 775da30 commit 02baeea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+203
-195
lines changed

sdk/synapse/Azure.Analytics.Synapse.Artifacts/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## 1.0.0-preview.7 (Unreleased)
44

5+
### Added
6+
- Many models classes now have public getters.
57

68
## 1.0.0-preview.6 (2021-02-10)
79

sdk/synapse/Azure.Analytics.Synapse.Artifacts/api/Azure.Analytics.Synapse.Artifacts.netstandard2.0.cs

Lines changed: 54 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,15 +2014,15 @@ public DataFlowDebugPackageDebugSettings() { }
20142014
public partial class DataFlowDebugPreviewDataRequest
20152015
{
20162016
public DataFlowDebugPreviewDataRequest() { }
2017-
public string DataFlowName { get { throw null; } }
2018-
public int? RowLimits { get { throw null; } }
2019-
public string SessionId { get { throw null; } }
2020-
public string StreamName { get { throw null; } }
2017+
public string DataFlowName { get { throw null; } set { } }
2018+
public int? RowLimits { get { throw null; } set { } }
2019+
public string SessionId { get { throw null; } set { } }
2020+
public string StreamName { get { throw null; } set { } }
20212021
}
20222022
public partial class DataFlowDebugQueryResponse
20232023
{
20242024
public DataFlowDebugQueryResponse() { }
2025-
public string RunId { get { throw null; } }
2025+
public string RunId { get { throw null; } set { } }
20262026
}
20272027
public partial class DataFlowDebugResource : Azure.Analytics.Synapse.Artifacts.Models.SubResourceDebugResource
20282028
{
@@ -2032,8 +2032,8 @@ public DataFlowDebugResource(Azure.Analytics.Synapse.Artifacts.Models.DataFlow p
20322032
public partial class DataFlowDebugResultResponse
20332033
{
20342034
public DataFlowDebugResultResponse() { }
2035-
public string Data { get { throw null; } }
2036-
public string Status { get { throw null; } }
2035+
public string Data { get { throw null; } set { } }
2036+
public string Status { get { throw null; } set { } }
20372037
}
20382038
public partial class DataFlowDebugSessionInfo : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IReadOnlyDictionary<string, object>, System.Collections.IEnumerable
20392039
{
@@ -2061,6 +2061,7 @@ public partial class DataFlowDebugStatisticsRequest
20612061
public DataFlowDebugStatisticsRequest() { }
20622062
public System.Collections.Generic.IReadOnlyList<string> Columns { get { throw null; } }
20632063
public string DataFlowName { get { throw null; } }
2064+
public string RunId { get { throw null; } set { } }
20642065
public string SessionId { get { throw null; } }
20652066
public string StreamName { get { throw null; } }
20662067
}
@@ -2247,8 +2248,8 @@ public void Add(string key, object value) { }
22472248
public partial class DatasetDataElement
22482249
{
22492250
public DatasetDataElement() { }
2250-
public object Name { get { throw null; } }
2251-
public object Type { get { throw null; } }
2251+
public object Name { get { throw null; } set { } }
2252+
public object Type { get { throw null; } set { } }
22522253
}
22532254
public partial class DatasetDebugResource : Azure.Analytics.Synapse.Artifacts.Models.SubResourceDebugResource
22542255
{
@@ -2332,9 +2333,9 @@ public partial class DatasetSchemaDataElement : System.Collections.Generic.IEnum
23322333
public DatasetSchemaDataElement() { }
23332334
public object this[string key] { get { throw null; } }
23342335
public System.Collections.Generic.IEnumerable<string> Keys { get { throw null; } }
2335-
public object Name { get { throw null; } }
2336+
public object Name { get { throw null; } set { } }
23362337
int System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Count { get { throw null; } }
2337-
public object Type { get { throw null; } }
2338+
public object Type { get { throw null; } set { } }
23382339
public System.Collections.Generic.IEnumerable<object> Values { get { throw null; } }
23392340
public bool ContainsKey(string key) { throw null; }
23402341
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, object>> GetEnumerator() { throw null; }
@@ -2344,10 +2345,10 @@ public DatasetSchemaDataElement() { }
23442345
public partial class DatasetStorageFormat : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IReadOnlyDictionary<string, object>, System.Collections.IEnumerable
23452346
{
23462347
public DatasetStorageFormat() { }
2347-
public object Deserializer { get { throw null; } }
2348+
public object Deserializer { get { throw null; } set { } }
23482349
public object this[string key] { get { throw null; } }
23492350
public System.Collections.Generic.IEnumerable<string> Keys { get { throw null; } }
2350-
public object Serializer { get { throw null; } }
2351+
public object Serializer { get { throw null; } set { } }
23512352
int System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Count { get { throw null; } }
23522353
public System.Collections.Generic.IEnumerable<object> Values { get { throw null; } }
23532354
public bool ContainsKey(string key) { throw null; }
@@ -2764,11 +2765,11 @@ public EntityReference() { }
27642765
public partial class EvaluateDataFlowExpressionRequest
27652766
{
27662767
public EvaluateDataFlowExpressionRequest() { }
2767-
public string DataFlowName { get { throw null; } }
2768-
public string Expression { get { throw null; } }
2769-
public int? RowLimits { get { throw null; } }
2770-
public string SessionId { get { throw null; } }
2771-
public string StreamName { get { throw null; } }
2768+
public string DataFlowName { get { throw null; } set { } }
2769+
public string Expression { get { throw null; } set { } }
2770+
public int? RowLimits { get { throw null; } set { } }
2771+
public string SessionId { get { throw null; } set { } }
2772+
public string StreamName { get { throw null; } set { } }
27722773
}
27732774
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
27742775
public readonly partial struct EventSubscriptionStatus : System.IEquatable<Azure.Analytics.Synapse.Artifacts.Models.EventSubscriptionStatus>
@@ -2837,14 +2838,14 @@ public ExecutionActivity(string name) : base (default(string)) { }
28372838
public partial class ExposureControlRequest
28382839
{
28392840
public ExposureControlRequest() { }
2840-
public string FeatureName { get { throw null; } }
2841-
public string FeatureType { get { throw null; } }
2841+
public string FeatureName { get { throw null; } set { } }
2842+
public string FeatureType { get { throw null; } set { } }
28422843
}
28432844
public partial class ExposureControlResponse
28442845
{
28452846
public ExposureControlResponse() { }
2846-
public string FeatureName { get { throw null; } }
2847-
public string Value { get { throw null; } }
2847+
public string FeatureName { get { throw null; } set { } }
2848+
public string Value { get { throw null; } set { } }
28482849
}
28492850
public partial class Expression
28502851
{
@@ -3010,7 +3011,7 @@ public GetMetadataActivity(string name, Azure.Analytics.Synapse.Artifacts.Models
30103011
public partial class GetSsisObjectMetadataRequest
30113012
{
30123013
public GetSsisObjectMetadataRequest() { }
3013-
public string MetadataPath { get { throw null; } }
3014+
public string MetadataPath { get { throw null; } set { } }
30143015
}
30153016
public partial class GitHubAccessTokenRequest
30163017
{
@@ -3962,11 +3963,11 @@ public JsonDataset(Azure.Analytics.Synapse.Artifacts.Models.LinkedServiceReferen
39623963
public partial class JsonFormat : Azure.Analytics.Synapse.Artifacts.Models.DatasetStorageFormat
39633964
{
39643965
public JsonFormat() { }
3965-
public object EncodingName { get { throw null; } }
3966-
public Azure.Analytics.Synapse.Artifacts.Models.JsonFormatFilePattern? FilePattern { get { throw null; } }
3967-
public object JsonNodeReference { get { throw null; } }
3968-
public object JsonPathDefinition { get { throw null; } }
3969-
public object NestingSeparator { get { throw null; } }
3966+
public object EncodingName { get { throw null; } set { } }
3967+
public Azure.Analytics.Synapse.Artifacts.Models.JsonFormatFilePattern? FilePattern { get { throw null; } set { } }
3968+
public object JsonNodeReference { get { throw null; } set { } }
3969+
public object JsonPathDefinition { get { throw null; } set { } }
3970+
public object NestingSeparator { get { throw null; } set { } }
39703971
}
39713972
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
39723973
public readonly partial struct JsonFormatFilePattern : System.IEquatable<Azure.Analytics.Synapse.Artifacts.Models.JsonFormatFilePattern>
@@ -5402,8 +5403,8 @@ public RelationalTableDataset(Azure.Analytics.Synapse.Artifacts.Models.LinkedSer
54025403
public partial class RerunTriggerListResponse
54035404
{
54045405
public RerunTriggerListResponse(System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Artifacts.Models.RerunTriggerResource> value) { }
5405-
public string NextLink { get { throw null; } }
5406-
public System.Collections.Generic.IReadOnlyList<Azure.Analytics.Synapse.Artifacts.Models.RerunTriggerResource> Value { get { throw null; } }
5406+
public string NextLink { get { throw null; } set { } }
5407+
public System.Collections.Generic.IReadOnlyList<Azure.Analytics.Synapse.Artifacts.Models.RerunTriggerResource> Value { get { throw null; } set { } }
54075408
}
54085409
public partial class RerunTriggerResource : Azure.Analytics.Synapse.Artifacts.Models.SubResource
54095410
{
@@ -5421,9 +5422,9 @@ public RerunTumblingWindowTrigger(System.DateTimeOffset requestedStartTime, Syst
54215422
public partial class RerunTumblingWindowTriggerActionParameters
54225423
{
54235424
public RerunTumblingWindowTriggerActionParameters(System.DateTimeOffset startTime, System.DateTimeOffset endTime, int maxConcurrency) { }
5424-
public System.DateTimeOffset EndTime { get { throw null; } }
5425-
public int MaxConcurrency { get { throw null; } }
5426-
public System.DateTimeOffset StartTime { get { throw null; } }
5425+
public System.DateTimeOffset EndTime { get { throw null; } set { } }
5426+
public int MaxConcurrency { get { throw null; } set { } }
5427+
public System.DateTimeOffset StartTime { get { throw null; } set { } }
54275428
}
54285429
public partial class Resource
54295430
{
@@ -6848,10 +6849,10 @@ public SsisLogLocation(object logPath, Azure.Analytics.Synapse.Artifacts.Models.
68486849
public partial class SsisObjectMetadataStatusResponse
68496850
{
68506851
public SsisObjectMetadataStatusResponse() { }
6851-
public string Error { get { throw null; } }
6852-
public string Name { get { throw null; } }
6853-
public string Properties { get { throw null; } }
6854-
public string Status { get { throw null; } }
6852+
public string Error { get { throw null; } set { } }
6853+
public string Name { get { throw null; } set { } }
6854+
public string Properties { get { throw null; } set { } }
6855+
public string Status { get { throw null; } set { } }
68556856
}
68566857
public partial class SsisPackageLocation
68576858
{
@@ -6917,18 +6918,18 @@ public void Add(string key, object value) { }
69176918
public partial class StartDataFlowDebugSessionRequest
69186919
{
69196920
public StartDataFlowDebugSessionRequest() { }
6920-
public Azure.Analytics.Synapse.Artifacts.Models.DataFlowResource DataFlow { get { throw null; } }
6921+
public Azure.Analytics.Synapse.Artifacts.Models.DataFlowResource DataFlow { get { throw null; } set { } }
69216922
public System.Collections.Generic.IReadOnlyList<Azure.Analytics.Synapse.Artifacts.Models.DatasetResource> Datasets { get { throw null; } }
6922-
public object DebugSettings { get { throw null; } }
6923-
public bool? IncrementalDebug { get { throw null; } }
6923+
public object DebugSettings { get { throw null; } set { } }
6924+
public bool? IncrementalDebug { get { throw null; } set { } }
69246925
public System.Collections.Generic.IReadOnlyList<Azure.Analytics.Synapse.Artifacts.Models.LinkedServiceResource> LinkedServices { get { throw null; } }
6925-
public string SessionId { get { throw null; } }
6926-
public object Staging { get { throw null; } }
6926+
public string SessionId { get { throw null; } set { } }
6927+
public object Staging { get { throw null; } set { } }
69276928
}
69286929
public partial class StartDataFlowDebugSessionResponse
69296930
{
69306931
public StartDataFlowDebugSessionResponse() { }
6931-
public string JobVersion { get { throw null; } }
6932+
public string JobVersion { get { throw null; } set { } }
69326933
}
69336934
public partial class StoredProcedureParameter
69346935
{
@@ -7094,11 +7095,11 @@ public TabularSource() { }
70947095
public partial class TabularTranslator : Azure.Analytics.Synapse.Artifacts.Models.CopyTranslator
70957096
{
70967097
public TabularTranslator() { }
7097-
public object CollectionReference { get { throw null; } }
7098-
public object ColumnMappings { get { throw null; } }
7099-
public object MapComplexValuesToString { get { throw null; } }
7100-
public object Mappings { get { throw null; } }
7101-
public object SchemaMapping { get { throw null; } }
7098+
public object CollectionReference { get { throw null; } set { } }
7099+
public object ColumnMappings { get { throw null; } set { } }
7100+
public object MapComplexValuesToString { get { throw null; } set { } }
7101+
public object Mappings { get { throw null; } set { } }
7102+
public object SchemaMapping { get { throw null; } set { } }
71027103
}
71037104
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
71047105
public readonly partial struct TeradataAuthenticationType : System.IEquatable<Azure.Analytics.Synapse.Artifacts.Models.TeradataAuthenticationType>
@@ -7218,8 +7219,8 @@ public void Add(string key, object value) { }
72187219
public partial class TriggerDependencyProvisioningStatus
72197220
{
72207221
public TriggerDependencyProvisioningStatus(string triggerName, string provisioningStatus) { }
7221-
public string ProvisioningStatus { get { throw null; } }
7222-
public string TriggerName { get { throw null; } }
7222+
public string ProvisioningStatus { get { throw null; } set { } }
7223+
public string TriggerName { get { throw null; } set { } }
72237224
}
72247225
public partial class TriggerDependencyReference : Azure.Analytics.Synapse.Artifacts.Models.DependencyReference
72257226
{
@@ -7598,8 +7599,8 @@ public Workspace(string location) : base (default(string)) { }
75987599
public partial class WorkspaceIdentity
75997600
{
76007601
public WorkspaceIdentity() { }
7601-
public string PrincipalId { get { throw null; } }
7602-
public string TenantId { get { throw null; } }
7602+
public string PrincipalId { get { throw null; } set { } }
7603+
public string TenantId { get { throw null; } set { } }
76037604
public string Type { get { throw null; } }
76047605
}
76057606
public partial class WorkspaceKeyDetails
@@ -7624,7 +7625,7 @@ public WorkspaceRepositoryConfiguration() { }
76247625
public partial class WorkspaceUpdateParameters
76257626
{
76267627
public WorkspaceUpdateParameters() { }
7627-
public Azure.Analytics.Synapse.Artifacts.Models.WorkspaceIdentity Identity { get { throw null; } }
7628+
public Azure.Analytics.Synapse.Artifacts.Models.WorkspaceIdentity Identity { get { throw null; } set { } }
76287629
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get { throw null; } }
76297630
}
76307631
public partial class XeroLinkedService : Azure.Analytics.Synapse.Artifacts.Models.LinkedService

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/Models/DataFlowDebugPreviewDataRequest.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,14 @@ public partial class DataFlowDebugPreviewDataRequest
99
public DataFlowDebugPreviewDataRequest()
1010
{
1111
}
12+
13+
/// <summary> The ID of data flow debug session. </summary>
14+
public string SessionId { get; set; }
15+
/// <summary> The data flow which contains the debug session. </summary>
16+
public string DataFlowName { get; set; }
17+
/// <summary> The output stream name. </summary>
18+
public string StreamName { get; set; }
19+
/// <summary> The row limit for preview request. </summary>
20+
public int? RowLimits { get; set; }
1221
}
1322
}

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/Models/DataFlowDebugQueryResponse.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ public partial class DataFlowDebugQueryResponse
1010
public DataFlowDebugQueryResponse()
1111
{
1212
}
13+
14+
/// <summary> The run ID of data flow debug session. </summary>
15+
public string RunId { get; set; }
1316
}
1417
}

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/Models/DataFlowDebugResultResponse.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@ public partial class DataFlowDebugResultResponse
1010
public DataFlowDebugResultResponse()
1111
{
1212
}
13+
14+
/// <summary> The run status of data preview, statistics or expression preview. </summary>
15+
public string Status { get; set; }
16+
/// <summary> The result data of data preview, statistics or expression preview. </summary>
17+
public string Data { get; set; }
1318
}
1419
}

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/Models/DataFlowDebugStatisticsRequest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ public DataFlowDebugStatisticsRequest()
1414
{
1515
Columns = new ChangeTrackingList<string>();
1616
}
17+
18+
/// <summary> The run ID of data flow debug session. </summary>
19+
public string RunId { get; set; }
1720
}
1821
}

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/Models/DatasetDataElement.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@ public partial class DatasetDataElement
1010
public DatasetDataElement()
1111
{
1212
}
13+
14+
/// <summary> Name of the column. Type: string (or Expression with resultType string). </summary>
15+
public object Name { get; set; }
16+
/// <summary> Type of the column. Type: string (or Expression with resultType string). </summary>
17+
public object Type { get; set; }
1318
}
1419
}

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/Models/DatasetSchemaDataElement.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@ public DatasetSchemaDataElement()
1515
{
1616
AdditionalProperties = new ChangeTrackingDictionary<string, object>();
1717
}
18+
19+
/// <summary> Name of the schema column. Type: string (or Expression with resultType string). </summary>
20+
public object Name { get; set; }
21+
/// <summary> Type of the schema column. Type: string (or Expression with resultType string). </summary>
22+
public object Type { get; set; }
1823
}
1924
}

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/Models/DatasetStorageFormat.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,10 @@ public DatasetStorageFormat()
1616
AdditionalProperties = new ChangeTrackingDictionary<string, object>();
1717
Type = "DatasetStorageFormat";
1818
}
19+
20+
/// <summary> Serializer. Type: string (or Expression with resultType string). </summary>
21+
public object Serializer { get; set; }
22+
/// <summary> Deserializer. Type: string (or Expression with resultType string). </summary>
23+
public object Deserializer { get; set; }
1924
}
2025
}

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/Models/EvaluateDataFlowExpressionRequest.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,16 @@ public partial class EvaluateDataFlowExpressionRequest
1010
public EvaluateDataFlowExpressionRequest()
1111
{
1212
}
13+
14+
/// <summary> The ID of data flow debug session. </summary>
15+
public string SessionId { get; set; }
16+
/// <summary> The data flow which contains the debug session. </summary>
17+
public string DataFlowName { get; set; }
18+
/// <summary> The output stream name. </summary>
19+
public string StreamName { get; set; }
20+
/// <summary> The row limit for preview request. </summary>
21+
public int? RowLimits { get; set; }
22+
/// <summary> The expression for preview. </summary>
23+
public string Expression { get; set; }
1324
}
1425
}

0 commit comments

Comments
 (0)