All Products
Search
Document Center

Alibaba Cloud Service Mesh:CreateIstioGatewayDomains

Last Updated:Mar 05, 2024

Adds domain names for a Service Mesh (ASM) gateway.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ASM instance ID.

c08ba3fd1e6484b0f8cc1ad8fe10d****
IstioGatewayNamestringYes

The name of the ASM gateway.

ingressgateway
HostsstringYes

The one or more domain names that are exposed by the ASM gateway. Separate multiple domain names with commas (,).

example.com,demo.com
NumberintegerYes

The port that is provided by the ASM gateway.

443
PortNamestringYes

The name of the port.

http-demo
ProtocolstringYes

The type of the protocol. Valid values: HTTP, HTTPS, GRPC, HTTP2, MONGO, TCP, and TLS.

HTTPS
CredentialstringNo

The name of the secret that contains the Transport Layer Security (TLS) certificate and certificate authority (CA) certificate.

bookinfo-secret
ForceHttpsbooleanNo

Specifies whether to forcibly use TLS to protect connection security.

  • true: forcibly uses TLS to protect connection security.
  • false: does not forcibly use TLS to protect connection security.
true
NamespacestringNo

The name of the namespace.

default
LimitstringNo

The maximum number of ASM gateways to query.

10

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

31d3a0f0-07ed-4f6e-9004-1804498c****

Examples

Sample success responses

JSONformat

{
  "RequestId": "31d3a0f0-07ed-4f6e-9004-1804498c****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history