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] data factory validation activity #2829

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 @@ -21,10 +21,12 @@
@JsonSubTypes.Type(name = "AppendVariable", value = AppendVariableActivity.class),
@JsonSubTypes.Type(name = "SetVariable", value = SetVariableActivity.class),
@JsonSubTypes.Type(name = "Filter", value = FilterActivity.class),
@JsonSubTypes.Type(name = "Validation", value = ValidationActivity.class),
@JsonSubTypes.Type(name = "Until", value = UntilActivity.class),
@JsonSubTypes.Type(name = "Wait", value = WaitActivity.class),
@JsonSubTypes.Type(name = "ForEach", value = ForEachActivity.class),
@JsonSubTypes.Type(name = "IfCondition", value = IfConditionActivity.class),
@JsonSubTypes.Type(name = "WebHook", value = WebHookActivity.class),
@JsonSubTypes.Type(name = "ExecutePipeline", value = ExecutePipelineActivity.class)
})
public class ControlActivity extends Activity {
Expand Down
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;
}

}
Loading