IDbPlan
Represents a DbPlan.
Properties
| Name | Type | Description |
|---|---|---|
node | @alicloud/ros-cdk-core.ConstructNode | The construct tree node for this construct. |
env | @alicloud/ros-cdk-core.IResourceEnvironment | The environment this resource belongs to. |
stack | @alicloud/ros-cdk-core.Stack | The stack in which this resource is defined. |
attrContinuousPlan | string | @alicloud/ros-cdk-core.IResolvable | Attribute ContinuousPlan: Continuous backup plan schedule. |
attrContinuousUuid | string | @alicloud/ros-cdk-core.IResolvable | Attribute ContinuousUuid: Uuid of continuous backup plan. |
attrCumulativePlan | string | @alicloud/ros-cdk-core.IResolvable | Attribute CumulativePlan: Cumulative plan schedule, only for mssql. |
attrCumulativeUuid | string | @alicloud/ros-cdk-core.IResolvable | Attribute CumulativeUuid: Uuid of cumulative plan. |
attrDbPlanName | string | @alicloud/ros-cdk-core.IResolvable | Attribute DbPlanName: Display name of the backup plan. |
attrFullPlan | string | @alicloud/ros-cdk-core.IResolvable | Attribute FullPlan: Full backup plan schedule. |
attrFullUuid | string | @alicloud/ros-cdk-core.IResolvable | Attribute FullUuid: Uuid of full backup plan. |
attrHostUuid | string | @alicloud/ros-cdk-core.IResolvable | Attribute HostUuid: Uuid of the host of the database instance. |
attrIncPlan | string | @alicloud/ros-cdk-core.IResolvable | Attribute IncPlan: Incremental backup plan schedule. |
attrIncUuid | string | @alicloud/ros-cdk-core.IResolvable | Attribute IncUuid: Uuid of the incremental bakcup plan. |
attrInstanceUuid | string | @alicloud/ros-cdk-core.IResolvable | Attribute InstanceUuid: Uuid of database instance. |
attrLogPlan | string | @alicloud/ros-cdk-core.IResolvable | Attribute LogPlan: Log backup plan schedule.More details see FullPlan. |
attrLogUuid | string | @alicloud/ros-cdk-core.IResolvable | Attribute LogUuid: Uuid of the log backup plan. |
attrMaxRateLimit | string | @alicloud/ros-cdk-core.IResolvable | Attribute MaxRateLimit: Max rate limit for backup job,. |
attrMaxRetrySeconds | string | @alicloud/ros-cdk-core.IResolvable | Attribute MaxRetrySeconds: Max retry seconds on network failure. |
attrOptions | string | @alicloud/ros-cdk-core.IResolvable | Attribute Options: Backup options in json format, different for each type of database. |
attrPlanId | string | @alicloud/ros-cdk-core.IResolvable | Attribute PlanId: Id of the backup plan. |
attrSourceType | string | @alicloud/ros-cdk-core.IResolvable | Attribute SourceType: Database type, allowed value: MYSQL, ORACLE, MSSQL. |
attrTarget | string | @alicloud/ros-cdk-core.IResolvable | Attribute Target: Target vault to backup. |
attrVaultId | string | @alicloud/ros-cdk-core.IResolvable | Attribute VaultId: Vault ID to create backup plan, the backup data will be stored to the vault. |
props | DbPlanProps | No description. |
nodeRequired
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node for this construct.
envRequired
public readonly env: IResourceEnvironment;
- Type: @alicloud/ros-cdk-core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
attrContinuousPlanRequired
public readonly attrContinuousPlan: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ContinuousPlan: Continuous backup plan schedule.
Use { "type": "continuous" }.
attrContinuousUuidRequired
public readonly attrContinuousUuid: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ContinuousUuid: Uuid of continuous backup plan.
attrCumulativePlanRequired
public readonly attrCumulativePlan: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute CumulativePlan: Cumulative plan schedule, only for mssql.
More details see FullPlan.
attrCumulativeUuidRequired
public readonly attrCumulativeUuid: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute CumulativeUuid: Uuid of cumulative plan.
attrDbPlanNameRequired
public readonly attrDbPlanName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DbPlanName: Display name of the backup plan.
attrFullPlanRequired
public readonly attrFullPlan: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute FullPlan: Full backup plan schedule.
daily: {"type": "daily", "start": "00:00:00", "interval": 3}, weekly {"type":"weekly","start": "03:00:00","days": [1,2,3,4,5],"interval": 1}, days can be 0 - 6, 0 means Sunday, and interval can be 1 - 52.
attrFullUuidRequired
public readonly attrFullUuid: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute FullUuid: Uuid of full backup plan.
attrHostUuidRequired
public readonly attrHostUuid: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute HostUuid: Uuid of the host of the database instance.
attrIncPlanRequired
public readonly attrIncPlan: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute IncPlan: Incremental backup plan schedule.
Only for mysql and oracle. More details see FullPlan.
attrIncUuidRequired
public readonly attrIncUuid: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute IncUuid: Uuid of the incremental bakcup plan.
attrInstanceUuidRequired
public readonly attrInstanceUuid: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute InstanceUuid: Uuid of database instance.
attrLogPlanRequired
public readonly attrLogPlan: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute LogPlan: Log backup plan schedule.More details see FullPlan.
attrLogUuidRequired
public readonly attrLogUuid: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute LogUuid: Uuid of the log backup plan.
attrMaxRateLimitRequired
public readonly attrMaxRateLimit: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MaxRateLimit: Max rate limit for backup job,.
attrMaxRetrySecondsRequired
public readonly attrMaxRetrySeconds: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MaxRetrySeconds: Max retry seconds on network failure.
attrOptionsRequired
public readonly attrOptions: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Options: Backup options in json format, different for each type of database.
For Oracle, use {"channels":4,"compression":"lzop","offline_backup":false,"archivelog_reserve_hours":24,"custom_commands":""}, "channels" means numbers of concurrent theads, "archivelog_reserve_hours" means how long before the archive log will be deleted after backup job completed, other paramters should use the default vaule. For Mysql, use {"channels":4,"compression":"lzop","del_binlog":false}, "del_binlog" means whether the binlog will be deleted after backup completed, only take effect for log or continuous backup. For SQL Server, use {\"channels\":4,\"verify\":false,\"compression\":\"lzop\",\"backup_new_databases\":false}.
attrPlanIdRequired
public readonly attrPlanId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute PlanId: Id of the backup plan.
attrSourceTypeRequired
public readonly attrSourceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute SourceType: Database type, allowed value: MYSQL, ORACLE, MSSQL.
attrTargetRequired
public readonly attrTarget: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Target: Target vault to backup.
attrVaultIdRequired
public readonly attrVaultId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VaultId: Vault ID to create backup plan, the backup data will be stored to the vault.
propsRequired
public readonly props: DbPlanProps;
- Type: DbPlanProps