IngressProps
Properties for defining a Ingress
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-ingress
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksae"
&alicloudroscdksae.IngressProps {
DefaultRule: interface{},
Description: interface{},
ListenerPort: interface{},
NamespaceId: interface{},
Rules: interface{},
SlbId: interface{},
CertId: interface{},
CertIds: interface{},
ListenerProtocol: interface{},
LoadBalanceType: interface{},
}
Properties
Name | Type | Description |
---|---|---|
DefaultRule |
interface{} |
Property defaultRule: The default forwarding rule. |
Description |
interface{} |
Property description: The name of the routing rule. |
ListenerPort |
interface{} |
Property listenerPort: The listener port of the SLB instance. |
NamespaceId |
interface{} |
Property namespaceId: The ID of the namespace to which the application belongs. |
Rules |
interface{} |
Property rules: The forwarding rules. |
SlbId |
interface{} |
Property slbId: The Server Load Balancer (SLB) instance that is used by the routing rule. |
CertId |
interface{} |
Property certId: The ID of the certificate that is associated with the Classic Load Balancer (CLB) instance. |
CertIds |
interface{} |
Property certIds: The IDs of the certificates that are associated with the Application Load Balancer (ALB) instance. |
ListenerProtocol |
interface{} |
Property listenerProtocol: The protocol that is used to forward requests. |
LoadBalanceType |
interface{} |
Property loadBalanceType: The type of the SLB instance based on the processing capabilities. |
DefaultRule
Required
DefaultRule interface{}
- Type: interface{}
Property defaultRule: The default forwarding rule.
You can specify a port and an application in the default forwarding rule to forward traffic based on the IP address of the application.
Description
Required
Description interface{}
- Type: interface{}
Property description: The name of the routing rule.
ListenerPort
Required
ListenerPort interface{}
- Type: interface{}
Property listenerPort: The listener port of the SLB instance.
You must specify a vacant port.
NamespaceId
Required
NamespaceId interface{}
- Type: interface{}
Property namespaceId: The ID of the namespace to which the application belongs.
You can specify only one namespace ID each time you call this operation.
Rules
Required
Rules interface{}
- Type: interface{}
Property rules: The forwarding rules.
You can specify a port and an application in a forwarding rule to forward traffic based on the specified domain name and request path.
SlbId
Required
SlbId interface{}
- Type: interface{}
Property slbId: The Server Load Balancer (SLB) instance that is used by the routing rule.
CertId
Optional
CertId interface{}
- Type: interface{}
Property certId: The ID of the certificate that is associated with the Classic Load Balancer (CLB) instance.
If LoadBalanceType is set to clb, specify this parameter to configure a certificate for the HTTP listener.
CertIds
Optional
CertIds interface{}
- Type: interface{}
Property certIds: The IDs of the certificates that are associated with the Application Load Balancer (ALB) instance.
ListenerProtocol
Optional
ListenerProtocol interface{}
- Type: interface{}
Property listenerProtocol: The protocol that is used to forward requests.
LoadBalanceType
Optional
LoadBalanceType interface{}
- Type: interface{}
Property loadBalanceType: The type of the SLB instance based on the processing capabilities.
The instance type can be specified only when you create a routing rule. You cannot change the instance type when you update the routing rule.