Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

import { InstanceProps } from '@alicloud/ros-cdk-searchengine'
const instanceProps: InstanceProps = { ... }

Properties

Name Type Description
chargeType string | @alicloud/ros-cdk-core.IResolvable Property chargeType: The billing method.
password string | @alicloud/ros-cdk-core.IResolvable Property password: The password of instance.
qrsNum number | @alicloud/ros-cdk-core.IResolvable Property qrsNum: The number of query nodes.
qrsSpec string | @alicloud/ros-cdk-core.IResolvable Property qrsSpec: The specification of query nodes.
searcherDocSize number | @alicloud/ros-cdk-core.IResolvable Property searcherDocSize: The storage size of single data node.
searcherNum number | @alicloud/ros-cdk-core.IResolvable Property searcherNum: The number of data nodes.
searcherSpec string | @alicloud/ros-cdk-core.IResolvable Property searcherSpec: The specification of data nodes.
userName string | @alicloud/ros-cdk-core.IResolvable Property userName: The user name of instance.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: The ID of VPC.
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: The ID of vSwitch.

chargeTypeRequired

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

Property chargeType: The billing method.

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


passwordRequired

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

Property password: The password of instance.

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


qrsNumRequired

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

Property qrsNum: The number of query nodes.


qrsSpecRequired

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

Property qrsSpec: The specification of query nodes.


searcherDocSizeRequired

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

Property searcherDocSize: The storage size of single data node.


searcherNumRequired

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

Property searcherNum: The number of data nodes.


searcherSpecRequired

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

Property searcherSpec: The specification of data nodes.


userNameRequired

public readonly userName: string | IResolvable;
  • Type: string | @alicloud/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.


vpcIdRequired

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

Property vpcId: The ID of VPC.


vSwitchIdRequired

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

Property vSwitchId: The ID of vSwitch.