Share via


Location Constructors

Definition

Overloads

Location()

Initializes a new instance of the Location class.

Location(String, String, String, String, String, String)

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, String, String, String)

Initializes a new instance of the Location class.

public Location (string id = default, string subscriptionId = default, string name = default, string displayName = default, string latitude = default, string longitude = default);
new Microsoft.Azure.Management.ResourceManager.Fluent.Models.Location : string * string * string * string * string * string -> Microsoft.Azure.Management.ResourceManager.Fluent.Models.Location
Public Sub New (Optional id As String = Nothing, Optional subscriptionId As String = Nothing, Optional name As String = Nothing, Optional displayName As String = Nothing, Optional latitude As String = Nothing, Optional longitude As String = 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.

displayName
String

The display name of the location.

latitude
String

The latitude of the location.

longitude
String

The longitude of the location.

Applies to