Location Class

Definition

Location information.

public class Location
type Location = class
Public Class Location
Inheritance
Location

Constructors

Location()

Initializes a new instance of the Location class.

Location(String, String, String, Nullable<LocationType>, String, String, LocationMetadata)

Initializes a new instance of the Location class.

Properties

DisplayName

Gets the display name of the location.

Id

Gets the fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.

Metadata

Gets or sets metadata of the location, such as lat/long, paired region, and others.

Name

Gets the location name.

RegionalDisplayName

Gets the display name of the location and its region.

SubscriptionId

Gets the subscription ID.

Type

Gets the location type. Possible values include: 'Region', 'EdgeZone'

Applies to