Sha256: 70a78b97ee2b98500b2b73ff2197c985a2802cee8bed9ea811d1380ded1c8b1c

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::IotHub::Mgmt::V2019_03_22_preview
  module Models
    #
    # Use to provide failover region when requesting manual Failover for a hub.
    #
    class FailoverInput

      include MsRestAzure

      # @return [String] Region the hub will be failed over to
      attr_accessor :failover_region


      #
      # Mapper for FailoverInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.17.5 lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb
azure_mgmt_iot_hub-0.17.4 lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb
azure_mgmt_iot_hub-0.17.3 lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb