Partager via


PSAzureProfile.Context Property

Definition

[Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="Account Name", ScriptBlock="$_.Context.Account.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)]
[Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="Subscription Name", ScriptBlock="$_.Context.Subscription.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)]
[Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="Tenant Id", ScriptBlock="$_.Context.Tenant.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)]
[Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="Environment Name", ScriptBlock="$_.Context.Environment.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)]
public Microsoft.Azure.Commands.Profile.Models.PSAzureContext Context { get; set; }
[<Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="Account Name", ScriptBlock="$_.Context.Account.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)>]
[<Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="Subscription Name", ScriptBlock="$_.Context.Subscription.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)>]
[<Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="Tenant Id", ScriptBlock="$_.Context.Tenant.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)>]
[<Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(Label="Environment Name", ScriptBlock="$_.Context.Environment.Name", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)>]
member this.Context : Microsoft.Azure.Commands.Profile.Models.PSAzureContext with get, set
Public Property Context As PSAzureContext

Property Value

Attributes

Applies to