Sha256: 8ba6d71dd41e2c57a68165f254fccd43b054700c023dfe9cc66e37edad7dd226

Contents?: true

Size: 1.66 KB

Versions: 6

Compression:

Stored size: 1.66 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
    #
    # Create network mappings input properties/behaviour specific to Azure to
    # Azure Network mapping.
    #
    class AzureToAzureCreateNetworkMappingInput < FabricSpecificCreateNetworkMappingInput

      include MsRestAzure


      def initialize
        @instanceType = "AzureToAzure"
      end

      attr_accessor :instanceType

      # @return [String] The primary azure vnet Id.
      attr_accessor :primary_network_id


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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.17.3 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_create_network_mapping_input.rb
azure_mgmt_recovery_services_site_recovery-0.17.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_create_network_mapping_input.rb
azure_mgmt_recovery_services_site_recovery-0.17.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_create_network_mapping_input.rb
azure_mgmt_recovery_services_site_recovery-0.17.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_create_network_mapping_input.rb
azure_mgmt_recovery_services_site_recovery-0.16.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_create_network_mapping_input.rb
azure_mgmt_recovery_services_site_recovery-0.15.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_create_network_mapping_input.rb