Interface SubscriptionsClient
public interface SubscriptionsClient
An instance of this class provides access to all the operations defined in SubscriptionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncheckZonePeers(String subscriptionId, CheckZonePeersRequest parameters) Compares a subscriptions logical zone mapping.checkZonePeersAsync(String subscriptionId, CheckZonePeersRequest parameters) Compares a subscriptions logical zone mapping.com.azure.core.http.rest.Response<CheckZonePeersResultInner> checkZonePeersWithResponse(String subscriptionId, CheckZonePeersRequest parameters, com.azure.core.util.Context context) Compares a subscriptions logical zone mapping.Mono<com.azure.core.http.rest.Response<CheckZonePeersResultInner>> checkZonePeersWithResponseAsync(String subscriptionId, CheckZonePeersRequest parameters) Compares a subscriptions logical zone mapping.Gets details about a specified subscription.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> Gets all subscriptions for a tenant.com.azure.core.http.rest.PagedIterable<LocationInner> listLocations(String subscriptionId) Gets all available geo-locations.com.azure.core.http.rest.PagedIterable<LocationInner> listLocations(String subscriptionId, Boolean includeExtendedLocations, com.azure.core.util.Context context) Gets all available geo-locations.com.azure.core.http.rest.PagedFlux<LocationInner> listLocationsAsync(String subscriptionId) Gets all available geo-locations.com.azure.core.http.rest.PagedFlux<LocationInner> listLocationsAsync(String subscriptionId, Boolean includeExtendedLocations) Gets all available geo-locations.
-
Method Details
-
listLocationsAsync
com.azure.core.http.rest.PagedFlux<LocationInner> listLocationsAsync(String subscriptionId, Boolean includeExtendedLocations) Gets all available geo-locations. 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 as paginated response with
PagedFlux. - 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
Gets all available geo-locations. 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 as paginated response with
PagedFlux. - 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
Gets all available geo-locations. 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 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.
-
listLocations
com.azure.core.http.rest.PagedIterable<LocationInner> listLocations(String subscriptionId, Boolean includeExtendedLocations, com.azure.core.util.Context context) Gets all available geo-locations. 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 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<SubscriptionInner>> getWithResponseAsync(String subscriptionId) Gets details about a specified subscription.- Parameters:
subscriptionId- The ID of the target subscription.- Returns:
- details about a specified subscription 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
Gets details about a specified subscription.- Parameters:
subscriptionId- The ID of the target subscription.- Returns:
- details about a specified subscription 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<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 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
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.
-
listAsync
com.azure.core.http.rest.PagedFlux<SubscriptionInner> listAsync()Gets all subscriptions for a tenant.- Returns:
- all subscriptions for a tenant 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<SubscriptionInner> list()Gets all subscriptions for a tenant.- Returns:
- all subscriptions for a tenant 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
Gets all subscriptions for a tenant.- Parameters:
context- The context to associate with this operation.- Returns:
- all subscriptions for a tenant 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.
-
checkZonePeersWithResponseAsync
Mono<com.azure.core.http.rest.Response<CheckZonePeersResultInner>> checkZonePeersWithResponseAsync(String subscriptionId, CheckZonePeersRequest parameters) Compares a subscriptions logical zone mapping.- Parameters:
subscriptionId- The ID of the target subscription.parameters- Parameters for checking zone peers.- Returns:
- result of the Check zone peers operation 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.
-
checkZonePeersAsync
Mono<CheckZonePeersResultInner> checkZonePeersAsync(String subscriptionId, CheckZonePeersRequest parameters) Compares a subscriptions logical zone mapping.- Parameters:
subscriptionId- The ID of the target subscription.parameters- Parameters for checking zone peers.- Returns:
- result of the Check zone peers operation 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.
-
checkZonePeersWithResponse
com.azure.core.http.rest.Response<CheckZonePeersResultInner> checkZonePeersWithResponse(String subscriptionId, CheckZonePeersRequest parameters, com.azure.core.util.Context context) Compares a subscriptions logical zone mapping.- Parameters:
subscriptionId- The ID of the target subscription.parameters- Parameters for checking zone peers.context- The context to associate with this operation.- Returns:
- result of the Check zone peers operation 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.
-
checkZonePeers
Compares a subscriptions logical zone mapping.- Parameters:
subscriptionId- The ID of the target subscription.parameters- Parameters for checking zone peers.- Returns:
- result of the Check zone peers 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.
-