你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PSAzureSubscription Constructors
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.
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