Skip to content

Commit

Permalink
[DataFactory]Support New Features In ADF (Azure#25600)
Browse files Browse the repository at this point in the history
* [DataFactory]Support New Features In ADF

* Update ChangeLog.md

---------

Co-authored-by: Yabo Hu <[email protected]>
  • Loading branch information
Jingshu918 and VeryEarly authored Jul 23, 2024
1 parent a8b308f commit 5cd1e81
Show file tree
Hide file tree
Showing 21 changed files with 411 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,14 @@ public AzureTableStorageLinkedService()
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
/// using the integration runtime credential manager. Type: string.
/// </param>
public AzureTableStorageLinkedService(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), 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 connectionString = default(object), AzureKeyVaultSecretReference accountKey = default(AzureKeyVaultSecretReference), object sasUri = default(object), AzureKeyVaultSecretReference sasToken = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))

/// <param name="serviceEndpoint">Table service endpoint of the Azure Table Storage resource. It is mutually
/// exclusive with connectionString, sasUri property.
/// </param>

/// <param name="credential">The credential reference containing authentication information.
/// </param>
public AzureTableStorageLinkedService(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), 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 connectionString = default(object), AzureKeyVaultSecretReference accountKey = default(AzureKeyVaultSecretReference), object sasUri = default(object), AzureKeyVaultSecretReference sasToken = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string), object serviceEndpoint = default(object), CredentialReference credential = default(CredentialReference))

: base(additionalProperties, connectVia, description, parameters, annotations)
{
Expand All @@ -69,6 +76,8 @@ public AzureTableStorageLinkedService()
this.SasUri = sasUri;
this.SasToken = sasToken;
this.EncryptedCredential = encryptedCredential;
this.ServiceEndpoint = serviceEndpoint;
this.Credential = credential;
CustomInit();
}

Expand Down Expand Up @@ -113,6 +122,20 @@ public AzureTableStorageLinkedService()
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.encryptedCredential")]
public string EncryptedCredential {get; set; }

/// <summary>
/// Gets or sets table service endpoint of the Azure Table Storage resource. It
/// is mutually exclusive with connectionString, sasUri property.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.serviceEndpoint")]
public object ServiceEndpoint {get; set; }

/// <summary>
/// Gets or sets the credential reference containing authentication
/// information.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.credential")]
public CredentialReference Credential {get; set; }
/// <summary>
/// Validate the object.
/// </summary>
Expand All @@ -133,6 +156,11 @@ public override void Validate()
this.SasToken.Validate();
}


