Interface AccountBackupsClient


  • public interface AccountBackupsClient
    An instance of this class provides access to all the operations defined in AccountBackupsClient.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName, String accountName, String backupName)
      Delete the specified Backup for a Netapp Account.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName, String accountName, String backupName, com.azure.core.util.Context context)
      Delete the specified Backup for a Netapp Account.
      void delete​(String resourceGroupName, String accountName, String backupName)
      Delete the specified Backup for a Netapp Account.
      void delete​(String resourceGroupName, String accountName, String backupName, com.azure.core.util.Context context)
      Delete the specified Backup for a Netapp Account.
      BackupInner get​(String resourceGroupName, String accountName, String backupName)
      Gets the specified backup for a Netapp Account.
      com.azure.core.http.rest.Response<BackupInner> getWithResponse​(String resourceGroupName, String accountName, String backupName, com.azure.core.util.Context context)
      Gets the specified backup for a Netapp Account.
      com.azure.core.http.rest.PagedIterable<BackupInner> list​(String resourceGroupName, String accountName)
      List all Backups for a Netapp Account.
      com.azure.core.http.rest.PagedIterable<BackupInner> list​(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      List all Backups for a Netapp Account.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<BackupInner> list​(String resourceGroupName,
                                                                 String accountName)
        List 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<BackupInner> list​(String resourceGroupName,
                                                                 String accountName,
                                                                 com.azure.core.util.Context context)
        List 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

        BackupInner get​(String resourceGroupName,
                        String accountName,
                        String backupName)
        Gets 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<BackupInner> getWithResponse​(String resourceGroupName,
                                                                       String accountName,
                                                                       String backupName,
                                                                       com.azure.core.util.Context context)
        Gets 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String accountName,
                                                                                                                          String backupName)
        Delete 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 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 backupName,
                                                                                                                          com.azure.core.util.Context context)
        Delete 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 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 backupName)
        Delete 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 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.