Membuat gerbang ASM.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:CreateASMGateway |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
ID instans ASM. |
cb8963379255149cb98c8686f274x**** |
| IstioGatewayName |
string |
No |
Nama gerbang ASM. |
ingressgateway |
| Body |
string |
No |
Konten YAML untuk gerbang ASM. |
{"apiVersion":"istio.alibabacloud.com/v1beta1","kind":"IstioGateway","metadata":{"name":"ingressgateway","namespace":"istio-system"},"spec":{"gatewayType":"ingress","clusterIds":["xxxxx"],"ports":[{"name":"http-0","port":80,"targetPort":80,"protocol":"TCP"},{"name":"https-1","port":443,"targetPort":443,"protocol":"TCP"}],"serviceAnnotations":{"service.beta.kubernetes.io/alicloud-loadbalancer-address-type":"internet","service.beta.kubernetes.io/alibaba-cloud-loadbalancer-spec":"slb.s1.small"},"replicaCount":2,"resources":{"limits":{"cpu":"2","memory":"4G"},"requests":{"cpu":"200m","memory":"256Mi"}},"serviceType":"LoadBalancer","maxReplicas":2,"minReplicas":2}} |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Objek yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
BD65C0AD-D3C6-48D3-8D93-38D2015C**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.