Subscriptions Interface
public interface Subscriptions
Resource collection API of Subscriptions.
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 Subscription 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for