Location Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
Location()
Initializes a new instance of the Location class.
public Location ();
Public Sub New ()
Applies to
Location(String, String, String, Nullable<LocationType>, String, String, LocationMetadata)
Initializes a new instance of the Location class.
public Location (string id = default, string subscriptionId = default, string name = default, Microsoft.Azure.Management.ResourceManager.Models.LocationType? type = default, string displayName = default, string regionalDisplayName = default, Microsoft.Azure.Management.ResourceManager.Models.LocationMetadata metadata = default);
new Microsoft.Azure.Management.ResourceManager.Models.Location : string * string * string * Nullable<Microsoft.Azure.Management.ResourceManager.Models.LocationType> * string * string * Microsoft.Azure.Management.ResourceManager.Models.LocationMetadata -> Microsoft.Azure.Management.ResourceManager.Models.Location
Public Sub New (Optional id As String = Nothing, Optional subscriptionId As String = Nothing, Optional name As String = Nothing, Optional type As Nullable(Of LocationType) = Nothing, Optional displayName As String = Nothing, Optional regionalDisplayName As String = Nothing, Optional metadata As LocationMetadata = Nothing)
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.
- type
- Nullable<LocationType>
The location type. Possible values include: 'Region', 'EdgeZone'
- 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.
Applies to
Azure SDK for .NET