Skip to content

OssBackupPlanProps

Properties for defining a OssBackupPlan.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr"
&alicloudroscdkhbr.OssBackupPlanProps {
    BackupType: interface{},
    Bucket: interface{},
    PlanName: interface{},
    Retention: interface{},
    Schedule: interface{},
    VaultId: interface{},
    CrossAccountRoleName: interface{},
    CrossAccountType: interface{},
    CrossAccountUserId: interface{},
    Disabled: interface{},
    Prefix: interface{},
}

Properties

Name Type Description
BackupType interface{} Property backupType: Backup type.
Bucket interface{} Property bucket: The name of OSS bucket.
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.
Disabled interface{} Property disabled: Whether to disable the backup task.
Prefix interface{} Property prefix: Backup prefix.

BackupTypeRequired

BackupType interface{}
  • Type: interface{}

Property backupType: Backup type.

Valid values: COMPLETE.


BucketRequired

Bucket interface{}
  • Type: interface{}

Property bucket: The name of OSS bucket.


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, PT1H represents one hour and P1D represents 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.


DisabledOptional

Disabled interface{}
  • Type: interface{}

Property disabled: Whether to disable the backup task.

Valid values: true, false.


PrefixOptional

Prefix interface{}
  • Type: interface{}

Property prefix: Backup prefix.

Once specified, only objects with matching prefixes will be backed up.