BackupPlan
This class encapsulates and extends the ROS resource type DATASOURCE::DBS::BackupPlan
.
Initializers
import { datasource } from '@alicloud/ros-cdk-dbs'
new datasource.BackupPlan(scope: Construct, id: string, props: BackupPlanProps, enableResourcePropertyConstraint?: boolean)
Name | Type | Description |
---|---|---|
scope |
@alicloud/ros-cdk-core.Construct |
No description. |
id |
string |
No description. |
props |
BackupPlanProps |
No description. |
enableResourcePropertyConstraint |
boolean |
No description. |
scope
Required
- Type: @alicloud/ros-cdk-core.Construct
id
Required
- Type: string
props
Required
- Type: BackupPlanProps
enableResourcePropertyConstraint
Optional
- Type: boolean
Methods
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
addCondition |
No description. |
addCount |
No description. |
addDependency |
No description. |
addResourceDesc |
No description. |
applyRemovalPolicy |
No description. |
getAtt |
No description. |
setMetadata |
No description. |
toString
public toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
Name | Description |
---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import { datasource } from '@alicloud/ros-cdk-dbs'
datasource.BackupPlan.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
Name | Type | Description |
---|---|---|
node |
@alicloud/ros-cdk-core.ConstructNode |
The construct tree node associated with this construct. |
ref |
string |
No description. |
stack |
@alicloud/ros-cdk-core.Stack |
The stack in which this resource is defined. |
resource |
@alicloud/ros-cdk-core.RosResource |
No description. |
attrBackupGatewayId |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupGatewayId: The ID of the backup gateway. |
attrBackupMethod |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupMethod: Backup method. |
attrBackupObjects |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupObjects: The backup object. |
attrBackupPeriod |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupPeriod: Full backup cycle. |
attrBackupPlanId |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupPlanId: The ID of the backup plan. |
attrBackupPlanName |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupPlanName: The name of the backup plan. |
attrBackupRetentionPeriod |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupRetentionPeriod: The retention time of backup data. |
attrBackupStartTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupStartTime: The start time of full Backup. |
attrBackupStorageType |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupStorageType: Built-in storage type:. |
attrCreateTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute CreateTime: The creation time of the backup plans. |
attrCrossAliyunId |
@alicloud/ros-cdk-core.IResolvable |
Attribute CrossAliyunId: The UID that is backed up across Alibaba cloud accounts. |
attrCrossRoleName |
@alicloud/ros-cdk-core.IResolvable |
Attribute CrossRoleName: The name of the RAM role that is backed up across Alibaba cloud accounts. |
attrDatabaseType |
@alicloud/ros-cdk-core.IResolvable |
Attribute DatabaseType: Database type. |
attrDuplicationArchivePeriod |
@alicloud/ros-cdk-core.IResolvable |
Attribute DuplicationArchivePeriod: The storage time for conversion to archive cold standby is 365 days by default. |
attrDuplicationInfrequentAccessPeriod |
@alicloud/ros-cdk-core.IResolvable |
Attribute DuplicationInfrequentAccessPeriod: The storage time is converted to low-frequency access. |
attrEnableBackupLog |
@alicloud/ros-cdk-core.IResolvable |
Attribute EnableBackupLog: Whether to enable incremental log Backup. |
attrInstanceClass |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceClass: Instance class. |
attrOssBucketName |
@alicloud/ros-cdk-core.IResolvable |
Attribute OssBucketName: OSS Bucket name. |
attrPaymentType |
@alicloud/ros-cdk-core.IResolvable |
Attribute PaymentType: The payment type of the resource. |
attrResourceGroupId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ResourceGroupId: The ID of the resource group. |
attrSourceEndpointDatabaseName |
@alicloud/ros-cdk-core.IResolvable |
Attribute SourceEndpointDatabaseName: The name of the database. |
attrSourceEndpointInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute SourceEndpointInstanceId: The ID of the database instance. |
attrSourceEndpointInstanceType |
@alicloud/ros-cdk-core.IResolvable |
Attribute SourceEndpointInstanceType: The location of the database. |
attrSourceEndpointRegion |
@alicloud/ros-cdk-core.IResolvable |
Attribute SourceEndpointRegion: The region of the database. |
attrSourceEndpointSid |
@alicloud/ros-cdk-core.IResolvable |
Attribute SourceEndpointSid: Oracle SID name. |
attrSourceEndpointUserName |
@alicloud/ros-cdk-core.IResolvable |
Attribute SourceEndpointUserName: Database account. |
node
Required
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public readonly ref: string;
- Type: string
stack
Required
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resource
Optional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrBackupGatewayId
Required
public readonly attrBackupGatewayId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupGatewayId: The ID of the backup gateway.
attrBackupMethod
Required
public readonly attrBackupMethod: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupMethod: Backup method.
attrBackupObjects
Required
public readonly attrBackupObjects: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupObjects: The backup object.
attrBackupPeriod
Required
public readonly attrBackupPeriod: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupPeriod: Full backup cycle.
attrBackupPlanId
Required
public readonly attrBackupPlanId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupPlanId: The ID of the backup plan.
attrBackupPlanName
Required
public readonly attrBackupPlanName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupPlanName: The name of the backup plan.
attrBackupRetentionPeriod
Required
public readonly attrBackupRetentionPeriod: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupRetentionPeriod: The retention time of backup data.
Valid values: 0 to 1825. Default value: 730 days.
attrBackupStartTime
Required
public readonly attrBackupStartTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupStartTime: The start time of full Backup.
attrBackupStorageType
Required
public readonly attrBackupStorageType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupStorageType: Built-in storage type:.
attrCreateTime
Required
public readonly attrCreateTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CreateTime: The creation time of the backup plans.
attrCrossAliyunId
Required
public readonly attrCrossAliyunId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CrossAliyunId: The UID that is backed up across Alibaba cloud accounts.
attrCrossRoleName
Required
public readonly attrCrossRoleName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CrossRoleName: The name of the RAM role that is backed up across Alibaba cloud accounts.
attrDatabaseType
Required
public readonly attrDatabaseType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DatabaseType: Database type.
attrDuplicationArchivePeriod
Required
public readonly attrDuplicationArchivePeriod: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DuplicationArchivePeriod: The storage time for conversion to archive cold standby is 365 days by default.
attrDuplicationInfrequentAccessPeriod
Required
public readonly attrDuplicationInfrequentAccessPeriod: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DuplicationInfrequentAccessPeriod: The storage time is converted to low-frequency access.
The default time is 180 days.
attrEnableBackupLog
Required
public readonly attrEnableBackupLog: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EnableBackupLog: Whether to enable incremental log Backup.
attrInstanceClass
Required
public readonly attrInstanceClass: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceClass: Instance class.
attrOssBucketName
Required
public readonly attrOssBucketName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute OssBucketName: OSS Bucket name.
attrPaymentType
Required
public readonly attrPaymentType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PaymentType: The payment type of the resource.
attrResourceGroupId
Required
public readonly attrResourceGroupId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
attrSourceEndpointDatabaseName
Required
public readonly attrSourceEndpointDatabaseName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SourceEndpointDatabaseName: The name of the database.
attrSourceEndpointInstanceId
Required
public readonly attrSourceEndpointInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SourceEndpointInstanceId: The ID of the database instance.
attrSourceEndpointInstanceType
Required
public readonly attrSourceEndpointInstanceType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SourceEndpointInstanceType: The location of the database.
attrSourceEndpointRegion
Required
public readonly attrSourceEndpointRegion: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SourceEndpointRegion: The region of the database.
attrSourceEndpointSid
Required
public readonly attrSourceEndpointSid: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SourceEndpointSid: Oracle SID name.
attrSourceEndpointUserName
Required
public readonly attrSourceEndpointUserName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SourceEndpointUserName: Database account.