Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2bbe2c4
[AutoPR datafactory/resource-manager] Creating new API version for AD…
AutorestCI Jun 22, 2018
2aba1fb
[AutoPR datafactory/resource-manager] [ADF v2]Add integration runtime…
AutorestCI Jul 10, 2018
9345ebd
Generated from 150ad35384422f89c66b0814294f439b35e2d2ed (#2212)
AutorestCI Jul 11, 2018
f8515fa
[AutoPR datafactory/resource-manager] [Datafactory] DatabricksSparkJa…
AutorestCI Jul 11, 2018
326d3d9
Generated from 3bcb5068dd38686779fe7f7aee5b11b6da83f680 (#2257)
AutorestCI Jul 24, 2018
b936080
Generated from 04d330debfe9f9f86aece8489cb5758f4025c53a (#2262)
AutorestCI Jul 24, 2018
0a73004
Generated from ac50a2da1ec162e8eb9e8f01f1bd1e9b110d24c0 (#2294)
AutorestCI Aug 1, 2018
9c6f664
[AutoPR datafactory/resource-manager] add 2 storage linked service ty…
AutorestCI Aug 1, 2018
a904668
[AutoPR datafactory/resource-manager] Add two API-s to integration ru…
AutorestCI Aug 22, 2018
741bd1b
[AutoPR datafactory/resource-manager] [Datafactory] Add folders to Pi…
AutorestCI Aug 29, 2018
6d457ed
[AutoPR datafactory/resource-manager] revert tumbling window dependsO…
AutorestCI Aug 29, 2018
2fe472b
Generated from 8b87f503ecc9be21483bf4836e503a4a39655629 (#2365)
AutorestCI Sep 6, 2018
b656cff
Generated from e2194ea26e21490f9c88bf4c63868716b5b772d7 (#2372)
AutorestCI Sep 7, 2018
f4593f5
[AutoPR datafactory/resource-manager] Azure Data Factory: Add swagger…
AutorestCI Sep 8, 2018
52c80dc
Generated from bfcac8c748456051e8aecca89cd0bad13704eb99 (#2396)
AutorestCI Sep 19, 2018
ba32de3
Generated from 9dec6b08742c433d0429a8737a65fdc690863d6b (#2435)
AutorestCI Sep 28, 2018
a04d48e
Generated from 68c58c2d8602adda9e80068e105f3d449474aa51 (#2443)
AutorestCI Oct 1, 2018
7c9baf0
[AutoPR datafactory/resource-manager] Add APIs for tumbling window re…
AutorestCI Oct 5, 2018
f42e83d
[AutoPR datafactory/resource-manager] Enable delete activity (#2557)
AutorestCI Nov 6, 2018
8d797e0
[AutoPR datafactory/resource-manager] [DataFactory]Add sensitive fiel…
AutorestCI Nov 6, 2018
0102fbd
Generated from 136aff8dae7f767f7391d0b20a2c071aef29f77f (#2577)
AutorestCI Nov 14, 2018
72ea7a2
[AutoPR datafactory/resource-manager] Adding get Dataplane readonly t…
AutorestCI Nov 20, 2018
ab820a9
Generated from 247c6a22105cd7c58a189359cf973edcb0ff05bd (#2640)
AutorestCI Nov 26, 2018
799018a
Generated from daf7fe30a7e5857636a834d880f9b6345b41bfac (#2656)
AutorestCI Nov 27, 2018
2fdbb0b
[AutoPR datafactory/resource-manager] Refactor delete activity payloa…
AutorestCI Dec 6, 2018
c19a541
[AutoPR datafactory/resource-manager] Add support for HDIinsight clus…
AutorestCI Dec 6, 2018
5ed2558
[AutoPR datafactory/resource-manager] Adding refresh and get Integrat…
AutorestCI Dec 11, 2018
ea32e5e
Generated from 948350f5d28ef4686eaa2a4ffead98655f0262cb (#2798)
AutorestCI Dec 17, 2018
c19044a
Generated from f9be2a6b0020602b14ff1e64cfb47c38f096fffa (#2813)
AutorestCI Jan 4, 2019
7061fab
[AutoPR datafactory/resource-manager] [Datafactory] Add Webhook Activ…
AutorestCI Jan 10, 2019
a78afda
Generated from af8bffa10fefa97dffc4d50f127481f09e74174e (#2839)
AutorestCI Jan 14, 2019
4922deb
[AutoPR datafactory/resource-manager] [DataFactory]Support schema pro…
AutorestCI Jan 15, 2019
eb6f712
[AutoPR datafactory/resource-manager] data factory validation activit…
AutorestCI Jan 15, 2019
7504321
[AutoPR datafactory/resource-manager] For preview api: Change type of…
AutorestCI Jan 15, 2019
6608364
Generated from f33ee24e7884fc7cdd79dfa4276779dfffcb660e (#2855)
AutorestCI Jan 18, 2019
bba26c2
[AutoPR datafactory/resource-manager] Revert DataFactory Validation A…
AutorestCI Jan 18, 2019
dbd3dd7
[AutoPR datafactory/resource-manager] [Datafactory] Add Azure Functio…
AutorestCI Jan 18, 2019
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
Prev Previous commit
Next Next commit
Generated from bfcac8c748456051e8aecca89cd0bad13704eb99 (#2396)
Fix formats
  • Loading branch information
AutorestCI authored Sep 19, 2018
commit 52c80dcead7909e75789bb8520f92958e616c0a0
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
Expand Up @@ -65,7 +65,7 @@ interface PipelineRunsService {

@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.datafactoryv2.v2018_06_01.PipelineRuns cancel" })
@POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/cancel")
Observable<Response<ResponseBody>> cancel(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Path("runId") String runId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
Observable<Response<ResponseBody>> cancel(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("factoryName") String factoryName, @Path("runId") String runId, @Query("isRecursive") Boolean isRecursive, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);

}

Expand Down Expand Up @@ -327,7 +327,97 @@ public Observable<ServiceResponse<Void>> cancelWithServiceResponseAsync(String r
if (this.client.apiVersion() == null) {
throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
}
return service.cancel(this.client.subscriptionId(), resourceGroupName, factoryName, runId, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
final Boolean isRecursive = null;
return service.cancel(this.client.subscriptionId(), resourceGroupName, factoryName, runId, isRecursive, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
@Override
public Observable<ServiceResponse<Void>> call(Response<ResponseBody> response) {
try {
ServiceResponse<Void> clientResponse = cancelDelegate(response);
return Observable.just(clientResponse);
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}

/**
* Cancel a pipeline run by its run ID.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param runId The pipeline run identifier.
* @param isRecursive If true, cancel all the Child pipelines that are triggered by the current pipeline.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
*/
public void cancel(String resourceGroupName, String factoryName, String runId, Boolean isRecursive) {
cancelWithServiceResponseAsync(resourceGroupName, factoryName, runId, isRecursive).toBlocking().single().body();
}

/**
* Cancel a pipeline run by its run ID.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param runId The pipeline run identifier.
* @param isRecursive If true, cancel all the Child pipelines that are triggered by the current pipeline.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<Void> cancelAsync(String resourceGroupName, String factoryName, String runId, Boolean isRecursive, final ServiceCallback<Void> serviceCallback) {
return ServiceFuture.fromResponse(cancelWithServiceResponseAsync(resourceGroupName, factoryName, runId, isRecursive), serviceCallback);
}

/**
* Cancel a pipeline run by its run ID.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param runId The pipeline run identifier.
* @param isRecursive If true, cancel all the Child pipelines that are triggered by the current pipeline.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponse} object if successful.
*/
public Observable<Void> cancelAsync(String resourceGroupName, String factoryName, String runId, Boolean isRecursive) {
return cancelWithServiceResponseAsync(resourceGroupName, factoryName, runId, isRecursive).map(new Func1<ServiceResponse<Void>, Void>() {
@Override
public Void call(ServiceResponse<Void> response) {
return response.body();
}
});
}

/**
* Cancel a pipeline run by its run ID.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param runId The pipeline run identifier.
* @param isRecursive If true, cancel all the Child pipelines that are triggered by the current pipeline.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponse} object if successful.
*/
public Observable<ServiceResponse<Void>> cancelWithServiceResponseAsync(String resourceGroupName, String factoryName, String runId, Boolean isRecursive) {
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
if (resourceGroupName == null) {
throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
}
if (factoryName == null) {
throw new IllegalArgumentException("Parameter factoryName is required and cannot be null.");
}
if (runId == null) {
throw new IllegalArgumentException("Parameter runId is required and cannot be null.");
}
if (this.client.apiVersion() == null) {
throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
}
return service.cancel(this.client.subscriptionId(), resourceGroupName, factoryName, runId, isRecursive, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
@Override
public Observable<ServiceResponse<Void>> call(Response<ResponseBody> response) {
Expand Down