Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-searchengine-instance

Initializer

import ros_cdk_searchengine
ros_cdk_searchengine.InstanceProps(
  charge_type: typing.Union[str, IResolvable],
  password: typing.Union[str, IResolvable],
  qrs_num: typing.Union[typing.Union[int, float], IResolvable],
  qrs_spec: typing.Union[str, IResolvable],
  searcher_doc_size: typing.Union[typing.Union[int, float], IResolvable],
  searcher_num: typing.Union[typing.Union[int, float], IResolvable],
  searcher_spec: typing.Union[str, IResolvable],
  user_name: typing.Union[str, IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  v_switch_id: typing.Union[str, IResolvable]
)

Properties

Name Type Description
charge_type typing.Union[str, ros_cdk_core.IResolvable] Property chargeType: The billing method.
password typing.Union[str, ros_cdk_core.IResolvable] Property password: The password of instance.
qrs_num typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property qrsNum: The number of query nodes.
qrs_spec typing.Union[str, ros_cdk_core.IResolvable] Property qrsSpec: The specification of query nodes.
searcher_doc_size typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property searcherDocSize: The storage size of single data node.
searcher_num typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property searcherNum: The number of data nodes.
searcher_spec typing.Union[str, ros_cdk_core.IResolvable] Property searcherSpec: The specification of data nodes.
user_name typing.Union[str, ros_cdk_core.IResolvable] Property userName: The user name of instance.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The ID of VPC.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: The ID of vSwitch.

charge_typeRequired

charge_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property chargeType: The billing method.

Valid values: POSTPAY. POSTPAY: pay-as-you-go.


passwordRequired

password: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property password: The password of instance.

It consists of lowercase letters and numbers, and the length is 6-8 characters.


qrs_numRequired

qrs_num: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property qrsNum: The number of query nodes.


qrs_specRequired

qrs_spec: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property qrsSpec: The specification of query nodes.


searcher_doc_sizeRequired

searcher_doc_size: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property searcherDocSize: The storage size of single data node.


searcher_numRequired

searcher_num: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property searcherNum: The number of data nodes.


searcher_specRequired

searcher_spec: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property searcherSpec: The specification of data nodes.


user_nameRequired

user_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property userName: The user name of instance.

Begin with a letter, support upper and lower case letters, numbers, underscores, length 1-30 characters.


vpc_idRequired

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vpcId: The ID of VPC.


v_switch_idRequired

v_switch_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vSwitchId: The ID of vSwitch.