Sha256: f214ff19c7ad2254d1b1dcc1ebb0db321a96efbc212722cf1080ae2e0c40fe86

Contents?: true

Size: 1.16 KB

Versions: 1

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_07_01_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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.17.5 lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb