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 a quota rulevoid
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, com.azure.core.util.Context context) Delete a quota rulevoid
deleteById
(String id) Delete a quota rulevoid
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a quota ruleget
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) Describe a quota ruleDescribe a quota rulecom.azure.core.http.rest.Response<VolumeQuotaRule>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Describe a quota rulecom.azure.core.http.rest.Response<VolumeQuotaRule>
getWithResponse
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, com.azure.core.util.Context context) Describe a quota rulecom.azure.core.http.rest.PagedIterable<VolumeQuotaRule>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName) Get all quota rules for a volumecom.azure.core.http.rest.PagedIterable<VolumeQuotaRule>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Get all quota rules for a volume
-
Method Details
-
listByVolume
com.azure.core.http.rest.PagedIterable<VolumeQuotaRule> listByVolume(String resourceGroupName, String accountName, String poolName, String volumeName) Get all quota rules for a volumeList 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) Get all quota rules for a volumeList 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) Describe a quota ruleGet 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) Describe a quota ruleGet 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 a quota ruleDelete 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 a quota ruleDelete 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
Describe a quota ruleGet 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) Describe a quota ruleGet 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 a quota ruleDelete 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 a quota ruleDelete 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.
-