Class IaasVmilrRegistrationRequest
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.IlrRequest
com.azure.resourcemanager.recoveryservicesbackup.models.IaasVmilrRegistrationRequest
Restore files/folders from a backup copy of IaaS VM.
-
Constructor Summary
ConstructorDescriptionCreates an instance of IaasVmilrRegistrationRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the initiatorName property: iSCSI initiator name.Get the recoveryPointId property: ID of the IaaS VM backup copy from where the files/folders have to be restored.Get the renewExistingRegistration property: Whether to renew existing registration with the iSCSI server.void
validate()
Validates the instance.Get the virtualMachineId property: Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored.withInitiatorName
(String initiatorName) Set the initiatorName property: iSCSI initiator name.withRecoveryPointId
(String recoveryPointId) Set the recoveryPointId property: ID of the IaaS VM backup copy from where the files/folders have to be restored.withRenewExistingRegistration
(Boolean renewExistingRegistration) Set the renewExistingRegistration property: Whether to renew existing registration with the iSCSI server.withVirtualMachineId
(String virtualMachineId) Set the virtualMachineId property: Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored.
-
Constructor Details
-
IaasVmilrRegistrationRequest
public IaasVmilrRegistrationRequest()Creates an instance of IaasVmilrRegistrationRequest class.
-
-
Method Details
-
recoveryPointId
Get the recoveryPointId property: ID of the IaaS VM backup copy from where the files/folders have to be restored.- Returns:
- the recoveryPointId value.
-
withRecoveryPointId
Set the recoveryPointId property: ID of the IaaS VM backup copy from where the files/folders have to be restored.- Parameters:
recoveryPointId
- the recoveryPointId value to set.- Returns:
- the IaasVmilrRegistrationRequest object itself.
-
virtualMachineId
Get the virtualMachineId property: Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored.- Returns:
- the virtualMachineId value.
-
withVirtualMachineId
Set the virtualMachineId property: Fully qualified ARM ID of the virtual machine whose the files / folders have to be restored.- Parameters:
virtualMachineId
- the virtualMachineId value to set.- Returns:
- the IaasVmilrRegistrationRequest object itself.
-
initiatorName
Get the initiatorName property: iSCSI initiator name.- Returns:
- the initiatorName value.
-
withInitiatorName
Set the initiatorName property: iSCSI initiator name.- Parameters:
initiatorName
- the initiatorName value to set.- Returns:
- the IaasVmilrRegistrationRequest object itself.
-
renewExistingRegistration
Get the renewExistingRegistration property: Whether to renew existing registration with the iSCSI server.- Returns:
- the renewExistingRegistration value.
-
withRenewExistingRegistration
public IaasVmilrRegistrationRequest withRenewExistingRegistration(Boolean renewExistingRegistration) Set the renewExistingRegistration property: Whether to renew existing registration with the iSCSI server.- Parameters:
renewExistingRegistration
- the renewExistingRegistration value to set.- Returns:
- the IaasVmilrRegistrationRequest object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classIlrRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-