Skip to content

[DataFactory]Powershell Release #27964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
// 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>
/// Databricks Job activity.
/// </summary>
[Newtonsoft.Json.JsonObject("DatabricksJob")]
[Microsoft.Rest.Serialization.JsonTransformation]
public partial class DatabricksJobActivity : ExecutionActivity
{
/// <summary>
/// Initializes a new instance of the DatabricksJobActivity class.
/// </summary>
public DatabricksJobActivity()
{
CustomInit();
}

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

/// <param name="additionalProperties">A pipeline activity.
/// </param>

/// <param name="name">Activity name.
/// </param>

/// <param name="description">Activity description.
/// </param>

/// <param name="state">Activity state. This is an optional property and if not provided, the state
/// will be Active by default.
/// Possible values include: &#39;Active&#39;, &#39;Inactive&#39;</param>

/// <param name="onInactiveMarkAs">Status result of the activity when the state is set to Inactive. This is an
/// optional property and if not provided when the activity is inactive, the
/// status will be Succeeded by default.
/// Possible values include: &#39;Succeeded&#39;, &#39;Failed&#39;, &#39;Skipped&#39;</param>

/// <param name="dependsOn">Activity depends on condition.
/// </param>

/// <param name="userProperties">Activity user properties.
/// </param>

/// <param name="linkedServiceName">Linked service reference.
/// </param>

/// <param name="policy">Activity policy.
/// </param>

/// <param name="jobId">The Id of the Databricks Job to be executed. Type: string (or Expression
/// with resultType string).
/// </param>

/// <param name="jobParameters">Job parameters to be used for each run of this job. If the job takes a
/// parameter that is not specified, the default value from the job will be
/// used.
/// </param>
public DatabricksJobActivity(string name, object jobId, System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), string description = default(string), string state = default(string), string onInactiveMarkAs = default(string), System.Collections.Generic.IList<ActivityDependency> dependsOn = default(System.Collections.Generic.IList<ActivityDependency>), System.Collections.Generic.IList<UserProperty> userProperties = default(System.Collections.Generic.IList<UserProperty>), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), System.Collections.Generic.IDictionary<string, object> jobParameters = default(System.Collections.Generic.IDictionary<string, object>))

: base(name, additionalProperties, description, state, onInactiveMarkAs, dependsOn, userProperties, linkedServiceName, policy)
{
this.JobId = jobId;
this.JobParameters = jobParameters;
CustomInit();
}

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


/// <summary>
/// Gets or sets the Id of the Databricks Job to be executed. Type: string (or
/// Expression with resultType string).
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.jobId")]
public object JobId {get; set; }

/// <summary>
/// Gets or sets job parameters to be used for each run of this job. If the job
/// takes a parameter that is not specified, the default value from the job
/// will be used.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.jobParameters")]
public System.Collections.Generic.IDictionary<string, object> JobParameters {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.JobId == null)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "JobId");
}


}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
// 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>
/// Databricks Job activity properties.
/// </summary>
public partial class DatabricksJobActivityTypeProperties
{
/// <summary>
/// Initializes a new instance of the DatabricksJobActivityTypeProperties class.
/// </summary>
public DatabricksJobActivityTypeProperties()
{
CustomInit();
}

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

/// <param name="jobId">The Id of the Databricks Job to be executed. Type: string (or Expression
/// with resultType string).
/// </param>

/// <param name="jobParameters">Job parameters to be used for each run of this job. If the job takes a
/// parameter that is not specified, the default value from the job will be
/// used.
/// </param>
public DatabricksJobActivityTypeProperties(object jobId, System.Collections.Generic.IDictionary<string, object> jobParameters = default(System.Collections.Generic.IDictionary<string, object>))

{
this.JobId = jobId;
this.JobParameters = jobParameters;
CustomInit();
}

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


/// <summary>
/// Gets or sets the Id of the Databricks Job to be executed. Type: string (or
/// Expression with resultType string).
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "jobId")]
public object JobId {get; set; }

/// <summary>
/// Gets or sets job parameters to be used for each run of this job. If the job
/// takes a parameter that is not specified, the default value from the job
/// will be used.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "jobParameters")]
public System.Collections.Generic.IDictionary<string, object> JobParameters {get; set; }
/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
if (this.JobId == null)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "JobId");
}


}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ public ExpressionV2()
/// <param name="type">Type of expressions supported by the system. Type: string.
/// Possible values include: &#39;Constant&#39;, &#39;Field&#39;, &#39;Unary&#39;, &#39;Binary&#39;, &#39;NAry&#39;</param>

/// <param name="value">Value for Constant/Field Type: string.
/// <param name="value">Value for Constant/Field Type: object.
/// </param>

/// <param name="operators">Expression operator value Type: list of strings.
/// </param>

/// <param name="operands">List of nested expressions.
/// </param>
public ExpressionV2(string type = default(string), string value = default(string), System.Collections.Generic.IList<string> operators = default(System.Collections.Generic.IList<string>), System.Collections.Generic.IList<ExpressionV2> operands = default(System.Collections.Generic.IList<ExpressionV2>))
public ExpressionV2(string type = default(string), object value = default(object), System.Collections.Generic.IList<string> operators = default(System.Collections.Generic.IList<string>), System.Collections.Generic.IList<ExpressionV2> operands = default(System.Collections.Generic.IList<ExpressionV2>))

