Skip to content

DbInstanceProps

Properties for defining a DbInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-graphdatabase-dbinstance

Initializer

import { DbInstanceProps } from '@alicloud/ros-cdk-graphdatabase'
const dbInstanceProps: DbInstanceProps = { ... }

Properties

Name Type Description
dbInstanceCategory string | @alicloud/ros-cdk-core.IResolvable Property dbInstanceCategory: The category of the db instance.
dbInstanceNetworkType string | @alicloud/ros-cdk-core.IResolvable Property dbInstanceNetworkType: The network type of the db instance.
dbInstanceStorageType string | @alicloud/ros-cdk-core.IResolvable Property dbInstanceStorageType: Instance storage type, Valid values: - cloud_essd.
dbNodeClass string | @alicloud/ros-cdk-core.IResolvable Property dbNodeClass: The class of the db node.
dbNodeStorage number | @alicloud/ros-cdk-core.IResolvable Property dbNodeStorage: Instance storage space, which is measured in GB.
dbVersion string | @alicloud/ros-cdk-core.IResolvable Property dbVersion: Kernel version 1.0 is represented as gremlin,1.0-OpenCypher said opencypher.
backupSetId string | @alicloud/ros-cdk-core.IResolvable Property backupSetId: Backup set id.
createType string | @alicloud/ros-cdk-core.IResolvable Property createType: The creation method.
dbInstanceDescription string | @alicloud/ros-cdk-core.IResolvable Property dbInstanceDescription: According to the practical example or notes.
dbInstanceIpArray @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | DBInstanceIPArrayProperty[] Property dbInstanceIpArray: IP address whitelist for the instance group list.
ecsSecurityGroupRelations @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | EcsSecurityGroupRelationsProperty[] Property ecsSecurityGroupRelations: Security group information array.
maintainTime string | @alicloud/ros-cdk-core.IResolvable Property maintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
paymentType string | @alicloud/ros-cdk-core.IResolvable Property paymentType: The resource attribute field representing the paid type is desirable: - PayAsYouGo: Postpaid.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: Resource group id.
restoreType string | @alicloud/ros-cdk-core.IResolvable Property restoreType: Restore type.
sourceDbInstanceId string | @alicloud/ros-cdk-core.IResolvable Property sourceDbInstanceId: Source Instance Id.
tags TagsProperty[] Property tags: Tags of db instance.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: The vpc id of the db instance.
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: The vpc switch id of the resource.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: ZoneId.

dbInstanceCategoryRequired

public readonly dbInstanceCategory: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbInstanceCategory: The category of the db instance.


dbInstanceNetworkTypeRequired

public readonly dbInstanceNetworkType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbInstanceNetworkType: The network type of the db instance.


dbInstanceStorageTypeRequired

public readonly dbInstanceStorageType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbInstanceStorageType: Instance storage type, Valid values: - cloud_essd.


dbNodeClassRequired

public readonly dbNodeClass: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbNodeClass: The class of the db node.

Valid values: gdb.r.xlarge, gdb.r.2xlarge, gdb.r.4xlarge, gdb.r.8xlarge,gdb.r.16xlarge, gdb.re.13xlarge, gdb.re.26xlarge, gdb.re.52xlarge


dbNodeStorageRequired

public readonly dbNodeStorage: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property dbNodeStorage: Instance storage space, which is measured in GB.

The minimum storage space is 20 GB and the step size is 10GB.


dbVersionRequired

public readonly dbVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbVersion: Kernel version 1.0 is represented as gremlin,1.0-OpenCypher said opencypher.


backupSetIdOptional

public readonly backupSetId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property backupSetId: Backup set id.


createTypeOptional

public readonly createType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property createType: The creation method.

Valid values: - CreateDBInstance: Create instance - CloneDBInstance: Clone instance - CreateReadDBInstance: Create a read-only instance


dbInstanceDescriptionOptional

public readonly dbInstanceDescription: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbInstanceDescription: According to the practical example or notes.


dbInstanceIpArrayOptional

public readonly dbInstanceIpArray: IResolvable | IResolvable | DBInstanceIPArrayProperty[];

Property dbInstanceIpArray: IP address whitelist for the instance group list.


ecsSecurityGroupRelationsOptional

public readonly ecsSecurityGroupRelations: IResolvable | IResolvable | EcsSecurityGroupRelationsProperty[];

Property ecsSecurityGroupRelations: Security group information array.


maintainTimeOptional

public readonly maintainTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


paymentTypeOptional

public readonly paymentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property paymentType: The resource attribute field representing the paid type is desirable: - PayAsYouGo: Postpaid.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: Resource group id.


restoreTypeOptional

public readonly restoreType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property restoreType: Restore type.


sourceDbInstanceIdOptional

public readonly sourceDbInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property sourceDbInstanceId: Source Instance Id.


tagsOptional

public readonly tags: TagsProperty[];

Property tags: Tags of db instance.


vpcIdOptional

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vpcId: The vpc id of the db instance.


vSwitchIdOptional

public readonly vSwitchId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vSwitchId: The vpc switch id of the resource.


zoneIdOptional

public readonly zoneId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property zoneId: ZoneId.