java.lang.Object
com.microsoft.azure.management.resources.fluentcore.arm.Region

public final class Region extends Object
Enumeration of the Azure datacenter regions. See https://azure.microsoft.com/regions/
  • Field Details

    • US_WEST

      public static final Region US_WEST
      Azure Cloud - Americas
    • US_WEST2

      public static final Region US_WEST2
    • 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_CENTRAL

      public static final Region US_WEST_CENTRAL
    • CANADA_CENTRAL

      public static final Region CANADA_CENTRAL
    • CANADA_EAST

      public static final Region CANADA_EAST
    • BRAZIL_SOUTH

      public static final Region BRAZIL_SOUTH
    • BRAZIL_SOUTHEAST

      public static final Region BRAZIL_SOUTHEAST
    • EUROPE_NORTH

      public static final Region EUROPE_NORTH
      Azure Cloud - Europe
    • EUROPE_WEST

      public static final Region EUROPE_WEST
    • UK_SOUTH

      public static final Region UK_SOUTH
    • UK_WEST

      public static final Region UK_WEST
    • FRANCE_CENTRAL

      public static final Region FRANCE_CENTRAL
    • FRANCE_SOUTH

      public static final Region FRANCE_SOUTH
    • SWITZERLAND_NORTH

      public static final Region SWITZERLAND_NORTH
    • SWITZERLAND_WEST

      public static final Region SWITZERLAND_WEST
    • GERMANY_NORTH

      public static final Region GERMANY_NORTH
    • GERMANY_WESTCENTRAL

      public static final Region GERMANY_WESTCENTRAL
    • NORWAY_WEST

      public static final Region NORWAY_WEST
    • NORWAY_EAST

      public static final Region NORWAY_EAST
    • ASIA_EAST

      public static final Region ASIA_EAST
      Azure Cloud - Asia
    • ASIA_SOUTHEAST

      public static final Region ASIA_SOUTHEAST
    • JAPAN_EAST

      public static final Region JAPAN_EAST
    • JAPAN_WEST

      public static final Region JAPAN_WEST
    • AUSTRALIA_EAST

      public static final Region AUSTRALIA_EAST
    • AUSTRALIA_SOUTHEAST

      public static final Region AUSTRALIA_SOUTHEAST
    • AUSTRALIA_CENTRAL

      public static final Region AUSTRALIA_CENTRAL
    • AUSTRALIA_CENTRAL2

      public static final Region AUSTRALIA_CENTRAL2
    • INDIA_CENTRAL

      public static final Region INDIA_CENTRAL
    • INDIA_SOUTH

      public static final Region INDIA_SOUTH
    • INDIA_WEST

      public static final Region INDIA_WEST
    • KOREA_CENTRAL

      public static final Region KOREA_CENTRAL
    • KOREA_SOUTH

      public static final Region KOREA_SOUTH
    • UAE_CENTRAL

      public static final Region UAE_CENTRAL
      Azure Cloud - Middle East and Africa
    • UAE_NORTH

      public static final Region UAE_NORTH
    • SOUTHAFRICA_NORTH

      public static final Region SOUTHAFRICA_NORTH
    • SOUTHAFRICA_WEST

      public static final Region SOUTHAFRICA_WEST
    • CHINA_NORTH

      public static final Region CHINA_NORTH
      Azure China Cloud
    • CHINA_EAST

      public static final Region CHINA_EAST
    • CHINA_NORTH2

      public static final Region CHINA_NORTH2
    • CHINA_EAST2

      public static final Region CHINA_EAST2
    • GERMANY_CENTRAL

      public static final Region GERMANY_CENTRAL
      Azure German Cloud
    • GERMANY_NORTHEAST

      public static final Region 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 Details

    • values

      public static 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • name

      public String name()
      Returns:
      the name of the region
    • label

      public String label()
      Returns:
      the label of the region
    • 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:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object