Skip to content

InstancesProps

Properties for defining a Instances.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-lindorm-instances

Initializer

import { datasource } from '@alicloud/ros-cdk-lindorm'
const instancesProps: datasource.InstancesProps = { ... }

Properties

Name Type Description
instanceIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property instanceIds: The list of the instance id.
queryStr string | @alicloud/ros-cdk-core.IResolvable Property queryStr: Instance name keyword, which can be used for fuzzy search.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The resource group id of lindorm instance.
serviceType string | @alicloud/ros-cdk-core.IResolvable Property serviceType: The type of lindorm instance.
supportEngine number | @alicloud/ros-cdk-core.IResolvable Property supportEngine: Database engine types supported by the queried instance.
tags @alicloud/ros-cdk-lindorm.datasource.RosInstances.TagsProperty[] Property tags: Tags of lindorm instance.

instanceIdsOptional

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

Property instanceIds: The list of the instance id.


queryStrOptional

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

Property queryStr: Instance name keyword, which can be used for fuzzy search.


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.


resourceGroupIdOptional

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

Property resourceGroupId: The resource group id of lindorm instance.


serviceTypeOptional

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

Property serviceType: The type of lindorm instance.


supportEngineOptional

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

Property supportEngine: Database engine types supported by the queried instance.

1: Support search engines. 2: Support timing engine. 4: Support wide table engine. 8: Support file engine. Note For example: the value of SupportEngine is 15, 15=8+4+2+1, which means that the instance supports search engine, timing engine, wide table engine and file engine. The value of SupportEngine is 6, 6=4+2, indicating that the instance supports timing engine and wide table engine.


tagsOptional

public readonly tags: TagsProperty[];
  • Type: @alicloud/ros-cdk-lindorm.datasource.RosInstances.TagsProperty[]

Property tags: Tags of lindorm instance.