共用方式為


AzureEnvironment.FromName(String) Method

Definition

Parse cloud environment name based on KnownEnvironments

public static Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment FromName (string name);
static member FromName : string -> Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment
Public Shared Function FromName (name As String) As AzureEnvironment

Parameters

name
String

Cloud environment name

Returns

An AzureEnvironment, or null if no matching environment found

Applies to