Compartilhar via


PSAzureContext.Subscription Property

Definition

The subscription targeted in Azure.

[Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="SubscriptionName", Position=0, ScriptBlock="$_.Subscription.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)]
[Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="SubscriptionId", Position=1, ScriptBlock="$_.Subscription.Id", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)]
public Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription Subscription { get; set; }
[<Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="SubscriptionName", Position=0, ScriptBlock="$_.Subscription.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)>]
[<Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="SubscriptionId", Position=1, ScriptBlock="$_.Subscription.Id", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)>]
member this.Subscription : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription with get, set
Public Property Subscription As IAzureSubscription

Property Value

Implements

Attributes

Applies to