Sha256: aa868a3223a4061669e449bf933a0c9cf52e4c1a0cea6dbb54193bd6bf6fe3a3

Contents?: true

Size: 1.91 KB

Versions: 4

Compression:

Stored size: 1.91 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::Subscriptions::Mgmt::V2019_11_01
  module Models
    #
    # Information regarding paired region.
    #
    class PairedRegion

      include MsRestAzure

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

      # @return [String] The fully qualified ID of the location. For example,
      # /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
      attr_accessor :id

      # @return [String] The subscription ID.
      attr_accessor :subscription_id


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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_subscriptions-0.18.5 lib/2019-11-01/generated/azure_mgmt_subscriptions/models/paired_region.rb
azure_mgmt_subscriptions-0.18.4 lib/2019-11-01/generated/azure_mgmt_subscriptions/models/paired_region.rb
azure_mgmt_subscriptions-0.18.3 lib/2019-11-01/generated/azure_mgmt_subscriptions/models/paired_region.rb
azure_mgmt_subscriptions-0.18.2 lib/2019-11-01/generated/azure_mgmt_subscriptions/models/paired_region.rb