InstanceV2Props
Properties for defining a InstanceV2.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-flink-instancev2
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkflink"
&alicloudroscdkflink.InstanceV2Props {
ChargeType: interface{},
InstanceName: interface{},
Storage: interface{},
VpcId: interface{},
VSwitchIds: interface{},
ArchitectureType: interface{},
AutoRenew: interface{},
Duration: interface{},
HaResourceSpec: interface{},
HaVSwitchIds: interface{},
MonitorType: interface{},
PricingCycle: interface{},
PromotionCode: interface{},
ResourceSpec: interface{},
UsePromotionCode: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
ChargeType | interface{} | Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go. |
InstanceName | interface{} | Property instanceName: The name of the workspace. |
Storage | interface{} | Property storage: The storage parameters. |
VpcId | interface{} | Property vpcId: VPC ID. |
VSwitchIds | interface{} | Property vSwitchIds: Virtual switch ID. |
ArchitectureType | interface{} | Property architectureType: The architecture type, the value of the value is as follows: X86, ARM. |
AutoRenew | interface{} | Property autoRenew: Specifies whether to enable auto-renewal. |
Duration | interface{} | Property duration: Number of order cycle. |
HaResourceSpec | interface{} | Property haResourceSpec: HA resource specifications. |
HaVSwitchIds | interface{} | Property haVSwitchIds: HA VSwitch IDs. |
MonitorType | interface{} | Property monitorType: The monitor type, the value of the value is as follows: TAIHAO, ARMS. |
PricingCycle | interface{} | Property pricingCycle: The ordering cycle only supports ordering in the year and month. |
PromotionCode | interface{} | Property promotionCode: Promo Code. |
ResourceSpec | interface{} | Property resourceSpec: Resource specifications. |
UsePromotionCode | interface{} | Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use. |
ChargeTypeRequired
ChargeType interface{}
- Type: interface{}
Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go.
PRE: subscription.
InstanceNameRequired
InstanceName interface{}
- Type: interface{}
Property instanceName: The name of the workspace.
The name must start with a lowercase letter, can contain lowercase letters, digits, and hyphens (-), and cannot end with a hyphen.
StorageRequired
Storage interface{}
- Type: interface{}
Property storage: The storage parameters.
VpcIdRequired
VpcId interface{}
- Type: interface{}
Property vpcId: VPC ID.
VSwitchIdsRequired
VSwitchIds interface{}
- Type: interface{}
Property vSwitchIds: Virtual switch ID.
ArchitectureTypeOptional
ArchitectureType interface{}
- Type: interface{}
Property architectureType: The architecture type, the value of the value is as follows: X86, ARM.
AutoRenewOptional
AutoRenew interface{}
- Type: interface{}
Property autoRenew: Specifies whether to enable auto-renewal.
Valid values:
- true: Auto-renewal is enabled.
- false: Auto-renewal is disabled. This is the default value.
This parameter does not take effect for pay-as-you-go instances.
DurationOptional
Duration interface{}
- Type: interface{}
Property duration: Number of order cycle.
When ChargeType is configured as PRE, the duration parameter must be filled. If PricingCycle is Month, the valid range is 1, 2, 3, 6, 7, 8, 9, 12, 24, 36 If PricingCycle is year, the valid range is 1 to 3
HaResourceSpecOptional
HaResourceSpec interface{}
- Type: interface{}
Property haResourceSpec: HA resource specifications.
When ChargeType is configured as PRE, the resource specification parameters must be filled.
HaVSwitchIdsOptional
HaVSwitchIds interface{}
- Type: interface{}
Property haVSwitchIds: HA VSwitch IDs.
MonitorTypeOptional
MonitorType interface{}
- Type: interface{}
Property monitorType: The monitor type, the value of the value is as follows: TAIHAO, ARMS.
PricingCycleOptional
PricingCycle interface{}
- Type: interface{}
Property pricingCycle: The ordering cycle only supports ordering in the year and month.
PromotionCodeOptional
PromotionCode interface{}
- Type: interface{}
Property promotionCode: Promo Code.
ResourceSpecOptional
ResourceSpec interface{}
- Type: interface{}
Property resourceSpec: Resource specifications.
When ChargeType is configured as PRE, the resource specification parameters must be filled.
UsePromotionCodeOptional
UsePromotionCode interface{}
- Type: interface{}
Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use.