Class: Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FailoverInput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb

Overview

Use to provide failover region when requesting manual Failover for a hub.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#failover_regionString

Returns Region the hub will be failed over to.

Returns:

  • (String)

    Region the hub will be failed over to



16
17
18
# File 'lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb', line 16

def failover_region
  @failover_region
end

Class Method Details

.mapperObject

Mapper for FailoverInput class as Ruby Hash. This will be used for serialization/deserialization.



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FailoverInput',
    type: {
      name: 'Composite',
      class_name: 'FailoverInput',
      model_properties: {
        failover_region: {
          client_side_validation: true,
          required: true,
          serialized_name: 'failoverRegion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end