public static final class UpdateK8sIngressRuleRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
UpdateK8sIngressRuleRequest.Builder |
annotations(String annotations)
The annotations.
|
UpdateK8sIngressRuleRequest |
build() |
UpdateK8sIngressRuleRequest.Builder |
clusterId(String clusterId)
The ID of the Kubernetes cluster.
|
UpdateK8sIngressRuleRequest.Builder |
ingressConf(String ingressConf)
The routing rules of the Ingress.
|
UpdateK8sIngressRuleRequest.Builder |
labels(String labels)
The labels.
|
UpdateK8sIngressRuleRequest.Builder |
name(String name)
The name of the Ingress.
|
UpdateK8sIngressRuleRequest.Builder |
namespace(String namespace)
The namespace of the Kubernetes cluster.
|
public UpdateK8sIngressRuleRequest.Builder annotations(String annotations)
public UpdateK8sIngressRuleRequest.Builder clusterId(String clusterId)
public UpdateK8sIngressRuleRequest.Builder ingressConf(String ingressConf)
{ "rules": [ { "host": "abc.com", "secretName": "tls-secret", "paths": [ { "path": "/path", "backend": { "servicePort": 80, "serviceName": "xxx" } } ] } ] } Parameter description: * rules: the list of routing rules. * host: the domain name to be accessed. * secretName: the name of the Secret that stores the information about the Transport Layer Security (TLS) certificate. The certificate is required if you need to use the HTTPS protocol. * paths: the list of paths to be accessed. * path: the path to be accessed. * backend: the configuration of the backend service. You can specify a service that is created in the Enterprise Distributed Application Service (EDAS) console. * serviceName: the name of the backend service. * servicePort: the port of the backend service.
public UpdateK8sIngressRuleRequest.Builder labels(String labels)
public UpdateK8sIngressRuleRequest.Builder name(String name)
public UpdateK8sIngressRuleRequest.Builder namespace(String namespace)
public UpdateK8sIngressRuleRequest build()
Copyright © 2023. All rights reserved.