Share via


PSAzureContext Constructors

Definition

Overloads

PSAzureContext()

Default constructor

PSAzureContext(IAzureContext)

Copy Constructor

PSAzureContext(PSObject)

Convert a context from a PSObject

PSAzureContext()

Default constructor

public PSAzureContext ();
Public Sub New ()

Applies to

PSAzureContext(IAzureContext)

Copy Constructor

public PSAzureContext (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context);
new Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
Public Sub New (context As IAzureContext)

Parameters

context
IAzureContext

Applies to

PSAzureContext(PSObject)

Convert a context from a PSObject

public PSAzureContext (System.Management.Automation.PSObject other);
new Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext : System.Management.Automation.PSObject -> Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
Public Sub New (other As PSObject)

Parameters

other
PSObject

Applies to