Skip to content

Commit a9c3a32

Browse files
Jingshu918vidai-msftCopilot
authored
[DataFactory]Powershell Release (#28586)
Co-authored-by: Vincent Dai <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent d181d27 commit a9c3a32

14 files changed

+330
-10
lines changed

src/DataFactory/DataFactory.Management.Sdk/Generated/Models/AmazonRdsForOracleSource.cs

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,19 @@ public AmazonRdsForOracleSource()
6363
/// objects(AdditionalColumns) (or Expression with resultType array of
6464
/// objects).
6565
/// </param>
66-
public AmazonRdsForOracleSource(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object disableMetricsCollection = default(object), object oracleReaderQuery = default(object), object queryTimeout = default(object), object partitionOption = default(object), AmazonRdsForOraclePartitionSettings partitionSettings = default(AmazonRdsForOraclePartitionSettings), object additionalColumns = default(object))
66+
67+
/// <param name="numberPrecision">The decimal precision used to represent Oracle NUMBER type without
68+
/// precision and scale. The range is 1 to 256 and default value is 256 if not
69+
/// specified. Type: integer (or Expression with resultType integer). Only used
70+
/// for Version 2.0.
71+
/// </param>
72+
73+
/// <param name="numberScale">The decimal scale used to represent Oracle NUMBER type without precision
74+
/// and scale. The range is 0 to 130 and default value is 130 if not specified.
75+
/// Type: integer (or Expression with resultType integer). Only used for
76+
/// Version 2.0.
77+
/// </param>
78+
public AmazonRdsForOracleSource(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object disableMetricsCollection = default(object), object oracleReaderQuery = default(object), object queryTimeout = default(object), object partitionOption = default(object), AmazonRdsForOraclePartitionSettings partitionSettings = default(AmazonRdsForOraclePartitionSettings), object additionalColumns = default(object), object numberPrecision = default(object), object numberScale = default(object))
6779

6880
: base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection)
6981
{
@@ -72,6 +84,8 @@ public AmazonRdsForOracleSource()
7284
this.PartitionOption = partitionOption;
7385
this.PartitionSettings = partitionSettings;
7486
this.AdditionalColumns = additionalColumns;
87+
this.NumberPrecision = numberPrecision;
88+
this.NumberScale = numberScale;
7589
CustomInit();
7690
}
7791

@@ -117,5 +131,23 @@ public AmazonRdsForOracleSource()
117131
/// </summary>
118132
[Newtonsoft.Json.JsonProperty(PropertyName = "additionalColumns")]
119133
public object AdditionalColumns {get; set; }
134+
135+
/// <summary>
136+
/// Gets or sets the decimal precision used to represent Oracle NUMBER type
137+
/// without precision and scale. The range is 1 to 256 and default value is 256
138+
/// if not specified. Type: integer (or Expression with resultType integer).
139+
/// Only used for Version 2.0.
140+
/// </summary>
141+
[Newtonsoft.Json.JsonProperty(PropertyName = "numberPrecision")]
142+
public object NumberPrecision {get; set; }
143+
144+
/// <summary>
145+
/// Gets or sets the decimal scale used to represent Oracle NUMBER type without
146+
/// precision and scale. The range is 0 to 130 and default value is 130 if not
147+
/// specified. Type: integer (or Expression with resultType integer). Only used
148+
/// for Version 2.0.
149+
/// </summary>
150+
[Newtonsoft.Json.JsonProperty(PropertyName = "numberScale")]
151+
public object NumberScale {get; set; }
120152
}
121153
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.DataFactory.Models
7+
{
8+
9+
/// <summary>
10+
/// Defines values for HDInsightClusterAuthenticationType.
11+
/// </summary>
12+
13+
14+
public static class HDInsightClusterAuthenticationType
15+
{
16+
public const string BasicAuth = "BasicAuth";
17+
public const string SystemAssignedManagedIdentity = "SystemAssignedManagedIdentity";
18+
public const string UserAssignedManagedIdentity = "UserAssignedManagedIdentity";
19+
}
20+
}

src/DataFactory/DataFactory.Management.Sdk/Generated/Models/HDInsightLinkedService.cs

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ public HDInsightLinkedService()
4848
/// <param name="clusterUri">HDInsight cluster URI. Type: string (or Expression with resultType string).
4949
/// </param>
5050

