class Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubLocationDescription
Public representation of one of the locations where a resource is provisioned.
Attributes
location[RW]
@return [String] Azure
Geo Regions
role[RW]
@return [IotHubReplicaRoleType] Specific Role assigned to this location. Possible values include: 'primary', 'secondary'
Public Class Methods
mapper()
click to toggle source
Mapper for IotHubLocationDescription
class as Ruby Hash. This will be used for serialization/deserialization.
# 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