Interface DeletedAccountsClient


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

      • listAsync

        com.azure.core.http.rest.PagedFlux<DeletedAccountInner> listAsync()
        Lists deleted accounts under the subscription.
        Returns:
        the response from the List Deleted Accounts operation.
        Throws:
        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<DeletedAccountInner> list()
        Lists deleted accounts under the subscription.
        Returns:
        the response from the List Deleted Accounts operation.
        Throws:
        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<DeletedAccountInner> list​(com.azure.core.util.Context context)
        Lists deleted accounts under the subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        the response from the List Deleted Accounts 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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<DeletedAccountInner>> getWithResponseAsync​(String deletedAccountName,
                                                                                          String location)
        Get properties of specified deleted account resource.
        Parameters:
        deletedAccountName - Name of the deleted storage account.
        location - The location of the deleted storage account.
        Returns:
        properties of specified deleted account resource.
        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.
      • getAsync

        Mono<DeletedAccountInner> getAsync​(String deletedAccountName,
                                           String location)
        Get properties of specified deleted account resource.
        Parameters:
        deletedAccountName - Name of the deleted storage account.
        location - The location of the deleted storage account.
        Returns:
        properties of specified deleted account resource.
        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

        DeletedAccountInner get​(String deletedAccountName,
                                String location)
        Get properties of specified deleted account resource.
        Parameters:
        deletedAccountName - Name of the deleted storage account.
        location - The location of the deleted storage account.
        Returns:
        properties of specified deleted account resource.
        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<DeletedAccountInner> getWithResponse​(String deletedAccountName,
                                                                               String location,
                                                                               com.azure.core.util.Context context)
        Get properties of specified deleted account resource.
        Parameters:
        deletedAccountName - Name of the deleted storage account.
        location - The location of the deleted storage account.
        context - The context to associate with this operation.
        Returns:
        properties of specified deleted account resource.
        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.