Skip to content

Commit 5d7bd7c

Browse files
author
SDKAuto
committed
CodeGen from PR 16270 in Azure/azure-rest-api-specs
Merge 8074a1bd2dde012fd6fab13c9869e08b0f13d209 into 99d3931e458882c3402aad2f971e46e961a1e78c
1 parent 0b0bd3c commit 5d7bd7c

30 files changed

+212
-230
lines changed

sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md

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

3-
## 1.0.0-beta.7 (Unreleased)
3+
## 1.0.0-beta.1 (2021-10-13)
4+
5+
- Azure Resource Manager NetAppFiles client library for Java. This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-netapp-2021-06-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

sdk/netapp/azure-resourcemanager-netapp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-netapp</artifactId>
35-
<version>1.0.0-beta.6</version>
35+
<version>1.0.0-beta.7</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile
214214
.append("-")
215215
.append("com.azure.resourcemanager.netapp")
216216
.append("/")
217-
.append("1.0.0-beta.6");
217+
.append("1.0.0-beta.1");
218218
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
219219
userAgentBuilder
220220
.append(" (")

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Response<BackupInner> getWithResponse(
8383
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
8484
* @return the completion.
8585
*/
86-
@ServiceMethod(returns = ReturnType.SINGLE)
86+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
8787
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String accountName, String backupName);
8888

8989
/**
@@ -98,7 +98,7 @@ Response<BackupInner> getWithResponse(
9898
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
9999
* @return the completion.
100100
*/
101-
@ServiceMethod(returns = ReturnType.SINGLE)
101+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
102102
SyncPoller<PollResult<Void>, Void> beginDelete(
103103
String resourceGroupName, String accountName, String backupName, Context context);
104104

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Response<NetAppAccountInner> getByResourceGroupWithResponse(
102102
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
103103
* @return netApp account resource.
104104
*/
105-
@ServiceMethod(returns = ReturnType.SINGLE)
105+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
106106
SyncPoller<PollResult<NetAppAccountInner>, NetAppAccountInner> beginCreateOrUpdate(
107107
String resourceGroupName, String accountName, NetAppAccountInner body);
108108

@@ -118,7 +118,7 @@ SyncPoller<PollResult<NetAppAccountInner>, NetAppAccountInner> beginCreateOrUpda
118118
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
119119
* @return netApp account resource.
120120
*/
121-
@ServiceMethod(returns = ReturnType.SINGLE)
121+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
122122
SyncPoller<PollResult<NetAppAccountInner>, NetAppAccountInner> beginCreateOrUpdate(
123123
String resourceGroupName, String accountName, NetAppAccountInner body, Context context);
124124

@@ -162,7 +162,7 @@ NetAppAccountInner createOrUpdate(
162162
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
163163
* @return the completion.
164164
*/
165-
@ServiceMethod(returns = ReturnType.SINGLE)
165+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
166166
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String accountName);
167167

168168
/**
@@ -176,7 +176,7 @@ NetAppAccountInner createOrUpdate(
176176
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
177177
* @return the completion.
178178
*/
179-
@ServiceMethod(returns = ReturnType.SINGLE)
179+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
180180
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String accountName, Context context);
181181

182182
/**
@@ -215,7 +215,7 @@ NetAppAccountInner createOrUpdate(
215215
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
216216
* @return netApp account resource.
217217
*/
218-
@ServiceMethod(returns = ReturnType.SINGLE)
218+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
219219
SyncPoller<PollResult<NetAppAccountInner>, NetAppAccountInner> beginUpdate(
220220
String resourceGroupName, String accountName, NetAppAccountPatch body);
221221

