Interface BackupVaultsClient
public interface BackupVaultsClient
An instance of this class provides access to all the operations defined in BackupVaultsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<BackupVaultInner>, BackupVaultInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, String backupVaultName, BackupVaultInner body) Create or Update a Backup Vault Create or update the specified Backup Vault in the NetApp account.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<BackupVaultInner>, BackupVaultInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, String backupVaultName, BackupVaultInner body, com.azure.core.util.Context context) Create or Update a Backup Vault Create or update the specified Backup Vault in the NetApp account.beginDelete
(String resourceGroupName, String accountName, String backupVaultName) Delete NetApp Backup Vault Delete the specified Backup Vault.beginDelete
(String resourceGroupName, String accountName, String backupVaultName, com.azure.core.util.Context context) Delete NetApp Backup Vault Delete the specified Backup Vault.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<BackupVaultInner>, BackupVaultInner> beginUpdate
(String resourceGroupName, String accountName, String backupVaultName, BackupVaultPatch body) Update NetApp Backup Vault Patch the specified NetApp Backup Vault.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<BackupVaultInner>, BackupVaultInner> beginUpdate
(String resourceGroupName, String accountName, String backupVaultName, BackupVaultPatch body, com.azure.core.util.Context context) Update NetApp Backup Vault Patch the specified NetApp Backup Vault.createOrUpdate
(String resourceGroupName, String accountName, String backupVaultName, BackupVaultInner body) Create or Update a Backup Vault Create or update the specified Backup Vault in the NetApp account.createOrUpdate
(String resourceGroupName, String accountName, String backupVaultName, BackupVaultInner body, com.azure.core.util.Context context) Create or Update a Backup Vault Create or update the specified Backup Vault in the NetApp account.void
Delete NetApp Backup Vault Delete the specified Backup Vault.void
delete
(String resourceGroupName, String accountName, String backupVaultName, com.azure.core.util.Context context) Delete NetApp Backup Vault Delete the specified Backup Vault.Describe the Backup Vault Get the Backup Vault.com.azure.core.http.rest.Response
<BackupVaultInner> getWithResponse
(String resourceGroupName, String accountName, String backupVaultName, com.azure.core.util.Context context) Describe the Backup Vault Get the Backup Vault.com.azure.core.http.rest.PagedIterable
<BackupVaultInner> listByNetAppAccount
(String resourceGroupName, String accountName) Describe all Backup Vaults List and describe all Backup Vaults in the NetApp account.com.azure.core.http.rest.PagedIterable
<BackupVaultInner> listByNetAppAccount
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Describe all Backup Vaults List and describe all Backup Vaults in the NetApp account.update
(String resourceGroupName, String accountName, String backupVaultName, BackupVaultPatch body) Update NetApp Backup Vault Patch the specified NetApp Backup Vault.update
(String resourceGroupName, String accountName, String backupVaultName, BackupVaultPatch body, com.azure.core.util.Context context) Update NetApp Backup Vault Patch the specified NetApp Backup Vault.
-
Method Details
-
listByNetAppAccount
com.azure.core.http.rest.PagedIterable<BackupVaultInner> listByNetAppAccount(String resourceGroupName, String accountName) Describe all Backup Vaults List and describe all Backup Vaults in the NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.- Returns:
- list of Backup Vaults 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.
-
listByNetAppAccount
com.azure.core.http.rest.PagedIterable<BackupVaultInner> listByNetAppAccount(String resourceGroupName, String accountName, com.azure.core.util.Context context) Describe all Backup Vaults List and describe all Backup Vaults in the NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.context
- The context to associate with this operation.- Returns:
- list of Backup Vaults 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.
-
getWithResponse
com.azure.core.http.rest.Response<BackupVaultInner> getWithResponse(String resourceGroupName, String accountName, String backupVaultName, com.azure.core.util.Context context) Describe the Backup Vault Get the Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.context
- The context to associate with this operation.- Returns:
- the Backup Vault 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.
-
get
Describe the Backup Vault Get the Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.- Returns:
- the Backup Vault.
- 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupVaultInner>,BackupVaultInner> beginCreateOrUpdate(String resourceGroupName, String accountName, String backupVaultName, BackupVaultInner body) Create or Update a Backup Vault Create or update the specified Backup Vault in the NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.body
- BackupVault object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of backup Vault information. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupVaultInner>,BackupVaultInner> beginCreateOrUpdate(String resourceGroupName, String accountName, String backupVaultName, BackupVaultInner body, com.azure.core.util.Context context) Create or Update a Backup Vault Create or update the specified Backup Vault in the NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.body
- BackupVault object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of backup Vault information. - 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.
-
createOrUpdate
BackupVaultInner createOrUpdate(String resourceGroupName, String accountName, String backupVaultName, BackupVaultInner body) Create or Update a Backup Vault Create or update the specified Backup Vault in the NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.body
- BackupVault object supplied in the body of the operation.- Returns:
- backup Vault information.
- 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.
-
createOrUpdate
BackupVaultInner createOrUpdate(String resourceGroupName, String accountName, String backupVaultName, BackupVaultInner body, com.azure.core.util.Context context) Create or Update a Backup Vault Create or update the specified Backup Vault in the NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.body
- BackupVault object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- backup Vault information.
- 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<BackupVaultInner>,BackupVaultInner> beginUpdate(String resourceGroupName, String accountName, String backupVaultName, BackupVaultPatch body) Update NetApp Backup Vault Patch the specified NetApp Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.body
- Backup Vault object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of backup Vault information. - 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<BackupVaultInner>,BackupVaultInner> beginUpdate(String resourceGroupName, String accountName, String backupVaultName, BackupVaultPatch body, com.azure.core.util.Context context) Update NetApp Backup Vault Patch the specified NetApp Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.body
- Backup Vault object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of backup Vault information. - 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
BackupVaultInner update(String resourceGroupName, String accountName, String backupVaultName, BackupVaultPatch body) Update NetApp Backup Vault Patch the specified NetApp Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.body
- Backup Vault object supplied in the body of the operation.- Returns:
- backup Vault information.
- 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
BackupVaultInner update(String resourceGroupName, String accountName, String backupVaultName, BackupVaultPatch body, com.azure.core.util.Context context) Update NetApp Backup Vault Patch the specified NetApp Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.body
- Backup Vault object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- backup Vault information.
- 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 backupVaultName) Delete NetApp Backup Vault Delete the specified Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.- 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 backupVaultName, com.azure.core.util.Context context) Delete NetApp Backup Vault Delete the specified Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.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
Delete NetApp Backup Vault Delete the specified Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.- 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 backupVaultName, com.azure.core.util.Context context) Delete NetApp Backup Vault Delete the specified Backup Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.backupVaultName
- The name of the Backup Vault.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.
-