51+
/// <param name="clusterAuthType">HDInsight cluster authentication type.
52+
/// Possible values include: &#39;BasicAuth&#39;, &#39;SystemAssignedManagedIdentity&#39;,
53+
/// &#39;UserAssignedManagedIdentity&#39;</param>
54+
5155
/// <param name="userName">HDInsight cluster user name. Type: string (or Expression with resultType
5256
/// string).
5357
/// </param>
@@ -73,18 +77,24 @@ public HDInsightLinkedService()
7377
/// <param name="fileSystem">Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2.
7478
/// Type: string (or Expression with resultType string).
7579
/// </param>
76-
public HDInsightLinkedService(object clusterUri, System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), string version = default(string), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), System.Collections.Generic.IDictionary<string, ParameterSpecification> parameters = default(System.Collections.Generic.IDictionary<string, ParameterSpecification>), System.Collections.Generic.IList<object> annotations = default(System.Collections.Generic.IList<object>), object userName = default(object), SecretBase password = default(SecretBase), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), LinkedServiceReference hcatalogLinkedServiceName = default(LinkedServiceReference), string encryptedCredential = default(string), object isEspEnabled = default(object), object fileSystem = default(object))
80+
81+
/// <param name="credential">The credential reference containing MI authentication information for the
82+
/// HDInsight cluster.
83+
/// </param>
84+
public HDInsightLinkedService(object clusterUri, System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), string version = default(string), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), System.Collections.Generic.IDictionary<string, ParameterSpecification> parameters = default(System.Collections.Generic.IDictionary<string, ParameterSpecification>), System.Collections.Generic.IList<object> annotations = default(System.Collections.Generic.IList<object>), string clusterAuthType = default(string), object userName = default(object), SecretBase password = default(SecretBase), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), LinkedServiceReference hcatalogLinkedServiceName = default(LinkedServiceReference), string encryptedCredential = default(string), object isEspEnabled = default(object), object fileSystem = default(object), CredentialReference credential = default(CredentialReference))
7785

7886
: base(additionalProperties, version, connectVia, description, parameters, annotations)
7987
{
8088
this.ClusterUri = clusterUri;
89+
this.ClusterAuthType = clusterAuthType;
8190
this.UserName = userName;
8291
this.Password = password;
8392
this.LinkedServiceName = linkedServiceName;
8493
this.HcatalogLinkedServiceName = hcatalogLinkedServiceName;
8594
this.EncryptedCredential = encryptedCredential;
8695
this.IsEspEnabled = isEspEnabled;
8796
this.FileSystem = fileSystem;
97+
this.Credential = credential;
8898
CustomInit();
8999
}
90100

@@ -101,6 +111,12 @@ public HDInsightLinkedService()
101111
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.clusterUri")]
102112
public object ClusterUri {get; set; }
103113

114+
/// <summary>
115+
/// Gets or sets hDInsight cluster authentication type. Possible values include: &#39;BasicAuth&#39;, &#39;SystemAssignedManagedIdentity&#39;, &#39;UserAssignedManagedIdentity&#39;
116+
/// </summary>
117+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.clusterAuthType")]
118+
public string ClusterAuthType {get; set; }
119+
104120
/// <summary>
105121
/// Gets or sets hDInsight cluster user name. Type: string (or Expression with
106122
/// resultType string).
@@ -148,6 +164,13 @@ public HDInsightLinkedService()
148164
/// </summary>
149165
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.fileSystem")]
150166
public object FileSystem {get; set; }
167+
168+
/// <summary>
169+
/// Gets or sets the credential reference containing MI authentication
170+
/// information for the HDInsight cluster.
171+
/// </summary>
172+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.credential")]
173+
public CredentialReference Credential {get; set; }
151174
/// <summary>
152175
/// Validate the object.
153176
/// </summary>
@@ -164,6 +187,7 @@ public override void Validate()
164187

165188

166189

190+
167191
if (this.LinkedServiceName != null)
168192
{
169193
this.LinkedServiceName.Validate();
@@ -175,6 +199,10 @@ public override void Validate()
175199

176200

177201

202+
if (this.Credential != null)
203+
{
204+
this.Credential.Validate();
205+
}
178206
}
179207
}
180208
}

