InstanceV2Props
Properties for defining a InstanceV2.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ots-instancev2
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkots"
&alicloudroscdkots.InstanceV2Props {
ClusterType: interface{},
InstanceName: interface{},
InstanceDescription: interface{},
NetworkSourceAcl: interface{},
NetworkTypeAcl: interface{},
ResourceGroupId: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkots.RosInstanceV2.TagsProperty,
}
Properties
| Name | Type | Description |
|---|---|---|
ClusterType | interface{} | Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type. |
InstanceName | interface{} | 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 | interface{} | Property instanceDescription: Example description. |
NetworkSourceAcl | interface{} | Property networkSourceAcl: The allowed-network source list. |
NetworkTypeAcl | interface{} | Property networkTypeAcl: The instance allows the network type list, which is allowed by default. |
ResourceGroupId | interface{} | Property resourceGroupId: Resource Group ID. |
Tags | *[]TagsProperty | Property tags: The list of instance tags in the form of key\/value pairs. |
ClusterTypeRequired
ClusterType interface{}
- Type: interface{}
Property clusterType: Cluster type (i.e. instance specification). Enumeration values: SSD: High performance. HYBRID: Capacity type.
InstanceNameRequired
InstanceName interface{}
- Type: interface{}
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
InstanceDescription interface{}
- Type: interface{}
Property instanceDescription: Example description.
The length is limited to between 3-256 characters.
NetworkSourceAclOptional
NetworkSourceAcl interface{}
- Type: interface{}
Property networkSourceAcl: The allowed-network source list.
All networks are allowed by default.
NetworkTypeAclOptional
NetworkTypeAcl interface{}
- Type: interface{}
Property networkTypeAcl: The instance allows the network type list, which is allowed by default.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource Group ID.
TagsOptional
Tags *[]TagsProperty
- Type: *[]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.