ASM ゲートウェイにインポートされた サービス の詳細をクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
servicemesh:DescribeImportedServicesDetail |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ServiceMeshId |
string |
必須 |
Service Mesh インスタンス ID。 |
cb8963379255149cb98c8686f274x**** |
| ASMGatewayName |
string |
任意 |
ゲートウェイの名前。 |
ingressgateway |
| ServiceNamespace |
string |
任意 |
サービス が存在する 名前空間 。 |
default |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスコンテンツ。 |
||
| RequestId |
string |
リクエスト ID。 |
E0496204-7586-5B4C-B364-2361CC0EDxxxx |
| Details |
array<object> |
サービス 詳細のリスト。 |
|
|
object |
サービス の詳細。 |
||
| ServiceName |
string |
サービス の名前。 |
productpage |
| Namespace |
string |
サービス が存在する 名前空間 。 |
default |
| Labels |
object |
ラベルのリスト。 |
|
|
string |
サービス に定義されているラベル。 |
app: productpage |
|
| ClusterIds |
array |
データプレーン クラスタ のリスト。 |
|
|
string |
サービス が存在する クラスタ の ID。 |
c7894c929677643a5bfe1a732d778**** |
|
| ServiceType |
string |
サービス のタイプ。 |
Kubernetes |
| Ports |
array<object> |
サービス に宣言されている ポート のリスト。 |
|
|
object |
ポート 情報のリスト。 |
||
| Name |
string |
ポート の名前。 |
http-0 |
| Protocol |
string |
ポート の プロトコル 。 |
tcp |
| Port |
integer |
ポート 番号。 |
80 |
| TargetPort |
integer |
コンテナ ポート。 |
8080 |
| NodePort |
integer |
ノード ポート。 |
12345 |
例
成功レスポンス
JSONJSON
{
"RequestId": "E0496204-7586-5B4C-B364-2361CC0EDxxxx",
"Details": [
{
"ServiceName": "productpage",
"Namespace": "default",
"Labels": {
"key": "app: productpage"
},
"ClusterIds": [
"c7894c929677643a5bfe1a732d778****"
],
"ServiceType": "Kubernetes",
"Ports": [
{
"Name": "http-0",
"Protocol": "tcp",
"Port": 80,
"TargetPort": 8080,
"NodePort": 12345
}
]
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。