Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkots"
&alicloudroscdkots.InstanceProps {
    InstanceName: interface{},
    ClusterType: interface{},
    Description: interface{},
    Network: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkots.RosInstance.TagsProperty,
}

Properties

Name Type Description
InstanceName interface{} Property instanceName: The name of the instance.
ClusterType interface{} Property clusterType: Cluster type, the default is SSD.
Description interface{} Property description: Instance description.
Network interface{} Property network: Instance network type, default is NORMAL.
Tags *[]TagsProperty Property tags: Tags to attach to instance.

InstanceNameRequired

InstanceName interface{}
  • Type: interface{}

Property instanceName: The name of the instance.


ClusterTypeOptional

ClusterType interface{}
  • Type: interface{}

Property clusterType: Cluster type, the default is SSD.

This parameter specifies the specification of the ots instance. When the value is SSD, the ots instance is a high-performance instance. When the value is Hybid, the ots instance is a capacity instance


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: Instance description.


NetworkOptional

Network interface{}
  • Type: interface{}

Property network: Instance network type, default is NORMAL.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags to attach to instance.

Max support 5 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.