IDbPlan
Represents a DbPlan.
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node for this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
AttrContinuousPlan | object | Attribute ContinuousPlan: Continuous backup plan schedule. |
AttrContinuousUuid | object | Attribute ContinuousUuid: Uuid of continuous backup plan. |
AttrCumulativePlan | object | Attribute CumulativePlan: Cumulative plan schedule, only for mssql. |
AttrCumulativeUuid | object | Attribute CumulativeUuid: Uuid of cumulative plan. |
AttrDbPlanName | object | Attribute DbPlanName: Display name of the backup plan. |
AttrFullPlan | object | Attribute FullPlan: Full backup plan schedule. |
AttrFullUuid | object | Attribute FullUuid: Uuid of full backup plan. |
AttrHostUuid | object | Attribute HostUuid: Uuid of the host of the database instance. |
AttrIncPlan | object | Attribute IncPlan: Incremental backup plan schedule. |
AttrIncUuid | object | Attribute IncUuid: Uuid of the incremental bakcup plan. |
AttrInstanceUuid | object | Attribute InstanceUuid: Uuid of database instance. |
AttrLogPlan | object | Attribute LogPlan: Log backup plan schedule.More details see FullPlan. |
AttrLogUuid | object | Attribute LogUuid: Uuid of the log backup plan. |
AttrMaxRateLimit | object | Attribute MaxRateLimit: Max rate limit for backup job,. |
AttrMaxRetrySeconds | object | Attribute MaxRetrySeconds: Max retry seconds on network failure. |
AttrOptions | object | Attribute Options: Backup options in json format, different for each type of database. |
AttrPlanId | object | Attribute PlanId: Id of the backup plan. |
AttrSourceType | object | Attribute SourceType: Database type, allowed value: MYSQL, ORACLE, MSSQL. |
AttrTarget | object | Attribute Target: Target vault to backup. |
AttrVaultId | object | Attribute VaultId: Vault ID to create backup plan, the backup data will be stored to the vault. |
Props | DbPlanProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node for this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.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 Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
AttrContinuousPlanRequired
public object AttrContinuousPlan { get; }
- Type: object
Attribute ContinuousPlan: Continuous backup plan schedule.
Use { "type": "continuous" }.
AttrContinuousUuidRequired
public object AttrContinuousUuid { get; }
- Type: object
Attribute ContinuousUuid: Uuid of continuous backup plan.
AttrCumulativePlanRequired
public object AttrCumulativePlan { get; }
- Type: object
Attribute CumulativePlan: Cumulative plan schedule, only for mssql.
More details see FullPlan.
AttrCumulativeUuidRequired
public object AttrCumulativeUuid { get; }
- Type: object
Attribute CumulativeUuid: Uuid of cumulative plan.
AttrDbPlanNameRequired
public object AttrDbPlanName { get; }
- Type: object
Attribute DbPlanName: Display name of the backup plan.
AttrFullPlanRequired
public object AttrFullPlan { get; }
- Type: object
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 object AttrFullUuid { get; }
- Type: object
Attribute FullUuid: Uuid of full backup plan.
AttrHostUuidRequired
public object AttrHostUuid { get; }
- Type: object
Attribute HostUuid: Uuid of the host of the database instance.
AttrIncPlanRequired
public object AttrIncPlan { get; }
- Type: object
Attribute IncPlan: Incremental backup plan schedule.
Only for mysql and oracle. More details see FullPlan.
AttrIncUuidRequired
public object AttrIncUuid { get; }
- Type: object
Attribute IncUuid: Uuid of the incremental bakcup plan.
AttrInstanceUuidRequired
public object AttrInstanceUuid { get; }
- Type: object
Attribute InstanceUuid: Uuid of database instance.
AttrLogPlanRequired
public object AttrLogPlan { get; }
- Type: object
Attribute LogPlan: Log backup plan schedule.More details see FullPlan.
AttrLogUuidRequired
public object AttrLogUuid { get; }
- Type: object
Attribute LogUuid: Uuid of the log backup plan.
AttrMaxRateLimitRequired
public object AttrMaxRateLimit { get; }
- Type: object
Attribute MaxRateLimit: Max rate limit for backup job,.
AttrMaxRetrySecondsRequired
public object AttrMaxRetrySeconds { get; }
- Type: object
Attribute MaxRetrySeconds: Max retry seconds on network failure.
AttrOptionsRequired
public object AttrOptions { get; }
- Type: object
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 object AttrPlanId { get; }
- Type: object
Attribute PlanId: Id of the backup plan.
AttrSourceTypeRequired
public object AttrSourceType { get; }
- Type: object
Attribute SourceType: Database type, allowed value: MYSQL, ORACLE, MSSQL.
AttrTargetRequired
public object AttrTarget { get; }
- Type: object
Attribute Target: Target vault to backup.
AttrVaultIdRequired
public object AttrVaultId { get; }
- Type: object
Attribute VaultId: Vault ID to create backup plan, the backup data will be stored to the vault.
PropsRequired
public DbPlanProps Props { get; }
- Type: DbPlanProps