Interface VolumeQuotaRulesClient
public interface VolumeQuotaRulesClient
An instance of this class provides access to all the operations defined in VolumeQuotaRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeQuotaRuleInner>,
VolumeQuotaRuleInner> beginCreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body) Create a quota rulecom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeQuotaRuleInner>,
VolumeQuotaRuleInner> beginCreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body, com.azure.core.util.Context context) Create a quota rulebeginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) Delete a quota rulebeginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, com.azure.core.util.Context context) Delete a quota rulecom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeQuotaRuleInner>,
VolumeQuotaRuleInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body) Update a quota rulecom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeQuotaRuleInner>,
VolumeQuotaRuleInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body, com.azure.core.util.Context context) Update a quota rulecreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body) Create a quota rulecreate
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body, com.azure.core.util.Context context) Create a quota rulevoid
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 ruleget
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) Describe a quota rulecom.azure.core.http.rest.Response<VolumeQuotaRuleInner>
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<VolumeQuotaRuleInner>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName) Get all quota rules for a volumecom.azure.core.http.rest.PagedIterable<VolumeQuotaRuleInner>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Get all quota rules for a volumeupdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body) Update a quota ruleupdate
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body, com.azure.core.util.Context context) Update a quota rule
-
Method Details
-
listByVolume
com.azure.core.http.rest.PagedIterable<VolumeQuotaRuleInner> 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<VolumeQuotaRuleInner> 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
VolumeQuotaRuleInner 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<VolumeQuotaRuleInner> 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeQuotaRuleInner>,VolumeQuotaRuleInner> beginCreate(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body) Create a quota ruleCreate the specified quota rule within the given 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.volumeQuotaRuleName
- The name of volume quota rule.body
- Quota rule object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of quota Rule of a Volume. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeQuotaRuleInner>,VolumeQuotaRuleInner> beginCreate(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body, com.azure.core.util.Context context) Create a quota ruleCreate the specified quota rule within the given 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.volumeQuotaRuleName
- The name of volume quota rule.body
- Quota rule object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of quota Rule of a Volume. - 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.
-
create
VolumeQuotaRuleInner create(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body) Create a quota ruleCreate the specified quota rule within the given 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.volumeQuotaRuleName
- The name of volume quota rule.body
- Quota rule object supplied in the body of the operation.- Returns:
- quota Rule of a Volume.
- 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.
-
create
VolumeQuotaRuleInner create(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body, com.azure.core.util.Context context) Create a quota ruleCreate the specified quota rule within the given 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.volumeQuotaRuleName
- The name of volume quota rule.body
- Quota rule object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- quota Rule of a Volume.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeQuotaRuleInner>,VolumeQuotaRuleInner> beginUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body) Update a quota rulePatch a 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.body
- Quota rule object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of quota Rule of a Volume. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeQuotaRuleInner>,VolumeQuotaRuleInner> beginUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body, com.azure.core.util.Context context) Update a quota rulePatch a 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.body
- Quota rule object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of quota Rule of a Volume. - 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.
-
update
VolumeQuotaRuleInner update(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body) Update a quota rulePatch a 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.body
- Quota rule object supplied in the body of the operation.- Returns:
- quota Rule of a Volume.
- 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.
-
update
VolumeQuotaRuleInner update(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body, com.azure.core.util.Context context) Update a quota rulePatch a 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.body
- Quota rule object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- quota Rule of a Volume.
- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
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.
-