共用方式為


Location Interface

Implements

public interface Location
extends Indexable, HasInnerModel<LocationInner>, HasName

An immutable client-side representation of an Azure location.

Method Summary

Modifier and Type Method and Description
abstract String displayName()

Gets the display name of the location readable by humans.

abstract String geographyGroup()

Gets the geography group.

abstract String latitude()

Gets the latitude of the location.

abstract String longitude()

Gets the longitude of the location.

abstract String physicalLocation()

Gets the physical location.

abstract Region region()

Gets the region of the data center location.

abstract RegionCategory regionCategory()

Gets the category of the region.

abstract RegionType regionType()

Gets the type of the region.

abstract String subscriptionId()

Gets the subscription UUID.

Method Details

displayName

public abstract String displayName()

Gets the display name of the location readable by humans.

Returns:

the display name of the location readable by humans

geographyGroup

public abstract String geographyGroup()

Gets the geography group.

Returns:

the geography group.

latitude

public abstract String latitude()

Gets the latitude of the location.

Returns:

the latitude of the location

longitude

public abstract String longitude()

Gets the longitude of the location.

Returns:

the longitude of the location

physicalLocation

public abstract String physicalLocation()

Gets the physical location.

Returns:

the physical location.

region

public abstract Region region()

Gets the region of the data center location.

Returns:

the region of the data center location

regionCategory

public abstract RegionCategory regionCategory()

Gets the category of the region.

Returns:

the category of the region.

regionType

public abstract RegionType regionType()

Gets the type of the region.

Returns:

the type of the region.

subscriptionId

public abstract String subscriptionId()

Gets the subscription UUID.

Returns:

the subscription UUID

Applies to