Skip to content

BackupPlan

This class encapsulates and extends the ROS resource type DATASOURCE::DBS::BackupPlan.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Dbs;
new BackupPlan(Construct Scope, string Id, BackupPlanProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props BackupPlanProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct

IdRequired

  • Type: string

PropsRequired


EnableResourcePropertyConstraintOptional

  • Type: bool

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

private string ToString()

Returns a string representation of this construct.

Synthesize

private void Synthesize(ISynthesisSession Session)

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.

SessionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Dbs;
BackupPlan.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node associated with this construct.
Ref string No description.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
Resource AlibabaCloud.SDK.ROS.CDK.Core.RosResource No description.
AttrBackupGatewayId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute BackupGatewayId: The ID of the backup gateway.
AttrBackupMethod AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute BackupMethod: Backup method.
AttrBackupObjects AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute BackupObjects: The backup object.
AttrBackupPeriod AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute BackupPeriod: Full backup cycle.
AttrBackupPlanId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute BackupPlanId: The ID of the backup plan.
AttrBackupPlanName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute BackupPlanName: The name of the backup plan.
AttrBackupRetentionPeriod AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute BackupRetentionPeriod: The retention time of backup data.
AttrBackupStartTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute BackupStartTime: The start time of full Backup.
AttrBackupStorageType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute BackupStorageType: Built-in storage type:.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: The creation time of the backup plans.
AttrCrossAliyunId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CrossAliyunId: The UID that is backed up across Alibaba cloud accounts.
AttrCrossRoleName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CrossRoleName: The name of the RAM role that is backed up across Alibaba cloud accounts.
AttrDatabaseType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DatabaseType: Database type.
AttrDuplicationArchivePeriod AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DuplicationArchivePeriod: The storage time for conversion to archive cold standby is 365 days by default.
AttrDuplicationInfrequentAccessPeriod AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DuplicationInfrequentAccessPeriod: The storage time is converted to low-frequency access.
AttrEnableBackupLog AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EnableBackupLog: Whether to enable incremental log Backup.
AttrInstanceClass AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute InstanceClass: Instance class.
AttrOssBucketName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute OssBucketName: OSS Bucket name.
AttrPaymentType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PaymentType: The payment type of the resource.
AttrResourceGroupId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
AttrSourceEndpointDatabaseName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SourceEndpointDatabaseName: The name of the database.
AttrSourceEndpointInstanceId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SourceEndpointInstanceId: The ID of the database instance.
AttrSourceEndpointInstanceType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SourceEndpointInstanceType: The location of the database.
AttrSourceEndpointRegion AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SourceEndpointRegion: The region of the database.
AttrSourceEndpointSid AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SourceEndpointSid: Oracle SID name.
AttrSourceEndpointUserName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SourceEndpointUserName: Database account.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


RefRequired

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrBackupGatewayIdRequired

public IResolvable AttrBackupGatewayId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BackupGatewayId: The ID of the backup gateway.


AttrBackupMethodRequired

public IResolvable AttrBackupMethod { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BackupMethod: Backup method.


AttrBackupObjectsRequired

public IResolvable AttrBackupObjects { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BackupObjects: The backup object.


AttrBackupPeriodRequired

public IResolvable AttrBackupPeriod { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BackupPeriod: Full backup cycle.


AttrBackupPlanIdRequired

public IResolvable AttrBackupPlanId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BackupPlanId: The ID of the backup plan.


AttrBackupPlanNameRequired

public IResolvable AttrBackupPlanName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BackupPlanName: The name of the backup plan.


AttrBackupRetentionPeriodRequired

public IResolvable AttrBackupRetentionPeriod { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BackupRetentionPeriod: The retention time of backup data.

Valid values: 0 to 1825. Default value: 730 days.


AttrBackupStartTimeRequired

public IResolvable AttrBackupStartTime { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BackupStartTime: The start time of full Backup.


AttrBackupStorageTypeRequired

public IResolvable AttrBackupStorageType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute BackupStorageType: Built-in storage type:.


AttrCreateTimeRequired

public IResolvable AttrCreateTime { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CreateTime: The creation time of the backup plans.


AttrCrossAliyunIdRequired

public IResolvable AttrCrossAliyunId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CrossAliyunId: The UID that is backed up across Alibaba cloud accounts.


AttrCrossRoleNameRequired

public IResolvable AttrCrossRoleName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CrossRoleName: The name of the RAM role that is backed up across Alibaba cloud accounts.


AttrDatabaseTypeRequired

public IResolvable AttrDatabaseType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute DatabaseType: Database type.


AttrDuplicationArchivePeriodRequired

public IResolvable AttrDuplicationArchivePeriod { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute DuplicationArchivePeriod: The storage time for conversion to archive cold standby is 365 days by default.


AttrDuplicationInfrequentAccessPeriodRequired

public IResolvable AttrDuplicationInfrequentAccessPeriod { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute DuplicationInfrequentAccessPeriod: The storage time is converted to low-frequency access.

The default time is 180 days.


AttrEnableBackupLogRequired

public IResolvable AttrEnableBackupLog { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute EnableBackupLog: Whether to enable incremental log Backup.


AttrInstanceClassRequired

public IResolvable AttrInstanceClass { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute InstanceClass: Instance class.


AttrOssBucketNameRequired

public IResolvable AttrOssBucketName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute OssBucketName: OSS Bucket name.


AttrPaymentTypeRequired

public IResolvable AttrPaymentType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PaymentType: The payment type of the resource.


AttrResourceGroupIdRequired

public IResolvable AttrResourceGroupId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ResourceGroupId: The ID of the resource group.


AttrSourceEndpointDatabaseNameRequired

public IResolvable AttrSourceEndpointDatabaseName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute SourceEndpointDatabaseName: The name of the database.


AttrSourceEndpointInstanceIdRequired

public IResolvable AttrSourceEndpointInstanceId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute SourceEndpointInstanceId: The ID of the database instance.


AttrSourceEndpointInstanceTypeRequired

public IResolvable AttrSourceEndpointInstanceType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute SourceEndpointInstanceType: The location of the database.


AttrSourceEndpointRegionRequired

public IResolvable AttrSourceEndpointRegion { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute SourceEndpointRegion: The region of the database.


AttrSourceEndpointSidRequired

public IResolvable AttrSourceEndpointSid { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute SourceEndpointSid: Oracle SID name.


AttrSourceEndpointUserNameRequired

public IResolvable AttrSourceEndpointUserName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute SourceEndpointUserName: Database account.