InstancesProps
Properties for defining a Instances.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-swas-instances
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkswas"
&alicloudroscdkswas.InstancesProps {
    ImageId: interface{},
    Period: interface{},
    PlanId: interface{},
    Amount: interface{},
    AutoRenew: interface{},
    AutoRenewPeriod: interface{},
    DataDiskSize: interface{},
}
Properties
| Name | Type | Description | 
|---|---|---|
| ImageId | interface{} | Property imageId: The image ID. | 
| Period | interface{} | Property period: The subscription period of the servers. | 
| PlanId | interface{} | Property planId: The plan ID. | 
| Amount | interface{} | Property amount: The number of simple application servers that you want to create. | 
| AutoRenew | interface{} | Property autoRenew: Specifies whether to enable auto-renewal. | 
| AutoRenewPeriod | interface{} | Property autoRenewPeriod: The auto-renewal period. | 
| DataDiskSize | interface{} | Property dataDiskSize: The size of the data disk that is attached to the server. | 
ImageIdRequired 
ImageId interface{}
- Type: interface{}
Property imageId: The image ID.
You can call the ListImages operation to query the available images in the specified region.
PeriodRequired 
Period interface{}
- Type: interface{}
Property period: The subscription period of the servers.
Unit: months. Valid values: 1, 3, 6, 12, 24, and 36.
PlanIdRequired 
PlanId interface{}
- Type: interface{}
Property planId: The plan ID.
You can call the ListPlans operation to query all plans provided by Simple Application Server in the specified region.
AmountOptional 
Amount interface{}
- Type: interface{}
Property amount: The number of simple application servers that you want to create.
Valid values: 1 to 20. Default value: 1.
AutoRenewOptional 
AutoRenew interface{}
- Type: interface{}
Property autoRenew: Specifies whether to enable auto-renewal.
Valid values: true false Default value: false.
AutoRenewPeriodOptional 
AutoRenewPeriod interface{}
- Type: interface{}
Property autoRenewPeriod: The auto-renewal period.
This parameter is required only when you set AutoRenew to true. Unit: months. Valid values: 1, 3, 6, 12, 24, and 36.
DataDiskSizeOptional 
DataDiskSize interface{}
- Type: interface{}
Property dataDiskSize: The size of the data disk that is attached to the server.
Unit: GB. Valid values: 0 to 16380. The value must be an integral multiple of 20. A value of 0 indicates that no data disk is attached. If the disk included in the specified plan is a standard SSD, the data disk must be 20 GB or larger in size. Default value: 0.