Interface DeletedAccountsClient
public interface DeletedAccountsClient
An instance of this class provides access to all the operations defined in DeletedAccountsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet properties of specified deleted account resource.Get properties of specified deleted account resource.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.Mono<com.azure.core.http.rest.Response<DeletedAccountInner>> getWithResponseAsync(String deletedAccountName, String location) Get properties of specified deleted account resource.com.azure.core.http.rest.PagedIterable<DeletedAccountInner> list()Lists deleted accounts under the subscription.com.azure.core.http.rest.PagedIterable<DeletedAccountInner> list(com.azure.core.util.Context context) Lists deleted accounts under the subscription.com.azure.core.http.rest.PagedFlux<DeletedAccountInner> Lists deleted accounts under the subscription.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<DeletedAccountInner> listAsync()Lists deleted accounts under the subscription.- Returns:
- the response from the List Deleted Accounts operation as paginated response with
PagedFlux. - 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 as paginated response with
PagedIterable. - 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 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.
-
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 along with
Responseon successful completion ofMono. - 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
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 on successful completion of
Mono. - 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 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
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.
-