Partilhar via


PSAzureEnvironment Constructors

Definition

Overloads

PSAzureEnvironment()

Initializes a new azure environment.

PSAzureEnvironment(IAzureEnvironment)

Initializes a new Azure environment from the given internal representation.

PSAzureEnvironment(PSObject)

For conversion from serialized PSObjects

PSAzureEnvironment()

Initializes a new azure environment.

public PSAzureEnvironment ();
Public Sub New ()

Applies to

PSAzureEnvironment(IAzureEnvironment)

Initializes a new Azure environment from the given internal representation.

public PSAzureEnvironment (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment);
new Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment -> Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment
Public Sub New (environment As IAzureEnvironment)

Parameters

environment
IAzureEnvironment

The internal representation of the environment.

Applies to

PSAzureEnvironment(PSObject)

For conversion from serialized PSObjects

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

Parameters

other
PSObject

Applies to