Skip to content

Commit b8f3213

Browse files
author
SDKAuto
committed
CodeGen from PR 15691 in Azure/azure-rest-api-specs
Merge e10698d11f5ff0794acba3fd968297119929ad82 into 30d1537f0c9aa49e6e04401b1d16f612b31231e7
1 parent 17e6336 commit b8f3213

Some content is hidden

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

49 files changed

+1465
-494
lines changed

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

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

3-
## 1.0.0-beta.5 (Unreleased)
3+
## 1.0.0-beta.1 (2021-08-19)
44

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).
56

67
## 1.0.0-beta.4 (2021-06-16)
78

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager NetAppFiles client library for Java.
44

5-
This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-netapp-2021-04-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
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).
66

77
## We'd love to hear your feedback
88

@@ -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.4</version>
35+
<version>1.0.0-beta.5</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/netapp/azure-resourcemanager-netapp/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<packaging>jar</packaging>
1414

1515
<name>Microsoft Azure SDK for NetAppFiles Management</name>
16-
<description>This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-netapp-2021-04-01.</description>
16+
<description>This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-netapp-2021-06-01.</description>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

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
@@ -210,7 +210,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile
210210
.append("-")
211211
.append("com.azure.resourcemanager.netapp")
212212
.append("/")
213-
.append("1.0.0-beta.4");
213+
.append("1.0.0-beta.1");
214214
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
215215
userAgentBuilder
216216
.append(" (")

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,28 @@
1616

