Class Location
Location information.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Subscription.dll
Syntax
public class Location
Constructors
Location()
Initializes a new instance of the Location class.
Declaration
public Location ();
Location(String, String, String, String, String, String)
Initializes a new instance of the Location class.
Declaration
public Location (string id = null, string subscriptionId = null, string name = null, string displayName = null, string latitude = null, string longitude = null);
Parameters
String
id
The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. |
String
subscriptionId
The subscription ID. |
String
name
The location name. |
String
displayName
The display name of the location. |
String
latitude
The latitude of the location. |
String
longitude
The longitude of the location. |
Properties
DisplayName
Gets the display name of the location.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="displayName")]
public string DisplayName { get; }
Property Value
String
|
Id
Gets the fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="id")]
public string Id { get; }
Property Value
String
|
Latitude
Gets the latitude of the location.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="latitude")]
public string Latitude { get; }
Property Value
String
|
Longitude
Gets the longitude of the location.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="longitude")]
public string Longitude { get; }
Property Value
String
|
Name
Gets the location name.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public string Name { get; }
Property Value
String
|
SubscriptionId
Gets the subscription ID.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="subscriptionId")]
public string SubscriptionId { get; }
Property Value
String
|