Skip to content

RestoreJobProps

Properties for defining a RestoreJob.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr"
&alicloudroscdkhbr.RestoreJobProps {
    RestoreType: interface{},
    SnapshotId: interface{},
    SourceClientId: interface{},
    SourceInstanceId: interface{},
    SourceType: interface{},
    TargetClientId: interface{},
    TargetInstanceId: interface{},
    TargetPath: interface{},
    VaultId: interface{},
}

Properties

Name Type Description
RestoreType interface{} Property restoreType: Restore type.
SnapshotId interface{} Property snapshotId: Snapshot ID.
SourceClientId interface{} Property sourceClientId: Source client ID.
SourceInstanceId interface{} Property sourceInstanceId: Source instance ID.
SourceType interface{} Property sourceType: Source type.
TargetClientId interface{} Property targetClientId: Target client ID.
TargetInstanceId interface{} Property targetInstanceId: Target instance ID.
TargetPath interface{} Property targetPath: Target path.
VaultId interface{} Property vaultId: Vault ID.

RestoreTypeRequired

RestoreType interface{}
  • Type: interface{}

Property restoreType: Restore type.


SnapshotIdRequired

SnapshotId interface{}
  • Type: interface{}

Property snapshotId: Snapshot ID.


SourceClientIdRequired

SourceClientId interface{}
  • Type: interface{}

Property sourceClientId: Source client ID.

It should be provided when SourceType=FILE.


SourceInstanceIdRequired

SourceInstanceId interface{}
  • Type: interface{}

Property sourceInstanceId: Source instance ID.

It should be provided when SourceType=ECS_FILE.


SourceTypeRequired

SourceType interface{}
  • Type: interface{}

Property sourceType: Source type.


TargetClientIdRequired

TargetClientId interface{}
  • Type: interface{}

Property targetClientId: Target client ID.

It should be provided when RestoreType=FILE.


TargetInstanceIdRequired

TargetInstanceId interface{}
  • Type: interface{}

Property targetInstanceId: Target instance ID.

It should be provided when RestoreType=ECS_FILE.


TargetPathRequired

TargetPath interface{}
  • Type: interface{}

Property targetPath: Target path.

For instance, "/".


VaultIdRequired

VaultId interface{}
  • Type: interface{}

Property vaultId: Vault ID.