Compartilhar via


Location Class

Location information.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.resource.subscriptions._serialization.Model
Location

Constructor

Location(*, metadata: _models.LocationMetadata | None = None, availability_zone_mappings: List[_models.AvailabilityZoneMappings] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
metadata

Metadata of the location, such as lat/long, paired region, and others.

availability_zone_mappings

The availability zone mappings for this region.

Variables

Name Description
id
str

The fully qualified ID of the location. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74/locations/westus.

subscription_id
str

The subscription ID.

name
str

The location name.

type

The location type. Known values are: "Region" and "EdgeZone".

display_name
str

The display name of the location.

regional_display_name
str

The display name of the location and its region.

metadata

Metadata of the location, such as lat/long, paired region, and others.

availability_zone_mappings

The availability zone mappings for this region.