Class AzureWorkloadRestoreRequest

    • Constructor Detail

      • AzureWorkloadRestoreRequest

        public AzureWorkloadRestoreRequest()
    • Method Detail

      • recoveryType

        public RecoveryType recoveryType()
        Get the recoveryType property: Type of this recovery.
        Returns:
        the recoveryType value.
      • withRecoveryType

        public AzureWorkloadRestoreRequest withRecoveryType​(RecoveryType recoveryType)
        Set the recoveryType property: Type of this recovery.
        Parameters:
        recoveryType - the recoveryType value to set.
        Returns:
        the AzureWorkloadRestoreRequest object itself.
      • sourceResourceId

        public String sourceResourceId()
        Get the sourceResourceId property: Fully qualified ARM ID of the VM on which workload that was running is being recovered.
        Returns:
        the sourceResourceId value.
      • withSourceResourceId

        public AzureWorkloadRestoreRequest withSourceResourceId​(String sourceResourceId)
        Set the sourceResourceId property: Fully qualified ARM ID of the VM on which workload that was running is being recovered.
        Parameters:
        sourceResourceId - the sourceResourceId value to set.
        Returns:
        the AzureWorkloadRestoreRequest object itself.
      • propertyBag

        public Map<String,​String> propertyBag()
        Get the propertyBag property: Workload specific property bag.
        Returns:
        the propertyBag value.
      • withPropertyBag

        public AzureWorkloadRestoreRequest withPropertyBag​(Map<String,​String> propertyBag)
        Set the propertyBag property: Workload specific property bag.
        Parameters:
        propertyBag - the propertyBag value to set.
        Returns:
        the AzureWorkloadRestoreRequest object itself.
      • targetInfo

        public TargetRestoreInfo targetInfo()
        Get the targetInfo property: Details of target database.
        Returns:
        the targetInfo value.
      • withTargetInfo

        public AzureWorkloadRestoreRequest withTargetInfo​(TargetRestoreInfo targetInfo)
        Set the targetInfo property: Details of target database.
        Parameters:
        targetInfo - the targetInfo value to set.
        Returns:
        the AzureWorkloadRestoreRequest object itself.
      • recoveryMode

        public RecoveryMode recoveryMode()
        Get the recoveryMode property: Defines whether the current recovery mode is file restore or database restore.
        Returns:
        the recoveryMode value.
      • withRecoveryMode

        public AzureWorkloadRestoreRequest withRecoveryMode​(RecoveryMode recoveryMode)
        Set the recoveryMode property: Defines whether the current recovery mode is file restore or database restore.
        Parameters:
        recoveryMode - the recoveryMode value to set.
        Returns:
        the AzureWorkloadRestoreRequest object itself.
      • targetVirtualMachineId

        public String targetVirtualMachineId()
        Get the targetVirtualMachineId property: This is the complete ARM Id of the target VM For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}.
        Returns:
        the targetVirtualMachineId value.
      • withTargetVirtualMachineId

        public AzureWorkloadRestoreRequest withTargetVirtualMachineId​(String targetVirtualMachineId)
        Set the targetVirtualMachineId property: This is the complete ARM Id of the target VM For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}.
        Parameters:
        targetVirtualMachineId - the targetVirtualMachineId value to set.
        Returns:
        the AzureWorkloadRestoreRequest object itself.