{
this.Type = type;
Expand All @@ -58,10 +58,10 @@ public ExpressionV2()
public string Type {get; set; }

/// <summary>
/// Gets or sets value for Constant/Field Type: string.
/// Gets or sets value for Constant/Field Type: object.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "value")]
public string Value {get; set; }
public object Value {get; set; }

/// <summary>
/// Gets or sets expression operator value Type: list of strings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ namespace Microsoft.Azure.Management.DataFactory.Models
using System.Linq;

/// <summary>
/// QuickBooks server linked service.
/// QuickBooks server linked service. This linked service has supported version
/// property. The Version 1.0 is scheduled for deprecation while your pipeline
/// will continue to run after EOL but without any bug fix or new features.
/// </summary>
[Newtonsoft.Json.JsonObject("QuickBooks")]
[Microsoft.Rest.Serialization.JsonTransformation]
Expand Down Expand Up @@ -55,26 +57,30 @@ public QuickBooksLinkedService()
/// <param name="companyId">The company ID of the QuickBooks company to authorize.
/// </param>

/// <param name="consumerKey">The consumer key for OAuth 1.0 authentication.
/// <param name="consumerKey">The consumer key for OAuth 2.0 authentication.
/// </param>

/// <param name="consumerSecret">The consumer secret for OAuth 1.0 authentication.
/// <param name="consumerSecret">The consumer secret for OAuth 2.0 authentication.
/// </param>

/// <param name="accessToken">The access token for OAuth 1.0 authentication.
/// <param name="accessToken">The access token for OAuth 2.0 authentication.
/// </param>

/// <param name="accessTokenSecret">The access token secret for OAuth 1.0 authentication.
/// <param name="accessTokenSecret">The access token secret is deprecated for OAuth 1.0 authentication. Only
/// used for version 1.0.
/// </param>

/// <param name="refreshToken">The refresh token for OAuth 2.0 authentication.
/// </param>

/// <param name="useEncryptedEndpoints">Specifies whether the data source endpoints are encrypted using HTTPS. The
/// default value is true.
/// default value is true. Only used for version 1.0.
/// </param>

/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
/// using the integration runtime credential manager. Type: string.
/// </param>
public QuickBooksLinkedService(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 connectionProperties = default(object), object endpoint = default(object), object companyId = default(object), object consumerKey = default(object), SecretBase consumerSecret = default(SecretBase), SecretBase accessToken = default(SecretBase), SecretBase accessTokenSecret = default(SecretBase), object useEncryptedEndpoints = default(object), string encryptedCredential = default(string))
public QuickBooksLinkedService(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 connectionProperties = default(object), object endpoint = default(object), object companyId = default(object), object consumerKey = default(object), SecretBase consumerSecret = default(SecretBase), SecretBase accessToken = default(SecretBase), SecretBase accessTokenSecret = default(SecretBase), SecretBase refreshToken = default(SecretBase), object useEncryptedEndpoints = default(object), string encryptedCredential = default(string))

: base(additionalProperties, version, connectVia, description, parameters, annotations)
{
Expand All @@ -85,6 +91,7 @@ public QuickBooksLinkedService()
this.ConsumerSecret = consumerSecret;
this.AccessToken = accessToken;
this.AccessTokenSecret = accessTokenSecret;
this.RefreshToken = refreshToken;
this.UseEncryptedEndpoints = useEncryptedEndpoints;
this.EncryptedCredential = encryptedCredential;
CustomInit();
Expand Down Expand Up @@ -117,32 +124,39 @@ public QuickBooksLinkedService()
public object CompanyId {get; set; }

/// <summary>
/// Gets or sets the consumer key for OAuth 1.0 authentication.
/// Gets or sets the consumer key for OAuth 2.0 authentication.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.consumerKey")]
public object ConsumerKey {get; set; }

/// <summary>
/// Gets or sets the consumer secret for OAuth 1.0 authentication.
/// Gets or sets the consumer secret for OAuth 2.0 authentication.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.consumerSecret")]
public SecretBase ConsumerSecret {get; set; }

/// <summary>
/// Gets or sets the access token for OAuth 1.0 authentication.
/// Gets or sets the access token for OAuth 2.0 authentication.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.accessToken")]
public SecretBase AccessToken {get; set; }

/// <summary>
/// Gets or sets the access token secret for OAuth 1.0 authentication.
/// Gets or sets the access token secret is deprecated for OAuth 1.0
/// authentication. Only used for version 1.0.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.accessTokenSecret")]
public SecretBase AccessTokenSecret {get; set; }

/// <summary>
/// Gets or sets the refresh token for OAuth 2.0 authentication.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.refreshToken")]
public SecretBase RefreshToken {get; set; }

/// <summary>
/// Gets or sets specifies whether the data source endpoints are encrypted
/// using HTTPS. The default value is true.
/// using HTTPS. The default value is true. Only used for version 1.0.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")]
public object UseEncryptedEndpoints {get; set; }
Expand Down Expand Up @@ -172,6 +186,7 @@ public override void Validate()




}
}
}
Loading