Interface BackupVaults
public interface BackupVaults
Resource collection API of BackupVaults.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new BackupVault resource.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.void
deleteById
(String id) Delete NetApp Backup Vault Delete the specified Backup Vault.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete NetApp Backup Vault Delete the specified Backup Vault.Describe the Backup Vault Get the Backup Vault.Describe the Backup Vault Get the Backup Vault.com.azure.core.http.rest.Response
<BackupVault> getByIdWithResponse
(String id, com.azure.core.util.Context context) Describe the Backup Vault Get the Backup Vault.com.azure.core.http.rest.Response
<BackupVault> 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
<BackupVault> 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
<BackupVault> 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.
-
Method Details
-
listByNetAppAccount
com.azure.core.http.rest.PagedIterable<BackupVault> 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<BackupVault> 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<BackupVault> 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.
-
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.
-
getById
Describe the Backup Vault Get the Backup Vault.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<BackupVault> getByIdWithResponse(String id, com.azure.core.util.Context context) Describe the Backup Vault Get the Backup Vault.- Parameters:
id
- the resource ID.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.
-
deleteById
Delete NetApp Backup Vault Delete the specified Backup Vault.- 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 NetApp Backup Vault Delete the specified Backup Vault.- 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 BackupVault resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new BackupVault definition.
-