Delen via


AzureLocation Struct

Definition

Represents an Azure geography region where supported resource providers live.

public readonly struct AzureLocation : IEquatable<Azure.Core.AzureLocation>
type AzureLocation = struct
Public Structure AzureLocation
Implements IEquatable(Of AzureLocation)
Inheritance
AzureLocation
Implements

Constructors

AzureLocation(String, String)

Initializes a new instance of Location.

AzureLocation(String)

Initializes a new instance of Location.

Properties

AustraliaCentral

Public cloud location for Australia Central.

AustraliaCentral2

Public cloud location for Australia Central 2.

AustraliaEast

Public cloud location for Australia East.

AustraliaSoutheast

Public cloud location for Australia Southeast.

BrazilSouth

Public cloud location for Brazil South.

BrazilSoutheast

Public cloud location for Brazil Southeast.

CanadaCentral

Public cloud location for Canada Central.

CanadaEast

Public cloud location for Canada East.

CentralIndia

Public cloud location for Central India.

CentralUS

Public cloud location for Central US.

ChinaEast

Public cloud location for China East.

ChinaEast2

Public cloud location for China East 2.

ChinaEast3

Public cloud location for China East 3.

ChinaNorth

Public cloud location for China North.

ChinaNorth2

Public cloud location for China North 2.

ChinaNorth3

Public cloud location for China North 3.

DisplayName

Gets a location display name consisting of titlecase words or alphanumeric characters separated by whitespaces, e.g. "West US".

EastAsia

Public cloud location for East Asia.

EastUS

Public cloud location for East US.

EastUS2

Public cloud location for East US 2.

FranceCentral

Public cloud location for France Central.

FranceSouth

Public cloud location for France South.

GermanyCentral

Public cloud location for Germany Central.

GermanyNorth

Public cloud location for Germany North.

GermanyNorthEast

Public cloud location for Germany NorthEast.

GermanyWestCentral

Public cloud location for Germany West Central.

IsraelCentral

Public cloud location for Israel Central.

ItalyNorth

Public cloud location for Italy North.

JapanEast

Public cloud location for Japan East.

JapanWest

Public cloud location for Japan West.

KoreaCentral

Public cloud location for Korea Central.

KoreaSouth

Public cloud location for Korea South.

Name

Gets a location name consisting of only lowercase characters without white spaces or any separation character between words, e.g. "westus".

NorthCentralUS

Public cloud location for North Central US.

NorthEurope

Public cloud location for North Europe.

NorwayEast

Public cloud location for Norway East.

NorwayWest

Public cloud location for Norway West.

PolandCentral

Public cloud location for Poland Central.

QatarCentral

Public cloud location for Qatar Central.

SouthAfricaNorth

Public cloud location for South Africa North.

SouthAfricaWest

Public cloud location for South Africa West.

SouthCentralUS

Public cloud location for South Central US.

SoutheastAsia

Public cloud location for Southeast Asia.

SouthIndia

Public cloud location for South India.

SwedenCentral

Public cloud location for Sweden Central.

SwedenSouth

Public cloud location for Sweden South.

SwitzerlandNorth

Public cloud location for Switzerland North.

SwitzerlandWest

Public cloud location for Switzerland West.

UAECentral

Public cloud location for UAE Central.

UAENorth

Public cloud location for UAE North.

UKSouth

Public cloud location for UK South.

UKWest

Public cloud location for UK West.

USDoDCentral

Public cloud location for US DoD Central.

USDoDEast

Public cloud location for US DoD East.

USGovArizona

Public cloud location for US Gov Arizona.

USGovIowa

Public cloud location for US Gov Iowa.

USGovTexas

Public cloud location for US Gov Texas.

USGovVirginia

Public cloud location for US Gov Virginia.

WestCentralUS

Public cloud location for West Central US.

WestEurope

Public cloud location for West Europe.

WestIndia

Public cloud location for West India.

WestUS

Public cloud location for West US.

WestUS2

Public cloud location for West US 2.

WestUS3

Public cloud location for West US 3.

Methods

Equals(AzureLocation)

Detects if a location object is equal to another location instance or a string representing the location name.

ToString()

Gets the name of a location object.

Operators

Equality(AzureLocation, AzureLocation)

Compares this AzureLocation instance with another object and determines if they are equals.

Implicit(AzureLocation to String)

Creates a string implicitly from a AzureLocation object.

Implicit(String to AzureLocation)

Creates a new location implicitly from a string.

Inequality(AzureLocation, AzureLocation)

Compares this AzureLocation instance with another object and determines if they are equals.

Applies to