Skip to content

Commit

Permalink
Regenerate Synapse Artifacts from package-artifacts-composite-v1 tag. (
Browse files Browse the repository at this point in the history
  • Loading branch information
g2vinay authored Oct 11, 2021
1 parent 744db07 commit c1560ce
Show file tree
Hide file tree
Showing 136 changed files with 5,057 additions and 2,838 deletions.
9 changes: 8 additions & 1 deletion sdk/synapse/azure-analytics-synapse-artifacts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Release History

## 1.0.0-beta.6 (Unreleased)
## 1.0.0-beta.6 (2021-11-08)

### Breaking Changes
- `CloudErrorException` is replaced with `CloudErrorAutoGeneratedException`
- `OperationStatus` clients are replaced with `KqlScripts` clients
- Removed `OperationResult` clients.

### Other Changes
- Upgrade to [package-artifacts-composite-v1](https://github.com/Azure/azure-rest-api-specs/blob/bee724836ffdeb5458274037dc75f4d43576b5e3/specification/synapse/data-plane/readme.md#tag-package-artifacts-composite-v1)

## 1.0.0-beta.5 (2021-08-10)
- Update to 2021-06-01-preview API version
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public final class BigDataPoolsAsyncClient {
*
* @throws ErrorContractException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return collection of Big Data pool information.
* @return collection of Big Data pools.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<Response<BigDataPoolResourceInfoListResult>> listWithResponse() {
Expand All @@ -45,7 +45,7 @@ public Mono<Response<BigDataPoolResourceInfoListResult>> listWithResponse() {
*
* @throws ErrorContractException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return collection of Big Data pool information.
* @return collection of Big Data pools.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<BigDataPoolResourceInfoListResult> list() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public final class BigDataPoolsClient {
*
* @throws ErrorContractException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return collection of Big Data pool information.
* @return collection of Big Data pools.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public BigDataPoolResourceInfoListResult list() {
Expand All @@ -47,7 +47,7 @@ public BigDataPoolResourceInfoListResult list() {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ErrorContractException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return collection of Big Data pool information.
* @return collection of Big Data pools.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response<BigDataPoolResourceInfoListResult> listWithResponse(Context context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@

import com.azure.analytics.synapse.artifacts.implementation.DataFlowsImpl;
import com.azure.analytics.synapse.artifacts.models.ArtifactRenameRequest;
import com.azure.analytics.synapse.artifacts.models.CloudErrorException;
import com.azure.analytics.synapse.artifacts.models.CloudErrorAutoGeneratedException;
import com.azure.analytics.synapse.artifacts.models.DataFlowResource;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedFlux;
import com.azure.core.http.rest.PagedResponse;
import com.azure.core.http.rest.Response;
import reactor.core.publisher.Mono;

Expand All @@ -38,7 +37,7 @@ public final class DataFlowAsyncClient {
* @param ifMatch ETag of the data flow entity. Should only be specified for update, for which it should match
* existing entity or can be * for unconditional update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return data flow resource type.
*/
Expand All @@ -56,7 +55,7 @@ public Mono<Response<DataFlowResource>> createOrUpdateDataFlowWithResponse(
* @param ifMatch ETag of the data flow entity. Should only be specified for update, for which it should match
* existing entity or can be * for unconditional update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return data flow resource type.
*/
Expand All @@ -72,7 +71,7 @@ public Mono<DataFlowResource> createOrUpdateDataFlow(
* @param dataFlowName The data flow name.
* @param dataFlow Data flow resource definition.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return data flow resource type.
*/
Expand All @@ -88,7 +87,7 @@ public Mono<DataFlowResource> createOrUpdateDataFlow(String dataFlowName, DataFl
* @param ifNoneMatch ETag of the data flow entity. Should only be specified for get. If the ETag matches the
* existing entity tag, or if * was provided, then no content will be returned.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a data flow.
*/
Expand All @@ -104,7 +103,7 @@ public Mono<Response<DataFlowResource>> getDataFlowWithResponse(String dataFlowN
* @param ifNoneMatch ETag of the data flow entity. Should only be specified for get. If the ETag matches the
* existing entity tag, or if * was provided, then no content will be returned.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a data flow.
*/
Expand All @@ -118,7 +117,7 @@ public Mono<DataFlowResource> getDataFlow(String dataFlowName, String ifNoneMatc
*
* @param dataFlowName The data flow name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a data flow.
*/
Expand All @@ -132,7 +131,7 @@ public Mono<DataFlowResource> getDataFlow(String dataFlowName) {
*
* @param dataFlowName The data flow name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
Expand All @@ -146,7 +145,7 @@ public Mono<Response<Void>> deleteDataFlowWithResponse(String dataFlowName) {
*
* @param dataFlowName The data flow name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
Expand All @@ -161,7 +160,7 @@ public Mono<Void> deleteDataFlow(String dataFlowName) {
* @param dataFlowName The data flow name.
* @param request proposed new name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
Expand All @@ -176,7 +175,7 @@ public Mono<Response<Void>> renameDataFlowWithResponse(String dataFlowName, Arti
* @param dataFlowName The data flow name.
* @param request proposed new name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
*/
Expand All @@ -188,38 +187,12 @@ public Mono<Void> renameDataFlow(String dataFlowName, ArtifactRenameRequest requ
/**
* Lists data flows.
*
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of data flow resources.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public Mono<PagedResponse<DataFlowResource>> getDataFlowsByWorkspaceSinglePage() {
return this.serviceClient.getDataFlowsByWorkspaceSinglePageAsync();
}

/**
* Lists data flows.
*
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of data flow resources.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedFlux<DataFlowResource> getDataFlowsByWorkspace() {
return this.serviceClient.getDataFlowsByWorkspaceAsync();
}

/**
* Get the next page of items.
*
* @param nextLink The nextLink parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of data flow resources.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public Mono<PagedResponse<DataFlowResource>> getDataFlowsByWorkspaceNextSinglePage(String nextLink) {
return this.serviceClient.getDataFlowsByWorkspaceNextSinglePageAsync(nextLink);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import com.azure.analytics.synapse.artifacts.implementation.DataFlowsImpl;
import com.azure.analytics.synapse.artifacts.models.ArtifactRenameRequest;
import com.azure.analytics.synapse.artifacts.models.CloudErrorException;
import com.azure.analytics.synapse.artifacts.models.CloudErrorAutoGeneratedException;
import com.azure.analytics.synapse.artifacts.models.DataFlowResource;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down Expand Up @@ -37,7 +37,7 @@ public final class DataFlowClient {
* @param ifMatch ETag of the data flow entity. Should only be specified for update, for which it should match
* existing entity or can be * for unconditional update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return data flow resource type.
*/
Expand All @@ -52,7 +52,7 @@ public DataFlowResource createOrUpdateDataFlow(String dataFlowName, DataFlowReso
* @param dataFlowName The data flow name.
* @param dataFlow Data flow resource definition.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return data flow resource type.
*/
Expand All @@ -70,7 +70,7 @@ public DataFlowResource createOrUpdateDataFlow(String dataFlowName, DataFlowReso
* existing entity or can be * for unconditional update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return data flow resource type.
*/
Expand All @@ -87,7 +87,7 @@ public Response<DataFlowResource> createOrUpdateDataFlowWithResponse(
* @param ifNoneMatch ETag of the data flow entity. Should only be specified for get. If the ETag matches the
* existing entity tag, or if * was provided, then no content will be returned.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a data flow.
*/
Expand All @@ -101,7 +101,7 @@ public DataFlowResource getDataFlow(String dataFlowName, String ifNoneMatch) {
*
* @param dataFlowName The data flow name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a data flow.
*/
Expand All @@ -118,7 +118,7 @@ public DataFlowResource getDataFlow(String dataFlowName) {
* existing entity tag, or if * was provided, then no content will be returned.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a data flow.
*/
Expand All @@ -133,7 +133,7 @@ public Response<DataFlowResource> getDataFlowWithResponse(
*
* @param dataFlowName The data flow name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Expand All @@ -147,7 +147,7 @@ public void deleteDataFlow(String dataFlowName) {
* @param dataFlowName The data flow name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
*/
Expand All @@ -162,7 +162,7 @@ public Response<Void> deleteDataFlowWithResponse(String dataFlowName, Context co
* @param dataFlowName The data flow name.
* @param request proposed new name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Expand All @@ -177,7 +177,7 @@ public void renameDataFlow(String dataFlowName, ArtifactRenameRequest request) {
* @param request proposed new name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
*/
Expand All @@ -190,7 +190,7 @@ public Response<Void> renameDataFlowWithResponse(
/**
* Lists data flows.
*
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of data flow resources.
*/
Expand All @@ -204,7 +204,7 @@ public PagedIterable<DataFlowResource> getDataFlowsByWorkspace() {
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws CloudErrorException thrown if the request is rejected by server.
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of data flow resources.
*/
Expand Down
Loading

0 comments on commit c1560ce

Please sign in to comment.