你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Region 类
- java.
lang. Object - com.
microsoft. azure. management. resources. fluentcore. arm. Region
- com.
public final class Region
Azure 数据中心区域的枚举。 请参见https://azure.microsoft.com/regions/
字段摘要
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
static Region |
create(String name, String label)
从名称和标签创建区域。 |
boolean | equals(Object obj) |
static Region |
findByLabelOrName(String labelOrName)
根据标签或名称查找区域。 |
static Region |
fromName(String name)
将名称分析为 Region 对象,并在现有区域实例中找不到时创建新的 Region 实例。 |
int | hashCode() |
java.lang.String | label() |
java.lang.String | name() |
java.lang.String | toString() |
static Region[] | values() |
方法继承自 java.lang.Object
字段详细信息
ASIA_EAST
public static final Region ASIA_EAST
Azure 云 - 亚洲
ASIA_SOUTHEAST
public static final Region ASIA_SOUTHEAST
AUSTRALIA_CENTRAL
public static final Region AUSTRALIA_CENTRAL
AUSTRALIA_CENTRAL2
public static final Region AUSTRALIA_CENTRAL2
AUSTRALIA_EAST
public static final Region AUSTRALIA_EAST
AUSTRALIA_SOUTHEAST
public static final Region AUSTRALIA_SOUTHEAST
BRAZIL_SOUTH
public static final Region BRAZIL_SOUTH
BRAZIL_SOUTHEAST
public static final Region BRAZIL_SOUTHEAST
CANADA_CENTRAL
public static final Region CANADA_CENTRAL
CANADA_EAST
public static final Region CANADA_EAST
CHINA_EAST
public static final Region CHINA_EAST
CHINA_EAST2
public static final Region CHINA_EAST2
CHINA_NORTH
public static final Region CHINA_NORTH
Azure 中国云
CHINA_NORTH2
public static final Region CHINA_NORTH2
EUROPE_NORTH
public static final Region EUROPE_NORTH
Azure 云 - 欧洲
EUROPE_WEST
public static final Region EUROPE_WEST
FRANCE_CENTRAL
public static final Region FRANCE_CENTRAL
FRANCE_SOUTH
public static final Region FRANCE_SOUTH
GERMANY_CENTRAL
public static final Region GERMANY_CENTRAL
Azure 德国云
GERMANY_NORTH
public static final Region GERMANY_NORTH
GERMANY_NORTHEAST
public static final Region GERMANY_NORTHEAST
GERMANY_WESTCENTRAL
public static final Region GERMANY_WESTCENTRAL
GOV_US_ARIZONA
public static final Region GOV_US_ARIZONA
位于亚利桑那州的美国政府云。
GOV_US_DOD_CENTRAL
public static final Region GOV_US_DOD_CENTRAL
美国国防部云 - 中部。
GOV_US_DOD_EAST
public static final Region GOV_US_DOD_EAST
美国国防部云 - 东部。
GOV_US_IOWA
public static final Region GOV_US_IOWA
位于爱荷华州的美国政府云。
GOV_US_TEXAS
public static final Region GOV_US_TEXAS
德克萨斯州的美国政府云。
GOV_US_VIRGINIA
public static final Region GOV_US_VIRGINIA
弗吉尼亚州的美国政府云。
INDIA_CENTRAL
public static final Region INDIA_CENTRAL
INDIA_SOUTH
public static final Region INDIA_SOUTH
INDIA_WEST
public static final Region INDIA_WEST
JAPAN_EAST
public static final Region JAPAN_EAST
JAPAN_WEST
public static final Region JAPAN_WEST
KOREA_CENTRAL
public static final Region KOREA_CENTRAL
KOREA_SOUTH
public static final Region KOREA_SOUTH
NORWAY_EAST
public static final Region NORWAY_EAST
NORWAY_WEST
public static final Region NORWAY_WEST
SOUTHAFRICA_NORTH
public static final Region SOUTHAFRICA_NORTH
SOUTHAFRICA_WEST
public static final Region SOUTHAFRICA_WEST
SWITZERLAND_NORTH
public static final Region SWITZERLAND_NORTH
SWITZERLAND_WEST
public static final Region SWITZERLAND_WEST
UAE_CENTRAL
public static final Region UAE_CENTRAL
Azure 云 - 中东和非洲
UAE_NORTH
public static final Region UAE_NORTH
UK_SOUTH
public static final Region UK_SOUTH
UK_WEST
public static final Region UK_WEST
US_CENTRAL
public static final Region US_CENTRAL
US_EAST
public static final Region US_EAST
US_EAST2
public static final Region US_EAST2
US_NORTH_CENTRAL
public static final Region US_NORTH_CENTRAL
US_SOUTH_CENTRAL
public static final Region US_SOUTH_CENTRAL
US_WEST
public static final Region US_WEST
Azure 云 - 美洲
US_WEST2
public static final Region US_WEST2
US_WEST_CENTRAL
public static final Region US_WEST_CENTRAL
方法详细信息
create
public static Region create(String name, String label)
从名称和标签创建区域。
参数:
返回:
equals
public boolean equals(Object obj)
替代:
Region.equals(Object obj)参数:
findByLabelOrName
public static Region findByLabelOrName(String labelOrName)
根据标签或名称查找区域。
区域名称是小写标签,其中删除了空格。
参数:
返回:
fromName
public static Region fromName(String name)
将名称分析为 Region 对象,并在现有区域实例中找不到时创建新的 Region 实例。
参数:
返回:
hashCode
public int hashCode()
替代:
Region.hashCode()label
public String label()
返回:
name
public String name()
返回:
toString
public String toString()
替代:
Region.toString()values
public static Region[] values()
返回: