Interface VolumeQuotaRules
public interface VolumeQuotaRules
Resource collection API of VolumeQuotaRules.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new VolumeQuotaRule resource.void
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) Delete quota rule.void
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, com.azure.core.util.Context context) Delete quota rule.void
deleteById
(String id) Delete quota rule.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete quota rule.get
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) Get details of the specified quota rule.Get details of the specified quota rule.com.azure.core.http.rest.Response<VolumeQuotaRule>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get details of the specified quota rule.com.azure.core.http.rest.Response<VolumeQuotaRule>
getWithResponse
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, com.azure.core.util.Context context) Get details of the specified quota rule.com.azure.core.http.rest.PagedIterable<VolumeQuotaRule>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName) List all quota rules associated with the volume.com.azure.core.http.rest.PagedIterable<VolumeQuotaRule>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) List all quota rules associated with the volume.
-
Method Details
-
listByVolume
com.azure.core.http.rest.PagedIterable<VolumeQuotaRule> listByVolume(String resourceGroupName, String accountName, String poolName, String volumeName) List all quota rules associated with the volume.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- list of Volume Quota Rules as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByVolume
com.azure.core.http.rest.PagedIterable<VolumeQuotaRule> listByVolume(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) List all quota rules associated with the volume.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- list of Volume Quota Rules as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
VolumeQuotaRule get(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) Get details of the specified quota rule.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.volumeQuotaRuleName
- The name of volume quota rule.- Returns:
- details of the specified quota rule.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<VolumeQuotaRule> getWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, com.azure.core.util.Context context) Get details of the specified quota rule.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.volumeQuotaRuleName
- The name of volume quota rule.context
- The context to associate with this operation.- Returns:
- details of the specified quota rule along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) Delete quota rule.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.volumeQuotaRuleName
- The name of volume quota rule.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, com.azure.core.util.Context context) Delete quota rule.- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.volumeQuotaRuleName
- The name of volume quota rule.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Get details of the specified quota rule.- Parameters:
id
- the resource ID.- Returns:
- details of the specified quota rule along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdWithResponse
com.azure.core.http.rest.Response<VolumeQuotaRule> getByIdWithResponse(String id, com.azure.core.util.Context context) Get details of the specified quota rule.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- details of the specified quota rule along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
Delete quota rule.- Parameters:
id
- the resource ID.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
Delete quota rule.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
define
Begins definition for a new VolumeQuotaRule resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new VolumeQuotaRule definition.
-