src/DataFactory/DataFactory.Management.Sdk/Generated/Models/HDInsightLinkedServiceTypeProperties.cs

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ public HDInsightLinkedServiceTypeProperties()
2727
/// <param name="clusterUri">HDInsight cluster URI. Type: string (or Expression with resultType string).
2828
/// </param>
2929

30+
/// <param name="clusterAuthType">HDInsight cluster authentication type.
31+
/// Possible values include: &#39;BasicAuth&#39;, &#39;SystemAssignedManagedIdentity&#39;,
32+
/// &#39;UserAssignedManagedIdentity&#39;</param>
33+
3034
/// <param name="userName">HDInsight cluster user name. Type: string (or Expression with resultType
3135
/// string).
3236
/// </param>
@@ -52,17 +56,23 @@ public HDInsightLinkedServiceTypeProperties()
5256
/// <param name="fileSystem">Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2.
5357
/// Type: string (or Expression with resultType string).
5458
/// </param>
55-
public HDInsightLinkedServiceTypeProperties(object clusterUri, object userName = default(object), SecretBase password = default(SecretBase), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), LinkedServiceReference hcatalogLinkedServiceName = default(LinkedServiceReference), string encryptedCredential = default(string), object isEspEnabled = default(object), object fileSystem = default(object))
59+
60+
/// <param name="credential">The credential reference containing MI authentication information for the
61+
/// HDInsight cluster.
62+
/// </param>
63+
public HDInsightLinkedServiceTypeProperties(object clusterUri, string clusterAuthType = default(string), object userName = default(object), SecretBase password = default(SecretBase), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), LinkedServiceReference hcatalogLinkedServiceName = default(LinkedServiceReference), string encryptedCredential = default(string), object isEspEnabled = default(object), object fileSystem = default(object), CredentialReference credential = default(CredentialReference))
5664

5765
{
5866
this.ClusterUri = clusterUri;
67+
this.ClusterAuthType = clusterAuthType;
5968
this.UserName = userName;
6069
this.Password = password;
6170
this.LinkedServiceName = linkedServiceName;
6271
this.HcatalogLinkedServiceName = hcatalogLinkedServiceName;
6372
this.EncryptedCredential = encryptedCredential;
6473
this.IsEspEnabled = isEspEnabled;
6574
this.FileSystem = fileSystem;
75+
this.Credential = credential;
6676
CustomInit();
6777
}
6878

@@ -79,6 +89,12 @@ public HDInsightLinkedServiceTypeProperties()
7989
[Newtonsoft.Json.JsonProperty(PropertyName = "clusterUri")]
8090
public object ClusterUri {get; set; }
8191

92+
/// <summary>
93+
/// Gets or sets hDInsight cluster authentication type. Possible values include: &#39;BasicAuth&#39;, &#39;SystemAssignedManagedIdentity&#39;, &#39;UserAssignedManagedIdentity&#39;
94+
/// </summary>
95+
[Newtonsoft.Json.JsonProperty(PropertyName = "clusterAuthType")]
96+
public string ClusterAuthType {get; set; }
97+
8298
/// <summary>
8399
/// Gets or sets hDInsight cluster user name. Type: string (or Expression with
84100
/// resultType string).
@@ -126,6 +142,13 @@ public HDInsightLinkedServiceTypeProperties()
126142
/// </summary>
127143
[Newtonsoft.Json.JsonProperty(PropertyName = "fileSystem")]
128144
public object FileSystem {get; set; }
145+
146+
/// <summary>
147+
/// Gets or sets the credential reference containing MI authentication
148+
/// information for the HDInsight cluster.
149+
/// </summary>
150+
[Newtonsoft.Json.JsonProperty(PropertyName = "credential")]
151+
public CredentialReference Credential {get; set; }
129152
/// <summary>
130153
/// Validate the object.
131154
/// </summary>
@@ -141,6 +164,7 @@ public virtual void Validate()
141164

142165

143166

167+
144168
if (this.LinkedServiceName != null)
145169
{
146170
this.LinkedServiceName.Validate();
@@ -152,6 +176,10 @@ public virtual void Validate()
152176

153177

154178

179+
if (this.Credential != null)
180+
{
181+
this.Credential.Validate();
182+
}
155183
}
156184
}
157185
}

src/DataFactory/DataFactory.Management.Sdk/Generated/Models/LakeHouseLinkedService.cs

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ public LakeHouseLinkedService()
5353
/// with resultType string).
5454
/// </param>
5555

