你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PSAzureEnvironment.Implicit Operator
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
Implicit(PSAzureEnvironment to AzureEnvironment) |
Convert the PowerShell representation of environment to the internal representation. |
Implicit(AzureEnvironment to PSAzureEnvironment) |
Convert the internal representation of Azure libraries to a representation that is more readable for PowerShell. |
Implicit(PSAzureEnvironment to AzureEnvironment)
Convert the PowerShell representation of environment to the internal representation.
public static implicit operator Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureEnvironment (Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment environment);
static member op_Implicit : Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureEnvironment
Public Shared Widening Operator CType (environment As PSAzureEnvironment) As AzureEnvironment
Parameters
- environment
- PSAzureEnvironment
The PowerShell environment to convert.
Returns
The internal representation of the Azure environment, as used by .Net authentication libraries.
Applies to
Implicit(AzureEnvironment to PSAzureEnvironment)
Convert the internal representation of Azure libraries to a representation that is more readable for PowerShell.
public static implicit operator Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment (Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureEnvironment environment);
static member op_Implicit : Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureEnvironment -> Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment
Public Shared Widening Operator CType (environment As AzureEnvironment) As PSAzureEnvironment
Parameters
- environment
- AzureEnvironment
The internal representation fo the Azure environment.
Returns
The PowerShell;-friendly representation of the environment.