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. |
Bucket
Required
Bucket interface{}
- Type: interface{}
Property bucket: OSS bucket name.
ChargeType
Required
ChargeType interface{}
- Type: interface{}
Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go.
PRE: subscription.
InstanceName
Required
InstanceName interface{}
- Type: interface{}
Property instanceName: The name of instance.
VpcId
Required
VpcId interface{}
- Type: interface{}
Property vpcId: VPC ID.
VSwitchIds
Required
VSwitchIds interface{}
- Type: interface{}
Property vSwitchIds: Virtual switch ID.
ZoneId
Required
ZoneId interface{}
- Type: interface{}
Property zoneId: The available area ID of the instance.
AutoRenew
Optional
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.
Duration
Optional
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
PricingCycle
Optional
PricingCycle interface{}
- Type: interface{}
Property pricingCycle: The ordering cycle only supports ordering in the year and month.
PromotionCode
Optional
PromotionCode interface{}
- Type: interface{}
Property promotionCode: Promo Code.
ResourceSpec
Optional
ResourceSpec interface{}
- Type: interface{}
Property resourceSpec: Resource specifications.
When ChargeType is configured as PRE, the resource specification parameters must be filled.
UsePromotionCode
Optional
UsePromotionCode interface{}
- Type: interface{}
Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use.