Skip to content

Commit c1560ce

Browse files
authored
Regenerate Synapse Artifacts from package-artifacts-composite-v1 tag. (Azure#24509)
1 parent 744db07 commit c1560ce

File tree

136 files changed

+5057
-2838
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+5057
-2838
lines changed

sdk/synapse/azure-analytics-synapse-artifacts/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# Release History
22

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

5+
### Breaking Changes
6+
- `CloudErrorException` is replaced with `CloudErrorAutoGeneratedException`
7+
- `OperationStatus` clients are replaced with `KqlScripts` clients
8+
- Removed `OperationResult` clients.
9+
10+
### Other Changes
11+
- 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)
512

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

sdk/synapse/azure-analytics-synapse-artifacts/src/main/java/com/azure/analytics/synapse/artifacts/ArtifactsClientBuilder.java

Lines changed: 213 additions & 203 deletions
Large diffs are not rendered by default.

sdk/synapse/azure-analytics-synapse-artifacts/src/main/java/com/azure/analytics/synapse/artifacts/BigDataPoolsAsyncClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public final class BigDataPoolsAsyncClient {
3333
*
3434
* @throws ErrorContractException thrown if the request is rejected by server.
3535
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
36-
* @return collection of Big Data pool information.
36+
* @return collection of Big Data pools.
3737
*/
3838
@ServiceMethod(returns = ReturnType.SINGLE)
3939
public Mono<Response<BigDataPoolResourceInfoListResult>> listWithResponse() {
@@ -45,7 +45,7 @@ public Mono<Response<BigDataPoolResourceInfoListResult>> listWithResponse() {
4545
*
4646
* @throws ErrorContractException thrown if the request is rejected by server.
4747
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
48-
* @return collection of Big Data pool information.
48+
* @return collection of Big Data pools.
4949
*/
5050
@ServiceMethod(returns = ReturnType.SINGLE)
5151
public Mono<BigDataPoolResourceInfoListResult> list() {

sdk/synapse/azure-analytics-synapse-artifacts/src/main/java/com/azure/analytics/synapse/artifacts/BigDataPoolsClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public final class BigDataPoolsClient {
3333
*
3434
* @throws ErrorContractException thrown if the request is rejected by server.
3535
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
36-
* @return collection of Big Data pool information.
36+
* @return collection of Big Data pools.
3737
*/
3838
@ServiceMethod(returns = ReturnType.SINGLE)
3939
public BigDataPoolResourceInfoListResult list() {
@@ -47,7 +47,7 @@ public BigDataPoolResourceInfoListResult list() {
4747
* @throws IllegalArgumentException thrown if parameters fail the validation.
4848
* @throws ErrorContractException thrown if the request is rejected by server.
4949
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
50-
* @return collection of Big Data pool information.
50+
* @return collection of Big Data pools.
5151
*/
5252
@ServiceMethod(returns = ReturnType.SINGLE)
5353
public Response<BigDataPoolResourceInfoListResult> listWithResponse(Context context) {

sdk/synapse/azure-analytics-synapse-artifacts/src/main/java/com/azure/analytics/synapse/artifacts/DataFlowAsyncClient.java

Lines changed: 12 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66

77
import com.azure.analytics.synapse.artifacts.implementation.DataFlowsImpl;
88
import com.azure.analytics.synapse.artifacts.models.ArtifactRenameRequest;
9-
import com.azure.analytics.synapse.artifacts.models.CloudErrorException;
9+
import com.azure.analytics.synapse.artifacts.models.CloudErrorAutoGeneratedException;
1010
import com.azure.analytics.synapse.artifacts.models.DataFlowResource;
1111
import com.azure.core.annotation.ReturnType;
1212
import com.azure.core.annotation.ServiceClient;
1313
import com.azure.core.annotation.ServiceMethod;
1414
import com.azure.core.http.rest.PagedFlux;
15-
import com.azure.core.http.rest.PagedResponse;
1615
import com.azure.core.http.rest.Response;
1716
import reactor.core.publisher.Mono;
1817

@@ -38,7 +37,7 @@ public final class DataFlowAsyncClient {
3837
* @param ifMatch ETag of the data flow entity. Should only be specified for update, for which it should match
3938
* existing entity or can be * for unconditional update.
4039
* @throws IllegalArgumentException thrown if parameters fail the validation.
41-
* @throws CloudErrorException thrown if the request is rejected by server.
40+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
4241
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
4342
* @return data flow resource type.
4443
*/
@@ -56,7 +55,7 @@ public Mono<Response<DataFlowResource>> createOrUpdateDataFlowWithResponse(
5655
* @param ifMatch ETag of the data flow entity. Should only be specified for update, for which it should match
5756
* existing entity or can be * for unconditional update.
5857
* @throws IllegalArgumentException thrown if parameters fail the validation.
59-
* @throws CloudErrorException thrown if the request is rejected by server.
58+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
6059
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
6160
* @return data flow resource type.
6261
*/
@@ -72,7 +71,7 @@ public Mono<DataFlowResource> createOrUpdateDataFlow(
7271
* @param dataFlowName The data flow name.
7372
* @param dataFlow Data flow resource definition.
7473
* @throws IllegalArgumentException thrown if parameters fail the validation.
75-
* @throws CloudErrorException thrown if the request is rejected by server.
74+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
7675
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
7776
* @return data flow resource type.
7877
*/
@@ -88,7 +87,7 @@ public Mono<DataFlowResource> createOrUpdateDataFlow(String dataFlowName, DataFl
8887
* @param ifNoneMatch ETag of the data flow entity. Should only be specified for get. If the ETag matches the
8988
* existing entity tag, or if * was provided, then no content will be returned.
9089
* @throws IllegalArgumentException thrown if parameters fail the validation.
91-
* @throws CloudErrorException thrown if the request is rejected by server.
90+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
9291
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
9392
* @return a data flow.
9493
*/
@@ -104,7 +103,7 @@ public Mono<Response<DataFlowResource>> getDataFlowWithResponse(String dataFlowN
104103
* @param ifNoneMatch ETag of the data flow entity. Should only be specified for get. If the ETag matches the
105104
* existing entity tag, or if * was provided, then no content will be returned.
106105
* @throws IllegalArgumentException thrown if parameters fail the validation.
107-
* @throws CloudErrorException thrown if the request is rejected by server.
106+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
108107
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
109108
* @return a data flow.
110109
*/
@@ -118,7 +117,7 @@ public Mono<DataFlowResource> getDataFlow(String dataFlowName, String ifNoneMatc
118117
*
119118
* @param dataFlowName The data flow name.
120119
* @throws IllegalArgumentException thrown if parameters fail the validation.
121-
* @throws CloudErrorException thrown if the request is rejected by server.
120+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
122121
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
123122
* @return a data flow.
124123
*/
@@ -132,7 +131,7 @@ public Mono<DataFlowResource> getDataFlow(String dataFlowName) {
132131
*
133132
* @param dataFlowName The data flow name.
134133
* @throws IllegalArgumentException thrown if parameters fail the validation.
135-
* @throws CloudErrorException thrown if the request is rejected by server.
134+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
136135
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
137136
* @return the completion.
138137
*/
@@ -146,7 +145,7 @@ public Mono<Response<Void>> deleteDataFlowWithResponse(String dataFlowName) {
146145
*
147146
* @param dataFlowName The data flow name.
148147
* @throws IllegalArgumentException thrown if parameters fail the validation.
149-
* @throws CloudErrorException thrown if the request is rejected by server.
148+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
150149
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
151150
* @return the completion.
152151
*/
@@ -161,7 +160,7 @@ public Mono<Void> deleteDataFlow(String dataFlowName) {
161160
* @param dataFlowName The data flow name.
162161
* @param request proposed new name.
163162
* @throws IllegalArgumentException thrown if parameters fail the validation.
164-
* @throws CloudErrorException thrown if the request is rejected by server.
163+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
165164
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
166165
* @return the completion.
167166
*/
@@ -176,7 +175,7 @@ public Mono<Response<Void>> renameDataFlowWithResponse(String dataFlowName, Arti
176175
* @param dataFlowName The data flow name.
177176
* @param request proposed new name.
178177
* @throws IllegalArgumentException thrown if parameters fail the validation.
179-
* @throws CloudErrorException thrown if the request is rejected by server.
178+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
180179
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
181180
* @return the completion.
182181
*/
@@ -188,38 +187,12 @@ public Mono<Void> renameDataFlow(String dataFlowName, ArtifactRenameRequest requ
188187
/**
189188
* Lists data flows.
190189
*
191-
* @throws CloudErrorException thrown if the request is rejected by server.
192-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
193-
* @return a list of data flow resources.
194-
*/
195-
@ServiceMethod(returns = ReturnType.COLLECTION)
196-
public Mono<PagedResponse<DataFlowResource>> getDataFlowsByWorkspaceSinglePage() {
197-
return this.serviceClient.getDataFlowsByWorkspaceSinglePageAsync();
198-
}
199-
200-
/**
201-
* Lists data flows.
202-
*
203-
* @throws CloudErrorException thrown if the request is rejected by server.
190+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
204191
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
205192
* @return a list of data flow resources.
206193
*/
207194
@ServiceMethod(returns = ReturnType.COLLECTION)
208195
public PagedFlux<DataFlowResource> getDataFlowsByWorkspace() {
209196
return this.serviceClient.getDataFlowsByWorkspaceAsync();
210197
}
211-
212-
/**
213-
* Get the next page of items.
214-
*
215-
* @param nextLink The nextLink parameter.
216-
* @throws IllegalArgumentException thrown if parameters fail the validation.
217-
* @throws CloudErrorException thrown if the request is rejected by server.
218-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
219-
* @return a list of data flow resources.
220-
*/
221-
@ServiceMethod(returns = ReturnType.COLLECTION)
222-
public Mono<PagedResponse<DataFlowResource>> getDataFlowsByWorkspaceNextSinglePage(String nextLink) {
223-
return this.serviceClient.getDataFlowsByWorkspaceNextSinglePageAsync(nextLink);
224-
}
225198
}

sdk/synapse/azure-analytics-synapse-artifacts/src/main/java/com/azure/analytics/synapse/artifacts/DataFlowClient.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import com.azure.analytics.synapse.artifacts.implementation.DataFlowsImpl;
88
import com.azure.analytics.synapse.artifacts.models.ArtifactRenameRequest;
9-
import com.azure.analytics.synapse.artifacts.models.CloudErrorException;
9+
import com.azure.analytics.synapse.artifacts.models.CloudErrorAutoGeneratedException;
1010
import com.azure.analytics.synapse.artifacts.models.DataFlowResource;
1111
import com.azure.core.annotation.ReturnType;
1212
import com.azure.core.annotation.ServiceClient;
@@ -37,7 +37,7 @@ public final class DataFlowClient {
3737
* @param ifMatch ETag of the data flow entity. Should only be specified for update, for which it should match
3838
* existing entity or can be * for unconditional update.
3939
* @throws IllegalArgumentException thrown if parameters fail the validation.
40-
* @throws CloudErrorException thrown if the request is rejected by server.
40+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
4141
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
4242
* @return data flow resource type.
4343
*/
@@ -52,7 +52,7 @@ public DataFlowResource createOrUpdateDataFlow(String dataFlowName, DataFlowReso
5252
* @param dataFlowName The data flow name.
5353
* @param dataFlow Data flow resource definition.
5454
* @throws IllegalArgumentException thrown if parameters fail the validation.
55-
* @throws CloudErrorException thrown if the request is rejected by server.
55+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
5656
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
5757
* @return data flow resource type.
5858
*/
@@ -70,7 +70,7 @@ public DataFlowResource createOrUpdateDataFlow(String dataFlowName, DataFlowReso
7070
* existing entity or can be * for unconditional update.
7171
* @param context The context to associate with this operation.
7272
* @throws IllegalArgumentException thrown if parameters fail the validation.
73-
* @throws CloudErrorException thrown if the request is rejected by server.
73+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
7474
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
7575
* @return data flow resource type.
7676
*/
@@ -87,7 +87,7 @@ public Response<DataFlowResource> createOrUpdateDataFlowWithResponse(
8787
* @param ifNoneMatch ETag of the data flow entity. Should only be specified for get. If the ETag matches the
8888
* existing entity tag, or if * was provided, then no content will be returned.
8989
* @throws IllegalArgumentException thrown if parameters fail the validation.
90-
* @throws CloudErrorException thrown if the request is rejected by server.
90+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
9191
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
9292
* @return a data flow.
9393
*/
@@ -101,7 +101,7 @@ public DataFlowResource getDataFlow(String dataFlowName, String ifNoneMatch) {
101101
*
102102
* @param dataFlowName The data flow name.
103103
* @throws IllegalArgumentException thrown if parameters fail the validation.
104-
* @throws CloudErrorException thrown if the request is rejected by server.
104+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
105105
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
106106
* @return a data flow.
107107
*/
@@ -118,7 +118,7 @@ public DataFlowResource getDataFlow(String dataFlowName) {
118118
* existing entity tag, or if * was provided, then no content will be returned.
119119
* @param context The context to associate with this operation.
120120
* @throws IllegalArgumentException thrown if parameters fail the validation.
121-
* @throws CloudErrorException thrown if the request is rejected by server.
121+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
122122
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
123123
* @return a data flow.
124124
*/
@@ -133,7 +133,7 @@ public Response<DataFlowResource> getDataFlowWithResponse(
133133
*
134134
* @param dataFlowName The data flow name.
135135
* @throws IllegalArgumentException thrown if parameters fail the validation.
136-
* @throws CloudErrorException thrown if the request is rejected by server.
136+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
137137
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
138138
*/
139139
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -147,7 +147,7 @@ public void deleteDataFlow(String dataFlowName) {
147147
* @param dataFlowName The data flow name.
148148
* @param context The context to associate with this operation.
149149
* @throws IllegalArgumentException thrown if parameters fail the validation.
150-
* @throws CloudErrorException thrown if the request is rejected by server.
150+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
151151
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
152152
* @return the response.
153153
*/
@@ -162,7 +162,7 @@ public Response<Void> deleteDataFlowWithResponse(String dataFlowName, Context co
162162
* @param dataFlowName The data flow name.
163163
* @param request proposed new name.
164164
* @throws IllegalArgumentException thrown if parameters fail the validation.
165-
* @throws CloudErrorException thrown if the request is rejected by server.
165+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
166166
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
167167
*/
168168
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -177,7 +177,7 @@ public void renameDataFlow(String dataFlowName, ArtifactRenameRequest request) {
177177
* @param request proposed new name.
178178
* @param context The context to associate with this operation.
179179
* @throws IllegalArgumentException thrown if parameters fail the validation.
180-
* @throws CloudErrorException thrown if the request is rejected by server.
180+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
181181
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
182182
* @return the response.
183183
*/
@@ -190,7 +190,7 @@ public Response<Void> renameDataFlowWithResponse(
190190
/**
191191
* Lists data flows.
192192
*
193-
* @throws CloudErrorException thrown if the request is rejected by server.
193+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
194194
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
195195
* @return a list of data flow resources.
196196
*/
@@ -204,7 +204,7 @@ public PagedIterable<DataFlowResource> getDataFlowsByWorkspace() {
204204
*
205205
* @param context The context to associate with this operation.
206206
* @throws IllegalArgumentException thrown if parameters fail the validation.
207-
* @throws CloudErrorException thrown if the request is rejected by server.
207+
* @throws CloudErrorAutoGeneratedException thrown if the request is rejected by server.
208208
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
209209
* @return a list of data flow resources.
210210
*/

0 commit comments

Comments
 (0)