共用方式為


ISubscription Interface

Definition

An immutable client-side representation of an Azure subscription.

public interface ISubscription : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.ResourceManager.Fluent.Models.SubscriptionInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IIndexable
type ISubscription = interface
    interface IIndexable
    interface IHasInner<SubscriptionInner>
Public Interface ISubscription
Implements IHasInner(Of SubscriptionInner), IIndexable
Implements

Properties

DisplayName
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
State
SubscriptionId
SubscriptionPolicies

Methods

GetLocationByRegion(Region)

Gets the data center location for the specified region, if the selected subscription has access to it.

ListLocations()

List the locations the subscription has access to.

Applies to