DbInstance
- Implements: IDbInstance
This class encapsulates and extends the ROS resource type ALIYUN::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
- Type: DbInstanceProps
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. |
FetchCondition | No description. |
FetchDependency | No description. |
FetchResourceDesc | 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
FetchCondition
private RosCondition FetchCondition()
FetchDependency
private string[] FetchDependency()
FetchResourceDesc
private string FetchResourceDesc()
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. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
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 | object | Attribute ConnectionString: Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name. |
AttrCreateTime | object | 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 | object | Attribute CurrentMinorVersion: The current kernel image version. |
AttrDbInstanceCategory | object | Attribute DbInstanceCategory: The category of the db instance. |
AttrDbInstanceCpu | object | Attribute DbInstanceCpu: For example, instances can be grouped according to Cpu core count. |
AttrDbInstanceDescription | object | Attribute DbInstanceDescription: According to the practical example or notes. |
AttrDbInstanceId | object | Attribute DbInstanceId: The first ID of the resource. |
AttrDbInstanceIpArray | object | Attribute DBInstanceIPArray: IP ADDRESS whitelist for the instance group list. |
AttrDbInstanceMemory | object | Attribute DbInstanceMemory: Instance memory, which is measured in MB. |
AttrDbInstanceNetworkType | object | Attribute DbInstanceNetworkType: The network type of the db instance. |
AttrDbInstanceStorageType | object | Attribute DbInstanceStorageType: Cloud Disk. |
AttrDbInstanceType | object | Attribute DbInstanceType: The type of the db instance. |
AttrDbNodeClass | object | Attribute DbNodeClass: The class of the db node. |
AttrDbNodeCount | object | Attribute DbNodeCount: The count of the db node. |
AttrDbNodeStorage | object | Attribute DbNodeStorage: Instance storage space, which is measured in GB. |
AttrDbVersion | object | Attribute DbVersion: Kernel Version 1.0 is represented as gremlin,1. |
AttrEcsSecurityGroupRelations | object | Attribute EcsSecurityGroupRelations: Security group information array. |
AttrExpired | object | Attribute Expired: The expire status of the db instance. |
AttrExpireTime | object | Attribute ExpireTime: The instance after it expires time for subscription instance. |
AttrLatestMinorVersion | object | Attribute LatestMinorVersion: The latest kernel image version. |
AttrLockMode | object | Attribute LockMode: Instance lock state. |
AttrLockReason | object | Attribute LockReason: An instance is locked the reason. |
AttrMaintainTime | object | Attribute MaintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance. |
AttrPaymentType | object | Attribute PaymentType: The resource attribute field representing the paid type is desirable:. |
AttrPort | object | Attribute Port: Application Port. |
AttrPublicConnectionString | object | Attribute PublicConnectionString: The public connection string ID of the resource. |
AttrPublicPort | object | Attribute PublicPort: The public port ID of the resource. |
AttrReadOnlyDbInstanceIds | object | Attribute ReadOnlyDbInstanceIds: The array of the readonly db instances. |
AttrResourceGroupId | object | Attribute ResourceGroupId: Resource Group ID. |
AttrTags | object | Attribute Tags: resource Tag group. |
AttrVpcId | object | Attribute VpcId: The vpc id of the db instance. |
AttrVSwitchId | object | Attribute VSwitchId: The vpc switch id of the resource. |
AttrZoneId | object | Attribute ZoneId: ZoneId. |
Props | DbInstanceProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with 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.
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 object AttrConnectionString { get; }
- Type: object
Attribute ConnectionString: Virtual Private Cloud (vpc connection such as a VPN connection or leased line domain name.
AttrCreateTimeRequired
public object AttrCreateTime { get; }
- Type: object
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 object AttrCurrentMinorVersion { get; }
- Type: object
Attribute CurrentMinorVersion: The current kernel image version.
AttrDbInstanceCategoryRequired
public object AttrDbInstanceCategory { get; }
- Type: object
Attribute DbInstanceCategory: The category of the db instance.
AttrDbInstanceCpuRequired
public object AttrDbInstanceCpu { get; }
- Type: object
Attribute DbInstanceCpu: For example, instances can be grouped according to Cpu core count.
AttrDbInstanceDescriptionRequired
public object AttrDbInstanceDescription { get; }
- Type: object
Attribute DbInstanceDescription: According to the practical example or notes.
AttrDbInstanceIdRequired
public object AttrDbInstanceId { get; }
- Type: object
Attribute DbInstanceId: The first ID of the resource.
AttrDbInstanceIpArrayRequired
public object AttrDbInstanceIpArray { get; }
- Type: object
Attribute DBInstanceIPArray: IP ADDRESS whitelist for the instance group list.
AttrDbInstanceMemoryRequired
public object AttrDbInstanceMemory { get; }
- Type: object
Attribute DbInstanceMemory: Instance memory, which is measured in MB.
AttrDbInstanceNetworkTypeRequired
public object AttrDbInstanceNetworkType { get; }
- Type: object
Attribute DbInstanceNetworkType: The network type of the db instance.
AttrDbInstanceStorageTypeRequired
public object AttrDbInstanceStorageType { get; }
- Type: object
Attribute DbInstanceStorageType: Cloud Disk.
AttrDbInstanceTypeRequired
public object AttrDbInstanceType { get; }
- Type: object
Attribute DbInstanceType: The type of the db instance.
AttrDbNodeClassRequired
public object AttrDbNodeClass { get; }
- Type: object
Attribute DbNodeClass: The class of the db node.
AttrDbNodeCountRequired
public object AttrDbNodeCount { get; }
- Type: object
Attribute DbNodeCount: The count of the db node.
AttrDbNodeStorageRequired
public object AttrDbNodeStorage { get; }
- Type: object
Attribute DbNodeStorage: Instance storage space, which is measured in GB.
AttrDbVersionRequired
public object AttrDbVersion { get; }
- Type: object
Attribute DbVersion: Kernel Version 1.0 is represented as gremlin,1.
AttrEcsSecurityGroupRelationsRequired
public object AttrEcsSecurityGroupRelations { get; }
- Type: object
Attribute EcsSecurityGroupRelations: Security group information array.
AttrExpiredRequired
public object AttrExpired { get; }
- Type: object
Attribute Expired: The expire status of the db instance.
AttrExpireTimeRequired
public object AttrExpireTime { get; }
- Type: object
Attribute ExpireTime: The instance after it expires time for subscription instance.
AttrLatestMinorVersionRequired
public object AttrLatestMinorVersion { get; }
- Type: object
Attribute LatestMinorVersion: The latest kernel image version.
AttrLockModeRequired
public object AttrLockMode { get; }
- Type: object
Attribute LockMode: Instance lock state.
AttrLockReasonRequired
public object AttrLockReason { get; }
- Type: object
Attribute LockReason: An instance is locked the reason.
AttrMaintainTimeRequired
public object AttrMaintainTime { get; }
- Type: object
Attribute MaintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
AttrPaymentTypeRequired
public object AttrPaymentType { get; }
- Type: object
Attribute PaymentType: The resource attribute field representing the paid type is desirable:.
AttrPortRequired
public object AttrPort { get; }
- Type: object
Attribute Port: Application Port.
AttrPublicConnectionStringRequired
public object AttrPublicConnectionString { get; }
- Type: object
Attribute PublicConnectionString: The public connection string ID of the resource.
AttrPublicPortRequired
public object AttrPublicPort { get; }
- Type: object
Attribute PublicPort: The public port ID of the resource.
AttrReadOnlyDbInstanceIdsRequired
public object AttrReadOnlyDbInstanceIds { get; }
- Type: object
Attribute ReadOnlyDbInstanceIds: The array of the readonly db instances.
AttrResourceGroupIdRequired
public object AttrResourceGroupId { get; }
- Type: object
Attribute ResourceGroupId: Resource Group ID.
AttrTagsRequired
public object AttrTags { get; }
- Type: object
Attribute Tags: resource Tag group.
AttrVpcIdRequired
public object AttrVpcId { get; }
- Type: object
Attribute VpcId: The vpc id of the db instance.
AttrVSwitchIdRequired
public object AttrVSwitchId { get; }
- Type: object
Attribute VSwitchId: The vpc switch id of the resource.
AttrZoneIdRequired
public object AttrZoneId { get; }
- Type: object
Attribute ZoneId: ZoneId.
PropsRequired
public DbInstanceProps Props { get; }
- Type: DbInstanceProps