DbInstanceProps
Properties for defining a DbInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-graphdatabase-dbinstance
Initializer
import ros_cdk_graphdatabase
ros_cdk_graphdatabase.DbInstanceProps(
db_instance_category: typing.Union[str, IResolvable],
db_instance_network_type: typing.Union[str, IResolvable],
db_instance_storage_type: typing.Union[str, IResolvable],
db_node_class: typing.Union[str, IResolvable],
db_node_storage: typing.Union[typing.Union[int, float], IResolvable],
db_version: typing.Union[str, IResolvable],
backup_set_id: typing.Union[str, IResolvable] = None,
create_type: typing.Union[str, IResolvable] = None,
db_instance_description: typing.Union[str, IResolvable] = None,
db_instance_ip_array: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DBInstanceIPArrayProperty]]] = None,
ecs_security_group_relations: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, EcsSecurityGroupRelationsProperty]]] = None,
maintain_time: typing.Union[str, IResolvable] = None,
payment_type: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
restore_type: typing.Union[str, IResolvable] = None,
source_db_instance_id: typing.Union[str, IResolvable] = None,
tags: typing.List[TagsProperty] = None,
vpc_id: typing.Union[str, IResolvable] = None,
v_switch_id: typing.Union[str, IResolvable] = None,
zone_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
db_instance_category |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbInstanceCategory: The category of the db instance. |
db_instance_network_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbInstanceNetworkType: The network type of the db instance. |
db_instance_storage_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbInstanceStorageType: Instance storage type, Valid values: - cloud_essd. |
db_node_class |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbNodeClass: The class of the db node. |
db_node_storage |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property dbNodeStorage: Instance storage space, which is measured in GB. |
db_version |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbVersion: Kernel version 1.0 is represented as gremlin,1.0-OpenCypher said opencypher. |
backup_set_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property backupSetId: Backup set id. |
create_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property createType: The creation method. |
db_instance_description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbInstanceDescription: According to the practical example or notes. |
db_instance_ip_array |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DBInstanceIPArrayProperty]]] |
Property dbInstanceIpArray: IP address whitelist for the instance group list. |
ecs_security_group_relations |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, EcsSecurityGroupRelationsProperty]]] |
Property ecsSecurityGroupRelations: Security group information array. |
maintain_time |
typing.Union[str, ros_cdk_core.IResolvable] |
Property maintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance. |
payment_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property paymentType: The resource attribute field representing the paid type is desirable: - PayAsYouGo: Postpaid. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: Resource group id. |
restore_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property restoreType: Restore type. |
source_db_instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property sourceDbInstanceId: Source Instance Id. |
tags |
typing.List[TagsProperty] |
Property tags: Tags of db instance. |
vpc_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property vpcId: The vpc id of the db instance. |
v_switch_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property vSwitchId: The vpc switch id of the resource. |
zone_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property zoneId: ZoneId. |
db_instance_category
Required
db_instance_category: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbInstanceCategory: The category of the db instance.
db_instance_network_type
Required
db_instance_network_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbInstanceNetworkType: The network type of the db instance.
db_instance_storage_type
Required
db_instance_storage_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbInstanceStorageType: Instance storage type, Valid values: - cloud_essd.
db_node_class
Required
db_node_class: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
db_node_storage
Required
db_node_storage: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
db_version
Required
db_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbVersion: Kernel version 1.0 is represented as gremlin,1.0-OpenCypher said opencypher.
backup_set_id
Optional
backup_set_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property backupSetId: Backup set id.
create_type
Optional
create_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property createType: The creation method.
Valid values:
- CreateDBInstance: Create instance
- CloneDBInstance: Clone instance
- CreateReadDBInstance: Create a read-only instance
db_instance_description
Optional
db_instance_description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbInstanceDescription: According to the practical example or notes.
db_instance_ip_array
Optional
db_instance_ip_array: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DBInstanceIPArrayProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DBInstanceIPArrayProperty]]]
Property dbInstanceIpArray: IP address whitelist for the instance group list.
ecs_security_group_relations
Optional
ecs_security_group_relations: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, EcsSecurityGroupRelationsProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, EcsSecurityGroupRelationsProperty]]]
Property ecsSecurityGroupRelations: Security group information array.
maintain_time
Optional
maintain_time: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property maintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
payment_type
Optional
payment_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property paymentType: The resource attribute field representing the paid type is desirable: - PayAsYouGo: Postpaid.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: Resource group id.
restore_type
Optional
restore_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property restoreType: Restore type.
source_db_instance_id
Optional
source_db_instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sourceDbInstanceId: Source Instance Id.
tags
Optional
tags: typing.List[TagsProperty]
- Type: typing.List[TagsProperty]
Property tags: Tags of db instance.
vpc_id
Optional
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcId: The vpc id of the db instance.
v_switch_id
Optional
v_switch_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vSwitchId: The vpc switch id of the resource.
zone_id
Optional
zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property zoneId: ZoneId.