Sha256: 2180d7f00f8f26273411c75f4adbaf7c77dbb66273ddcffaf9742b97964c7810

Contents?: true

Size: 1.92 KB

Versions: 2

Compression:

Stored size: 1.92 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::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10
  module Models
    #
    # Azure Fabric Specific Details.
    #
    class AzureFabricSpecificDetails < FabricSpecificDetails

      include MsRestAzure


      def initialize
        @instanceType = "Azure"
      end

      attr_accessor :instanceType

      # @return [String] The Location for the Azure fabric.
      attr_accessor :location

      # @return [Array<String>] The container Ids for the Azure fabric.
      attr_accessor :container_ids


      #
      # Mapper for AzureFabricSpecificDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'Azure',
          type: {
            name: 'Composite',
            class_name: 'AzureFabricSpecificDetails',
            model_properties: {
              instanceType: {
                required: true,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              location: {
                required: false,
                serialized_name: 'location',
                type: {
                  name: 'String'
                }
              },
              container_ids: {
                required: false,
                serialized_name: 'containerIds',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.15.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_fabric_specific_details.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_fabric_specific_details.rb