Skip to content

InstanceGroupProps

Properties for defining a InstanceGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudphone-instancegroup

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcloudphone"
&alicloudroscdkcloudphone.InstanceGroupProps {
    ImageId: interface{},
    InstanceType: interface{},
    SecurityGroupId: interface{},
    VSwitchId: interface{},
    Amount: interface{},
    AutoPay: interface{},
    AutoRenew: interface{},
    ChargeType: interface{},
    Description: interface{},
    EipBandwidth: interface{},
    InstanceName: interface{},
    KeyPairName: interface{},
    Period: interface{},
    PeriodUnit: interface{},
    Resolution: interface{},
    Tag: interface{},
    VncPassword: interface{},
}

Properties

Name Type Description
ImageId interface{} Property imageId: The image id.
InstanceType interface{} Property instanceType: instance type.
SecurityGroupId interface{} Property securityGroupId: Security group to create ecs instance.
VSwitchId interface{} Property vSwitchId: vswitch id.
Amount interface{} Property amount: Specifies the number of ECS instances to create.Value range: 1~100 Default:1.
AutoPay interface{} Property autoPay: Whether to pay automatically, the default is true.
AutoRenew interface{} Property autoRenew: Whether renew the fee automatically.
ChargeType interface{} Property chargeType: Instance internet access charge type.
Description interface{} Property description: Description of instance.
EipBandwidth interface{} Property eipBandwidth: EIP bandwidth value, the value range is 1-200.
InstanceName interface{} Property instanceName: "Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, "_" or ".", "-".
KeyPairName interface{} Property keyPairName: Cloud phone instance key pair name.
Period interface{} Property period: Prepaid time period.
PeriodUnit interface{} Property periodUnit: Unit of prepaid time period, it could be Month\/Year.
Resolution interface{} Property resolution: You can use the DescribeInstanceTypes interface to query the list of resolutions supported by the current specification and select an appropriate resolution.
Tag interface{} Property tag: Tags to attach to instance.
VncPassword interface{} Property vncPassword: Cloud phone VNC password.

ImageIdRequired

ImageId interface{}
  • Type: interface{}

Property imageId: The image id.


InstanceTypeRequired

InstanceType interface{}
  • Type: interface{}

Property instanceType: instance type.


SecurityGroupIdRequired

SecurityGroupId interface{}
  • Type: interface{}

Property securityGroupId: Security group to create ecs instance.

For classic instance need the security group not belong to VPC, for VPC instance, please make sure the security group belong to specified VPC.


VSwitchIdRequired

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: vswitch id.


AmountOptional

Amount interface{}
  • Type: interface{}

Property amount: Specifies the number of ECS instances to create.Value range: 1~100 Default:1.


AutoPayOptional

AutoPay interface{}
  • Type: interface{}

Property autoPay: Whether to pay automatically, the default is true.


AutoRenewOptional

AutoRenew interface{}
  • Type: interface{}

Property autoRenew: Whether renew the fee automatically.

When the parameter InstanceChargeType is PrePaid, it will take effect. Range of value:True: automatic renewal. False: no automatic renewal. Default value is False.


ChargeTypeOptional

ChargeType interface{}
  • Type: interface{}

Property chargeType: Instance internet access charge type.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: Description of instance.

The length is 2~256 English or Chinese characters and cannot start with http:// and https://.


EipBandwidthOptional

EipBandwidth interface{}
  • Type: interface{}

Property eipBandwidth: EIP bandwidth value, the value range is 1-200.

Setting this parameter will automatically create an EIP instance corresponding to the bandwidth and bind the EIP instance to the cloud phone instance. When the instance is released, this EIP instance will be released and recycled together.


InstanceNameOptional

InstanceName interface{}
  • Type: interface{}

Property instanceName: "Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, "_" or ".", "-".


KeyPairNameOptional

KeyPairName interface{}
  • Type: interface{}

Property keyPairName: Cloud phone instance key pair name.

The cloud phone key can be imported through the ImportKeyPair interface.


PeriodOptional

Period interface{}
  • Type: interface{}

Property period: Prepaid time period.

While PeriodUnit is month, it could be 1, 2, 3, 6. While PeriodUnit is year, it could be from 1 to 5Default value is 1.


PeriodUnitOptional

PeriodUnit interface{}
  • Type: interface{}

Property periodUnit: Unit of prepaid time period, it could be Month\/Year.

Default value is Month.


ResolutionOptional

Resolution interface{}
  • Type: interface{}

Property resolution: You can use the DescribeInstanceTypes interface to query the list of resolutions supported by the current specification and select an appropriate resolution.


TagOptional

Tag interface{}
  • Type: interface{}

Property tag: Tags to attach to instance.

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


VncPasswordOptional

VncPassword interface{}
  • Type: interface{}

Property vncPassword: Cloud phone VNC password.

The password must be six characters long, and must contain only uppercase, lowercase English letters and Arabic numerals.