Skip to content
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

[AutoPR datafactory/resource-manager] [DataFactory]Support schema property for dataset #2833

Merged
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
Expand Up @@ -46,6 +46,12 @@ public class ExecuteSSISPackageActivity extends ExecutionActivity {
@JsonProperty(value = "typeProperties.environmentPath")
private String environmentPath;

/**
* The package execution credential.
*/
@JsonProperty(value = "typeProperties.executionCredential")
private Map<String, SSISExecutionCredential> executionCredential;

/**
* The integration runtime reference.
*/
Expand Down Expand Up @@ -162,6 +168,26 @@ public ExecuteSSISPackageActivity withEnvironmentPath(String environmentPath) {
return this;
}

/**
* Get the package execution credential.
*
* @return the executionCredential value
*/
public Map<String, SSISExecutionCredential> executionCredential() {
return this.executionCredential;
}

/**
* Set the package execution credential.
*
* @param executionCredential the executionCredential value to set
* @return the ExecuteSSISPackageActivity object itself.
*/
public ExecuteSSISPackageActivity withExecutionCredential(Map<String, SSISExecutionCredential> executionCredential) {
this.executionCredential = executionCredential;
return this;
}

/**
* Get the integration runtime reference.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/**
* 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.
*/

package com.microsoft.azure.management.datafactoryv2.v2017_09_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* SSIS package execution credential.
*/
public class SSISExecutionCredential {
/**
* Domain for windows authentication.
*/
@JsonProperty(value = "domain", required = true)
private Object domain;

/**
* UseName for windows authentication.
*/
@JsonProperty(value = "userName", required = true)
private Object userName;

/**
* Password for windows authentication.
*/
@JsonProperty(value = "password", required = true)
private SecureString password;

/**
* Get domain for windows authentication.
*
* @return the domain value
*/
public Object domain() {
return this.domain;
}

/**
* Set domain for windows authentication.
*
* @param domain the domain value to set
* @return the SSISExecutionCredential object itself.
*/
public SSISExecutionCredential withDomain(Object domain) {
this.domain = domain;
return this;
}

/**
* Get useName for windows authentication.
*
* @return the userName value
*/
public Object userName() {
return this.userName;
}

/**
* Set useName for windows authentication.
*
* @param userName the userName value to set
* @return the SSISExecutionCredential object itself.
*/
public SSISExecutionCredential withUserName(Object userName) {
this.userName = userName;
return this;
}

/**
* Get password for windows authentication.
*
* @return the password value
*/
public SecureString password() {
return this.password;
}

/**
* Set password for windows authentication.
*
* @param password the password value to set
* @return the SSISExecutionCredential object itself.
*/
public SSISExecutionCredential withPassword(SecureString password) {
this.password = password;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ public class ExecuteSSISPackageActivity extends ExecutionActivity {
@JsonProperty(value = "typeProperties.environmentPath")
private Object environmentPath;

/**
* The package execution credential.
*/
@JsonProperty(value = "typeProperties.executionCredential")
private Map<String, SSISExecutionCredential> executionCredential;

/**
* The integration runtime reference.
*/
Expand Down Expand Up @@ -164,6 +170,26 @@ public ExecuteSSISPackageActivity withEnvironmentPath(Object environmentPath) {
return this;
}

/**
* Get the package execution credential.
*
* @return the executionCredential value
*/
public Map<String, SSISExecutionCredential> executionCredential() {
return this.executionCredential;
}

/**
* Set the package execution credential.
*
* @param executionCredential the executionCredential value to set
* @return the ExecuteSSISPackageActivity object itself.
*/
public ExecuteSSISPackageActivity withExecutionCredential(Map<String, SSISExecutionCredential> executionCredential) {
this.executionCredential = executionCredential;
return this;
}

/**
* Get the integration runtime reference.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/**
* 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.
*/

package com.microsoft.azure.management.datafactoryv2.v2018_06_01;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* SSIS package execution credential.
*/
public class SSISExecutionCredential {
/**
* Domain for windows authentication.
*/
@JsonProperty(value = "domain", required = true)
private Object domain;

/**
* UseName for windows authentication.
*/
@JsonProperty(value = "userName", required = true)
private Object userName;

/**
* Password for windows authentication.
*/
@JsonProperty(value = "password", required = true)
private SecureString password;

/**
* Get domain for windows authentication.
*
* @return the domain value
*/
public Object domain() {
return this.domain;
}

/**
* Set domain for windows authentication.
*
* @param domain the domain value to set
* @return the SSISExecutionCredential object itself.
*/
public SSISExecutionCredential withDomain(Object domain) {
this.domain = domain;
return this;
}

/**
* Get useName for windows authentication.
*
* @return the userName value
*/
public Object userName() {
return this.userName;
}

/**
* Set useName for windows authentication.
*
* @param userName the userName value to set
* @return the SSISExecutionCredential object itself.
*/
public SSISExecutionCredential withUserName(Object userName) {
this.userName = userName;
return this;
}

/**
* Get password for windows authentication.
*
* @return the password value
*/
public SecureString password() {
return this.password;
}

/**
* Set password for windows authentication.
*
* @param password the password value to set
* @return the SSISExecutionCredential object itself.
*/
public SSISExecutionCredential withPassword(SecureString password) {
this.password = password;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ public class DatasetInner {
@JsonProperty(value = "structure")
private Object structure;

/**
* Columns that define the physical type schema of the dataset. Type: array
* (or Expression with resultType array), itemType:
* DatasetSchemaDataElement.
*/
@JsonProperty(value = "schema")
private Object schema;

/**
* Linked service reference.
*/
Expand Down Expand Up @@ -184,6 +192,26 @@ public DatasetInner withStructure(Object structure) {
return this;
}

/**
* Get columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
*
* @return the schema value
*/
public Object schema() {
return this.schema;
}

/**
* Set columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
*
* @param schema the schema value to set
* @return the DatasetInner object itself.
*/
public DatasetInner withSchema(Object schema) {
this.schema = schema;
return this;
}

/**
* Get linked service reference.
*
Expand Down