public interface SubscriptionsClient
| Modifier and Type | Method and Description |
|---|---|
SubscriptionInner |
get(String subscriptionId)
Gets details about a specified subscription.
|
Mono<SubscriptionInner> |
getAsync(String subscriptionId)
Gets details about a specified subscription.
|
com.azure.core.http.rest.Response<SubscriptionInner> |
getWithResponse(String subscriptionId,
com.azure.core.util.Context context)
Gets details about a specified subscription.
|
Mono<com.azure.core.http.rest.Response<SubscriptionInner>> |
getWithResponseAsync(String subscriptionId)
Gets details about a specified subscription.
|
com.azure.core.http.rest.PagedIterable<SubscriptionInner> |
list()
Gets all subscriptions for a tenant.
|
com.azure.core.http.rest.PagedIterable<SubscriptionInner> |
list(com.azure.core.util.Context context)
Gets all subscriptions for a tenant.
|
com.azure.core.http.rest.PagedFlux<SubscriptionInner> |
listAsync()
Gets all subscriptions for a tenant.
|
com.azure.core.http.rest.PagedIterable<LocationInner> |
listLocations(String subscriptionId)
This operation provides all the locations that are available for resource providers; however, each resource
provider may support a subset of this list.
|
com.azure.core.http.rest.PagedIterable<LocationInner> |
listLocations(String subscriptionId,
com.azure.core.util.Context context)
This operation provides all the locations that are available for resource providers; however, each resource
provider may support a subset of this list.
|
com.azure.core.http.rest.PagedFlux<LocationInner> |
listLocationsAsync(String subscriptionId)
This operation provides all the locations that are available for resource providers; however, each resource
provider may support a subset of this list.
|
com.azure.core.http.rest.PagedFlux<LocationInner> listLocationsAsync(String subscriptionId)
subscriptionId - The ID of the target subscription.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.com.azure.core.http.rest.PagedIterable<LocationInner> listLocations(String subscriptionId)
subscriptionId - The ID of the target subscription.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.com.azure.core.http.rest.PagedIterable<LocationInner> listLocations(String subscriptionId, com.azure.core.util.Context context)
subscriptionId - The ID of the target subscription.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<SubscriptionInner>> getWithResponseAsync(String subscriptionId)
subscriptionId - The ID of the target subscription.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.Mono<SubscriptionInner> getAsync(String subscriptionId)
subscriptionId - The ID of the target subscription.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.SubscriptionInner get(String subscriptionId)
subscriptionId - The ID of the target subscription.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.com.azure.core.http.rest.Response<SubscriptionInner> getWithResponse(String subscriptionId, com.azure.core.util.Context context)
subscriptionId - The ID of the target subscription.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<SubscriptionInner> listAsync()
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.com.azure.core.http.rest.PagedIterable<SubscriptionInner> list()
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.com.azure.core.http.rest.PagedIterable<SubscriptionInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.