@@ -231,7 +231,7 @@ SyncPoller<PollResult<NetAppAccountInner>, NetAppAccountInner> beginUpdate(
231231
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
232232
* @return netApp account resource.
233233
*/
234-
@ServiceMethod(returns = ReturnType.SINGLE)
234+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
235235
SyncPoller<PollResult<NetAppAccountInner>, NetAppAccountInner> beginUpdate(
236236
String resourceGroupName, String accountName, NetAppAccountPatch body, Context context);
237237

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Response<BackupPolicyInner> getWithResponse(
8585
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
8686
* @return backup policy information.
8787
*/
88-
@ServiceMethod(returns = ReturnType.SINGLE)
88+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
8989
SyncPoller<PollResult<BackupPolicyInner>, BackupPolicyInner> beginCreate(
9090
String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body);
9191

@@ -102,7 +102,7 @@ SyncPoller<PollResult<BackupPolicyInner>, BackupPolicyInner> beginCreate(
102102
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
103103
* @return backup policy information.
104104
*/
105-
@ServiceMethod(returns = ReturnType.SINGLE)
105+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
106106
SyncPoller<PollResult<BackupPolicyInner>, BackupPolicyInner> beginCreate(
107107
String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body, Context context);
108108

@@ -151,7 +151,7 @@ BackupPolicyInner create(
151151
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
152152
* @return backup policy information.
153153
*/
154-
@ServiceMethod(returns = ReturnType.SINGLE)
154+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
155155
SyncPoller<PollResult<BackupPolicyInner>, BackupPolicyInner> beginUpdate(
156156
String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body);
157157

@@ -168,7 +168,7 @@ SyncPoller<PollResult<BackupPolicyInner>, BackupPolicyInner> beginUpdate(
168168
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
169169
* @return backup policy information.
170170
*/
171-
@ServiceMethod(returns = ReturnType.SINGLE)
171+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
172172
SyncPoller<PollResult<BackupPolicyInner>, BackupPolicyInner> beginUpdate(
173173
String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body, Context context);
174174

@@ -216,7 +216,7 @@ BackupPolicyInner update(
216216
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
217217
* @return the completion.
218218
*/
219-
@ServiceMethod(returns = ReturnType.SINGLE)
219+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
220220
SyncPoller<PollResult<Void>, Void> beginDelete(
221221
String resourceGroupName, String accountName, String backupPolicyName);
222222

@@ -232,7 +232,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
232232
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
233233
* @return the completion.
234234
*/
235-
@ServiceMethod(returns = ReturnType.SINGLE)
235+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
236236
SyncPoller<PollResult<Void>, Void> beginDelete(
237237
String resourceGroupName, String accountName, String backupPolicyName, Context context);
238238

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Response<BackupInner> getWithResponse(
169169
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
170170
* @return backup of a Volume.
171171
*/
172-
@ServiceMethod(returns = ReturnType.SINGLE)
172+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
173173
SyncPoller<PollResult<BackupInner>, BackupInner> beginCreate(
174174
String resourceGroupName,
175175
String accountName,
@@ -193,7 +193,7 @@ SyncPoller<PollResult<BackupInner>, BackupInner> beginCreate(
193193
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
194194
* @return backup of a Volume.
195195
*/
196-
@ServiceMethod(returns = ReturnType.SINGLE)
196+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
197197
SyncPoller<PollResult<BackupInner>, BackupInner> beginCreate(
198198
String resourceGroupName,
199199
String accountName,
@@ -265,7 +265,7 @@ BackupInner create(
265265
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
266266
* @return backup of a Volume.
267267
*/
268-
@ServiceMethod(returns = ReturnType.SINGLE)
268+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
269269
SyncPoller<PollResult<BackupInner>, BackupInner> beginUpdate(
270270
String resourceGroupName,
271271
String accountName,
@@ -289,7 +289,7 @@ SyncPoller<PollResult<BackupInner>, BackupInner> beginUpdate(
289289
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
290290
* @return backup of a Volume.
291291
*/
292-
@ServiceMethod(returns = ReturnType.SINGLE)
292+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
293293
SyncPoller<PollResult<BackupInner>, BackupInner> beginUpdate(
294294
String resourceGroupName,
295295
String accountName,
@@ -377,7 +377,7 @@ BackupInner update(
377377
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
378378
* @return the completion.
379379
*/
380-
@ServiceMethod(returns = ReturnType.SINGLE)
380+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
381381
SyncPoller<PollResult<Void>, Void> beginDelete(
382382
String resourceGroupName, String accountName, String poolName, String volumeName, String backupName);
383383

@@ -395,7 +395,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
395395
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
396396
* @return the completion.
397397
*/
398-
@ServiceMethod(returns = ReturnType.SINGLE)
398+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
399399
SyncPoller<PollResult<Void>, Void> beginDelete(
400400
String resourceGroupName,
401401
String accountName,

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Response<CapacityPoolInner> getWithResponse(
8585
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
8686
* @return capacity pool resource.
8787
*/
88-
@ServiceMethod(returns = ReturnType.SINGLE)
88+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
8989
SyncPoller<PollResult<CapacityPoolInner>, CapacityPoolInner> beginCreateOrUpdate(
9090
String resourceGroupName, String accountName, String poolName, CapacityPoolInner body);
9191

@@ -102,7 +102,7 @@ SyncPoller<PollResult<CapacityPoolInner>, CapacityPoolInner> beginCreateOrUpdate
102102
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
103103
* @return capacity pool resource.
104104
*/
105-
@ServiceMethod(returns = ReturnType.SINGLE)
105+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
106106
SyncPoller<PollResult<CapacityPoolInner>, CapacityPoolInner> beginCreateOrUpdate(
107107
String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, Context context);
108108

@@ -151,7 +151,7 @@ CapacityPoolInner createOrUpdate(
151151
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
152152
* @return capacity pool resource.
153153
*/
154-
@ServiceMethod(returns = ReturnType.SINGLE)
154+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
155155
SyncPoller<PollResult<CapacityPoolInner>, CapacityPoolInner> beginUpdate(
156156
String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body);
157157

@@ -168,7 +168,7 @@ SyncPoller<PollResult<CapacityPoolInner>, CapacityPoolInner> beginUpdate(
168168
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
169169
* @return capacity pool resource.
170170
*/
171-
@ServiceMethod(returns = ReturnType.SINGLE)
171+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
172172
SyncPoller<PollResult<CapacityPoolInner>, CapacityPoolInner> beginUpdate(
173173
String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, Context context);
174174

@@ -215,7 +215,7 @@ CapacityPoolInner update(
215215
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
216216
* @return the completion.
217217
*/
218-
@ServiceMethod(returns = ReturnType.SINGLE)
218+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
219219
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String accountName, String poolName);
220220

221221
/**
@@ -230,7 +230,7 @@ CapacityPoolInner update(
230230
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
231231
* @return the completion.
232232
*/
233-
@ServiceMethod(returns = ReturnType.SINGLE)
233+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
234234
SyncPoller<PollResult<Void>, Void> beginDelete(
235235
String resourceGroupName, String accountName, String poolName, Context context);
236236

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Response<SnapshotPolicyInner> createWithResponse(
123123
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
124124
* @return snapshot policy information.
125125
*/
126-
@ServiceMethod(returns = ReturnType.SINGLE)
126+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
127127
SyncPoller<PollResult<SnapshotPolicyInner>, SnapshotPolicyInner> beginUpdate(
128128
String resourceGroupName, String accountName, String snapshotPolicyName, SnapshotPolicyPatch body);
129129

@@ -140,7 +140,7 @@ SyncPoller<PollResult<SnapshotPolicyInner>, SnapshotPolicyInner> beginUpdate(
140140
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
141141
* @return snapshot policy information.
142142
*/
143-
@ServiceMethod(returns = ReturnType.SINGLE)
143+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
144144
SyncPoller<PollResult<SnapshotPolicyInner>, SnapshotPolicyInner> beginUpdate(
145145
String resourceGroupName,
146146
String accountName,
@@ -196,7 +196,7 @@ SnapshotPolicyInner update(
196196
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
197197
* @return the completion.
198198
*/
199-
@ServiceMethod(returns = ReturnType.SINGLE)
199+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
200200
SyncPoller<PollResult<Void>, Void> beginDelete(
201201
String resourceGroupName, String accountName, String snapshotPolicyName);
202202

@@ -212,7 +212,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
212212
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
213213
* @return the completion.
214214
*/
215-
@ServiceMethod(returns = ReturnType.SINGLE)
215+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
216216
SyncPoller<PollResult<Void>, Void> beginDelete(
217217
String resourceGroupName, String accountName, String snapshotPolicyName, Context context);
218218

sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Response<SnapshotInner> getWithResponse(
101101
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
102102
* @return snapshot of a Volume.
103103
*/
104-
@ServiceMethod(returns = ReturnType.SINGLE)
104+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
105105
SyncPoller<PollResult<SnapshotInner>, SnapshotInner> beginCreate(
106106
String resourceGroupName,
107107
String accountName,
@@ -125,7 +125,7 @@ SyncPoller<PollResult<SnapshotInner>, SnapshotInner> beginCreate(
125125
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
126126
* @return snapshot of a Volume.
127127
*/
128-
@ServiceMethod(returns = ReturnType.SINGLE)
128+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
129129
SyncPoller<PollResult<SnapshotInner>, SnapshotInner> beginCreate(
130130
String resourceGroupName,
131131
String accountName,
@@ -197,7 +197,7 @@ SnapshotInner create(
197197
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
198198
* @return snapshot of a Volume.
199199
*/
200-
@ServiceMethod(returns = ReturnType.SINGLE)
200+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
201201
SyncPoller<PollResult<SnapshotInner>, SnapshotInner> beginUpdate(
202202
String resourceGroupName,
203203
String accountName,
@@ -221,7 +221,7 @@ SyncPoller<PollResult<SnapshotInner>, SnapshotInner> beginUpdate(
221221
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
222222
* @return snapshot of a Volume.
223223
*/
224-
@ServiceMethod(returns = ReturnType.SINGLE)
224+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
225225
SyncPoller<PollResult<SnapshotInner>, SnapshotInner> beginUpdate(
226226
String resourceGroupName,
227227
String accountName,
@@ -292,7 +292,7 @@ SnapshotInner update(
292292
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
293293
* @return the completion.
294294
*/
295-
@ServiceMethod(returns = ReturnType.SINGLE)
295+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
296296
SyncPoller<PollResult<Void>, Void> beginDelete(
297297
String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName);
298298

@@ -310,7 +310,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
310310
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
311311
* @return the completion.
312312
*/
313-
@ServiceMethod(returns = ReturnType.SINGLE)
313+
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
314314
SyncPoller<PollResult<Void>, Void> beginDelete(
315315
String resourceGroupName,
316316
String accountName,

0 commit comments

Comments
 (0)