Subscription Interface
public interface Subscription extends Indexable,HasInner
An immutable client-side representation of an Azure subscription.
Method Summary
Modifier and Type | Method and Description |
---|---|
String | displayName() |
Location |
getLocationByRegion(Region region)
Gets the data center location for the specified region, if the selected subscription has access to it. |
PagedList<Location> |
listLocations()
List the locations the subscription has access to. |
Subscription |
state() |
String | subscriptionId() |
Subscription |
subscriptionPolicies() |
Inherited Members
Method Details
displayName
public String displayName()
Returns:
getLocationByRegion
public 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 PagedList
List the locations the subscription has access to.
Returns:
state
public SubscriptionState state()
Returns:
subscriptionId
public String subscriptionId()
Returns:
subscriptionPolicies
public SubscriptionPolicies subscriptionPolicies()
Returns:
Applies to
Azure SDK for Java