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]Add Binary Dataset in swagger #4439

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 @@ -90,6 +90,12 @@ public class ExecuteSSISPackageActivity extends ExecutionActivity {
@JsonProperty(value = "typeProperties.propertyOverrides")
private Map<String, SSISPropertyOverride> propertyOverrides;

/**
* SSIS package execution log location.
*/
@JsonProperty(value = "typeProperties.logLocation")
private SSISLogLocation logLocation;

/**
* Get sSIS package location.
*
Expand Down Expand Up @@ -310,4 +316,24 @@ public ExecuteSSISPackageActivity withPropertyOverrides(Map<String, SSISProperty
return this;
}

/**
* Get sSIS package execution log location.
*
* @return the logLocation value
*/
public SSISLogLocation logLocation() {
return this.logLocation;
}

/**
* Set sSIS package execution log location.
*
* @param logLocation the logLocation value to set
* @return the ExecuteSSISPackageActivity object itself.
*/
public ExecuteSSISPackageActivity withLogLocation(SSISLogLocation logLocation) {
this.logLocation = logLocation;
return this;
}

}
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 access credential.
*/
public class SSISAccessCredential {
/**
* 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 SecretBase 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 SSISAccessCredential object itself.
*/
public SSISAccessCredential 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 SSISAccessCredential object itself.
*/
public SSISAccessCredential withUserName(Object userName) {
this.userName = userName;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
/**
* 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;
import com.microsoft.rest.serializer.JsonFlatten;

/**
* SSIS package execution log location.
*/
@JsonFlatten
public class SSISLogLocation {
/**
* The SSIS package execution log path. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "logPath", required = true)
private Object logPath;

/**
* The type of SSIS log location.
*/
@JsonProperty(value = "type", required = true)
private String type;

/**
* The package execution log access credential.
*/
@JsonProperty(value = "typeProperties.accessCredential")
private SSISAccessCredential accessCredential;

/**
* Specifies the interval to refresh log. The default interval is 5
* minutes. Type: string (or Expression with resultType string), pattern:
* ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JsonProperty(value = "typeProperties.logRefreshInterval")
private Object logRefreshInterval;

/**
* Creates an instance of SSISLogLocation class.
* @param logPath the SSIS package execution log path. Type: string (or Expression with resultType string).
*/
public SSISLogLocation() {
type = "File";
}

/**
* Get the SSIS package execution log path. Type: string (or Expression with resultType string).
*
* @return the logPath value
*/
public Object logPath() {
return this.logPath;
}

/**
* Set the SSIS package execution log path. Type: string (or Expression with resultType string).
*
* @param logPath the logPath value to set
* @return the SSISLogLocation object itself.
*/
public SSISLogLocation withLogPath(Object logPath) {
this.logPath = logPath;
return this;
}

/**
* Get the type of SSIS log location.
*
* @return the type value
*/
public String type() {
return this.type;
}

/**
* Set the type of SSIS log location.
*
* @param type the type value to set
* @return the SSISLogLocation object itself.
*/
public SSISLogLocation withType(String type) {
this.type = type;
return this;
}

/**
* Get the package execution log access credential.
*
* @return the accessCredential value
*/
public SSISAccessCredential accessCredential() {
return this.accessCredential;
}

/**
* Set the package execution log access credential.
*
* @param accessCredential the accessCredential value to set
* @return the SSISLogLocation object itself.
*/
public SSISLogLocation withAccessCredential(SSISAccessCredential accessCredential) {
this.accessCredential = accessCredential;
return this;
}

/**
* Get specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*
* @return the logRefreshInterval value
*/
public Object logRefreshInterval() {
return this.logRefreshInterval;
}

/**
* Set specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*
* @param logRefreshInterval the logRefreshInterval value to set
* @return the SSISLogLocation object itself.
*/
public SSISLogLocation withLogRefreshInterval(Object logRefreshInterval) {
this.logRefreshInterval = logRefreshInterval;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
package com.microsoft.azure.management.datafactoryv2.v2017_09_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;

/**
* SSIS package location.
*/
@JsonFlatten
public class SSISPackageLocation {
/**
* The SSIS package path. Type: string (or Expression with resultType
Expand All @@ -21,6 +23,32 @@ public class SSISPackageLocation {
@JsonProperty(value = "packagePath", required = true)
private Object packagePath;

/**
* The type of SSIS package location. Possible values include: 'SSISDB',
* 'File'.
*/
@JsonProperty(value = "type")
private SsisPackageLocationType type;

/**
* Password of the package.
*/
@JsonProperty(value = "typeProperties.packagePassword")
private SecretBase packagePassword;

/**
* The package access credential.
*/
@JsonProperty(value = "typeProperties.accessCredential")
private SSISAccessCredential accessCredential;

/**
* The configuration file of the package execution. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.configurationPath")
private Object configurationPath;

/**
* Get the SSIS package path. Type: string (or Expression with resultType string).
*
Expand All @@ -41,4 +69,84 @@ public SSISPackageLocation withPackagePath(Object packagePath) {
return this;
}

/**
* Get the type of SSIS package location. Possible values include: 'SSISDB', 'File'.
*
* @return the type value
*/
public SsisPackageLocationType type() {
return this.type;
}

/**
* Set the type of SSIS package location. Possible values include: 'SSISDB', 'File'.
*
* @param type the type value to set
* @return the SSISPackageLocation object itself.
*/
public SSISPackageLocation withType(SsisPackageLocationType type) {
this.type = type;
return this;
}

/**
* Get password of the package.
*
* @return the packagePassword value
*/
public SecretBase packagePassword() {
return this.packagePassword;
}

/**
* Set password of the package.
*
* @param packagePassword the packagePassword value to set
* @return the SSISPackageLocation object itself.
*/
public SSISPackageLocation withPackagePassword(SecretBase packagePassword) {
this.packagePassword = packagePassword;
return this;
}

/**
* Get the package access credential.
*
* @return the accessCredential value
*/
public SSISAccessCredential accessCredential() {
return this.accessCredential;
}

/**
* Set the package access credential.
*
* @param accessCredential the accessCredential value to set
* @return the SSISPackageLocation object itself.
*/
public SSISPackageLocation withAccessCredential(SSISAccessCredential accessCredential) {
this.accessCredential = accessCredential;
return this;
}

/**
* Get the configuration file of the package execution. Type: string (or Expression with resultType string).
*
* @return the configurationPath value
*/
public Object configurationPath() {
return this.configurationPath;
}

/**
* Set the configuration file of the package execution. Type: string (or Expression with resultType string).
*
* @param configurationPath the configurationPath value to set
* @return the SSISPackageLocation object itself.
*/
public SSISPackageLocation withConfigurationPath(Object configurationPath) {
this.configurationPath = configurationPath;
return this;
}

}
Loading