Skip to content

RestoreJobProps

Properties for defining a RestoreJob.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-restorejob

Initializer

import { RestoreJobProps } from '@alicloud/ros-cdk-hbr'
const restoreJobProps: RestoreJobProps = { ... }

Properties

Name Type Description
restoreType string | @alicloud/ros-cdk-core.IResolvable Property restoreType: Restore type.
snapshotId string | @alicloud/ros-cdk-core.IResolvable Property snapshotId: Snapshot ID.
sourceClientId string | @alicloud/ros-cdk-core.IResolvable Property sourceClientId: Source client ID.
sourceInstanceId string | @alicloud/ros-cdk-core.IResolvable Property sourceInstanceId: Source instance ID.
sourceType string | @alicloud/ros-cdk-core.IResolvable Property sourceType: Source type.
targetClientId string | @alicloud/ros-cdk-core.IResolvable Property targetClientId: Target client ID.
targetInstanceId string | @alicloud/ros-cdk-core.IResolvable Property targetInstanceId: Target instance ID.
targetPath string | @alicloud/ros-cdk-core.IResolvable Property targetPath: Target path.
vaultId string | @alicloud/ros-cdk-core.IResolvable Property vaultId: Vault ID.

restoreTypeRequired

public readonly restoreType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property restoreType: Restore type.


snapshotIdRequired

public readonly snapshotId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property snapshotId: Snapshot ID.


sourceClientIdRequired

public readonly sourceClientId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property sourceClientId: Source client ID.

It should be provided when SourceType=FILE.


sourceInstanceIdRequired

public readonly sourceInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property sourceInstanceId: Source instance ID.

It should be provided when SourceType=ECS_FILE.


sourceTypeRequired

public readonly sourceType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property sourceType: Source type.


targetClientIdRequired

public readonly targetClientId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property targetClientId: Target client ID.

It should be provided when RestoreType=FILE.


targetInstanceIdRequired

public readonly targetInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property targetInstanceId: Target instance ID.

It should be provided when RestoreType=ECS_FILE.


targetPathRequired

public readonly targetPath: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property targetPath: Target path.

For instance, "\/".


vaultIdRequired

public readonly vaultId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vaultId: Vault ID.