PSAzureProfile.Context Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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