Region Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.fluentcore.arm.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

Azure Cloud - Asia

static final Region ASIA_SOUTHEAST
static final Region AUSTRALIA_CENTRAL
static final Region AUSTRALIA_CENTRAL2
static final Region AUSTRALIA_EAST
static final Region AUSTRALIA_SOUTHEAST
static final Region BRAZIL_SOUTH
static final Region BRAZIL_SOUTHEAST
static final Region CANADA_CENTRAL
static final Region CANADA_EAST
static final Region CHINA_EAST
static final Region CHINA_EAST2
static final Region CHINA_NORTH

Azure China Cloud

static final Region CHINA_NORTH2
static final Region EUROPE_NORTH

Azure Cloud - Europe

static final Region EUROPE_WEST
static final Region FRANCE_CENTRAL
static final Region FRANCE_SOUTH
static final Region GERMANY_CENTRAL

Azure German Cloud

static final Region GERMANY_NORTH
static final Region GERMANY_NORTHEAST
static final Region GERMANY_WESTCENTRAL
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
static final Region INDIA_SOUTH
static final Region INDIA_WEST
static final Region JAPAN_EAST
static final Region JAPAN_WEST
static final Region KOREA_CENTRAL
static final Region KOREA_SOUTH
static final Region NORWAY_EAST
static final Region NORWAY_WEST
static final Region SOUTHAFRICA_NORTH
static final Region SOUTHAFRICA_WEST
static final Region SWITZERLAND_NORTH
static final Region SWITZERLAND_WEST
static final Region UAE_CENTRAL

Azure Cloud - Middle East and Africa

static final Region UAE_NORTH
static final Region UK_SOUTH
static final Region UK_WEST
static final Region US_CENTRAL
static final Region US_EAST
static final Region US_EAST2
static final Region US_NORTH_CENTRAL
static final Region US_SOUTH_CENTRAL
static final Region US_WEST

Azure Cloud - Americas

static final Region US_WEST2
static final Region US_WEST_CENTRAL

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 findByLabelOrName(String labelOrName)

Finds a region based on a label or name.

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()
java.lang.String label()
java.lang.String name()
java.lang.String toString()
static Region[] values()

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

ASIA_EAST

public static final Region ASIA_EAST

Azure Cloud - Asia

ASIA_SOUTHEAST

public static final Region ASIA_SOUTHEAST

AUSTRALIA_CENTRAL

public static final Region AUSTRALIA_CENTRAL

AUSTRALIA_CENTRAL2

public static final Region AUSTRALIA_CENTRAL2

AUSTRALIA_EAST

public static final Region AUSTRALIA_EAST

AUSTRALIA_SOUTHEAST

public static final Region AUSTRALIA_SOUTHEAST

BRAZIL_SOUTH

public static final Region BRAZIL_SOUTH

BRAZIL_SOUTHEAST

public static final Region BRAZIL_SOUTHEAST

CANADA_CENTRAL

public static final Region CANADA_CENTRAL

CANADA_EAST

public static final Region CANADA_EAST

CHINA_EAST

public static final Region CHINA_EAST

CHINA_EAST2

public static final Region CHINA_EAST2

CHINA_NORTH

public static final Region CHINA_NORTH

Azure China Cloud

CHINA_NORTH2

public static final Region CHINA_NORTH2

EUROPE_NORTH

public static final Region EUROPE_NORTH

Azure Cloud - Europe

EUROPE_WEST

public static final Region EUROPE_WEST

FRANCE_CENTRAL

public static final Region FRANCE_CENTRAL

FRANCE_SOUTH

public static final Region FRANCE_SOUTH

GERMANY_CENTRAL

public static final Region GERMANY_CENTRAL

Azure German Cloud

GERMANY_NORTH

public static final Region GERMANY_NORTH

GERMANY_NORTHEAST

public static final Region GERMANY_NORTHEAST

GERMANY_WESTCENTRAL

public static final Region GERMANY_WESTCENTRAL

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

INDIA_SOUTH

public static final Region INDIA_SOUTH

INDIA_WEST

public static final Region INDIA_WEST

JAPAN_EAST

public static final Region JAPAN_EAST

JAPAN_WEST

public static final Region JAPAN_WEST

KOREA_CENTRAL

public static final Region KOREA_CENTRAL

KOREA_SOUTH

public static final Region KOREA_SOUTH

NORWAY_EAST

public static final Region NORWAY_EAST

NORWAY_WEST

public static final Region NORWAY_WEST

SOUTHAFRICA_NORTH

public static final Region SOUTHAFRICA_NORTH

SOUTHAFRICA_WEST

public static final Region SOUTHAFRICA_WEST

SWITZERLAND_NORTH

public static final Region SWITZERLAND_NORTH

SWITZERLAND_WEST

public static final Region SWITZERLAND_WEST

UAE_CENTRAL

public static final Region UAE_CENTRAL

Azure Cloud - Middle East and Africa

UAE_NORTH

public static final Region UAE_NORTH

UK_SOUTH

public static final Region UK_SOUTH

UK_WEST

public static final Region UK_WEST

US_CENTRAL

public static final Region US_CENTRAL

US_EAST

public static final Region US_EAST

US_EAST2

public static final Region US_EAST2

US_NORTH_CENTRAL

public static final Region US_NORTH_CENTRAL

US_SOUTH_CENTRAL

public static final Region US_SOUTH_CENTRAL

US_WEST

public static final Region US_WEST

Azure Cloud - Americas

US_WEST2

public static final Region US_WEST2

US_WEST_CENTRAL

public static final Region US_WEST_CENTRAL

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

findByLabelOrName

public static Region findByLabelOrName(String labelOrName)

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

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 - a region name

Returns:

the parsed or created region

hashCode

public int hashCode()

Overrides:

Region.hashCode()

label

public String label()

Returns:

the label of the region

name

public String name()

Returns:

the name of the region

toString

public String toString()

Overrides:

Region.toString()

values

public static Region[] values()

Returns:

predefined Azure regions

Applies to