Region Class

定义

Enumeration of the Azure datacenter regions. See https://azure.microsoft.com/regions/

public class Region
继承
java.lang.Object
Region

字段

ASIA_EAST
ASIA_SOUTHEAST
AUSTRALIA_EAST
AUSTRALIA_SOUTHEAST
BRAZIL_SOUTH
CANADA_CENTRAL
CANADA_EAST
CHINA_EAST
CHINA_NORTH
EUROPE_NORTH
EUROPE_WEST
GERMANY_CENTRAL
GERMANY_NORTHEAST
GOV_US_IOWA
GOV_US_VIRGINIA
INDIA_CENTRAL
INDIA_SOUTH
INDIA_WEST
JAPAN_EAST
JAPAN_WEST
KOREA_CENTRAL
KOREA_SOUTH
UK_SOUTH
UK_WEST
US_CENTRAL
US_EAST
US_EAST2
US_NORTH_CENTRAL
US_SOUTH_CENTRAL
US_WEST
US_WEST_CENTRAL
US_WEST2

方法

create(String name, String label)

Creates a region from a name and a label.

equals(Object obj)
findByLabelOrName(String labelOrName)

Finds a region based on a label or name.

A region name is lower-cased label with spaces removed.

fromName(String name)

Parses a name into a Region object and creates a new Region instance if not found among the existing ones.

hashCode()
label()
name()
toString()
values()

适用于