| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.ResourceManager.Resources.Models |
| | 9 | | { |
| | 10 | | /// <summary> Location information. </summary> |
| | 11 | | public partial class Location |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of Location. </summary> |
| 0 | 14 | | internal Location() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of Location. </summary> |
| | 19 | | /// <param name="id"> The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-000 |
| | 20 | | /// <param name="subscriptionId"> The subscription ID. </param> |
| | 21 | | /// <param name="name"> The location name. </param> |
| | 22 | | /// <param name="displayName"> The display name of the location. </param> |
| | 23 | | /// <param name="regionalDisplayName"> The display name of the location and its region. </param> |
| | 24 | | /// <param name="metadata"> Metadata of the location, such as lat/long, paired region, and others. </param> |
| 8 | 25 | | internal Location(string id, string subscriptionId, string name, string displayName, string regionalDisplayName, |
| | 26 | | { |
| 8 | 27 | | Id = id; |
| 8 | 28 | | SubscriptionId = subscriptionId; |
| 8 | 29 | | Name = name; |
| 8 | 30 | | DisplayName = displayName; |
| 8 | 31 | | RegionalDisplayName = regionalDisplayName; |
| 8 | 32 | | Metadata = metadata; |
| 8 | 33 | | } |
| | 34 | |
|
| | 35 | | /// <summary> The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000 |
| 4 | 36 | | public string Id { get; } |
| | 37 | | /// <summary> The subscription ID. </summary> |
| 0 | 38 | | public string SubscriptionId { get; } |
| | 39 | | /// <summary> The location name. </summary> |
| 4 | 40 | | public string Name { get; } |
| | 41 | | /// <summary> The display name of the location. </summary> |
| 4 | 42 | | public string DisplayName { get; } |
| | 43 | | /// <summary> The display name of the location and its region. </summary> |
| 0 | 44 | | public string RegionalDisplayName { get; } |
| | 45 | | /// <summary> Metadata of the location, such as lat/long, paired region, and others. </summary> |
| 8 | 46 | | public LocationMetadata Metadata { get; } |
| | 47 | | } |
| | 48 | | } |