Compartilhar via


SubscriptionsClient Interface

public interface SubscriptionsClient

An instance of this class provides access to all the operations defined in SubscriptionsClient.

Method Summary

Modifier and Type Method and Description
abstract CheckZonePeersResultInner checkZonePeers(String subscriptionId, CheckZonePeersRequest parameters)

Compares a subscriptions logical zone mapping.

abstract Mono<CheckZonePeersResultInner> checkZonePeersAsync(String subscriptionId, CheckZonePeersRequest parameters)

Compares a subscriptions logical zone mapping.

abstract Response<CheckZonePeersResultInner> checkZonePeersWithResponse(String subscriptionId, CheckZonePeersRequest parameters, Context context)

Compares a subscriptions logical zone mapping.

abstract Mono<Response<CheckZonePeersResultInner>> checkZonePeersWithResponseAsync(String subscriptionId, CheckZonePeersRequest parameters)

Compares a subscriptions logical zone mapping.

abstract SubscriptionInner get(String subscriptionId)

Gets details about a specified subscription.

abstract Mono<SubscriptionInner> getAsync(String subscriptionId)

Gets details about a specified subscription.

abstract Response<SubscriptionInner> getWithResponse(String subscriptionId, Context context)

Gets details about a specified subscription.

abstract Mono<Response<SubscriptionInner>> getWithResponseAsync(String subscriptionId)

Gets details about a specified subscription.

abstract PagedIterable<SubscriptionInner> list()

Gets all subscriptions for a tenant.

abstract PagedIterable<SubscriptionInner> list(Context context)

Gets all subscriptions for a tenant.

abstract PagedFlux<SubscriptionInner> listAsync()

Gets all subscriptions for a tenant.

abstract PagedIterable<LocationInner> listLocations(String subscriptionId)

Gets all available geo-locations.

abstract PagedIterable<LocationInner> listLocations(String subscriptionId, Boolean includeExtendedLocations, Context context)

Gets all available geo-locations.

abstract PagedFlux<LocationInner> listLocationsAsync(String subscriptionId)

Gets all available geo-locations.

abstract PagedFlux<LocationInner> listLocationsAsync(String subscriptionId, Boolean includeExtendedLocations)

Gets all available geo-locations.

Method Details

checkZonePeers

public abstract CheckZonePeersResultInner checkZonePeers(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.

checkZonePeersAsync

public abstract Mono 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.

checkZonePeersWithResponse

public abstract Response checkZonePeersWithResponse(String subscriptionId, CheckZonePeersRequest parameters, 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<T>.

checkZonePeersWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

get

public abstract SubscriptionInner get(String subscriptionId)

Gets details about a specified subscription.

Parameters:

subscriptionId - The ID of the target subscription.

Returns:

details about a specified subscription.

getAsync

public abstract Mono getAsync(String subscriptionId)

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.

getWithResponse

public abstract Response getWithResponse(String subscriptionId, 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<T>.

getWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Gets all subscriptions for a tenant.

Returns:

all subscriptions for a tenant as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

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<T>.

listAsync

public abstract PagedFlux listAsync()

Gets all subscriptions for a tenant.

Returns:

all subscriptions for a tenant as paginated response with PagedFlux<T>.

listLocations

public abstract PagedIterable listLocations(String subscriptionId)

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<T>.

listLocations

public abstract PagedIterable listLocations(String subscriptionId, Boolean includeExtendedLocations, 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<T>.

listLocationsAsync

public abstract PagedFlux listLocationsAsync(String subscriptionId)

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<T>.

listLocationsAsync

public abstract PagedFlux 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<T>.

Applies to