if (this.Credential != null)
{
this.Credential.Validate();
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.DataFactory.Models
{
using System.Linq;

/// <summary>
/// Azure Table Storage linked service properties.
/// </summary>
public partial class AzureTableStorageLinkedServiceTypeProperties : AzureStorageLinkedServiceTypeProperties
{
/// <summary>
/// Initializes a new instance of the AzureTableStorageLinkedServiceTypeProperties class.
/// </summary>
public AzureTableStorageLinkedServiceTypeProperties()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the AzureTableStorageLinkedServiceTypeProperties class.
/// </summary>

/// <param name="connectionString">The connection string. It is mutually exclusive with sasUri property. Type:
/// string, SecureString or AzureKeyVaultSecretReference.
/// </param>

/// <param name="accountKey">The Azure key vault secret reference of accountKey in connection string.
/// </param>

/// <param name="sasUri">SAS URI of the Azure Storage resource. It is mutually exclusive with
/// connectionString property. Type: string, SecureString or
/// AzureKeyVaultSecretReference.
/// </param>

/// <param name="sasToken">The Azure key vault secret reference of sasToken in sas uri.
/// </param>

/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
/// using the integration runtime credential manager. Type: string.
/// </param>

/// <param name="serviceEndpoint">Table service endpoint of the Azure Table Storage resource. It is mutually
/// exclusive with connectionString, sasUri property.
/// </param>

/// <param name="credential">The credential reference containing authentication information.
/// </param>
public AzureTableStorageLinkedServiceTypeProperties(object connectionString = default(object), AzureKeyVaultSecretReference accountKey = default(AzureKeyVaultSecretReference), object sasUri = default(object), AzureKeyVaultSecretReference sasToken = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string), object serviceEndpoint = default(object), CredentialReference credential = default(CredentialReference))

: base(connectionString, accountKey, sasUri, sasToken, encryptedCredential)
{
this.ServiceEndpoint = serviceEndpoint;
this.Credential = credential;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();


/// <summary>
/// Gets or sets table service endpoint of the Azure Table Storage resource. It
/// is mutually exclusive with connectionString, sasUri property.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "serviceEndpoint")]
public object ServiceEndpoint {get; set; }

/// <summary>
/// Gets or sets the credential reference containing authentication
/// information.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "credential")]
public CredentialReference Credential {get; set; }
/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public override void Validate()
{
base.Validate();

if (this.Credential != null)
{
this.Credential.Validate();
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@ public CommonDataServiceForAppsLinkedService()
/// <param name="authenticationType">The authentication type to connect to Common Data Service for Apps server.
/// &#39;Office365&#39; for online scenario, &#39;Ifd&#39; for on-premises with Ifd scenario.
/// &#39;AADServicePrincipal&#39; for Server-To-Server authentication in online
/// scenario. Type: string (or Expression with resultType string).
/// scenario, &#39;Active Directory&#39; for Dynamics on-premises with IFD. Type:
/// string (or Expression with resultType string).
/// </param>

/// <param name="domain">The Active Directory domain that will verify user credentials. Type: string
/// (or Expression with resultType string).
/// </param>

/// <param name="username">User name to access the Common Data Service for Apps instance. Type: string
Expand Down Expand Up @@ -104,7 +109,7 @@ public CommonDataServiceForAppsLinkedService()
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
/// using the integration runtime credential manager. Type: string.
/// </param>
public CommonDataServiceForAppsLinkedService(object deploymentType, object authenticationType, System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), 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 hostName = default(object), object port = default(object), object serviceUri = default(object), object organizationName = default(object), object username = default(object), SecretBase password = default(SecretBase), object servicePrincipalId = default(object), object servicePrincipalCredentialType = default(object), SecretBase servicePrincipalCredential = default(SecretBase), string encryptedCredential = default(string))
public CommonDataServiceForAppsLinkedService(object deploymentType, object authenticationType, System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), 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 hostName = default(object), object port = default(object), object serviceUri = default(object), object organizationName = default(object), object domain = default(object), object username = default(object), SecretBase password = default(SecretBase), object servicePrincipalId = default(object), object servicePrincipalCredentialType = default(object), SecretBase servicePrincipalCredential = default(SecretBase), string encryptedCredential = default(string))

: base(additionalProperties, connectVia, description, parameters, annotations)
{
Expand All @@ -114,6 +119,7 @@ public CommonDataServiceForAppsLinkedService()
this.ServiceUri = serviceUri;
this.OrganizationName = organizationName;
this.AuthenticationType = authenticationType;
this.Domain = domain;
this.Username = username;
this.Password = password;
this.ServicePrincipalId = servicePrincipalId;
Expand Down Expand Up @@ -175,11 +181,19 @@ public CommonDataServiceForAppsLinkedService()
/// Gets or sets the authentication type to connect to Common Data Service for
/// Apps server. &#39;Office365&#39; for online scenario, &#39;Ifd&#39; for on-premises with
/// Ifd scenario. &#39;AADServicePrincipal&#39; for Server-To-Server authentication in
/// online scenario. Type: string (or Expression with resultType string).
/// online scenario, &#39;Active Directory&#39; for Dynamics on-premises with IFD.
/// Type: string (or Expression with resultType string).
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.authenticationType")]
public object AuthenticationType {get; set; }

/// <summary>
/// Gets or sets the Active Directory domain that will verify user credentials.
/// Type: string (or Expression with resultType string).
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.domain")]
public object Domain {get; set; }

/// <summary>
/// Gets or sets user name to access the Common Data Service for Apps instance.
/// Type: string (or Expression with resultType string).
Expand Down Expand Up @@ -257,6 +271,7 @@ public override void Validate()




}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ public CommonDataServiceForAppsLinkedServiceTypeProperties()
/// <param name="authenticationType">The authentication type to connect to Common Data Service for Apps server.
/// &#39;Office365&#39; for online scenario, &#39;Ifd&#39; for on-premises with Ifd scenario.
/// &#39;AADServicePrincipal&#39; for Server-To-Server authentication in online
/// scenario. Type: string (or Expression with resultType string).
/// scenario, &#39;Active Directory&#39; for Dynamics on-premises with IFD. Type:
/// string (or Expression with resultType string).
/// </param>

/// <param name="domain">The Active Directory domain that will verify user credentials. Type: string
/// (or Expression with resultType string).
/// </param>

/// <param name="username">User name to access the Common Data Service for Apps instance. Type: string
Expand Down Expand Up @@ -86,7 +91,7 @@ public CommonDataServiceForAppsLinkedServiceTypeProperties()
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
/// using the integration runtime credential manager. Type: string.
/// </param>
public CommonDataServiceForAppsLinkedServiceTypeProperties(object deploymentType, object authenticationType, object hostName = default(object), object port = default(object), object serviceUri = default(object), object organizationName = default(object), object username = default(object), SecretBase password = default(SecretBase), object servicePrincipalId = default(object), object servicePrincipalCredentialType = default(object), SecretBase servicePrincipalCredential = default(SecretBase), string encryptedCredential = default(string))
public CommonDataServiceForAppsLinkedServiceTypeProperties(object deploymentType, object authenticationType, object hostName = default(object), object port = default(object), object serviceUri = default(object), object organizationName = default(object), object domain = default(object), object username = default(object), SecretBase password = default(SecretBase), object servicePrincipalId = default(object), object servicePrincipalCredentialType = default(object), SecretBase servicePrincipalCredential = default(SecretBase), string encryptedCredential = default(string))

{
this.DeploymentType = deploymentType;
Expand All @@ -95,6 +100,7 @@ public CommonDataServiceForAppsLinkedServiceTypeProperties()
this.ServiceUri = serviceUri;
this.OrganizationName = organizationName;
this.AuthenticationType = authenticationType;
this.Domain = domain;
this.Username = username;
this.Password = password;
this.ServicePrincipalId = servicePrincipalId;
Expand Down Expand Up @@ -156,11 +162,19 @@ public CommonDataServiceForAppsLinkedServiceTypeProperties()
/// Gets or sets the authentication type to connect to Common Data Service for
/// Apps server. &#39;Office365&#39; for online scenario, &#39;Ifd&#39; for on-premises with
/// Ifd scenario. &#39;AADServicePrincipal&#39; for Server-To-Server authentication in
/// online scenario. Type: string (or Expression with resultType string).
/// online scenario, &#39;Active Directory&#39; for Dynamics on-premises with IFD.
/// Type: string (or Expression with resultType string).
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "authenticationType")]
public object AuthenticationType {get; set; }

/// <summary>
/// Gets or sets the Active Directory domain that will verify user credentials.
/// Type: string (or Expression with resultType string).
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "domain")]
public object Domain {get; set; }

