Package com.azure.core.management
Class Region
- java.lang.Object
-
- com.azure.core.management.Region
-
public final class Region extends Object
Enumeration of the Azure datacenter regions. See https://azure.microsoft.com/regions/
-
-
Field Summary
Fields Modifier and Type Field Description static RegionASIA_EASTEast Asia (Asia Pacific) (recommended)static RegionASIA_SOUTHEASTSoutheast Asia (Asia Pacific) (recommended)static RegionAUSTRALIA_CENTRALAustralia Central (Asia Pacific)static RegionAUSTRALIA_CENTRAL2Australia Central 2 (Asia Pacific)static RegionAUSTRALIA_EASTAustralia East (Asia Pacific) (recommended)static RegionAUSTRALIA_SOUTHEASTAustralia Southeast (Asia Pacific)static RegionBRAZIL_SOUTHBrazil South (South America) (recommended)static RegionBRAZIL_SOUTHEASTBrazil Southeast (South America)static RegionCANADA_CENTRALCanada Central (Canada) (recommended)static RegionCANADA_EASTCanada East (Canada)static RegionCHINA_EASTChina Eaststatic RegionCHINA_EAST2China East 2static RegionCHINA_NORTHChina Northstatic RegionCHINA_NORTH2China North 2static RegionEUROPE_NORTHNorth Europe (Europe) (recommended)static RegionEUROPE_WESTWest Europe (Europe) (recommended)static RegionFRANCE_CENTRALFrance Central (Europe) (recommended)static RegionFRANCE_SOUTHFrance South (Europe)static RegionGERMANY_CENTRALGermany Centralstatic RegionGERMANY_NORTHGermany North (Europe)static RegionGERMANY_NORTHEASTGermany Northeaststatic RegionGERMANY_WEST_CENTRALGermany West Central (Europe) (recommended)static RegionGOV_US_ARIZONAU.S.static RegionGOV_US_DOD_CENTRALU.S.static RegionGOV_US_DOD_EASTU.S.static RegionGOV_US_IOWAU.S.static RegionGOV_US_TEXASU.S.static RegionGOV_US_VIRGINIAU.S.static RegionINDIA_CENTRALCentral India (Asia Pacific) (recommended)static RegionINDIA_SOUTHSouth India (Asia Pacific)static RegionINDIA_WESTWest India (Asia Pacific)static RegionJAPAN_EASTJapan East (Asia Pacific) (recommended)static RegionJAPAN_WESTJapan West (Asia Pacific)static RegionKOREA_CENTRALKorea Central (Asia Pacific) (recommended)static RegionKOREA_SOUTHKorea South (Asia Pacific)static RegionNORWAY_EASTNorway East (Europe) (recommended)static RegionNORWAY_WESTNorway West (Europe)static RegionSOUTHAFRICA_NORTHSouth Africa North (Africa) (recommended)static RegionSOUTHAFRICA_WESTSouth Africa West (Africa)static RegionSWEDEN_CENTRALSweden Central (Europe) (recommended)static RegionSWITZERLAND_NORTHSwitzerland North (Europe) (recommended)static RegionSWITZERLAND_WESTSwitzerland West (Europe)static RegionUAE_CENTRALUAE Central (Middle East)static RegionUAE_NORTHUAE North (Middle East) (recommended)static RegionUK_SOUTHUK South (Europe) (recommended)static RegionUK_WESTUK West (Europe)static RegionUS_CENTRALCentral US (US) (recommended)static RegionUS_EASTEast US (US) (recommended)static RegionUS_EAST2East US 2 (US) (recommended)static RegionUS_NORTH_CENTRALNorth Central US (US) (recommended)static RegionUS_SOUTH_CENTRALSouth Central US (US) (recommended)static RegionUS_WESTWest US (US) (recommended)static RegionUS_WEST_CENTRALWest Central US (US)static RegionUS_WEST2West US 2 (US) (recommended)static RegionUS_WEST3West US 3 (US) (recommended)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Regioncreate(String name, String label)Creates a region from a name and a label.booleanequals(Object obj)static RegionfromName(String name)Parses a name into a Region object and creates a new Region instance if not found among the existing ones.inthashCode()Stringlabel()Stringname()StringtoString()static Collection<Region>values()
-
-
-
Field Detail
-
US_EAST
public static final Region US_EAST
East US (US) (recommended)
-
US_EAST2
public static final Region US_EAST2
East US 2 (US) (recommended)
-
US_SOUTH_CENTRAL
public static final Region US_SOUTH_CENTRAL
South Central US (US) (recommended)
-
US_WEST2
public static final Region US_WEST2
West US 2 (US) (recommended)
-
US_CENTRAL
public static final Region US_CENTRAL
Central US (US) (recommended)
-
US_NORTH_CENTRAL
public static final Region US_NORTH_CENTRAL
North Central US (US) (recommended)
-
US_WEST
public static final Region US_WEST
West US (US) (recommended)
-
US_WEST_CENTRAL
public static final Region US_WEST_CENTRAL
West Central US (US)
-
US_WEST3
public static final Region US_WEST3
West US 3 (US) (recommended)
-
CANADA_CENTRAL
public static final Region CANADA_CENTRAL
Canada Central (Canada) (recommended)
-
CANADA_EAST
public static final Region CANADA_EAST
Canada East (Canada)
-
BRAZIL_SOUTH
public static final Region BRAZIL_SOUTH
Brazil South (South America) (recommended)
-
BRAZIL_SOUTHEAST
public static final Region BRAZIL_SOUTHEAST
Brazil Southeast (South America)
-
EUROPE_NORTH
public static final Region EUROPE_NORTH
North Europe (Europe) (recommended)
-
UK_SOUTH
public static final Region UK_SOUTH
UK South (Europe) (recommended)
-
EUROPE_WEST
public static final Region EUROPE_WEST
West Europe (Europe) (recommended)
-
FRANCE_CENTRAL
public static final Region FRANCE_CENTRAL
France Central (Europe) (recommended)
-
GERMANY_WEST_CENTRAL
public static final Region GERMANY_WEST_CENTRAL
Germany West Central (Europe) (recommended)
-
NORWAY_EAST
public static final Region NORWAY_EAST
Norway East (Europe) (recommended)
-
SWITZERLAND_NORTH
public static final Region SWITZERLAND_NORTH
Switzerland North (Europe) (recommended)
-
SWEDEN_CENTRAL
public static final Region SWEDEN_CENTRAL
Sweden Central (Europe) (recommended)
-
FRANCE_SOUTH
public static final Region FRANCE_SOUTH
France South (Europe)
-
GERMANY_NORTH
public static final Region GERMANY_NORTH
Germany North (Europe)
-
NORWAY_WEST
public static final Region NORWAY_WEST
Norway West (Europe)
-
SWITZERLAND_WEST
public static final Region SWITZERLAND_WEST
Switzerland West (Europe)
-
UK_WEST
public static final Region UK_WEST
UK West (Europe)
-
AUSTRALIA_EAST
public static final Region AUSTRALIA_EAST
Australia East (Asia Pacific) (recommended)
-
ASIA_SOUTHEAST
public static final Region ASIA_SOUTHEAST
Southeast Asia (Asia Pacific) (recommended)
-
INDIA_CENTRAL
public static final Region INDIA_CENTRAL
Central India (Asia Pacific) (recommended)
-
ASIA_EAST
public static final Region ASIA_EAST
East Asia (Asia Pacific) (recommended)
-
JAPAN_EAST
public static final Region JAPAN_EAST
Japan East (Asia Pacific) (recommended)
-
KOREA_CENTRAL
public static final Region KOREA_CENTRAL
Korea Central (Asia Pacific) (recommended)
-
AUSTRALIA_CENTRAL
public static final Region AUSTRALIA_CENTRAL
Australia Central (Asia Pacific)
-
AUSTRALIA_CENTRAL2
public static final Region AUSTRALIA_CENTRAL2
Australia Central 2 (Asia Pacific)
-
AUSTRALIA_SOUTHEAST
public static final Region AUSTRALIA_SOUTHEAST
Australia Southeast (Asia Pacific)
-
JAPAN_WEST
public static final Region JAPAN_WEST
Japan West (Asia Pacific)
-
KOREA_SOUTH
public static final Region KOREA_SOUTH
Korea South (Asia Pacific)
-
INDIA_SOUTH
public static final Region INDIA_SOUTH
South India (Asia Pacific)
-
INDIA_WEST
public static final Region INDIA_WEST
West India (Asia Pacific)
-
UAE_NORTH
public static final Region UAE_NORTH
UAE North (Middle East) (recommended)
-
UAE_CENTRAL
public static final Region UAE_CENTRAL
UAE Central (Middle East)
-
SOUTHAFRICA_NORTH
public static final Region SOUTHAFRICA_NORTH
South Africa North (Africa) (recommended)
-
SOUTHAFRICA_WEST
public static final Region SOUTHAFRICA_WEST
South Africa West (Africa)
-
CHINA_NORTH
public static final Region CHINA_NORTH
China North
-
CHINA_EAST
public static final Region CHINA_EAST
China East
-
CHINA_NORTH2
public static final Region CHINA_NORTH2
China North 2
-
CHINA_EAST2
public static final Region CHINA_EAST2
China East 2
-
GERMANY_CENTRAL
public static final Region GERMANY_CENTRAL
Germany Central
-
GERMANY_NORTHEAST
public static final Region GERMANY_NORTHEAST
Germany Northeast
-
GOV_US_VIRGINIA
public static final Region GOV_US_VIRGINIA
U.S. government cloud in Virginia.
-
GOV_US_IOWA
public static final Region GOV_US_IOWA
U.S. government cloud in Iowa.
-
GOV_US_ARIZONA
public static final Region GOV_US_ARIZONA
U.S. government cloud in Arizona.
-
GOV_US_TEXAS
public static final Region GOV_US_TEXAS
U.S. government cloud in Texas.
-
GOV_US_DOD_EAST
public static final Region GOV_US_DOD_EAST
U.S. Department of Defense cloud - East.
-
GOV_US_DOD_CENTRAL
public static final Region GOV_US_DOD_CENTRAL
U.S. Department of Defense cloud - Central.
-
-
Method Detail
-
values
public static Collection<Region> values()
- Returns:
- predefined Azure regions.
-
create
public static Region create(String name, String label)
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.
-
name
public String name()
- Returns:
- the name of the region.
-
label
public String label()
- Returns:
- the label of the region.
-
fromName
public static Region fromName(String name)
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.
-
-