Skip to content
Closed
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 @@ -42,6 +42,13 @@ public class ActivityPolicy {
@JsonProperty(value = "retryIntervalInSeconds")
private Integer retryIntervalInSeconds;

/**
* When set to true, input from activity is considered as secure and will
* not be logged to monitoring.
*/
@JsonProperty(value = "secureInput")
private Boolean secureInput;

/**
* When set to true, Output from activity is considered as secure and will
* not be logged to monitoring.
Expand Down Expand Up @@ -129,6 +136,26 @@ public ActivityPolicy withRetryIntervalInSeconds(Integer retryIntervalInSeconds)
return this;
}

/**
* Get when set to true, input from activity is considered as secure and will not be logged to monitoring.
*
* @return the secureInput value
*/
public Boolean secureInput() {
return this.secureInput;
}

/**
* Set when set to true, input from activity is considered as secure and will not be logged to monitoring.
*
* @param secureInput the secureInput value to set
* @return the ActivityPolicy object itself.
*/
public ActivityPolicy withSecureInput(Boolean secureInput) {
this.secureInput = secureInput;
return this;
}

/**
* Get when set to true, Output from activity is considered as secure and will not be logged to monitoring.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/**
* 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;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.microsoft.rest.serializer.JsonFlatten;

/**
* Append value to a array Variable.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AppendVaraible")
@JsonFlatten
public class AppendVaraibleActivity extends ControlActivity {
/**
* Name of the variable to which value needs to be appended.
*/
@JsonProperty(value = "typeProperties.name", required = true)
private String appendVaraibleActivityName;

/**
* Value to be appended. Could be a static value or Expression.
*/
@JsonProperty(value = "typeProperties.value", required = true)
private Object value;

/**
* Get name of the variable to which value needs to be appended.
*
* @return the appendVaraibleActivityName value
*/
public String appendVaraibleActivityName() {
return this.appendVaraibleActivityName;
}

/**
* Set name of the variable to which value needs to be appended.
*
* @param appendVaraibleActivityName the appendVaraibleActivityName value to set
* @return the AppendVaraibleActivity object itself.
*/
public AppendVaraibleActivity withAppendVaraibleActivityName(String appendVaraibleActivityName) {
this.appendVaraibleActivityName = appendVaraibleActivityName;
return this;
}

/**
* Get value to be appended. Could be a static value or Expression.
*
* @return the value value
*/
public Object value() {
return this.value;
}

/**
* Set value to be appended. Could be a static value or Expression.
*
* @param value the value value to set
* @return the AppendVaraibleActivity object itself.
*/
public AppendVaraibleActivity withValue(Object value) {
this.value = value;
return this;
}

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

/**
* Append value to a array Variable.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AppendVariable")
@JsonFlatten
public class AppendVariableActivity extends ControlActivity {
/**
* Name of the variable to which value needs to be appended.
*/
@JsonProperty(value = "typeProperties.name", required = true)
private String appendVariableActivityName;

/**
* Value to be appended. Could be a static value or Expression.
*/
@JsonProperty(value = "typeProperties.value", required = true)
private Object value;

/**
* Get name of the variable to which value needs to be appended.
*
* @return the appendVariableActivityName value
*/
public String appendVariableActivityName() {
return this.appendVariableActivityName;
}

/**
* Set name of the variable to which value needs to be appended.
*
* @param appendVariableActivityName the appendVariableActivityName value to set
* @return the AppendVariableActivity object itself.
*/
public AppendVariableActivity withAppendVariableActivityName(String appendVariableActivityName) {
this.appendVariableActivityName = appendVariableActivityName;
return this;
}

/**
* Get value to be appended. Could be a static value or Expression.
*
* @return the value value
*/
public Object value() {
return this.value;
}

/**
* Set value to be appended. Could be a static value or Expression.
*
* @param value the value value to set
* @return the AppendVariableActivity object itself.
*/
public AppendVariableActivity withValue(Object value) {
this.value = value;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,18 @@ public class AzureDatabricksLinkedService extends LinkedServiceInner {
private Object newClusterNodeType;

/**
* a set of optional, user-specified Spark configuration key-value pairs.
* A set of optional, user-specified Spark configuration key-value pairs.
*/
@JsonProperty(value = "typeProperties.newClusterSparkConf")
private Map<String, Object> newClusterSparkConf;

/**
* A set of optional, user-specified Spark environment variables key-value
* pairs.
*/
@JsonProperty(value = "typeProperties.newClusterSparkEnvVars")
private Map<String, Object> newClusterSparkEnvVars;

/**
* Additional tags for cluster resources.
*/
Expand Down Expand Up @@ -227,6 +234,26 @@ public AzureDatabricksLinkedService withNewClusterSparkConf(Map<String, Object>
return this;
}

/**
* Get a set of optional, user-specified Spark environment variables key-value pairs.
*
* @return the newClusterSparkEnvVars value
*/
public Map<String, Object> newClusterSparkEnvVars() {
return this.newClusterSparkEnvVars;
}

/**
* Set a set of optional, user-specified Spark environment variables key-value pairs.
*
* @param newClusterSparkEnvVars the newClusterSparkEnvVars value to set
* @return the AzureDatabricksLinkedService object itself.
*/
public AzureDatabricksLinkedService withNewClusterSparkEnvVars(Map<String, Object> newClusterSparkEnvVars) {
this.newClusterSparkEnvVars = newClusterSparkEnvVars;
return this;
}

/**
* Get additional tags for cluster resources.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Container")
@JsonSubTypes({
@JsonSubTypes.Type(name = "AppendVariable", value = AppendVariableActivity.class),
@JsonSubTypes.Type(name = "SetVariable", value = SetVariableActivity.class),
@JsonSubTypes.Type(name = "Filter", value = FilterActivity.class),
@JsonSubTypes.Type(name = "Until", value = UntilActivity.class),
@JsonSubTypes.Type(name = "Wait", value = WaitActivity.class),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@
* Type representing Factories.
*/
public interface Factories extends SupportsCreating<Factory.DefinitionStages.Blank>, SupportsDeletingByResourceGroup, SupportsBatchDeletion, SupportsGettingByResourceGroup<Factory>, SupportsListingByResourceGroup<Factory>, SupportsListing<Factory>, HasInner<FactoriesInner> {
/**
* Get GitHub Access Token.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param gitHubAccessTokenRequest Get GitHub access token request definition.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<GitHubAccessTokenResponse> getGitHubAccessTokenAsync(String resourceGroupName, String factoryName, GitHubAccessTokenRequest gitHubAccessTokenRequest);

/**
* Updates a factory's repo information.
*
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;

/**
* Get GitHub access token request definition.
*/
public class GitHubAccessTokenRequest {
/**
* GitHub access code.
*/
@JsonProperty(value = "gitHubAccessCode", required = true)
private String gitHubAccessCode;

/**
* GitHub application client ID.
*/
@JsonProperty(value = "gitHubClientId")
private String gitHubClientId;

/**
* GitHub access token base URL.
*/
@JsonProperty(value = "gitHubAccessTokenBaseUrl", required = true)
private String gitHubAccessTokenBaseUrl;

/**
* Get gitHub access code.
*
* @return the gitHubAccessCode value
*/
public String gitHubAccessCode() {
return this.gitHubAccessCode;
}

/**
* Set gitHub access code.
*
* @param gitHubAccessCode the gitHubAccessCode value to set
* @return the GitHubAccessTokenRequest object itself.
*/
public GitHubAccessTokenRequest withGitHubAccessCode(String gitHubAccessCode) {
this.gitHubAccessCode = gitHubAccessCode;
return this;
}

/**
* Get gitHub application client ID.
*
* @return the gitHubClientId value
*/
public String gitHubClientId() {
return this.gitHubClientId;
}

/**
* Set gitHub application client ID.
*
* @param gitHubClientId the gitHubClientId value to set
* @return the GitHubAccessTokenRequest object itself.
*/
public GitHubAccessTokenRequest withGitHubClientId(String gitHubClientId) {
this.gitHubClientId = gitHubClientId;
return this;
}

/**
* Get gitHub access token base URL.
*
* @return the gitHubAccessTokenBaseUrl value
*/
public String gitHubAccessTokenBaseUrl() {
return this.gitHubAccessTokenBaseUrl;
}

/**
* Set gitHub access token base URL.
*
* @param gitHubAccessTokenBaseUrl the gitHubAccessTokenBaseUrl value to set
* @return the GitHubAccessTokenRequest object itself.
*/
public GitHubAccessTokenRequest withGitHubAccessTokenBaseUrl(String gitHubAccessTokenBaseUrl) {
this.gitHubAccessTokenBaseUrl = gitHubAccessTokenBaseUrl;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* 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.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.datafactoryv2.v2018_06_01.implementation.DataFactoryManager;
import com.microsoft.azure.management.datafactoryv2.v2018_06_01.implementation.GitHubAccessTokenResponseInner;

/**
* Type representing GitHubAccessTokenResponse.
*/
public interface GitHubAccessTokenResponse extends HasInner<GitHubAccessTokenResponseInner>, HasManager<DataFactoryManager> {
/**
* @return the gitHubAccessToken value.
*/
String gitHubAccessToken();

}
Loading