AzureContextExtensions.GetEnvironment Method
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
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
- container
- IAzureContextContainer
- 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
- container
- IAzureContextContainer
- name
- String