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 the specified quota rule within the given volume.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 the specified quota rule within the given volume.beginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) Delete quota rule.beginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, com.azure.core.util.Context context) Delete quota rule.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) Patch a quota rule.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) Patch a quota rule.create
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body) Create the specified quota rule within the given volume.create
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRuleInner body, com.azure.core.util.Context context) Create the specified quota rule within the given volume.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.get
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName) Get details of the specified quota rule.com.azure.core.http.rest.Response<VolumeQuotaRuleInner>
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<VolumeQuotaRuleInner>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName) List all quota rules associated with the volume.com.azure.core.http.rest.PagedIterable<VolumeQuotaRuleInner>
listByVolume
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) List all quota rules associated with the volume.update
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body) Patch a quota rule.update
(String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName, VolumeQuotaRulePatch body, com.azure.core.util.Context context) Patch a quota rule.
-
Method Details
-
listByVolume
com.azure.core.http.rest.PagedIterable<VolumeQuotaRuleInner> 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<VolumeQuotaRuleInner> 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
VolumeQuotaRuleInner 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<VolumeQuotaRuleInner> 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.
-
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 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 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 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 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) Patch 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) Patch 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) Patch 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) Patch 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 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 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 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.
-