Partilhar via


AzureContextExtensions.GetEnvironment Method

Definition

Overloads

GetEnvironment(IAzureContextContainer, String)
GetEnvironment(IAzureContextContainer, String)

GetEnvironment(IAzureContextContainer, String)

public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment GetEnvironment (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer container, string name);
static member GetEnvironment : Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer * string -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment
<Extension()>
Public Function GetEnvironment (container As IAzureContextContainer, name As String) As IAzureEnvironment

Parameters

name
String

Returns

Applies to

GetEnvironment(IAzureContextContainer, String)

public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment GetEnvironment (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer container, string name);
static member GetEnvironment : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer * string -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment
<Extension()>
Public Function GetEnvironment (container As IAzureContextContainer, name As String) As IAzureEnvironment

Parameters

name
String

Returns

Applies to