共用方式為


PSAzureSubscription Constructors

Definition

Overloads

PSAzureSubscription()

Default constructor

PSAzureSubscription(IAzureSubscription)

Copy constructor

PSAzureSubscription(PSObject)

Convert a subscription from a PSObject

PSAzureSubscription()

Default constructor

public PSAzureSubscription ();
Public Sub New ()

Applies to

PSAzureSubscription(IAzureSubscription)

Copy constructor

public PSAzureSubscription (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription other);
new Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription -> Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription
Public Sub New (other As IAzureSubscription)

Parameters

other
IAzureSubscription

Environment to copy from

Applies to

PSAzureSubscription(PSObject)

Convert a subscription from a PSObject

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

Parameters

other
PSObject

ThePSObject to poulate this subscription from

Applies to