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