Skip to content

Commit

Permalink
CodeGen from PR 16251 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 35eabcf69ecf14a27e184b3c9e6e63ba28bab2e3 into 0e27f3801f99bd3a4d9169296fea55a190d37cff
  • Loading branch information
SDKAuto committed Oct 11, 2021
1 parent fabd3d3 commit 1ed823c
Show file tree
Hide file tree
Showing 39 changed files with 882 additions and 74 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.7 (Unreleased)
## 1.0.0-beta.1 (2021-10-11)

- 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.6</version>
<version>1.0.0-beta.7</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.datafactory")
.append("/")
.append("1.0.0-beta.6");
.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 @@ -33,7 +33,7 @@ public interface DataFlowDebugSessionsClient {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response body structure for creating data flow debug session.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<CreateDataFlowDebugSessionResponseInner>, CreateDataFlowDebugSessionResponseInner>
beginCreate(String resourceGroupName, String factoryName, CreateDataFlowDebugSessionRequest request);

Expand All @@ -49,7 +49,7 @@ public interface DataFlowDebugSessionsClient {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response body structure for creating data flow debug session.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<CreateDataFlowDebugSessionResponseInner>, CreateDataFlowDebugSessionResponseInner>
beginCreate(
String resourceGroupName, String factoryName, CreateDataFlowDebugSessionRequest request, Context context);
Expand Down Expand Up @@ -184,7 +184,7 @@ Response<Void> deleteWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response body structure of data flow result for data preview, statistics or expression preview.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<DataFlowDebugCommandResponseInner>, DataFlowDebugCommandResponseInner> beginExecuteCommand(
String resourceGroupName, String factoryName, DataFlowDebugCommandRequest request);

Expand All @@ -200,7 +200,7 @@ SyncPoller<PollResult<DataFlowDebugCommandResponseInner>, DataFlowDebugCommandRe
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response body structure of data flow result for data preview, statistics or expression preview.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<DataFlowDebugCommandResponseInner>, DataFlowDebugCommandResponseInner> beginExecuteCommand(
String resourceGroupName, String factoryName, DataFlowDebugCommandRequest request, Context context);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public interface IntegrationRuntimeObjectMetadatasClient {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the status of the operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SsisObjectMetadataStatusResponseInner>, SsisObjectMetadataStatusResponseInner> beginRefresh(
String resourceGroupName, String factoryName, String integrationRuntimeName);

Expand All @@ -45,7 +45,7 @@ SyncPoller<PollResult<SsisObjectMetadataStatusResponseInner>, SsisObjectMetadata
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the status of the operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<SsisObjectMetadataStatusResponseInner>, SsisObjectMetadataStatusResponseInner> beginRefresh(
String resourceGroupName, String factoryName, String integrationRuntimeName, Context context);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ Response<IntegrationRuntimeAuthKeysInner> listAuthKeysWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return integration runtime status response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<IntegrationRuntimeStatusResponseInner>, IntegrationRuntimeStatusResponseInner> beginStart(
String resourceGroupName, String factoryName, String integrationRuntimeName);

Expand All @@ -396,7 +396,7 @@ SyncPoller<PollResult<IntegrationRuntimeStatusResponseInner>, IntegrationRuntime
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return integration runtime status response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<IntegrationRuntimeStatusResponseInner>, IntegrationRuntimeStatusResponseInner> beginStart(
String resourceGroupName, String factoryName, String integrationRuntimeName, Context context);

Expand Down Expand Up @@ -442,7 +442,7 @@ IntegrationRuntimeStatusResponseInner start(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginStop(
String resourceGroupName, String factoryName, String integrationRuntimeName);

Expand All @@ -458,7 +458,7 @@ SyncPoller<PollResult<Void>, Void> beginStop(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginStop(
String resourceGroupName, String factoryName, String integrationRuntimeName, Context context);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Response<Void> deleteWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return defines the response of a trigger subscription operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<TriggerSubscriptionOperationStatusInner>, TriggerSubscriptionOperationStatusInner>
beginSubscribeToEvents(String resourceGroupName, String factoryName, String triggerName);

Expand All @@ -204,7 +204,7 @@ Response<Void> deleteWithResponse(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return defines the response of a trigger subscription operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<TriggerSubscriptionOperationStatusInner>, TriggerSubscriptionOperationStatusInner>
beginSubscribeToEvents(String resourceGroupName, String factoryName, String triggerName, Context context);

Expand Down Expand Up @@ -281,7 +281,7 @@ Response<TriggerSubscriptionOperationStatusInner> getEventSubscriptionStatusWith
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return defines the response of a trigger subscription operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<TriggerSubscriptionOperationStatusInner>, TriggerSubscriptionOperationStatusInner>
beginUnsubscribeFromEvents(String resourceGroupName, String factoryName, String triggerName);

Expand All @@ -297,7 +297,7 @@ Response<TriggerSubscriptionOperationStatusInner> getEventSubscriptionStatusWith
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return defines the response of a trigger subscription operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<TriggerSubscriptionOperationStatusInner>, TriggerSubscriptionOperationStatusInner>
beginUnsubscribeFromEvents(String resourceGroupName, String factoryName, String triggerName, Context context);

Expand Down Expand Up @@ -343,7 +343,7 @@ TriggerSubscriptionOperationStatusInner unsubscribeFromEvents(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginStart(String resourceGroupName, String factoryName, String triggerName);

/**
Expand All @@ -358,7 +358,7 @@ TriggerSubscriptionOperationStatusInner unsubscribeFromEvents(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginStart(
String resourceGroupName, String factoryName, String triggerName, Context context);

Expand Down Expand Up @@ -400,7 +400,7 @@ SyncPoller<PollResult<Void>, Void> beginStart(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginStop(String resourceGroupName, String factoryName, String triggerName);

/**
Expand All @@ -415,7 +415,7 @@ SyncPoller<PollResult<Void>, Void> beginStart(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginStop(
String resourceGroupName, String factoryName, String triggerName, Context context);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
import com.azure.resourcemanager.datafactory.models.ExecuteDataFlowActivityTypePropertiesCompute;
import com.azure.resourcemanager.datafactory.models.IntegrationRuntimeReference;
import com.azure.resourcemanager.datafactory.models.PowerQuerySink;
import com.azure.resourcemanager.datafactory.models.PowerQuerySinkMapping;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;

/** Execute power query data flow activity properties. */
Expand All @@ -22,14 +24,22 @@ public final class ExecutePowerQueryActivityTypeProperties extends ExecuteDataFl
@JsonIgnore private final ClientLogger logger = new ClientLogger(ExecutePowerQueryActivityTypeProperties.class);

/*
* List of Power Query activity sinks mapped to a queryName.
* (Deprecated. Please use Queries). List of Power Query activity sinks
* mapped to a queryName.
*/
@JsonProperty(value = "sinks")
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
private Map<String, PowerQuerySink> sinks;

/*
* List of mapping for Power Query mashup query to sink dataset(s).
*/
@JsonProperty(value = "queries")
private List<PowerQuerySinkMapping> queries;

/**
* Get the sinks property: List of Power Query activity sinks mapped to a queryName.
* Get the sinks property: (Deprecated. Please use Queries). List of Power Query activity sinks mapped to a
* queryName.
*
* @return the sinks value.
*/
Expand All @@ -38,7 +48,8 @@ public Map<String, PowerQuerySink> sinks() {
}

/**
* Set the sinks property: List of Power Query activity sinks mapped to a queryName.
* Set the sinks property: (Deprecated. Please use Queries). List of Power Query activity sinks mapped to a
* queryName.
*
* @param sinks the sinks value to set.
* @return the ExecutePowerQueryActivityTypeProperties object itself.
Expand All @@ -48,6 +59,26 @@ public ExecutePowerQueryActivityTypeProperties withSinks(Map<String, PowerQueryS
return this;
}

/**
* Get the queries property: List of mapping for Power Query mashup query to sink dataset(s).
*
* @return the queries value.
*/
public List<PowerQuerySinkMapping> queries() {
return this.queries;
}

/**
* Set the queries property: List of mapping for Power Query mashup query to sink dataset(s).
*
* @param queries the queries value to set.
* @return the ExecutePowerQueryActivityTypeProperties object itself.
*/
public ExecutePowerQueryActivityTypeProperties withQueries(List<PowerQuerySinkMapping> queries) {
this.queries = queries;
return this;
}

/** {@inheritDoc} */
@Override
public ExecutePowerQueryActivityTypeProperties withDataFlow(DataFlowReference dataFlow) {
Expand Down Expand Up @@ -116,5 +147,8 @@ public void validate() {
}
});
}
if (queries() != null) {
queries().forEach(e -> e.validate());
}
}
}
Loading

0 comments on commit 1ed823c

Please sign in to comment.