Class LocationInner
java.lang.Object
com.azure.resourcemanager.resources.fluent.models.LocationInner
Location information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the availabilityZoneMappings property: The availability zone mappings for this region.Get the displayName property: The display name of the location.id()Get the id property: The fully qualified ID of the location.metadata()Get the metadata property: Metadata of the location, such as lat/long, paired region, and others.name()Get the name property: The location name.Get the regionalDisplayName property: The display name of the location and its region.Get the subscriptionId property: The subscription ID.type()Get the type property: The location type.voidvalidate()Validates the instance.withAvailabilityZoneMappings(List<AvailabilityZoneMappings> availabilityZoneMappings) Set the availabilityZoneMappings property: The availability zone mappings for this region.withMetadata(LocationMetadata metadata) Set the metadata property: Metadata of the location, such as lat/long, paired region, and others.
-
Constructor Details
-
LocationInner
public LocationInner()Creates an instance of LocationInner class.
-
-
Method Details
-
id
Get the id property: The fully qualified ID of the location. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74/locations/westus.- Returns:
- the id value.
-
subscriptionId
Get the subscriptionId property: The subscription ID.- Returns:
- the subscriptionId value.
-
name
Get the name property: The location name.- Returns:
- the name value.
-
type
Get the type property: The location type.- Returns:
- the type value.
-
displayName
Get the displayName property: The display name of the location.- Returns:
- the displayName value.
-
regionalDisplayName
Get the regionalDisplayName property: The display name of the location and its region.- Returns:
- the regionalDisplayName value.
-
metadata
Get the metadata property: Metadata of the location, such as lat/long, paired region, and others.- Returns:
- the metadata value.
-
withMetadata
Set the metadata property: Metadata of the location, such as lat/long, paired region, and others.- Parameters:
metadata- the metadata value to set.- Returns:
- the LocationInner object itself.
-
availabilityZoneMappings
Get the availabilityZoneMappings property: The availability zone mappings for this region.- Returns:
- the availabilityZoneMappings value.
-
withAvailabilityZoneMappings
public LocationInner withAvailabilityZoneMappings(List<AvailabilityZoneMappings> availabilityZoneMappings) Set the availabilityZoneMappings property: The availability zone mappings for this region.- Parameters:
availabilityZoneMappings- the availabilityZoneMappings value to set.- Returns:
- the LocationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-