Skip to content

EcsBackupPlanProps

Properties for defining a EcsBackupPlan.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Hbr;
new EcsBackupPlanProps {
    object BackupType,
    object InstanceId,
    object PlanName,
    object Retention,
    object Schedule,
    object VaultId,
    object CrossAccountRoleName = null,
    object CrossAccountType = null,
    object CrossAccountUserId = null,
    object Detail = null,
    object Disabled = null,
    object Exclude = null,
    object Include = null,
    object Options = null,
    object Paths = null,
    object SpeedLimit = null
};

Properties

Name Type Description
BackupType object Property backupType: Backup type.
InstanceId object Property instanceId: The ID of ECS instance.
PlanName object Property planName: The name of the backup plan.
Retention object Property retention: Backup retention days, the minimum is 1.
Schedule object Property schedule: The backup policy.
VaultId object Property vaultId: The ID of backup vault.
CrossAccountRoleName object Property crossAccountRoleName: The role name created in the original account RAM backup by the cross account managed by the current account.
CrossAccountType object Property crossAccountType: The type of the cross account backup.
CrossAccountUserId object Property crossAccountUserId: The original account ID of the cross account backup managed by the current account.
Detail object Property detail: The detail of the backup plan.
Disabled object Property disabled: Whether to disable the backup task.
Exclude object Property exclude: The exclude paths of the backup plan.
Include object Property include: The include paths of the backup plan.
Options object Property options: Windows operating system with application consistency using VSS, e.g: {"UseVSS":false}.
Paths object Property paths: The paths of the backup plan.
SpeedLimit object Property speedLimit: The speed limit of the backup plan.

BackupTypeRequired

public object BackupType { get; set; }
  • Type: object

Property backupType: Backup type.

Valid values: COMPLETE.


InstanceIdRequired

public object InstanceId { get; set; }
  • Type: object

Property instanceId: The ID of ECS instance.

The ecs backup client must have been installed on the host.


PlanNameRequired

public object PlanName { get; set; }
  • Type: object

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

public object Retention { get; set; }
  • Type: object

Property retention: Backup retention days, the minimum is 1.


ScheduleRequired

public object Schedule { get; set; }
  • Type: object

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

public object VaultId { get; set; }
  • Type: object

Property vaultId: The ID of backup vault.


CrossAccountRoleNameOptional

public object CrossAccountRoleName { get; set; }
  • Type: object

Property crossAccountRoleName: The role name created in the original account RAM backup by the cross account managed by the current account.


CrossAccountTypeOptional

public object CrossAccountType { get; set; }
  • Type: object

Property crossAccountType: The type of the cross account backup.

Valid values: SELF_ACCOUNT, CROSS_ACCOUNT.


CrossAccountUserIdOptional

public object CrossAccountUserId { get; set; }
  • Type: object

Property crossAccountUserId: The original account ID of the cross account backup managed by the current account.


DetailOptional

public object Detail { get; set; }
  • Type: object

Property detail: The detail of the backup plan.


DisabledOptional

public object Disabled { get; set; }
  • Type: object

Property disabled: Whether to disable the backup task.

Valid values: true, false.


ExcludeOptional

public object Exclude { get; set; }
  • Type: object

Property exclude: The exclude paths of the backup plan.


IncludeOptional

public object Include { get; set; }
  • Type: object

Property include: The include paths of the backup plan.


OptionsOptional

public object Options { get; set; }
  • Type: object

Property options: Windows operating system with application consistency using VSS, e.g: {"UseVSS":false}.


PathsOptional

public object Paths { get; set; }
  • Type: object

Property paths: The paths of the backup plan.


SpeedLimitOptional

public object SpeedLimit { get; set; }
  • Type: object

Property speedLimit: The speed limit of the backup plan.