Skip to content

DbInstance

This class encapsulates and extends the ROS resource type DATASOURCE::GraphDatabase::DbInstance.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Graphdatabase;
new DbInstance(Construct Scope, string Id, DbInstanceProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props DbInstanceProps 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.Graphdatabase;
DbInstance.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.
AttrConnectionString AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ConnectionString: Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z.
AttrCurrentMinorVersion AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CurrentMinorVersion: The current kernel image version.
AttrDbInstanceCategory AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbInstanceCategory: The category of the db instance.
AttrDbInstanceCpu AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbInstanceCpu: For example, instances can be grouped according to Cpu core count.
AttrDbInstanceDescription AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbInstanceDescription: According to the practical example or notes.
AttrDbInstanceId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbInstanceId: The ID of the GDB Instance.
AttrDbInstanceIpArray AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DBInstanceIPArray: IP ADDRESS whitelist for the instance group list.
AttrDbInstanceMemory AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbInstanceMemory: Instance memory, which is measured in MB.
AttrDbInstanceNetworkType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbInstanceNetworkType: The network type of the db instance.
AttrDbInstanceStorageType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbInstanceStorageType: Cloud Disk.
AttrDbInstanceType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbInstanceType: The type of the db instance.
AttrDbNodeClass AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbNodeClass: The class of the db node.
AttrDbNodeCount AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbNodeCount: The count of the db node.
AttrDbNodeStorage AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbNodeStorage: Instance storage space, which is measured in GB.
AttrDbVersion AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute DbVersion: Kernel Version 1.0 is represented as gremlin,1.
AttrEcsSecurityGroupRelations AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EcsSecurityGroupRelations: Security group information array.
AttrExpired AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Expired: The expire status of the db instance.
AttrExpireTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ExpireTime: The instance after it expires time for subscription instance.
AttrLatestMinorVersion AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute LatestMinorVersion: The latest kernel image version.
AttrLockMode AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute LockMode: Instance lock state.
AttrLockReason AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute LockReason: An instance is locked the reason.
AttrMaintainTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute MaintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
AttrPaymentType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PaymentType: The DB instance attribute field representing the paid type is desirable.
AttrPort AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Port: Application Port.
AttrPublicConnectionString AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PublicConnectionString: The public connection string ID of the DB instance.
AttrPublicPort AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PublicPort: The public port ID of the DB instance.
AttrReadOnlyDbInstanceIds AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ReadOnlyDbInstanceIds: The array of the readonly db instances.
AttrResourceGroupId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ResourceGroupId: Resource Group ID.
AttrTags AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Tags: The tags of the GDB Instance.
AttrVpcId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute VpcId: The vpc id of the db instance.
AttrVSwitchId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute VSwitchId: The vswitch id of the DB instance.
AttrZoneId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ZoneId: The zone ID of the instance.

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

AttrConnectionStringRequired

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

Attribute ConnectionString: Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name.


AttrCreateTimeRequired

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

Attribute CreateTime: Creation time, which follows the format of YYYY-MM-DD 'T'hh:mm:ssZ, such as 2011-05-30 T12:11:4Z.


AttrCurrentMinorVersionRequired

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

Attribute CurrentMinorVersion: The current kernel image version.


AttrDbInstanceCategoryRequired

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

Attribute DbInstanceCategory: The category of the db instance.


AttrDbInstanceCpuRequired

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

Attribute DbInstanceCpu: For example, instances can be grouped according to Cpu core count.


AttrDbInstanceDescriptionRequired

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

Attribute DbInstanceDescription: According to the practical example or notes.


AttrDbInstanceIdRequired

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

Attribute DbInstanceId: The ID of the GDB Instance.


AttrDbInstanceIpArrayRequired

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

Attribute DBInstanceIPArray: IP ADDRESS whitelist for the instance group list.


AttrDbInstanceMemoryRequired

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

Attribute DbInstanceMemory: Instance memory, which is measured in MB.


AttrDbInstanceNetworkTypeRequired

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

Attribute DbInstanceNetworkType: The network type of the db instance.


AttrDbInstanceStorageTypeRequired

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

Attribute DbInstanceStorageType: Cloud Disk.


AttrDbInstanceTypeRequired

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

Attribute DbInstanceType: The type of the db instance.


AttrDbNodeClassRequired

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

Attribute DbNodeClass: The class of the db node.


AttrDbNodeCountRequired

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

Attribute DbNodeCount: The count of the db node.


AttrDbNodeStorageRequired

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

Attribute DbNodeStorage: Instance storage space, which is measured in GB.


AttrDbVersionRequired

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

Attribute DbVersion: Kernel Version 1.0 is represented as gremlin,1.


AttrEcsSecurityGroupRelationsRequired

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

Attribute EcsSecurityGroupRelations: Security group information array.


AttrExpiredRequired

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

Attribute Expired: The expire status of the db instance.


AttrExpireTimeRequired

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

Attribute ExpireTime: The instance after it expires time for subscription instance.


AttrLatestMinorVersionRequired

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

Attribute LatestMinorVersion: The latest kernel image version.


AttrLockModeRequired

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

Attribute LockMode: Instance lock state.


AttrLockReasonRequired

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

Attribute LockReason: An instance is locked the reason.


AttrMaintainTimeRequired

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

Attribute MaintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.


AttrPaymentTypeRequired

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

Attribute PaymentType: The DB instance attribute field representing the paid type is desirable.


AttrPortRequired

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

Attribute Port: Application Port.


AttrPublicConnectionStringRequired

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

Attribute PublicConnectionString: The public connection string ID of the DB instance.


AttrPublicPortRequired

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

Attribute PublicPort: The public port ID of the DB instance.


AttrReadOnlyDbInstanceIdsRequired

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

Attribute ReadOnlyDbInstanceIds: The array of the readonly db instances.


AttrResourceGroupIdRequired

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

Attribute ResourceGroupId: Resource Group ID.


AttrTagsRequired

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

Attribute Tags: The tags of the GDB Instance.


AttrVpcIdRequired

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

Attribute VpcId: The vpc id of the db instance.


AttrVSwitchIdRequired

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

Attribute VSwitchId: The vswitch id of the DB instance.


AttrZoneIdRequired

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

Attribute ZoneId: The zone ID of the instance.