Class Region
java.lang.Object
com.microsoft.azure.management.resources.fluentcore.arm.Region
Enumeration of the Azure datacenter regions. See https://azure.microsoft.com/regions/
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Region
Azure Cloud - Asiastatic final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
Azure China Cloudstatic final Region
static final Region
Azure Cloud - Europestatic final Region
static final Region
static final Region
static final Region
Azure German Cloudstatic final Region
static final Region
static final Region
static final Region
U.S.static final Region
U.S.static final Region
U.S.static final Region
U.S.static final Region
U.S.static final Region
U.S.static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
Azure Cloud - Middle East and Africastatic final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
static final Region
Azure Cloud - Americasstatic final Region
static final Region
-
Method Summary
Modifier and TypeMethodDescriptionstatic Region
Creates a region from a name and a label.boolean
static Region
findByLabelOrName
(String labelOrName) Finds a region based on a label or name.static Region
Parses a name into a Region object and creates a new Region instance if not found among the existing ones.int
hashCode()
label()
name()
toString()
static Region[]
values()
-
Field Details
-
US_WEST
Azure Cloud - Americas -
US_WEST2
-
US_CENTRAL
-
US_EAST
-
US_EAST2
-
US_NORTH_CENTRAL
-
US_SOUTH_CENTRAL
-
US_WEST_CENTRAL
-
CANADA_CENTRAL
-
CANADA_EAST
-
BRAZIL_SOUTH
-
BRAZIL_SOUTHEAST
-
EUROPE_NORTH
Azure Cloud - Europe -
EUROPE_WEST
-
UK_SOUTH
-
UK_WEST
-
FRANCE_CENTRAL
-
FRANCE_SOUTH
-
SWITZERLAND_NORTH
-
SWITZERLAND_WEST
-
GERMANY_NORTH
-
GERMANY_WESTCENTRAL
-
NORWAY_WEST
-
NORWAY_EAST
-
ASIA_EAST
Azure Cloud - Asia -
ASIA_SOUTHEAST
-
JAPAN_EAST
-
JAPAN_WEST
-
AUSTRALIA_EAST
-
AUSTRALIA_SOUTHEAST
-
AUSTRALIA_CENTRAL
-
AUSTRALIA_CENTRAL2
-
INDIA_CENTRAL
-
INDIA_SOUTH
-
INDIA_WEST
-
KOREA_CENTRAL
-
KOREA_SOUTH
-
UAE_CENTRAL
Azure Cloud - Middle East and Africa -
UAE_NORTH
-
SOUTHAFRICA_NORTH
-
SOUTHAFRICA_WEST
-
CHINA_NORTH
Azure China Cloud -
CHINA_EAST
-
CHINA_NORTH2
-
CHINA_EAST2
-
GERMANY_CENTRAL
Azure German Cloud -
GERMANY_NORTHEAST
-
GOV_US_VIRGINIA
U.S. government cloud in Virginia. -
GOV_US_IOWA
U.S. government cloud in Iowa. -
GOV_US_ARIZONA
U.S. government cloud in Arizona. -
GOV_US_TEXAS
U.S. government cloud in Texas. -
GOV_US_DOD_EAST
U.S. Department of Defense cloud - East. -
GOV_US_DOD_CENTRAL
U.S. Department of Defense cloud - Central.
-
-
Method Details
-
values
- Returns:
- predefined Azure regions
-
create
Creates a region from a name and a label.- Parameters:
name
- the uniquely identifiable name of the regionlabel
- the label of the region- Returns:
- the newly created region
-
toString
-
name
- Returns:
- the name of the region
-
label
- Returns:
- the label of the region
-
findByLabelOrName
Finds a region based on a label or name.A region name is lower-cased label with spaces removed.
- Parameters:
labelOrName
- the region name or label- Returns:
- the found region or null if there's no such region
-
fromName
Parses a name into a Region object and creates a new Region instance if not found among the existing ones.- Parameters:
name
- a region name- Returns:
- the parsed or created region
-
hashCode
public int hashCode() -
equals
-