Package com.azure.core.management
Class Region
java.lang.Object
com.azure.core.management.Region
Enumeration of the Azure datacenter regions. See https://azure.microsoft.com/regions/
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RegionEast Asia (Asia Pacific) (recommended)static final RegionSoutheast Asia (Asia Pacific) (recommended)static final RegionAustralia Central (Asia Pacific)static final RegionAustralia Central 2 (Asia Pacific)static final RegionAustralia East (Asia Pacific) (recommended)static final RegionAustralia Southeast (Asia Pacific)static final RegionBrazil South (South America) (recommended)static final RegionBrazil Southeast (South America)static final RegionCanada Central (Canada) (recommended)static final RegionCanada East (Canada)static final RegionChina Eaststatic final RegionChina East 2static final RegionChina East 3static final RegionChina Northstatic final RegionChina North 2static final RegionChina North 3static final RegionNorth Europe (Europe) (recommended)static final RegionWest Europe (Europe) (recommended)static final RegionFrance Central (Europe) (recommended)static final RegionFrance South (Europe)static final RegionGermany Centralstatic final RegionGermany North (Europe)static final RegionGermany Northeaststatic final RegionGermany West Central (Europe) (recommended)static final RegionU.S. government cloud in Arizona.static final RegionU.S.static final RegionU.S.static final RegionU.S. government cloud in Iowa.static final RegionU.S. government cloud in Texas.static final RegionU.S. government cloud in Virginia.static final RegionCentral India (Asia Pacific) (recommended)static final RegionSouth India (Asia Pacific)static final RegionWest India (Asia Pacific)static final RegionIsrael Central (Middle East)static final RegionItaly North (Europe)static final RegionJapan East (Asia Pacific) (recommended)static final RegionJapan West (Asia Pacific)static final RegionKorea Central (Asia Pacific) (recommended)static final RegionKorea South (Asia Pacific)static final RegionNorway East (Europe) (recommended)static final RegionNorway West (Europe)static final RegionQatar Central (Middle East) (recommended)static final RegionSouth Africa North (Africa) (recommended)static final RegionSouth Africa West (Africa)static final RegionSweden Central (Europe) (recommended)static final RegionSwitzerland North (Europe) (recommended)static final RegionSwitzerland West (Europe)static final RegionUAE Central (Middle East)static final RegionUAE North (Middle East) (recommended)static final RegionUK South (Europe) (recommended)static final RegionUK West (Europe)static final RegionCentral US (US) (recommended)static final RegionEast US (US) (recommended)static final RegionEast US 2 (US) (recommended)static final RegionNorth Central US (US) (recommended)static final RegionSouth Central US (US) (recommended)static final RegionWest US (US) (recommended)static final RegionWest Central US (US)static final RegionWest US 2 (US) (recommended)static final RegionWest US 3 (US) (recommended) -
Method Summary
Modifier and TypeMethodDescriptionstatic RegionCreates a region from a name and a label.booleanstatic RegionParses a name into a Region object and creates a new Region instance if not found among the existing ones.inthashCode()label()Gets the label of the region.name()Gets the name of the region.toString()static Collection<Region> values()Gets the predefined Azure regions.
-
Field Details
-
US_EAST
East US (US) (recommended) -
US_EAST2
East US 2 (US) (recommended) -
US_SOUTH_CENTRAL
South Central US (US) (recommended) -
US_WEST2
West US 2 (US) (recommended) -
US_CENTRAL
Central US (US) (recommended) -
US_NORTH_CENTRAL
North Central US (US) (recommended) -
US_WEST
West US (US) (recommended) -
US_WEST_CENTRAL
West Central US (US) -
US_WEST3
West US 3 (US) (recommended) -
CANADA_CENTRAL
Canada Central (Canada) (recommended) -
CANADA_EAST
Canada East (Canada) -
BRAZIL_SOUTH
Brazil South (South America) (recommended) -
BRAZIL_SOUTHEAST
Brazil Southeast (South America) -
EUROPE_NORTH
North Europe (Europe) (recommended) -
UK_SOUTH
UK South (Europe) (recommended) -
EUROPE_WEST
West Europe (Europe) (recommended) -
FRANCE_CENTRAL
France Central (Europe) (recommended) -
GERMANY_WEST_CENTRAL
Germany West Central (Europe) (recommended) -
NORWAY_EAST
Norway East (Europe) (recommended) -
SWITZERLAND_NORTH
Switzerland North (Europe) (recommended) -
SWEDEN_CENTRAL
Sweden Central (Europe) (recommended) -
FRANCE_SOUTH
France South (Europe) -
GERMANY_NORTH
Germany North (Europe) -
NORWAY_WEST
Norway West (Europe) -
SWITZERLAND_WEST
Switzerland West (Europe) -
UK_WEST
UK West (Europe) -
ITALY_NORTH
Italy North (Europe) -
AUSTRALIA_EAST
Australia East (Asia Pacific) (recommended) -
ASIA_SOUTHEAST
Southeast Asia (Asia Pacific) (recommended) -
INDIA_CENTRAL
Central India (Asia Pacific) (recommended) -
ASIA_EAST
East Asia (Asia Pacific) (recommended) -
JAPAN_EAST
Japan East (Asia Pacific) (recommended) -
KOREA_CENTRAL
Korea Central (Asia Pacific) (recommended) -
AUSTRALIA_CENTRAL
Australia Central (Asia Pacific) -
AUSTRALIA_CENTRAL2
Australia Central 2 (Asia Pacific) -
AUSTRALIA_SOUTHEAST
Australia Southeast (Asia Pacific) -
JAPAN_WEST
Japan West (Asia Pacific) -
KOREA_SOUTH
Korea South (Asia Pacific) -
INDIA_SOUTH
South India (Asia Pacific) -
INDIA_WEST
West India (Asia Pacific) -
UAE_NORTH
UAE North (Middle East) (recommended) -
UAE_CENTRAL
UAE Central (Middle East) -
ISRAEL_CENTRAL
Israel Central (Middle East) -
QATAR_CENTRAL
Qatar Central (Middle East) (recommended) -
SOUTHAFRICA_NORTH
South Africa North (Africa) (recommended) -
SOUTHAFRICA_WEST
South Africa West (Africa) -
CHINA_NORTH
China North -
CHINA_EAST
China East -
CHINA_NORTH2
China North 2 -
CHINA_EAST2
China East 2 -
CHINA_NORTH3
China North 3 -
CHINA_EAST3
China East 3 -
GERMANY_CENTRAL
Germany Central -
GERMANY_NORTHEAST
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
Gets the predefined Azure regions.- Returns:
- predefined Azure regions.
-
create
Creates a region from a name and a label.- Parameters:
name- the uniquely identifiable name of the region.label- the label of the region.- Returns:
- the newly created region.
-
toString
-
name
Gets the name of the region.- Returns:
- the name of the region.
-
label
Gets the label of the region.- Returns:
- the label of the region.
-
fromName
Parses a name into a Region object and creates a new Region instance if not found among the existing ones.- Parameters:
name- the name of the region.- Returns:
- the parsed or created region.
-
hashCode
public int hashCode() -
equals
-