Skip to content

Commit

Permalink
CodeGen from PR 23479 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 30467997bc7c92669a1d4ed3ed56116d9d666931 into 844b06b77ca841a151a6aa2a459f126e277f3c77
  • Loading branch information
SDKAuto committed Apr 7, 2023
1 parent bb30d8d commit 728800d
Show file tree
Hide file tree
Showing 35 changed files with 292 additions and 231 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.23 (Unreleased)
## 1.0.0-beta.1 (2023-04-07)

- Azure Resource Manager DataFactory client library for Java. This package contains Microsoft Azure SDK for DataFactory Management SDK. The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. Package tag package-2018-06. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-datafactory</artifactId>
<version>1.0.0-beta.22</version>
<version>1.0.0-beta.23</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.datafactory")
.append("/")
.append("1.0.0-beta.22");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ public final class SetVariableActivityTypeProperties {
private String variableName;

/*
* Value to be set. Could be a static value or Expression
* Value to be set. Could be a static value or Expression.
*/
@JsonProperty(value = "value")
private Object value;

/*
* If set to true, it sets the pipeline run return value.
*/
@JsonProperty(value = "setSystemVariable")
private Boolean setSystemVariable;

/** Creates an instance of SetVariableActivityTypeProperties class. */
public SetVariableActivityTypeProperties() {
}
Expand Down Expand Up @@ -66,6 +72,26 @@ public SetVariableActivityTypeProperties withValue(Object value) {
return this;
}

/**
* Get the setSystemVariable property: If set to true, it sets the pipeline run return value.
*
* @return the setSystemVariable value.
*/
public Boolean setSystemVariable() {
return this.setSystemVariable;
}

/**
* Set the setSystemVariable property: If set to true, it sets the pipeline run return value.
*
* @param setSystemVariable the setSystemVariable value to set.
* @return the SetVariableActivityTypeProperties object itself.
*/
public SetVariableActivityTypeProperties withSetSystemVariable(Boolean setSystemVariable) {
this.setSystemVariable = setSystemVariable;
return this;
}

/**
* Validates the instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ public final class ActivityRunsClientImpl implements ActivityRunsClient {
public interface ActivityRunsService {
@Headers({"Content-Type: application/json"})
@Post(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<ActivityRunsQueryResponseInner>> queryByPipelineRun(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ public final class CredentialOperationsClientImpl implements CredentialOperation
public interface CredentialOperationsService {
@Headers({"Content-Type: application/json"})
@Get(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/credentials")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<CredentialListResponse>> listByFactory(
Expand All @@ -77,8 +76,7 @@ Mono<Response<CredentialListResponse>> listByFactory(

@Headers({"Content-Type: application/json"})
@Put(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/credentials/{credentialName}")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<ManagedIdentityCredentialResourceInner>> createOrUpdate(
Expand All @@ -95,8 +93,7 @@ Mono<Response<ManagedIdentityCredentialResourceInner>> createOrUpdate(

@Headers({"Content-Type: application/json"})
@Get(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/credentials/{credentialName}")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}")
@ExpectedResponses({200, 304})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<ManagedIdentityCredentialResourceInner>> get(
Expand All @@ -112,8 +109,7 @@ Mono<Response<ManagedIdentityCredentialResourceInner>> get(

@Headers({"Content-Type: application/json"})
@Delete(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/credentials/{credentialName}")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<Void>> delete(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ public final class DataFlowDebugSessionsClientImpl implements DataFlowDebugSessi
public interface DataFlowDebugSessionsService {
@Headers({"Content-Type: application/json"})
@Post(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/createDataFlowDebugSession")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/createDataFlowDebugSession")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<Flux<ByteBuffer>>> create(
Expand All @@ -89,8 +88,7 @@ Mono<Response<Flux<ByteBuffer>>> create(

@Headers({"Content-Type: application/json"})
@Post(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/queryDataFlowDebugSessions")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryDataFlowDebugSessions")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<QueryDataFlowDebugSessionsResponse>> queryByFactory(
Expand All @@ -104,8 +102,7 @@ Mono<Response<QueryDataFlowDebugSessionsResponse>> queryByFactory(

@Headers({"Content-Type: application/json"})
@Post(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/addDataFlowToDebugSession")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/addDataFlowToDebugSession")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<AddDataFlowToDebugSessionResponseInner>> addDataFlow(
Expand All @@ -120,8 +117,7 @@ Mono<Response<AddDataFlowToDebugSessionResponseInner>> addDataFlow(

@Headers({"Content-Type: application/json"})
@Post(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/deleteDataFlowDebugSession")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/deleteDataFlowDebugSession")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<Void>> delete(
Expand All @@ -136,8 +132,7 @@ Mono<Response<Void>> delete(

@Headers({"Content-Type: application/json"})
@Post(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/executeDataFlowDebugCommand")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/executeDataFlowDebugCommand")
@ExpectedResponses({200, 202})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<Flux<ByteBuffer>>> executeCommand(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ public final class DataFlowsClientImpl implements DataFlowsClient {
public interface DataFlowsService {
@Headers({"Content-Type: application/json"})
@Put(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/dataflows/{dataFlowName}")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<DataFlowResourceInner>> createOrUpdate(
Expand All @@ -79,8 +78,7 @@ Mono<Response<DataFlowResourceInner>> createOrUpdate(

@Headers({"Content-Type: application/json"})
@Get(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/dataflows/{dataFlowName}")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<DataFlowResourceInner>> get(
Expand All @@ -96,8 +94,7 @@ Mono<Response<DataFlowResourceInner>> get(

@Headers({"Content-Type: application/json"})
@Delete(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/dataflows/{dataFlowName}")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<Void>> delete(
Expand All @@ -112,8 +109,7 @@ Mono<Response<Void>> delete(

@Headers({"Content-Type: application/json"})
@Get(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/dataflows")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<DataFlowListResponse>> listByFactory(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ public final class DatasetsClientImpl implements DatasetsClient {
public interface DatasetsService {
@Headers({"Content-Type: application/json"})
@Get(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/datasets")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<DatasetListResponse>> listByFactory(
Expand All @@ -75,8 +74,7 @@ Mono<Response<DatasetListResponse>> listByFactory(

@Headers({"Content-Type: application/json"})
@Put(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/datasets/{datasetName}")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<DatasetResourceInner>> createOrUpdate(
Expand All @@ -93,8 +91,7 @@ Mono<Response<DatasetResourceInner>> createOrUpdate(

@Headers({"Content-Type: application/json"})
@Get(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/datasets/{datasetName}")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}")
@ExpectedResponses({200, 304})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<DatasetResourceInner>> get(
Expand All @@ -110,8 +107,7 @@ Mono<Response<DatasetResourceInner>> get(

@Headers({"Content-Type: application/json"})
@Delete(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/datasets/{datasetName}")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}")
@ExpectedResponses({200, 204})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<Void>> delete(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ Mono<Response<ExposureControlResponseInner>> getFeatureValue(

@Headers({"Content-Type: application/json"})
@Post(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/getFeatureValue")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getFeatureValue")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<ExposureControlResponseInner>> getFeatureValueByFactory(
Expand All @@ -86,8 +85,7 @@ Mono<Response<ExposureControlResponseInner>> getFeatureValueByFactory(

@Headers({"Content-Type: application/json"})
@Post(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory"
+ "/factories/{factoryName}/queryFeaturesValue")
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ManagementException.class)
Mono<Response<ExposureControlBatchResponseInner>> queryFeatureValuesByFactory(
Expand Down
Loading

0 comments on commit 728800d

Please sign in to comment.