DbInstance
This class encapsulates and extends the ROS resource type DATASOURCE::GraphDatabase::DbInstance
, which is used to query the information about an instance.
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. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: DbInstanceProps
EnableResourcePropertyConstraint
Optional
- 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.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- 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.
- 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. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrConnectionString
Required
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.
AttrCreateTime
Required
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.
AttrCurrentMinorVersion
Required
public IResolvable AttrCurrentMinorVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CurrentMinorVersion: The current kernel image version.
AttrDbInstanceCategory
Required
public IResolvable AttrDbInstanceCategory { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbInstanceCategory: The category of the db instance.
AttrDbInstanceCpu
Required
public IResolvable AttrDbInstanceCpu { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbInstanceCpu: For example, instances can be grouped according to Cpu core count.
AttrDbInstanceDescription
Required
public IResolvable AttrDbInstanceDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbInstanceDescription: According to the practical example or notes.
AttrDbInstanceId
Required
public IResolvable AttrDbInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbInstanceId: The ID of the GDB Instance.
AttrDbInstanceIpArray
Required
public IResolvable AttrDbInstanceIpArray { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBInstanceIPArray: IP ADDRESS whitelist for the instance group list.
AttrDbInstanceMemory
Required
public IResolvable AttrDbInstanceMemory { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbInstanceMemory: Instance memory, which is measured in MB.
AttrDbInstanceNetworkType
Required
public IResolvable AttrDbInstanceNetworkType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbInstanceNetworkType: The network type of the db instance.
AttrDbInstanceStorageType
Required
public IResolvable AttrDbInstanceStorageType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbInstanceStorageType: Cloud Disk.
AttrDbInstanceType
Required
public IResolvable AttrDbInstanceType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbInstanceType: The type of the db instance.
AttrDbNodeClass
Required
public IResolvable AttrDbNodeClass { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbNodeClass: The class of the db node.
AttrDbNodeCount
Required
public IResolvable AttrDbNodeCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbNodeCount: The count of the db node.
AttrDbNodeStorage
Required
public IResolvable AttrDbNodeStorage { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbNodeStorage: Instance storage space, which is measured in GB.
AttrDbVersion
Required
public IResolvable AttrDbVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbVersion: Kernel Version 1.0 is represented as gremlin,1.
AttrEcsSecurityGroupRelations
Required
public IResolvable AttrEcsSecurityGroupRelations { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EcsSecurityGroupRelations: Security group information array.
AttrExpired
Required
public IResolvable AttrExpired { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Expired: The expire status of the db instance.
AttrExpireTime
Required
public IResolvable AttrExpireTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ExpireTime: The instance after it expires time for subscription instance.
AttrLatestMinorVersion
Required
public IResolvable AttrLatestMinorVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LatestMinorVersion: The latest kernel image version.
AttrLockMode
Required
public IResolvable AttrLockMode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LockMode: Instance lock state.
AttrLockReason
Required
public IResolvable AttrLockReason { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LockReason: An instance is locked the reason.
AttrMaintainTime
Required
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.
AttrPaymentType
Required
public IResolvable AttrPaymentType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PaymentType: The DB instance attribute field representing the paid type is desirable.
AttrPort
Required
public IResolvable AttrPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Port: Application Port.
AttrPublicConnectionString
Required
public IResolvable AttrPublicConnectionString { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PublicConnectionString: The public connection string ID of the DB instance.
AttrPublicPort
Required
public IResolvable AttrPublicPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PublicPort: The public port ID of the DB instance.
AttrReadOnlyDbInstanceIds
Required
public IResolvable AttrReadOnlyDbInstanceIds { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ReadOnlyDbInstanceIds: The array of the readonly db instances.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: Resource Group ID.
AttrTags
Required
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: The tags of the GDB Instance.
AttrVpcId
Required
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: The vpc id of the db instance.
AttrVSwitchId
Required
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: The vswitch id of the DB instance.
AttrZoneId
Required
public IResolvable AttrZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ZoneId: The zone ID of the instance.