/// <summary>
/// Gets or sets user name to access the Common Data Service for Apps instance.
/// Type: string (or Expression with resultType string).
Expand Down Expand Up @@ -237,6 +251,7 @@ public virtual void Validate()




}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.DataFactory.Models
{
using System.Linq;

/// <summary>
/// Continuation settings for execute data flow activity.
/// </summary>
public partial class ContinuationSettingsReference
{
/// <summary>
/// Initializes a new instance of the ContinuationSettingsReference class.
/// </summary>
public ContinuationSettingsReference()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the ContinuationSettingsReference class.
/// </summary>

/// <param name="continuationTtlInMinutes">Continuation TTL in minutes.
/// </param>

/// <param name="idleCondition">Idle condition.
/// </param>

/// <param name="customizedCheckpointKey">Customized checkpoint key.
/// </param>
public ContinuationSettingsReference(object continuationTtlInMinutes = default(object), object idleCondition = default(object), object customizedCheckpointKey = default(object))

{
this.ContinuationTtlInMinutes = continuationTtlInMinutes;
this.IdleCondition = idleCondition;
this.CustomizedCheckpointKey = customizedCheckpointKey;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();


/// <summary>
/// Gets or sets continuation TTL in minutes.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "continuationTtlInMinutes")]
public object ContinuationTtlInMinutes {get; set; }

/// <summary>
/// Gets or sets idle condition.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "idleCondition")]
public object IdleCondition {get; set; }

/// <summary>
/// Gets or sets customized checkpoint key.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "customizedCheckpointKey")]
public object CustomizedCheckpointKey {get; set; }
}
}
Loading

0 comments on commit 5cd1e81

Please sign in to comment.