Class Region


  • public final class Region
    extends Object
    Enumeration of the Azure datacenter regions. See https://azure.microsoft.com/regions/
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object