Gateway2Props
Properties for defining a Gateway2.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gateway2
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmse"
&alicloudroscdkmse.Gateway2Props {
VpcId: interface{},
AcceptLanguage: interface{},
ChargeType: interface{},
ClbNetworkType: interface{},
EnableHardwareAcceleration: interface{},
EnableSls: interface{},
EnableXtrace: interface{},
EnterpriseSecurityGroup: interface{},
InternetSlb: interface{},
ManagedEntryNetworkType: interface{},
MserVersion: interface{},
Name: interface{},
NlbNetworkType: interface{},
Period: interface{},
PeriodUnit: interface{},
Replica: interface{},
ResourceGroupId: interface{},
SlbSpec: interface{},
Spec: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkmse.RosGateway2.TagsProperty,
VSwitchId: interface{},
VSwitchId2: interface{},
XtraceRatio: interface{},
ZoneInfo: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
VpcId | interface{} | Property vpcId: The ID of the vpc. |
AcceptLanguage | interface{} | Property acceptLanguage: The language of the response. |
ChargeType | interface{} | Property chargeType: The billing method you specify when you purchase an normal instance. |
ClbNetworkType | interface{} | Property clbNetworkType: The network type of the purchased Classic Load Balancer (CLB) instance that is billed based on LCUs. |
EnableHardwareAcceleration | interface{} | Property enableHardwareAcceleration: Specifies whether to enable hardware acceleration. |
EnableSls | interface{} | Property enableSls: Specifies whether to activate Log Service. |
EnableXtrace | interface{} | Property enableXtrace: Whether to activate Tracing Analysis. |
EnterpriseSecurityGroup | interface{} | Property enterpriseSecurityGroup: Specifies whether to use an Enterprise Security Group. |
InternetSlb | interface{} | Property internetSlb: Public network SLB specifications (for normal instances). |
ManagedEntryNetworkType | interface{} | Property managedEntryNetworkType: Gateway entrance type (applicable to the mse_premium instance) pubnet: public network privatenet: privatenet privatepubnet: public + private network. |
MserVersion | interface{} | Property mserVersion: The edition of the gateway. |
Name | interface{} | Property name: The name of the created gateway. |
NlbNetworkType | interface{} | Property nlbNetworkType: The network type of the Network Load Balancer (NLB) instance you specify when you purchase a serverless instance. |
Period | interface{} | Property period: Prepaid time period. |
PeriodUnit | interface{} | Property periodUnit: Charge period for created instances. |
Replica | interface{} | Property replica: The number of nodes you specify when you purchase an normal instance. |
ResourceGroupId | interface{} | Property resourceGroupId: The ID of the resource group. |
SlbSpec | interface{} | Property slbSpec: Private network SLB specifications (for normal instances). |
Spec | interface{} | Property spec: The node specifications you specify when you purchase an normal instance. |
Tags | *[]TagsProperty | Property tags: The list of tags in the form of key\/value pairs. |
VSwitchId | interface{} | Property vSwitchId: The primary VSwitch ID. |
VSwitchId2 | interface{} | Property vSwitchId2: The secondary VSwitch ID. |
XtraceRatio | interface{} | Property xtraceRatio: The sampling rate of Tracing Analysis. |
ZoneInfo | interface{} | Property zoneInfo: The info details of the available zone. |
VpcIdRequired
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the vpc.
AcceptLanguageOptional
AcceptLanguage interface{}
- Type: interface{}
Property acceptLanguage: The language of the response.
Valid values: zh: Chinese en: English
ChargeTypeOptional
ChargeType interface{}
- Type: interface{}
Property chargeType: The billing method you specify when you purchase an normal instance.
Valid values: PREPAY: subscription POSTPAY: pay-as-you-go
ClbNetworkTypeOptional
ClbNetworkType interface{}
- Type: interface{}
Property clbNetworkType: The network type of the purchased Classic Load Balancer (CLB) instance that is billed based on LCUs.
pubnet: Internet privatenet: private network privatepubnet: Internet and private network
EnableHardwareAccelerationOptional
EnableHardwareAcceleration interface{}
- Type: interface{}
Property enableHardwareAcceleration: Specifies whether to enable hardware acceleration.
EnableSlsOptional
EnableSls interface{}
- Type: interface{}
Property enableSls: Specifies whether to activate Log Service.
EnableXtraceOptional
EnableXtrace interface{}
- Type: interface{}
Property enableXtrace: Whether to activate Tracing Analysis.
EnterpriseSecurityGroupOptional
EnterpriseSecurityGroup interface{}
- Type: interface{}
Property enterpriseSecurityGroup: Specifies whether to use an Enterprise Security Group.
InternetSlbOptional
InternetSlb interface{}
- Type: interface{}
Property internetSlb: Public network SLB specifications (for normal instances).
Simple type (slb.s1.small) Standard type 1 (slb.s2.smal) Standard type I(slb.s2.medium) Advanced Type 1 (slb.s3.small) Advanced I(slb.s3.medium) Super strong type I (slb.s3.large) Description Traditional example: When creating, you can only choose one purchasing agent in NLB, CLB billed by LCU, and CLB specifications. Serverless example: When creating, you can only choose one purchasing agent in NLB, CLB billed by LCU
ManagedEntryNetworkTypeOptional
ManagedEntryNetworkType interface{}
- Type: interface{}
Property managedEntryNetworkType: Gateway entrance type (applicable to the mse_premium instance) pubnet: public network privatenet: privatenet privatepubnet: public + private network.
MserVersionOptional
MserVersion interface{}
- Type: interface{}
Property mserVersion: The edition of the gateway.
mse_premium: Professional Editionmse_pro: Standard Editionmse_serverless: Serverless Edition
NameOptional
Name interface{}
- Type: interface{}
Property name: The name of the created gateway.
NlbNetworkTypeOptional
NlbNetworkType interface{}
- Type: interface{}
Property nlbNetworkType: The network type of the Network Load Balancer (NLB) instance you specify when you purchase a serverless instance.
pubnet: Internet privatenet: private network privatepubnet: Internet and private network
PeriodOptional
Period interface{}
- Type: interface{}
Property period: Prepaid time period.
While choose by pay by month, it could be from 1 to 9. While choose pay by year, it could be from 1 to 3. This parameter is Only valid when updating from postpaid instance to prepaid instance.
PeriodUnitOptional
PeriodUnit interface{}
- Type: interface{}
Property periodUnit: Charge period for created instances.
This parameter is only valid when updating from postpaid instance to prepaid instance.
ReplicaOptional
Replica interface{}
- Type: interface{}
Property replica: The number of nodes you specify when you purchase an normal instance.
For high availability, the value for this param is recommended to be greater than 2.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
SlbSpecOptional
SlbSpec interface{}
- Type: interface{}
Property slbSpec: Private network SLB specifications (for normal instances).
Simple type (slb.s1.small) Standard type 1 (slb.s2.small) Standard type I(slb.s2.medium) Advanced Type 1 (slb.s3.small) Advanced I(slb.s3.medium) Super strong type I (slb.s3.large) Description Traditional example: When creating, you can only choose one purchasing agent in NLB, CLB billed by LCU, and CLB specifications. Serverless example: When creating, you can only choose one purchasing agent in NLB, CLB billed by LCU
SpecOptional
Spec interface{}
- Type: interface{}
Property spec: The node specifications you specify when you purchase an normal instance.
Valid values: MSE_GTW_16_32_200_c(16C32G) MSE_GTW_2_4_200_c(2C4G) MSE_GTW_4_8_200_c(4C8G) MSE_GTW_8_16_200_c(8C16G)
TagsOptional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: The list of tags in the form of key\/value pairs.
You can define a maximum of 20 tags.
VSwitchIdOptional
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: The primary VSwitch ID.
VSwitchId2Optional
VSwitchId2 interface{}
- Type: interface{}
Property vSwitchId2: The secondary VSwitch ID.
XtraceRatioOptional
XtraceRatio interface{}
- Type: interface{}
Property xtraceRatio: The sampling rate of Tracing Analysis.
Valid values: [1,100]
ZoneInfoOptional
ZoneInfo interface{}
- Type: interface{}
Property zoneInfo: The info details of the available zone.