Sha256: 71d2c28db8e190a3ba8a319f00fae10cc1fa1292c9598feb1d95f16383f57ff9

Contents?: true

Size: 1.89 KB

Versions: 2

Compression:

Stored size: 1.89 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
    #
    # This class represents the vm NicUpdates task details.
    #
    class VmNicUpdatesTaskDetails < TaskTypeDetails

      include MsRestAzure


      def initialize
        @instanceType = "VmNicUpdatesTaskDetails"
      end

      attr_accessor :instanceType

      # @return [String] Virtual machine Id.
      attr_accessor :vm_id

      # @return [String] Nic Id.
      attr_accessor :nic_id

      # @return [String] Name of the Nic.
      attr_accessor :name


      #
      # Mapper for VmNicUpdatesTaskDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'VmNicUpdatesTaskDetails',
          type: {
            name: 'Composite',
            class_name: 'VmNicUpdatesTaskDetails',
            model_properties: {
              instanceType: {
                required: true,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              vm_id: {
                required: false,
                serialized_name: 'vmId',
                type: {
                  name: 'String'
                }
              },
              nic_id: {
                required: false,
                serialized_name: 'nicId',
                type: {
                  name: 'String'
                }
              },
              name: {
                required: false,
                serialized_name: 'name',
                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/vm_nic_updates_task_details.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/vm_nic_updates_task_details.rb