Class: Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubLocationDescription
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubLocationDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_location_description.rb
Overview
Public representation of one of the locations where a resource is provisioned.
Instance Attribute Summary collapse
-
#location ⇒ String
Azure Geo Regions.
-
#role ⇒ IotHubReplicaRoleType
location.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IotHubLocationDescription class as Ruby Hash.
Instance Attribute Details
#location ⇒ String
Returns Azure Geo Regions.
17 18 19 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_location_description.rb', line 17 def location @location end |
#role ⇒ IotHubReplicaRoleType
location. Possible values include: ‘primary’, ‘secondary’
21 22 23 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_location_description.rb', line 21 def role @role end |
Class Method Details
.mapper ⇒ Object
Mapper for IotHubLocationDescription class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_location_description.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IotHubLocationDescription', type: { name: 'Composite', class_name: 'IotHubLocationDescription', model_properties: { location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, role: { client_side_validation: true, required: false, serialized_name: 'role', type: { name: 'String' } } } } } end |