Skip to content

InstanceV2Props

Properties for defining a InstanceV2.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ots-instancev2

Initializer

import { InstanceV2Props } from '@alicloud/ros-cdk-ots'
const instanceV2Props: InstanceV2Props = { ... }

Properties

Name Type Description
clusterType string | @alicloud/ros-cdk-core.IResolvable Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type.
instanceName string | @alicloud/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.
instanceDescription string | @alicloud/ros-cdk-core.IResolvable Property instanceDescription: Example description.
networkSourceAcl @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property networkSourceAcl: The allowed-network source list.
networkTypeAcl @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property networkTypeAcl: The instance allows the network type list, which is allowed by default.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: Resource Group ID.
tags TagsProperty[] Property tags: The list of instance tags in the form of key\/value pairs.

clusterTypeRequired

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

Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type.


instanceNameRequired

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


instanceDescriptionOptional

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

Property instanceDescription: Example description.

The length is limited to between 3-256 characters.


networkSourceAclOptional

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

Property networkSourceAcl: The allowed-network source list.

All networks are allowed by default.


networkTypeAclOptional

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

Property networkTypeAcl: The instance allows the network type list, which is allowed by default.


resourceGroupIdOptional

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

Property resourceGroupId: Resource Group ID.


tagsOptional

public readonly tags: 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.