Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::IaasVMILRRegistrationRequest

Inherits:
ILRRequest
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb

Overview

Restore files or folders from a backup copy, or recovery point, of an IaaS (or Azure) VM.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIaasVMILRRegistrationRequest

Returns a new instance of IaasVMILRRegistrationRequest.



21
22
23
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb', line 21

def initialize
  @objectType = "IaasVMILRRegistrationRequest"
end

Instance Attribute Details

#initiator_nameString

Returns The iSCSI initiator name.

Returns:

  • (String)

    The iSCSI initiator name.



36
37
38
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb', line 36

def initiator_name
  @initiator_name
end

#objectTypeObject

Returns the value of attribute objectType.



25
26
27
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb', line 25

def objectType
  @objectType
end

#recovery_point_idString

the files or folders.

Returns:

  • (String)

    The ID of the IaaS VM recovery point used to restore



29
30
31
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb', line 29

def recovery_point_id
  @recovery_point_id
end

#renew_existing_registrationBoolean

iSCSI server.

Returns:

  • (Boolean)

    Whether to renew the existing registration with the



40
41
42
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb', line 40

def renew_existing_registration
  @renew_existing_registration
end

#virtual_machine_idString

to restore the files or folders.

Returns:

  • (String)

    The fully qualified Resource Manager ID of the VM used



33
34
35
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb', line 33

def virtual_machine_id
  @virtual_machine_id
end

Class Method Details

.mapperObject

Mapper for IaasVMILRRegistrationRequest class as Ruby Hash. This will be used for serialization/deserialization.



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IaasVMILRRegistrationRequest',
    type: {
      name: 'Composite',
      class_name: 'IaasVMILRRegistrationRequest',
      model_properties: {
        objectType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'objectType',
          type: {
            name: 'String'
          }
        },
        recovery_point_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recoveryPointId',
          type: {
            name: 'String'
          }
        },
        virtual_machine_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'virtualMachineId',
          type: {
            name: 'String'
          }
        },
        initiator_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'initiatorName',
          type: {
            name: 'String'
          }
        },
        renew_existing_registration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'renewExistingRegistration',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end