GatewayServiceProps
Properties for defining a GatewayService.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gatewayservice
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmse"
&alicloudroscdkmse.GatewayServiceProps {
GatewayUniqueId: interface{},
Name: interface{},
SourceType: interface{},
DnsServerList: interface{},
FcAlias: interface{},
FcServiceName: interface{},
FcVersion: interface{},
GroupName: interface{},
Ips: interface{},
Namespace: interface{},
SaeAppId: interface{},
ServicePort: interface{},
ServiceProtocol: interface{},
SourceId: interface{},
TlsSetting: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
GatewayUniqueId | interface{} | Property gatewayUniqueId: Unique identifier of the gateway. |
Name | interface{} | Property name: Name of the service. |
SourceType | interface{} | Property sourceType: Type of service source. |
DnsServerList | interface{} | Property dnsServerList: List of DNS servers. |
FcAlias | interface{} | Property fcAlias: Function Compute service alias. |
FcServiceName | interface{} | Property fcServiceName: Function Compute service name. |
FcVersion | interface{} | Property fcVersion: Function Compute service version. |
GroupName | interface{} | Property groupName: Group name of the service. |
Ips | interface{} | Property ips: List of IPs. |
Namespace | interface{} | Property namespace: Namespace of the service. |
SaeAppId | interface{} | Property saeAppId: SAE application ID. |
ServicePort | interface{} | Property servicePort: Port of the service. |
ServiceProtocol | interface{} | Property serviceProtocol: Protocol of the service. |
SourceId | interface{} | Property sourceId: Source ID of the service. |
TlsSetting | interface{} | Property tlsSetting: The TLS settings, specified as a JSON string. |
GatewayUniqueIdRequired
GatewayUniqueId interface{}
- Type: interface{}
Property gatewayUniqueId: Unique identifier of the gateway.
NameRequired
Name interface{}
- Type: interface{}
Property name: Name of the service.
SourceTypeRequired
SourceType interface{}
- Type: interface{}
Property sourceType: Type of service source.
Valid values:
- MSE: MSE-NACOS
- K8s: ACK container service
- VIP: Fixed address
- DNS: DNS domain name
- FC: Function Compute
- EDAS: EDAS
- MSE_ZK: MSE-Zookeeper
- SAE: SAE
DnsServerListOptional
DnsServerList interface{}
- Type: interface{}
Property dnsServerList: List of DNS servers.
FcAliasOptional
FcAlias interface{}
- Type: interface{}
Property fcAlias: Function Compute service alias.
Used when SourceType is FC.
FcServiceNameOptional
FcServiceName interface{}
- Type: interface{}
Property fcServiceName: Function Compute service name.
Required when SourceType is FC.
FcVersionOptional
FcVersion interface{}
- Type: interface{}
Property fcVersion: Function Compute service version.
Used when SourceType is FC.
GroupNameOptional
GroupName interface{}
- Type: interface{}
Property groupName: Group name of the service.
IpsOptional
Ips interface{}
- Type: interface{}
Property ips: List of IPs.
NamespaceOptional
Namespace interface{}
- Type: interface{}
Property namespace: Namespace of the service.
SaeAppIdOptional
SaeAppId interface{}
- Type: interface{}
Property saeAppId: SAE application ID.
ServicePortOptional
ServicePort interface{}
- Type: interface{}
Property servicePort: Port of the service.
ServiceProtocolOptional
ServiceProtocol interface{}
- Type: interface{}
Property serviceProtocol: Protocol of the service.
SourceIdOptional
SourceId interface{}
- Type: interface{}
Property sourceId: Source ID of the service.
Used when specifying a source to add services.
TlsSettingOptional
TlsSetting interface{}
- Type: interface{}
Property tlsSetting: The TLS settings, specified as a JSON string.
The following fields are supported:
mode: The TLS mode.certId: The certificate ID.caCertId: The CA certificate ID.caCertContent: The public key of the CA certificate.sni: The Server Name Indication (SNI).