Class: Azure::Resources::Mgmt::V2016_06_01::Models::Location
- Inherits:
-
Object
- Object
- Azure::Resources::Mgmt::V2016_06_01::Models::Location
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb
Overview
Location information.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name of the location.
-
#id ⇒ String
/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
-
#latitude ⇒ String
The latitude of the location.
-
#longitude ⇒ String
The longitude of the location.
-
#name ⇒ String
The location name.
-
#subscription_id ⇒ String
The subscription ID.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Location class as Ruby Hash.
Instance Attribute Details
#display_name ⇒ String
Returns The display name of the location.
26 27 28 |
# File 'lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb', line 26 def display_name @display_name end |
#id ⇒ String
/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
17 18 19 |
# File 'lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb', line 17 def id @id end |
#latitude ⇒ String
Returns The latitude of the location.
29 30 31 |
# File 'lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb', line 29 def latitude @latitude end |
#longitude ⇒ String
Returns The longitude of the location.
32 33 34 |
# File 'lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb', line 32 def longitude @longitude end |
#name ⇒ String
Returns The location name.
23 24 25 |
# File 'lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb', line 23 def name @name end |
#subscription_id ⇒ String
Returns The subscription ID.
20 21 22 |
# File 'lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb', line 20 def subscription_id @subscription_id end |
Class Method Details
.mapper ⇒ Object
Mapper for Location class as Ruby Hash. This will be used for serialization/deserialization.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Location', type: { name: 'Composite', class_name: 'Location', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, subscription_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'subscriptionId', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'displayName', type: { name: 'String' } }, latitude: { client_side_validation: true, required: false, read_only: true, serialized_name: 'latitude', type: { name: 'String' } }, longitude: { client_side_validation: true, required: false, read_only: true, serialized_name: 'longitude', type: { name: 'String' } } } } } end |