Interface AccountBackups
public interface AccountBackups
Resource collection API of AccountBackups.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Delete Backup for a Netapp Accountvoid
delete
(String resourceGroupName, String accountName, String backupName, com.azure.core.util.Context context) Delete Backup for a Netapp AccountGet Backup for a Netapp Accountcom.azure.core.http.rest.Response<Backup>
getWithResponse
(String resourceGroupName, String accountName, String backupName, com.azure.core.util.Context context) Get Backup for a Netapp Accountcom.azure.core.http.rest.PagedIterable<Backup>
List Backups for a Netapp Accountcom.azure.core.http.rest.PagedIterable<Backup>
List Backups for a Netapp Account
-
Method Details
-
list
List Backups for a Netapp AccountList all Backups for a Netapp Account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.- Returns:
- list of Backups 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.
-
list
com.azure.core.http.rest.PagedIterable<Backup> list(String resourceGroupName, String accountName, com.azure.core.util.Context context) List Backups for a Netapp AccountList all Backups for a Netapp Account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.context
- The context to associate with this operation.- Returns:
- list of Backups 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
Get Backup for a Netapp AccountGets the specified backup for a Netapp Account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.backupName
- The name of the backup.- Returns:
- the specified backup for a Netapp Account.
- 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<Backup> getWithResponse(String resourceGroupName, String accountName, String backupName, com.azure.core.util.Context context) Get Backup for a Netapp AccountGets the specified backup for a Netapp Account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.backupName
- The name of the backup.context
- The context to associate with this operation.- Returns:
- the specified backup for a Netapp Account 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
Delete Backup for a Netapp AccountDelete the specified Backup for a Netapp Account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.backupName
- The name of the backup.- 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 backupName, com.azure.core.util.Context context) Delete Backup for a Netapp AccountDelete the specified Backup for a Netapp Account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.backupName
- The name of the backup.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.
-