56+
/// <param name="authenticationType">The authentication type to use.
57+
/// Possible values include: &#39;ServicePrincipal&#39;,
58+
/// &#39;SystemAssignedManagedIdentity&#39;, &#39;UserAssignedManagedIdentity&#39;</param>
59+
5660
/// <param name="servicePrincipalId">The ID of the application used to authenticate against Microsoft Fabric
5761
/// Lakehouse. Type: string (or Expression with resultType string).
5862
/// </param>
@@ -82,18 +86,23 @@ public LakeHouseLinkedService()
8286
/// &#39;ServicePrincipalCert&#39;, servicePrincipalCredential can only be
8387
/// AzureKeyVaultSecretReference.
8488
/// </param>
85-
public LakeHouseLinkedService(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), string version = default(string), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), System.Collections.Generic.IDictionary<string, ParameterSpecification> parameters = default(System.Collections.Generic.IDictionary<string, ParameterSpecification>), System.Collections.Generic.IList<object> annotations = default(System.Collections.Generic.IList<object>), object workspaceId = default(object), object artifactId = default(object), object servicePrincipalId = default(object), SecretBase servicePrincipalKey = default(SecretBase), object tenant = default(object), string encryptedCredential = default(string), object servicePrincipalCredentialType = default(object), SecretBase servicePrincipalCredential = default(SecretBase))
89+
90+
/// <param name="credential">The credential reference containing authentication information.
91+
/// </param>
92+
public LakeHouseLinkedService(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), string version = default(string), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), System.Collections.Generic.IDictionary<string, ParameterSpecification> parameters = default(System.Collections.Generic.IDictionary<string, ParameterSpecification>), System.Collections.Generic.IList<object> annotations = default(System.Collections.Generic.IList<object>), object workspaceId = default(object), object artifactId = default(object), string authenticationType = default(string), object servicePrincipalId = default(object), SecretBase servicePrincipalKey = default(SecretBase), object tenant = default(object), string encryptedCredential = default(string), object servicePrincipalCredentialType = default(object), SecretBase servicePrincipalCredential = default(SecretBase), CredentialReference credential = default(CredentialReference))
8693

8794
: base(additionalProperties, version, connectVia, description, parameters, annotations)
8895
{
8996
this.WorkspaceId = workspaceId;
9097
this.ArtifactId = artifactId;
98+
this.AuthenticationType = authenticationType;
9199
this.ServicePrincipalId = servicePrincipalId;
92100
this.ServicePrincipalKey = servicePrincipalKey;
93101
this.Tenant = tenant;
94102
this.EncryptedCredential = encryptedCredential;
95103
this.ServicePrincipalCredentialType = servicePrincipalCredentialType;
96104
this.ServicePrincipalCredential = servicePrincipalCredential;
105+
this.Credential = credential;
97106
CustomInit();
98107
}
99108

@@ -117,6 +126,12 @@ public LakeHouseLinkedService()
117126
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.artifactId")]
118127
public object ArtifactId {get; set; }
119128

129+
/// <summary>
130+
/// Gets or sets the authentication type to use. Possible values include: &#39;ServicePrincipal&#39;, &#39;SystemAssignedManagedIdentity&#39;, &#39;UserAssignedManagedIdentity&#39;
131+
/// </summary>
132+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.authenticationType")]
133+
public string AuthenticationType {get; set; }
134+
120135
/// <summary>
121136
/// Gets or sets the ID of the application used to authenticate against
122137
/// Microsoft Fabric Lakehouse. Type: string (or Expression with resultType
@@ -166,6 +181,13 @@ public LakeHouseLinkedService()
166181
/// </summary>
167182
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.servicePrincipalCredential")]
168183
public SecretBase ServicePrincipalCredential {get; set; }
184+
185+
/// <summary>
186+
/// Gets or sets the credential reference containing authentication
187+
/// information.
188+
/// </summary>
189+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.credential")]
190+
public CredentialReference Credential {get; set; }
169191
/// <summary>
170192
/// Validate the object.
171193
/// </summary>
@@ -183,6 +205,11 @@ public override void Validate()
183205

184206

185207

208+
209+
if (this.Credential != null)
210+
{
211+
this.Credential.Validate();
212+
}
186213
}
187214
}
188215
}

0 commit comments

Comments
 (0)