Subscription Interface
Implements
public interface Subscription
extends Indexable, HasInner<com.microsoft.azure.management.resources.implementation.SubscriptionInner>
An immutable client-side representation of an Azure subscription.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract java.lang.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 com.microsoft.azure.PagedList<Location> |
listLocations()
List the locations the subscription has access to. |
abstract
java.util.List<Managed |
managedByTenants() |
abstract
Subscription |
state() |
abstract java.lang.String | subscriptionId() |
abstract
Subscription |
subscriptionPolicies() |
abstract java.lang.String | tenantId() |
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 PagedList
List the locations the subscription has access to.
Returns:
managedByTenants
public abstract List
Returns:
state
public abstract SubscriptionState state()
Returns:
subscriptionId
public abstract String subscriptionId()
Returns:
subscriptionPolicies
public abstract SubscriptionPolicies subscriptionPolicies()
Returns:
tenantId
public abstract String tenantId()
Returns:
Applies to
Azure SDK for Java