Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.6 (Unreleased)
## 1.0.0-beta.1 (2021-09-09)

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

### Features Added

Expand Down
3 changes: 1 addition & 2 deletions sdk/netapp/azure-resourcemanager-netapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-netapp</artifactId>
<version>1.0.0-beta.5</version>
<version>1.0.0-beta.6</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -74,7 +74,6 @@ See [API design][design] for general introduction on design and key concepts on

## Examples

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


## Troubleshooting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.azure.resourcemanager.netapp.implementation.BackupPoliciesImpl;
import com.azure.resourcemanager.netapp.implementation.BackupsImpl;
import com.azure.resourcemanager.netapp.implementation.NetAppManagementClientBuilder;
import com.azure.resourcemanager.netapp.implementation.NetAppResourceQuotaLimitsImpl;
import com.azure.resourcemanager.netapp.implementation.NetAppResourcesImpl;
import com.azure.resourcemanager.netapp.implementation.OperationsImpl;
import com.azure.resourcemanager.netapp.implementation.PoolsImpl;
Expand All @@ -37,6 +38,7 @@
import com.azure.resourcemanager.netapp.models.Accounts;
import com.azure.resourcemanager.netapp.models.BackupPolicies;
import com.azure.resourcemanager.netapp.models.Backups;
import com.azure.resourcemanager.netapp.models.NetAppResourceQuotaLimits;
import com.azure.resourcemanager.netapp.models.NetAppResources;
import com.azure.resourcemanager.netapp.models.Operations;
import com.azure.resourcemanager.netapp.models.Pools;
Expand All @@ -56,6 +58,8 @@ public final class NetAppFilesManager {

private NetAppResources netAppResources;

private NetAppResourceQuotaLimits netAppResourceQuotaLimits;

private Accounts accounts;

private Pools pools;
Expand Down Expand Up @@ -210,7 +214,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.netapp")
.append("/")
.append("1.0.0-beta.5");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -265,6 +269,15 @@ public NetAppResources netAppResources() {
return netAppResources;
}

/** @return Resource collection API of NetAppResourceQuotaLimits. */
public NetAppResourceQuotaLimits netAppResourceQuotaLimits() {
if (this.netAppResourceQuotaLimits == null) {
this.netAppResourceQuotaLimits =
new NetAppResourceQuotaLimitsImpl(clientObject.getNetAppResourceQuotaLimits(), this);
}
return netAppResourceQuotaLimits;
}

/** @return Resource collection API of Accounts. */
public Accounts accounts() {
if (this.accounts == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ public interface NetAppManagementClient {
*/
NetAppResourcesClient getNetAppResources();

/**
* Gets the NetAppResourceQuotaLimitsClient object to access its operations.
*
* @return the NetAppResourceQuotaLimitsClient object.
*/
NetAppResourceQuotaLimitsClient getNetAppResourceQuotaLimits();

/**
* Gets the AccountsClient object to access its operations.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.netapp.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.netapp.fluent.models.SubscriptionQuotaItemInner;

/** An instance of this class provides access to all the operations defined in NetAppResourceQuotaLimitsClient. */
public interface NetAppResourceQuotaLimitsClient {
/**
* Get the default and current limits for quotas.
*
* @param location The location.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the default and current limits for quotas.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<SubscriptionQuotaItemInner> list(String location);

/**
* Get the default and current limits for quotas.
*
* @param location The location.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the default and current limits for quotas.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<SubscriptionQuotaItemInner> list(String location, Context context);

/**
* Get the default and current subscription quota limit.
*
* @param location The location.
* @param quotaLimitName The name of the Quota Limit.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the default and current subscription quota limit.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SubscriptionQuotaItemInner get(String location, String quotaLimitName);

/**
* Get the default and current subscription quota limit.
*
* @param location The location.
* @param quotaLimitName The name of the Quota Limit.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the default and current subscription quota limit.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<SubscriptionQuotaItemInner> getWithResponse(String location, String quotaLimitName, Context context);
}

This file was deleted.

Loading