Skip to content

RestoreJobProps

Properties for defining a RestoreJob.

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

Initializer

import ros_cdk_hbr
ros_cdk_hbr.RestoreJobProps(
  restore_type: typing.Union[str, IResolvable],
  snapshot_id: typing.Union[str, IResolvable],
  source_client_id: typing.Union[str, IResolvable],
  source_instance_id: typing.Union[str, IResolvable],
  source_type: typing.Union[str, IResolvable],
  target_client_id: typing.Union[str, IResolvable],
  target_instance_id: typing.Union[str, IResolvable],
  target_path: typing.Union[str, IResolvable],
  vault_id: typing.Union[str, IResolvable]
)

Properties

Name Type Description
restore_type typing.Union[str, ros_cdk_core.IResolvable] Property restoreType: Restore type.
snapshot_id typing.Union[str, ros_cdk_core.IResolvable] Property snapshotId: Snapshot ID.
source_client_id typing.Union[str, ros_cdk_core.IResolvable] Property sourceClientId: Source client ID.
source_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property sourceInstanceId: Source instance ID.
source_type typing.Union[str, ros_cdk_core.IResolvable] Property sourceType: Source type.
target_client_id typing.Union[str, ros_cdk_core.IResolvable] Property targetClientId: Target client ID.
target_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property targetInstanceId: Target instance ID.
target_path typing.Union[str, ros_cdk_core.IResolvable] Property targetPath: Target path.
vault_id typing.Union[str, ros_cdk_core.IResolvable] Property vaultId: Vault ID.

restore_typeRequired

restore_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property restoreType: Restore type.


snapshot_idRequired

snapshot_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property snapshotId: Snapshot ID.


source_client_idRequired

source_client_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sourceClientId: Source client ID.

It should be provided when SourceType=FILE.


source_instance_idRequired

source_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sourceInstanceId: Source instance ID.

It should be provided when SourceType=ECS_FILE.


source_typeRequired

source_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sourceType: Source type.


target_client_idRequired

target_client_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property targetClientId: Target client ID.

It should be provided when RestoreType=FILE.


target_instance_idRequired

target_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property targetInstanceId: Target instance ID.

It should be provided when RestoreType=ECS_FILE.


target_pathRequired

target_path: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property targetPath: Target path.

For instance, "/".


vault_idRequired

vault_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vaultId: Vault ID.