Mengkueri detail gateway khusus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DescribeGateway |
get |
*Gateway
|
None | None |
Sintaks permintaan
GET /api/v2/gateways/{ClusterId}/{GatewayId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
Wilayah tempat gateway khusus berada. |
cn-wulanchabu |
| GatewayId |
string |
Yes |
ID gateway khusus. Untuk mendapatkan ID gateway khusus, lihat bidang private_gateway_id pada tanggapan operasi ListResources. |
gw-1uhcqmsc7x22****** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
40325405-579C-4D82**** |
| GatewayId |
string |
ID gateway khusus. |
gw-1uhcqmsc7x22****** |
| GatewayName |
string |
Alias gateway khusus. |
mygateway1 |
| CreateTime |
string |
Waktu pembuatan gateway khusus. Waktu dalam UTC. |
2020-05-19T14:19:42Z |
| UpdateTime |
string |
Waktu pembaruan terakhir gateway khusus. Waktu dalam UTC. |
2021-02-24T11:52:17Z |
| IntranetDomain |
string |
Nama domain akses internal. |
gw-1uhcqmsc7x22******-1801786532******-vpc.cn-wulanchabu.pai-eas.aliyuncs.com |
| InternetEnabled |
boolean |
Apakah akses jaringan publik diaktifkan. |
true |
| InternetDomain |
string |
Nama domain akses jaringan publik. |
gw-1uhcqmsc7x22******-1801786532******.cn-wulanchabu.pai-eas.aliyuncs.com |
| InstanceType |
string |
Tipe instans yang digunakan oleh gateway khusus. Valid values:
|
2c4g |
| Status |
string |
Status gateway khusus. Valid values:
|
Running |
| ExternalClusterId |
string |
ID kluster yang dikelola sendiri. |
c935eadf284c14c2da57a2a13ad6****** |
| Replicas |
integer |
Jumlah node pada gateway khusus. |
2 |
| IsDefault |
boolean |
Apakah gateway khusus merupakan gateway default. |
true |
| InternetStatus |
string |
Status pengaktifan atau penonaktifan akses jaringan publik. Valid values:
|
Running |
| SSLRedirectionEnabled |
boolean |
Apakah pengalihan HTTP-ke-HTTPS diaktifkan. |
true |
| ChargeType |
string |
Metode penagihan. Valid values:
|
PrePaid |
| IntranetEnabled |
boolean |
||
| Labels |
array<object> |
||
|
object |
|||
| LabelKey |
string |
key1 |
|
| LabelValue |
string |
value1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "40325405-579C-4D82****",
"GatewayId": "gw-1uhcqmsc7x22******",
"GatewayName": "mygateway1",
"CreateTime": "2020-05-19T14:19:42Z",
"UpdateTime": "2021-02-24T11:52:17Z",
"IntranetDomain": "gw-1uhcqmsc7x22******-1801786532******-vpc.cn-wulanchabu.pai-eas.aliyuncs.com",
"InternetEnabled": true,
"InternetDomain": "gw-1uhcqmsc7x22******-1801786532******.cn-wulanchabu.pai-eas.aliyuncs.com",
"InstanceType": "2c4g",
"Status": "Running",
"ExternalClusterId": "c935eadf284c14c2da57a2a13ad6******",
"Replicas": 2,
"IsDefault": true,
"InternetStatus": "Running",
"SSLRedirectionEnabled": true,
"ChargeType": "PrePaid",
"IntranetEnabled": false,
"Labels": [
{
"LabelKey": "key1",
"LabelValue": "value1"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.