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