Sha256: 8a795b7b288ed606d7d4de4ab7cfa517509b31735f0352b30c7fed8d09755f89

Contents?: true

Size: 1.8 KB

Versions: 2

Compression:

Stored size: 1.8 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
    #
    # A2A Network Mapping fabric specific settings.
    #
    class AzureToAzureNetworkMappingSettings < NetworkMappingFabricSpecificSettings

      include MsRestAzure


      def initialize
        @instanceType = "AzureToAzure"
      end

      attr_accessor :instanceType

      # @return [String] The primary fabric location.
      attr_accessor :primary_fabric_location

      # @return [String] The recovery fabric location.
      attr_accessor :recovery_fabric_location


      #
      # Mapper for AzureToAzureNetworkMappingSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AzureToAzure',
          type: {
            name: 'Composite',
            class_name: 'AzureToAzureNetworkMappingSettings',
            model_properties: {
              instanceType: {
                required: true,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              primary_fabric_location: {
                required: false,
                serialized_name: 'primaryFabricLocation',
                type: {
                  name: 'String'
                }
              },
              recovery_fabric_location: {
                required: false,
                serialized_name: 'recoveryFabricLocation',
                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_to_azure_network_mapping_settings.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_network_mapping_settings.rb