Interface AccountBackups


  • public interface AccountBackups
    Resource collection API of AccountBackups.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      Backup get​(String resourceGroupName, String accountName, String backupName)
      Gets the specified backup for a Netapp Account.
      com.azure.core.http.rest.Response<Backup> 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<Backup> list​(String resourceGroupName, String accountName)
      List all Backups for a Netapp Account.
      com.azure.core.http.rest.PagedIterable<Backup> 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<Backup> 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<Backup> 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

        Backup 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<Backup> 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.
      • 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.