InstanceProps
Properties for defining a Instance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-flink-instance
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkflink"
&alicloudroscdkflink.InstanceProps {
Bucket: interface{},
ChargeType: interface{},
InstanceName: interface{},
VpcId: interface{},
VSwitchIds: interface{},
ZoneId: interface{},
AutoRenew: interface{},
Duration: interface{},
PricingCycle: interface{},
PromotionCode: interface{},
ResourceSpec: interface{},
UsePromotionCode: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Bucket |
interface{} |
Property bucket: OSS bucket name. |
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 instance. |
VpcId |
interface{} |
Property vpcId: VPC ID. |
VSwitchIds |
interface{} |
Property vSwitchIds: Virtual switch ID. |
ZoneId |
interface{} |
Property zoneId: The available area ID of the instance. |
AutoRenew |
interface{} |
Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal. |
Duration |
interface{} |
Property duration: Number of order cycle. |
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. |
BucketRequired
Bucket interface{}
- Type: interface{}
Property bucket: OSS bucket name.
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 instance.
VpcIdRequired
VpcId interface{}
- Type: interface{}
Property vpcId: VPC ID.
VSwitchIdsRequired
VSwitchIds interface{}
- Type: interface{}
Property vSwitchIds: Virtual switch ID.
ZoneIdRequired
ZoneId interface{}
- Type: interface{}
Property zoneId: The available area ID of the instance.
AutoRenewOptional
AutoRenew interface{}
- Type: interface{}
Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal.
false: Manual renewal.
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
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.