1717
/** An instance of this class provides access to all the operations defined in AccountsClient. */
1818
public interface AccountsClient {
19+
/**
20+
* List and describe all NetApp accounts in the subscription.
21+
*
22+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
23+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
24+
* @return list of NetApp account resources.
25+
*/
26+
@ServiceMethod(returns = ReturnType.COLLECTION)
27+
PagedIterable<NetAppAccountInner> list();
28+
29+
/**
30+
* List and describe all NetApp accounts in the subscription.
31+
*
32+
* @param context The context to associate with this operation.
33+
* @throws IllegalArgumentException thrown if parameters fail the validation.
34+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
35+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
36+
* @return list of NetApp account resources.
37+
*/
38+
@ServiceMethod(returns = ReturnType.COLLECTION)
39+
PagedIterable<NetAppAccountInner> list(Context context);
40+
1941
/**
2042
* List and describe all NetApp accounts in the resource group.
2143
*

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public interface SnapshotPoliciesClient {
4949
*
5050
* @param resourceGroupName The name of the resource group.
5151
* @param accountName The name of the NetApp account.
52-
* @param snapshotPolicyName The name of the snapshot policy target.
52+
* @param snapshotPolicyName The name of the snapshot policy.
5353
* @throws IllegalArgumentException thrown if parameters fail the validation.
5454
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
5555
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -63,7 +63,7 @@ public interface SnapshotPoliciesClient {
6363
*
6464
* @param resourceGroupName The name of the resource group.
6565
* @param accountName The name of the NetApp account.
66-
* @param snapshotPolicyName The name of the snapshot policy target.
66+
* @param snapshotPolicyName The name of the snapshot policy.
6767
* @param context The context to associate with this operation.
6868
* @throws IllegalArgumentException thrown if parameters fail the validation.
6969
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -79,7 +79,7 @@ Response<SnapshotPolicyInner> getWithResponse(
7979
*
8080
* @param resourceGroupName The name of the resource group.
8181
* @param accountName The name of the NetApp account.
82-
* @param snapshotPolicyName The name of the snapshot policy target.
82+
* @param snapshotPolicyName The name of the snapshot policy.
8383
* @param body Snapshot policy object supplied in the body of the operation.
8484
* @throws IllegalArgumentException thrown if parameters fail the validation.
8585
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -95,7 +95,7 @@ SnapshotPolicyInner create(
9595
*
9696
* @param resourceGroupName The name of the resource group.
9797
* @param accountName The name of the NetApp account.
98-
* @param snapshotPolicyName The name of the snapshot policy target.
98+
* @param snapshotPolicyName The name of the snapshot policy.
9999
* @param body Snapshot policy object supplied in the body of the operation.
100100
* @param context The context to associate with this operation.
101101
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -116,7 +116,7 @@ Response<SnapshotPolicyInner> createWithResponse(
116116
*
117117
* @param resourceGroupName The name of the resource group.
118118
* @param accountName The name of the NetApp account.
119-
* @param snapshotPolicyName The name of the snapshot policy target.
119+
* @param snapshotPolicyName The name of the snapshot policy.
120120
* @param body Snapshot policy object supplied in the body of the operation.
121121
* @throws IllegalArgumentException thrown if parameters fail the validation.
122122
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -132,7 +132,7 @@ SyncPoller<PollResult<SnapshotPolicyInner>, SnapshotPolicyInner> beginUpdate(
132132
*
133133
* @param resourceGroupName The name of the resource group.
134134
* @param accountName The name of the NetApp account.
135-
* @param snapshotPolicyName The name of the snapshot policy target.
135+
* @param snapshotPolicyName The name of the snapshot policy.
136136
* @param body Snapshot policy object supplied in the body of the operation.
137137
* @param context The context to associate with this operation.
138138
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -153,7 +153,7 @@ SyncPoller<PollResult<SnapshotPolicyInner>, SnapshotPolicyInner> beginUpdate(
153153
*
154154
* @param resourceGroupName The name of the resource group.
155155
* @param accountName The name of the NetApp account.
156-
* @param snapshotPolicyName The name of the snapshot policy target.
156+
* @param snapshotPolicyName The name of the snapshot policy.
157157
* @param body Snapshot policy object supplied in the body of the operation.
158158
* @throws IllegalArgumentException thrown if parameters fail the validation.
159159
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -169,7 +169,7 @@ SnapshotPolicyInner update(
169169
*
170170
* @param resourceGroupName The name of the resource group.
171171
* @param accountName The name of the NetApp account.
172-
* @param snapshotPolicyName The name of the snapshot policy target.
172+
* @param snapshotPolicyName The name of the snapshot policy.
173173
* @param body Snapshot policy object supplied in the body of the operation.
174174
* @param context The context to associate with this operation.
175175
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -190,7 +190,7 @@ SnapshotPolicyInner update(
190190
*
191191
* @param resourceGroupName The name of the resource group.
192192
* @param accountName The name of the NetApp account.
193-
* @param snapshotPolicyName The name of the snapshot policy target.
193+
* @param snapshotPolicyName The name of the snapshot policy.
194194
* @throws IllegalArgumentException thrown if parameters fail the validation.
195195
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
196196
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -205,7 +205,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
205205
*
206206
* @param resourceGroupName The name of the resource group.
207207
* @param accountName The name of the NetApp account.
208-
* @param snapshotPolicyName The name of the snapshot policy target.
208+
* @param snapshotPolicyName The name of the snapshot policy.
209209
* @param context The context to associate with this operation.
210210
* @throws IllegalArgumentException thrown if parameters fail the validation.
211211
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -221,7 +221,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
221221
*
222222
* @param resourceGroupName The name of the resource group.
223223
* @param accountName The name of the NetApp account.
224-
* @param snapshotPolicyName The name of the snapshot policy target.
224+
* @param snapshotPolicyName The name of the snapshot policy.
225225
* @throws IllegalArgumentException thrown if parameters fail the validation.
226226
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
227227
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -234,7 +234,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
234234
*
235235
* @param resourceGroupName The name of the resource group.
236236
* @param accountName The name of the NetApp account.
237-
* @param snapshotPolicyName The name of the snapshot policy target.
237+
* @param snapshotPolicyName The name of the snapshot policy.
238238
* @param context The context to associate with this operation.
239239
* @throws IllegalArgumentException thrown if parameters fail the validation.
240240
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -248,7 +248,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
248248
*
249249
* @param resourceGroupName The name of the resource group.
250250
* @param accountName The name of the NetApp account.
251-
* @param snapshotPolicyName The name of the snapshot policy target.
251+
* @param snapshotPolicyName The name of the snapshot policy.
252252
* @throws IllegalArgumentException thrown if parameters fail the validation.
253253
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
254254
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -262,7 +262,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
262262
*
263263
* @param resourceGroupName The name of the resource group.
264264
* @param accountName The name of the NetApp account.
265-
* @param snapshotPolicyName The name of the snapshot policy target.
265+
* @param snapshotPolicyName The name of the snapshot policy.
266266
* @param context The context to associate with this operation.
267267
* @throws IllegalArgumentException thrown if parameters fail the validation.
268268
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.

0 commit comments

Comments
 (0)