Sha256: 634edb64fb307103b0dd9d153dc6e8e05624b150a92cf326454f2f15529dc89b

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 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::Cosmosdb::Mgmt::V2020_04_01
  module Models
    #
    # Cosmos DB region to online or offline.
    #
    class RegionForOnlineOffline

      include MsRestAzure

      # @return [String] Cosmos DB region, with spaces between words and each
      # word capitalized.
      attr_accessor :region


      #
      # Mapper for RegionForOnlineOffline class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RegionForOnlineOffline',
          type: {
            name: 'Composite',
            class_name: 'RegionForOnlineOffline',
            model_properties: {
              region: {
                client_side_validation: true,
                required: true,
                serialized_name: 'region',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb
azure_mgmt_cosmosdb-0.24.0 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb
azure_mgmt_cosmosdb-0.23.1 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb
azure_mgmt_cosmosdb-0.22.0 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb
azure_mgmt_cosmosdb-0.21.2 lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb