Region Class

  • java.lang.Object
    • com.azure.core.management.Region

public final class Region

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

Field Summary

Modifier and Type Field and Description
static final Region ASIA_EAST

East Asia (Asia Pacific) (recommended)

static final Region ASIA_SOUTHEAST

Southeast Asia (Asia Pacific) (recommended)

static final Region AUSTRALIA_CENTRAL

Australia Central (Asia Pacific)

static final Region AUSTRALIA_CENTRAL2

Australia Central 2 (Asia Pacific)

static final Region AUSTRALIA_EAST

Australia East (Asia Pacific) (recommended)

static final Region AUSTRALIA_SOUTHEAST

Australia Southeast (Asia Pacific)

static final Region BRAZIL_SOUTH

Brazil South (South America) (recommended)

static final Region BRAZIL_SOUTHEAST

Brazil Southeast (South America)

static final Region CANADA_CENTRAL

Canada Central (Canada) (recommended)

static final Region CANADA_EAST

Canada East (Canada)

static final Region CHINA_EAST

China East

static final Region CHINA_EAST2

China East 2

static final Region CHINA_EAST3

China East 3

static final Region CHINA_NORTH

China North

static final Region CHINA_NORTH2

China North 2

static final Region CHINA_NORTH3

China North 3

static final Region EUROPE_NORTH

North Europe (Europe) (recommended)

static final Region EUROPE_WEST

West Europe (Europe) (recommended)

static final Region FRANCE_CENTRAL

France Central (Europe) (recommended)

static final Region FRANCE_SOUTH

France South (Europe)

static final Region GERMANY_CENTRAL

Germany Central

static final Region GERMANY_NORTH

Germany North (Europe)

static final Region GERMANY_NORTHEAST

Germany Northeast

static final Region GERMANY_WEST_CENTRAL

Germany West Central (Europe) (recommended)

static final Region GOV_US_ARIZONA

U.S.

static final Region GOV_US_DOD_CENTRAL

U.S.

static final Region GOV_US_DOD_EAST

U.S.

static final Region GOV_US_IOWA

U.S.

static final Region GOV_US_TEXAS

U.S.

static final Region GOV_US_VIRGINIA

U.S.

static final Region INDIA_CENTRAL

Central India (Asia Pacific) (recommended)

static final Region INDIA_SOUTH

South India (Asia Pacific)

static final Region INDIA_WEST

West India (Asia Pacific)

static final Region ISRAEL_CENTRAL

Israel Central (Middle East)

static final Region ITALY_NORTH

Italy North (Europe)

static final Region JAPAN_EAST

Japan East (Asia Pacific) (recommended)

static final Region JAPAN_WEST

Japan West (Asia Pacific)

static final Region KOREA_CENTRAL

Korea Central (Asia Pacific) (recommended)

static final Region KOREA_SOUTH

Korea South (Asia Pacific)

static final Region NORWAY_EAST

Norway East (Europe) (recommended)

static final Region NORWAY_WEST

Norway West (Europe)

static final Region QATAR_CENTRAL

Qatar Central (Middle East) (recommended)

static final Region SOUTHAFRICA_NORTH

South Africa North (Africa) (recommended)

static final Region SOUTHAFRICA_WEST

South Africa West (Africa)

static final Region SWEDEN_CENTRAL

Sweden Central (Europe) (recommended)

static final Region SWITZERLAND_NORTH

Switzerland North (Europe) (recommended)

static final Region SWITZERLAND_WEST

Switzerland West (Europe)

static final Region UAE_CENTRAL

UAE Central (Middle East)

static final Region UAE_NORTH

UAE North (Middle East) (recommended)

static final Region UK_SOUTH

UK South (Europe) (recommended)

static final Region UK_WEST

UK West (Europe)

static final Region US_CENTRAL

Central US (US) (recommended)

static final Region US_EAST

East US (US) (recommended)

static final Region US_EAST2

East US 2 (US) (recommended)

static final Region US_NORTH_CENTRAL

North Central US (US) (recommended)

static final Region US_SOUTH_CENTRAL

South Central US (US) (recommended)

static final Region US_WEST

West US (US) (recommended)

static final Region US_WEST2

West US 2 (US) (recommended)

static final Region US_WEST3

West US 3 (US) (recommended)

static final Region US_WEST_CENTRAL

West Central US (US)

Method Summary

Modifier and Type Method and Description
static Region create(String name, String label)

Creates a region from a name and a label.

boolean equals(Object obj)
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.

int hashCode()
String label()

Gets the label of the region.

String name()

Gets the name of the region.

String toString()
static Collection<Region> values()

Gets the predefined Azure regions.

Methods inherited from java.lang.Object

Field Details

ASIA_EAST

public static final Region ASIA_EAST

East Asia (Asia Pacific) (recommended)

ASIA_SOUTHEAST

public static final Region ASIA_SOUTHEAST

Southeast Asia (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_EAST

public static final Region AUSTRALIA_EAST

Australia East (Asia Pacific) (recommended)

AUSTRALIA_SOUTHEAST

public static final Region AUSTRALIA_SOUTHEAST

Australia Southeast (Asia Pacific)

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)

CANADA_CENTRAL

public static final Region CANADA_CENTRAL

Canada Central (Canada) (recommended)

CANADA_EAST

public static final Region CANADA_EAST

Canada East (Canada)

CHINA_EAST

public static final Region CHINA_EAST

China East

CHINA_EAST2

public static final Region CHINA_EAST2

China East 2

CHINA_EAST3

public static final Region CHINA_EAST3

China East 3

CHINA_NORTH

public static final Region CHINA_NORTH

China North

CHINA_NORTH2

public static final Region CHINA_NORTH2

China North 2

CHINA_NORTH3

public static final Region CHINA_NORTH3

China North 3

EUROPE_NORTH

public static final Region EUROPE_NORTH

North Europe (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)

FRANCE_SOUTH

public static final Region FRANCE_SOUTH

France South (Europe)

GERMANY_CENTRAL

public static final Region GERMANY_CENTRAL

Germany Central

GERMANY_NORTH

public static final Region GERMANY_NORTH

Germany North (Europe)

GERMANY_NORTHEAST

public static final Region GERMANY_NORTHEAST

Germany Northeast

GERMANY_WEST_CENTRAL

public static final Region GERMANY_WEST_CENTRAL

Germany West Central (Europe) (recommended)

GOV_US_ARIZONA

public static final Region GOV_US_ARIZONA

U.S. government cloud in Arizona.

GOV_US_DOD_CENTRAL

public static final Region GOV_US_DOD_CENTRAL

U.S. Department of Defense cloud - Central.

GOV_US_DOD_EAST

public static final Region GOV_US_DOD_EAST

U.S. Department of Defense cloud - East.

GOV_US_IOWA

public static final Region GOV_US_IOWA

U.S. government cloud in Iowa.

GOV_US_TEXAS

public static final Region GOV_US_TEXAS

U.S. government cloud in Texas.

GOV_US_VIRGINIA

public static final Region GOV_US_VIRGINIA

U.S. government cloud in Virginia.

INDIA_CENTRAL

public static final Region INDIA_CENTRAL

Central India (Asia Pacific) (recommended)

INDIA_SOUTH

public static final Region INDIA_SOUTH

South India (Asia Pacific)

INDIA_WEST

public static final Region INDIA_WEST

West India (Asia Pacific)

ISRAEL_CENTRAL

public static final Region ISRAEL_CENTRAL

Israel Central (Middle East)

ITALY_NORTH

public static final Region ITALY_NORTH

Italy North (Europe)

JAPAN_EAST

public static final Region JAPAN_EAST

Japan East (Asia Pacific) (recommended)

JAPAN_WEST

public static final Region JAPAN_WEST

Japan West (Asia Pacific)

KOREA_CENTRAL

public static final Region KOREA_CENTRAL

Korea Central (Asia Pacific) (recommended)

KOREA_SOUTH

public static final Region KOREA_SOUTH

Korea South (Asia Pacific)

NORWAY_EAST

public static final Region NORWAY_EAST

Norway East (Europe) (recommended)

NORWAY_WEST

public static final Region NORWAY_WEST

Norway West (Europe)

QATAR_CENTRAL

public static final Region QATAR_CENTRAL

Qatar Central (Middle East) (recommended)

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)

SWEDEN_CENTRAL

public static final Region SWEDEN_CENTRAL

Sweden Central (Europe) (recommended)

SWITZERLAND_NORTH

public static final Region SWITZERLAND_NORTH

Switzerland North (Europe) (recommended)

SWITZERLAND_WEST

public static final Region SWITZERLAND_WEST

Switzerland West (Europe)

UAE_CENTRAL

public static final Region UAE_CENTRAL

UAE Central (Middle East)

UAE_NORTH

public static final Region UAE_NORTH

UAE North (Middle East) (recommended)

UK_SOUTH

public static final Region UK_SOUTH

UK South (Europe) (recommended)

UK_WEST

public static final Region UK_WEST

UK West (Europe)

US_CENTRAL

public static final Region US_CENTRAL

Central US (US) (recommended)

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_NORTH_CENTRAL

public static final Region US_NORTH_CENTRAL

North Central US (US) (recommended)

US_SOUTH_CENTRAL

public static final Region US_SOUTH_CENTRAL

South Central US (US) (recommended)

US_WEST

public static final Region US_WEST

West US (US) (recommended)

US_WEST2

public static final Region US_WEST2

West US 2 (US) (recommended)

US_WEST3

public static final Region US_WEST3

West US 3 (US) (recommended)

US_WEST_CENTRAL

public static final Region US_WEST_CENTRAL

West Central US (US)

Method Details

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.

equals

public boolean equals(Object obj)

Overrides:

Region.equals(Object obj)

Parameters:

obj

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.

hashCode

public int hashCode()

Overrides:

Region.hashCode()

label

public String label()

Gets the label of the region.

Returns:

the label of the region.

name

public String name()

Gets the name of the region.

Returns:

the name of the region.

toString

public String toString()

Overrides:

Region.toString()

values

public static Collection values()

Gets the predefined Azure regions.

Returns:

predefined Azure regions.

Applies to