Sha256: bf98d8f2ac3f1bd673ba5347ae22d1effdca9a3e13741a6f28d6c26742dce160

Contents?: true

Size: 1.51 KB

Versions: 3

Compression:

Stored size: 1.51 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::Compute::Mgmt::V2018_06_01
  module Models
    #
    # Describes the target region information.
    #
    class TargetRegion

      include MsRestAzure

      # @return [String] The name of the region.
      attr_accessor :name

      # @return [Integer] The number of replicas of the Image Version to be
      # created per region. This property is updateable.
      attr_accessor :regional_replica_count


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.18.5 lib/2018-06-01/generated/azure_mgmt_compute/models/target_region.rb
azure_mgmt_compute-0.18.4 lib/2018-06-01/generated/azure_mgmt_compute/models/target_region.rb
azure_mgmt_compute-0.18.3 lib/2018-06-01/generated/azure_mgmt_compute/models/target_region.rb