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() |
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() |
abstract String | subscriptionId() |
abstract
Subscription |
subscriptionPolicies() |
Method Details
displayName
public abstract String displayName()
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()
Returns:
subscriptionId
public abstract String subscriptionId()
Returns:
subscriptionPolicies
public abstract SubscriptionPolicies subscriptionPolicies()
Returns:
Applies to
Azure SDK for Java