InstanceV2Props
Properties for defining a InstanceV2.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ots-instancev2
Initializer
import ros_cdk_ots
ros_cdk_ots.InstanceV2Props(
cluster_type: typing.Union[str, IResolvable],
instance_name: typing.Union[str, IResolvable],
instance_description: typing.Union[str, IResolvable] = None,
network_source_acl: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
network_type_acl: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
tags: typing.List[TagsProperty] = None
)
Properties
| Name | Type | Description |
|---|---|---|
cluster_type | typing.Union[str, ros_cdk_core.IResolvable] | Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type. |
instance_name | typing.Union[str, ros_cdk_core.IResolvable] | Property instanceName: Instance name.The naming specifications for instances are as follows: Must consist of English letters, numbers or dash lines (-). The first character must be in English letters. The end character cannot be a dash (-). Insensitive case. The length is between 3 and 16 characters. |
instance_description | typing.Union[str, ros_cdk_core.IResolvable] | Property instanceDescription: Example description. |
network_source_acl | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] | Property networkSourceAcl: The allowed-network source list. |
network_type_acl | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] | Property networkTypeAcl: The instance allows the network type list, which is allowed by default. |
resource_group_id | typing.Union[str, ros_cdk_core.IResolvable] | Property resourceGroupId: Resource Group ID. |
tags | typing.List[TagsProperty] | Property tags: The list of instance tags in the form of key\/value pairs. |
cluster_typeRequired
cluster_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type.
instance_nameRequired
instance_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceName: Instance name.The naming specifications for instances are as follows: Must consist of English letters, numbers or dash lines (-). The first character must be in English letters. The end character cannot be a dash (-). Insensitive case. The length is between 3 and 16 characters.
instance_descriptionOptional
instance_description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceDescription: Example description.
The length is limited to between 3-256 characters.
network_source_aclOptional
network_source_acl: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property networkSourceAcl: The allowed-network source list.
All networks are allowed by default.
network_type_aclOptional
network_type_acl: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property networkTypeAcl: The instance allows the network type list, which is allowed by default.
resource_group_idOptional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: Resource Group ID.
tagsOptional
tags: typing.List[TagsProperty]
- Type: typing.List[TagsProperty]
Property tags: The list of instance tags in the form of key\/value pairs.
You can define a maximum of 20 tags for instance.