Subscription Interface
Implements
public interface Subscription
extends Indexable, HasInnerModel<SubscriptionInner>
An immutable client-side representation of an Azure subscription.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
displayName()
Gets the name of the subscription for humans to read. |
abstract Location |
getLocationByRegion(Region region)
Gets the data center location for the specified region, if the selected subscription has access to it. |
abstract
Paged |
listLocations()
List the locations the subscription has access to. |
abstract
Subscription |
state()
Gets the state of the subscription. |
abstract String |
subscriptionId()
Gets the UUID of the subscription. |
abstract
Subscription |
subscriptionPolicies()
Gets the policies defined in the subscription. |
Method Details
displayName
public abstract String displayName()
Gets the name of the subscription for humans to read.
Returns:
getLocationByRegion
public abstract Location getLocationByRegion(Region region)
Gets the data center location for the specified region, if the selected subscription has access to it.
Parameters:
Returns:
listLocations
public abstract PagedIterable
List the locations the subscription has access to.
Returns:
state
public abstract SubscriptionState state()
Gets the state of the subscription.
Returns:
subscriptionId
public abstract String subscriptionId()
Gets the UUID of the subscription.
Returns:
subscriptionPolicies
public abstract SubscriptionPolicies subscriptionPolicies()
Gets the policies defined in the subscription.
Returns: