Dela via


ResourceManagerModelFactory.LocationExpanded Method

Definition

Overloads

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

Initializes a new instance of LocationExpanded.

LocationExpanded(String, String, String, Nullable<LocationType>, String, String, LocationMetadata, IEnumerable<AvailabilityZoneMappings>)

Initializes a new instance of LocationExpanded.

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

Source:
ResourceManagerModelFactory.cs
Source:
ResourceManagerModelFactory.cs

Initializes a new instance of LocationExpanded.

public static Azure.ResourceManager.Resources.Models.LocationExpanded LocationExpanded (string id, string subscriptionId, string name, Azure.ResourceManager.Resources.Models.LocationType? locationType, string displayName, string regionalDisplayName, Azure.ResourceManager.Resources.Models.LocationMetadata metadata);
static member LocationExpanded : string * string * string * Nullable<Azure.ResourceManager.Resources.Models.LocationType> * string * string * Azure.ResourceManager.Resources.Models.LocationMetadata -> Azure.ResourceManager.Resources.Models.LocationExpanded
Public Shared Function LocationExpanded (id As String, subscriptionId As String, name As String, locationType As Nullable(Of LocationType), displayName As String, regionalDisplayName As String, metadata As LocationMetadata) As LocationExpanded

Parameters

id
String

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

subscriptionId
String

The subscription ID.

name
String

The location name.

locationType
Nullable<LocationType>

The location type.

displayName
String

The display name of the location.

regionalDisplayName
String

The display name of the location and its region.

metadata
LocationMetadata

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

Returns

A new LocationExpanded instance for mocking.

Applies to

LocationExpanded(String, String, String, Nullable<LocationType>, String, String, LocationMetadata, IEnumerable<AvailabilityZoneMappings>)

Source:
ResourceManagerModelFactory.cs
Source:
ResourceManagerModelFactory.cs

Initializes a new instance of LocationExpanded.

public static Azure.ResourceManager.Resources.Models.LocationExpanded LocationExpanded (string id = default, string subscriptionId = default, string name = default, Azure.ResourceManager.Resources.Models.LocationType? locationType = default, string displayName = default, string regionalDisplayName = default, Azure.ResourceManager.Resources.Models.LocationMetadata metadata = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.AvailabilityZoneMappings> availabilityZoneMappings = default);
static member LocationExpanded : string * string * string * Nullable<Azure.ResourceManager.Resources.Models.LocationType> * string * string * Azure.ResourceManager.Resources.Models.LocationMetadata * seq<Azure.ResourceManager.Resources.Models.AvailabilityZoneMappings> -> Azure.ResourceManager.Resources.Models.LocationExpanded
Public Shared Function LocationExpanded (Optional id As String = Nothing, Optional subscriptionId As String = Nothing, Optional name As String = Nothing, Optional locationType As Nullable(Of LocationType) = Nothing, Optional displayName As String = Nothing, Optional regionalDisplayName As String = Nothing, Optional metadata As LocationMetadata = Nothing, Optional availabilityZoneMappings As IEnumerable(Of AvailabilityZoneMappings) = Nothing) As LocationExpanded

Parameters

id
String

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

subscriptionId
String

The subscription ID.

name
String

The location name.

locationType
Nullable<LocationType>

The location type.

displayName
String

The display name of the location.

regionalDisplayName
String

The display name of the location and its region.

metadata
LocationMetadata

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

availabilityZoneMappings
IEnumerable<AvailabilityZoneMappings>

The availability zone mappings for this region.

Returns

A new LocationExpanded instance for mocking.

Applies to