EcsBackupPlanProps
Properties for defining a EcsBackupPlan.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-ecsbackupplan
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr"
&alicloudroscdkhbr.EcsBackupPlanProps {
BackupType: interface{},
InstanceId: interface{},
PlanName: interface{},
Retention: interface{},
Schedule: interface{},
VaultId: interface{},
CrossAccountRoleName: interface{},
CrossAccountType: interface{},
CrossAccountUserId: interface{},
Detail: interface{},
Disabled: interface{},
Exclude: interface{},
Include: interface{},
Options: interface{},
Paths: interface{},
SpeedLimit: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
BackupType | interface{} | Property backupType: Backup type. |
InstanceId | interface{} | Property instanceId: The ID of ECS instance. |
PlanName | interface{} | Property planName: The name of the backup plan. |
Retention | interface{} | Property retention: Backup retention days, the minimum is 1. |
Schedule | interface{} | Property schedule: The backup policy. |
VaultId | interface{} | Property vaultId: The ID of backup vault. |
CrossAccountRoleName | interface{} | Property crossAccountRoleName: The role name created in the original account RAM backup by the cross account managed by the current account. |
CrossAccountType | interface{} | Property crossAccountType: The type of the cross account backup. |
CrossAccountUserId | interface{} | Property crossAccountUserId: The original account ID of the cross account backup managed by the current account. |
Detail | interface{} | Property detail: The detail of the backup plan. |
Disabled | interface{} | Property disabled: Whether to disable the backup task. |
Exclude | interface{} | Property exclude: The exclude paths of the backup plan. |
Include | interface{} | Property include: The include paths of the backup plan. |
Options | interface{} | Property options: Windows operating system with application consistency using VSS, e.g: {"UseVSS":false}. |
Paths | interface{} | Property paths: The paths of the backup plan. |
SpeedLimit | interface{} | Property speedLimit: The speed limit of the backup plan. |
BackupTypeRequired
BackupType interface{}
- Type: interface{}
Property backupType: Backup type.
Valid values: COMPLETE.
InstanceIdRequired
InstanceId interface{}
- Type: interface{}
Property instanceId: The ID of ECS instance.
The ecs backup client must have been installed on the host.
PlanNameRequired
PlanName interface{}
- Type: interface{}
Property planName: The name of the backup plan.
1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
RetentionRequired
Retention interface{}
- Type: interface{}
Property retention: Backup retention days, the minimum is 1.
ScheduleRequired
Schedule interface{}
- Type: interface{}
Property schedule: The backup policy.
The format is I|{startTime}|{interval}. This specifies that a backup job runs at an interval of {interval}, starting from {startTime}. Overdue backup jobs are not retried. If the previous backup job is not complete, the next backup job is not triggered. For example, I|1631685600|P1D indicates that a backup job runs daily starting from 14:00:00 on September 15, 2021.
- startTime: The start time for the backup, specified as a UNIX timestamp in seconds.
- interval: The backup interval, specified in the ISO 8601 duration format. For example,
PT1Hrepresents one hour andP1Drepresents one day.
VaultIdRequired
VaultId interface{}
- Type: interface{}
Property vaultId: The ID of backup vault.
CrossAccountRoleNameOptional
CrossAccountRoleName interface{}
- Type: interface{}
Property crossAccountRoleName: The role name created in the original account RAM backup by the cross account managed by the current account.
CrossAccountTypeOptional
CrossAccountType interface{}
- Type: interface{}
Property crossAccountType: The type of the cross account backup.
Valid values: SELF_ACCOUNT, CROSS_ACCOUNT.
CrossAccountUserIdOptional
CrossAccountUserId interface{}
- Type: interface{}
Property crossAccountUserId: The original account ID of the cross account backup managed by the current account.
DetailOptional
Detail interface{}
- Type: interface{}
Property detail: The detail of the backup plan.
DisabledOptional
Disabled interface{}
- Type: interface{}
Property disabled: Whether to disable the backup task.
Valid values: true, false.
ExcludeOptional
Exclude interface{}
- Type: interface{}
Property exclude: The exclude paths of the backup plan.
IncludeOptional
Include interface{}
- Type: interface{}
Property include: The include paths of the backup plan.
OptionsOptional
Options interface{}
- Type: interface{}
Property options: Windows operating system with application consistency using VSS, e.g: {"UseVSS":false}.
PathsOptional
Paths interface{}
- Type: interface{}
Property paths: The paths of the backup plan.
SpeedLimitOptional
SpeedLimit interface{}
- Type: interface{}
Property speedLimit: The speed limit of the backup plan.