Skip to content

Commit e7a2cd7

Browse files
author
SDKAuto
committed
CodeGen from PR 15850 in Azure/azure-rest-api-specs
Merge 92d4fb03b8c76f4769cf89c488f6d9ac22248f4e into a2ff0f70f7f9de671145d948524d9bd806536cdf
1 parent 9e25920 commit e7a2cd7

File tree

104 files changed

+2277
-4586
lines changed

Some content is hidden

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

104 files changed

+2277
-4586
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.6 (Unreleased)
3+
## 1.0.0-beta.1 (2021-09-09)
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 & 2 deletions
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.5</version>
35+
<version>1.0.0-beta.6</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -74,7 +74,6 @@ See [API design][design] for general introduction on design and key concepts on
7474

7575
## Examples
7676

77-
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md)
7877

7978

8079
## Troubleshooting

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import com.azure.resourcemanager.netapp.implementation.BackupPoliciesImpl;
2727
import com.azure.resourcemanager.netapp.implementation.BackupsImpl;
2828
import com.azure.resourcemanager.netapp.implementation.NetAppManagementClientBuilder;
29+
import com.azure.resourcemanager.netapp.implementation.NetAppResourceQuotaLimitsImpl;
2930
import com.azure.resourcemanager.netapp.implementation.NetAppResourcesImpl;
3031
import com.azure.resourcemanager.netapp.implementation.OperationsImpl;
3132
import com.azure.resourcemanager.netapp.implementation.PoolsImpl;
@@ -37,6 +38,7 @@
3738
import com.azure.resourcemanager.netapp.models.Accounts;
3839
import com.azure.resourcemanager.netapp.models.BackupPolicies;
3940
import com.azure.resourcemanager.netapp.models.Backups;
41+
import com.azure.resourcemanager.netapp.models.NetAppResourceQuotaLimits;
4042
import com.azure.resourcemanager.netapp.models.NetAppResources;
4143
import com.azure.resourcemanager.netapp.models.Operations;
4244
import com.azure.resourcemanager.netapp.models.Pools;
@@ -56,6 +58,8 @@ public final class NetAppFilesManager {
5658

5759
private NetAppResources netAppResources;
5860

61+
private NetAppResourceQuotaLimits netAppResourceQuotaLimits;
62+
5963
private Accounts accounts;
6064

6165
private Pools pools;
@@ -210,7 +214,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile
210214
.append("-")
211215
.append("com.azure.resourcemanager.netapp")
212216
.append("/")
213-
.append("1.0.0-beta.5");
217+
.append("1.0.0-beta.1");
214218
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
215219
userAgentBuilder
216220
.append(" (")
@@ -265,6 +269,15 @@ public NetAppResources netAppResources() {
265269
return netAppResources;
266270
}
267271

272+
/** @return Resource collection API of NetAppResourceQuotaLimits. */
273+
public NetAppResourceQuotaLimits netAppResourceQuotaLimits() {
274+
if (this.netAppResourceQuotaLimits == null) {
275+
this.netAppResourceQuotaLimits =
276+
new NetAppResourceQuotaLimitsImpl(clientObject.getNetAppResourceQuotaLimits(), this);
277+
}
278+
return netAppResourceQuotaLimits;
279+
}
280+
268281
/** @return Resource collection API of Accounts. */
269282
public Accounts accounts() {
270283
if (this.accounts == null) {

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ public interface NetAppManagementClient {
5959
*/
6060
NetAppResourcesClient getNetAppResources();
6161

62+
/**
63+
* Gets the NetAppResourceQuotaLimitsClient object to access its operations.
64+
*
65+
* @return the NetAppResourceQuotaLimitsClient object.
66+
*/
67+
NetAppResourceQuotaLimitsClient getNetAppResourceQuotaLimits();
68+
6269
/**
6370
* Gets the AccountsClient object to access its operations.
6471
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
5+
package com.azure.resourcemanager.netapp.fluent;
6+
7+
import com.azure.core.annotation.ReturnType;
8+
import com.azure.core.annotation.ServiceMethod;
9+
import com.azure.core.http.rest.PagedIterable;
10+
import com.azure.core.http.rest.Response;
11+
import com.azure.core.util.Context;
12+
import com.azure.resourcemanager.netapp.fluent.models.SubscriptionQuotaItemInner;
13+
14+
/** An instance of this class provides access to all the operations defined in NetAppResourceQuotaLimitsClient. */
15+
public interface NetAppResourceQuotaLimitsClient {
16+
/**
17+
* Get the default and current limits for quotas.
18+
*
19+
* @param location The location.
20+
* @throws IllegalArgumentException thrown if parameters fail the validation.
21+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
22+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
23+
* @return the default and current limits for quotas.
24+
*/
25+
@ServiceMethod(returns = ReturnType.COLLECTION)
26+
PagedIterable<SubscriptionQuotaItemInner> list(String location);
27+
28+
/**
29+
* Get the default and current limits for quotas.
30+
*
31+
* @param location The location.
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 the default and current limits for quotas.
37+
*/
38+
@ServiceMethod(returns = ReturnType.COLLECTION)
39+
PagedIterable<SubscriptionQuotaItemInner> list(String location, Context context);
40+
41+
/**
42+
* Get the default and current subscription quota limit.
43+
*
44+
* @param location The location.
45+
* @param quotaLimitName The name of the Quota Limit.
46+
* @throws IllegalArgumentException thrown if parameters fail the validation.
47+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
48+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
49+
* @return the default and current subscription quota limit.
50+
*/
51+
@ServiceMethod(returns = ReturnType.SINGLE)
52+
SubscriptionQuotaItemInner get(String location, String quotaLimitName);
53+
54+
/**
55+
* Get the default and current subscription quota limit.
56+
*
57+
* @param location The location.
58+
* @param quotaLimitName The name of the Quota Limit.
59+
* @param context The context to associate with this operation.
60+
* @throws IllegalArgumentException thrown if parameters fail the validation.
61+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
62+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
63+
* @return the default and current subscription quota limit.
64+
*/
65+
@ServiceMethod(returns = ReturnType.SINGLE)
66+
Response<SubscriptionQuotaItemInner> getWithResponse(String location, String quotaLimitName, Context context);
67+
}

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

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)