Class IaasVMRecoveryPoint
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
com.azure.resourcemanager.recoveryservicesbackup.models.IaasVMRecoveryPoint
IaaS VM workload specific backup copy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the isInstantIlrSessionActive property: Is the session to recover items from this backup copy still active.Get the isManagedVirtualMachine property: Whether VM is with Managed Disks.Get the isSourceVMEncrypted property: Identifies whether the VM was encrypted when the backup copy is created.Get the keyAndSecret property: Required details for recovering an encrypted VM.Get the originalStorageAccountOption property: Original Storage Account Option.osType()
Get the osType property: OS type.Get the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.Get the recoveryPointDiskConfiguration property: Disk configuration.Get the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.Get the recoveryPointTierDetails property: Recovery point tier information.Get the recoveryPointTime property: Time at which this backup copy was created.Get the recoveryPointType property: Type of the backup copy.Get the sourceVMStorageType property: Storage type of the VM whose backup copy is created.void
validate()
Validates the instance.Get the virtualMachineSize property: Virtual Machine Size.withIsInstantIlrSessionActive
(Boolean isInstantIlrSessionActive) Set the isInstantIlrSessionActive property: Is the session to recover items from this backup copy still active.withIsManagedVirtualMachine
(Boolean isManagedVirtualMachine) Set the isManagedVirtualMachine property: Whether VM is with Managed Disks.withIsSourceVMEncrypted
(Boolean isSourceVMEncrypted) Set the isSourceVMEncrypted property: Identifies whether the VM was encrypted when the backup copy is created.withKeyAndSecret
(KeyAndSecretDetails keyAndSecret) Set the keyAndSecret property: Required details for recovering an encrypted VM.withOriginalStorageAccountOption
(Boolean originalStorageAccountOption) Set the originalStorageAccountOption property: Original Storage Account Option.withOsType
(String osType) Set the osType property: OS type.withRecoveryPointAdditionalInfo
(String recoveryPointAdditionalInfo) Set the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.withRecoveryPointDiskConfiguration
(RecoveryPointDiskConfiguration recoveryPointDiskConfiguration) Set the recoveryPointDiskConfiguration property: Disk configuration.withRecoveryPointMoveReadinessInfo
(Map<String, RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo) Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.withRecoveryPointTierDetails
(List<RecoveryPointTierInformationV2> recoveryPointTierDetails) Set the recoveryPointTierDetails property: Recovery point tier information.withRecoveryPointTime
(OffsetDateTime recoveryPointTime) Set the recoveryPointTime property: Time at which this backup copy was created.withRecoveryPointType
(String recoveryPointType) Set the recoveryPointType property: Type of the backup copy.withSourceVMStorageType
(String sourceVMStorageType) Set the sourceVMStorageType property: Storage type of the VM whose backup copy is created.withVirtualMachineSize
(String virtualMachineSize) Set the virtualMachineSize property: Virtual Machine Size.Set the zones property: Identifies the zone of the VM at the time of backup.zones()
Get the zones property: Identifies the zone of the VM at the time of backup.
-
Constructor Details
-
IaasVMRecoveryPoint
public IaasVMRecoveryPoint()Creates an instance of IaasVMRecoveryPoint class.
-
-
Method Details
-
recoveryPointType
Get the recoveryPointType property: Type of the backup copy.- Returns:
- the recoveryPointType value.
-
withRecoveryPointType
Set the recoveryPointType property: Type of the backup copy.- Parameters:
recoveryPointType
- the recoveryPointType value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
recoveryPointTime
Get the recoveryPointTime property: Time at which this backup copy was created.- Returns:
- the recoveryPointTime value.
-
withRecoveryPointTime
Set the recoveryPointTime property: Time at which this backup copy was created.- Parameters:
recoveryPointTime
- the recoveryPointTime value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
recoveryPointAdditionalInfo
Get the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.- Returns:
- the recoveryPointAdditionalInfo value.
-
withRecoveryPointAdditionalInfo
Set the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.- Parameters:
recoveryPointAdditionalInfo
- the recoveryPointAdditionalInfo value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
sourceVMStorageType
Get the sourceVMStorageType property: Storage type of the VM whose backup copy is created.- Returns:
- the sourceVMStorageType value.
-
withSourceVMStorageType
Set the sourceVMStorageType property: Storage type of the VM whose backup copy is created.- Parameters:
sourceVMStorageType
- the sourceVMStorageType value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
isSourceVMEncrypted
Get the isSourceVMEncrypted property: Identifies whether the VM was encrypted when the backup copy is created.- Returns:
- the isSourceVMEncrypted value.
-
withIsSourceVMEncrypted
Set the isSourceVMEncrypted property: Identifies whether the VM was encrypted when the backup copy is created.- Parameters:
isSourceVMEncrypted
- the isSourceVMEncrypted value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
keyAndSecret
Get the keyAndSecret property: Required details for recovering an encrypted VM. Applicable only when IsSourceVMEncrypted is true.- Returns:
- the keyAndSecret value.
-
withKeyAndSecret
Set the keyAndSecret property: Required details for recovering an encrypted VM. Applicable only when IsSourceVMEncrypted is true.- Parameters:
keyAndSecret
- the keyAndSecret value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
isInstantIlrSessionActive
Get the isInstantIlrSessionActive property: Is the session to recover items from this backup copy still active.- Returns:
- the isInstantIlrSessionActive value.
-
withIsInstantIlrSessionActive
Set the isInstantIlrSessionActive property: Is the session to recover items from this backup copy still active.- Parameters:
isInstantIlrSessionActive
- the isInstantIlrSessionActive value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
recoveryPointTierDetails
Get the recoveryPointTierDetails property: Recovery point tier information.- Returns:
- the recoveryPointTierDetails value.
-
withRecoveryPointTierDetails
public IaasVMRecoveryPoint withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails) Set the recoveryPointTierDetails property: Recovery point tier information.- Parameters:
recoveryPointTierDetails
- the recoveryPointTierDetails value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
isManagedVirtualMachine
Get the isManagedVirtualMachine property: Whether VM is with Managed Disks.- Returns:
- the isManagedVirtualMachine value.
-
withIsManagedVirtualMachine
Set the isManagedVirtualMachine property: Whether VM is with Managed Disks.- Parameters:
isManagedVirtualMachine
- the isManagedVirtualMachine value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
virtualMachineSize
Get the virtualMachineSize property: Virtual Machine Size.- Returns:
- the virtualMachineSize value.
-
withVirtualMachineSize
Set the virtualMachineSize property: Virtual Machine Size.- Parameters:
virtualMachineSize
- the virtualMachineSize value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
originalStorageAccountOption
Get the originalStorageAccountOption property: Original Storage Account Option.- Returns:
- the originalStorageAccountOption value.
-
withOriginalStorageAccountOption
Set the originalStorageAccountOption property: Original Storage Account Option.- Parameters:
originalStorageAccountOption
- the originalStorageAccountOption value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
osType
Get the osType property: OS type.- Returns:
- the osType value.
-
withOsType
Set the osType property: OS type.- Parameters:
osType
- the osType value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
recoveryPointDiskConfiguration
Get the recoveryPointDiskConfiguration property: Disk configuration.- Returns:
- the recoveryPointDiskConfiguration value.
-
withRecoveryPointDiskConfiguration
public IaasVMRecoveryPoint withRecoveryPointDiskConfiguration(RecoveryPointDiskConfiguration recoveryPointDiskConfiguration) Set the recoveryPointDiskConfiguration property: Disk configuration.- Parameters:
recoveryPointDiskConfiguration
- the recoveryPointDiskConfiguration value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
zones
Get the zones property: Identifies the zone of the VM at the time of backup. Applicable only for zone-pinned Vms.- Returns:
- the zones value.
-
withZones
Set the zones property: Identifies the zone of the VM at the time of backup. Applicable only for zone-pinned Vms.- Parameters:
zones
- the zones value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
recoveryPointMoveReadinessInfo
Get the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.- Returns:
- the recoveryPointMoveReadinessInfo value.
-
withRecoveryPointMoveReadinessInfo
public IaasVMRecoveryPoint withRecoveryPointMoveReadinessInfo(Map<String, RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo) Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.- Parameters:
recoveryPointMoveReadinessInfo
- the recoveryPointMoveReadinessInfo value to set.- Returns:
- the IaasVMRecoveryPoint object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classRecoveryPoint
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-