Interface SubscriptionsClient
-
public interface SubscriptionsClientAn instance of this class provides access to all the operations defined in SubscriptionsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubscriptionInnerget(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, Boolean includeExtendedLocations, 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, Boolean includeExtendedLocations)This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.
-
-
-
Method Detail
-
listLocationsAsync
com.azure.core.http.rest.PagedFlux<LocationInner> listLocationsAsync(String subscriptionId, Boolean includeExtendedLocations)
This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.- Parameters:
subscriptionId- The ID of the target subscription.includeExtendedLocations- Whether to include extended locations.- Returns:
- location list operation 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.
-
listLocationsAsync
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.- Parameters:
subscriptionId- The ID of the target subscription.- Returns:
- location list operation 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.
-
listLocations
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.- Parameters:
subscriptionId- The ID of the target subscription.- Returns:
- location list operation 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.
-
listLocations
com.azure.core.http.rest.PagedIterable<LocationInner> listLocations(String subscriptionId, Boolean includeExtendedLocations, 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.- Parameters:
subscriptionId- The ID of the target subscription.includeExtendedLocations- Whether to include extended locations.context- The context to associate with this operation.- Returns:
- location list operation 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<SubscriptionInner>> getWithResponseAsync(String subscriptionId)
Gets details about a specified subscription.- Parameters:
subscriptionId- The ID of the target subscription.- Returns:
- details about a specified subscription.
- 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<SubscriptionInner> getAsync(String subscriptionId)
Gets details about a specified subscription.- Parameters:
subscriptionId- The ID of the target subscription.- Returns:
- details about a specified subscription.
- 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
SubscriptionInner get(String subscriptionId)
Gets details about a specified subscription.- Parameters:
subscriptionId- The ID of the target subscription.- Returns:
- details about a specified subscription.
- 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<SubscriptionInner> getWithResponse(String subscriptionId, com.azure.core.util.Context context)
Gets details about a specified subscription.- Parameters:
subscriptionId- The ID of the target subscription.context- The context to associate with this operation.- Returns:
- details about a specified subscription.
- 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<SubscriptionInner> listAsync()
Gets all subscriptions for a tenant.- Returns:
- all subscriptions for a tenant.
- 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<SubscriptionInner> list()
Gets all subscriptions for a tenant.- Returns:
- all subscriptions for a tenant.
- 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<SubscriptionInner> list(com.azure.core.util.Context context)
Gets all subscriptions for a tenant.- Parameters:
context- The context to associate with this operation.- Returns:
- all subscriptions for a tenant.
- 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.
-
-