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
Subscription |
get(String subscriptionId)
Gets details about a specified subscription. |
abstract
Response<Subscription |
getWithResponse(String subscriptionId, Context context)
Gets details about a specified subscription. |
abstract
Paged |
list()
Gets all subscriptions for a tenant. |
abstract
Paged |
list(Context context)
Gets all subscriptions for a tenant. |
abstract
Paged |
listLocations(String subscriptionId)
Gets all available geo-locations. |
abstract
Paged |
listLocations(String subscriptionId, Context context)
Gets all available geo-locations. |
Method Details
get
public abstract SubscriptionInner get(String subscriptionId)
Gets details about a specified subscription.
Parameters:
Returns:
getWithResponse
public abstract Response
Gets details about a specified subscription.
Parameters:
Returns:
list
public abstract PagedIterable
Gets all subscriptions for a tenant.
Returns:
list
public abstract PagedIterable
Gets all subscriptions for a tenant.
Parameters:
Returns:
listLocations
public abstract PagedIterable
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:
Returns:
listLocations
public abstract PagedIterable
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:
Returns:
Applies to
Azure SDK for Java