ゲートウェイからサービスを削除します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:DeleteGatewayService |
delete |
*Gateway
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ServiceId |
string |
必須 |
サービスの ID。 |
190 |
| GatewayId |
integer |
任意 |
ゲートウェイの ID。 |
60 |
| GatewayUniqueId |
string |
必須 |
ゲートウェイの一意の ID。 |
gw-1a4ab101d5924b6f92c5ec98a841761f |
| AcceptLanguage |
string |
任意 |
応答メッセージの言語。有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答の構造。 |
||
| RequestId |
string |
リクエストの一意の ID。 |
B3545F76-6ED1-586F-8DB9-ECE07985F381 |
| HttpStatusCode |
integer |
返される HTTP ステータスコード。 |
200 |
| Message |
string |
返されるメッセージ。 |
You are not authorized to perform this operation. |
| Code |
integer |
返される応答コード。 |
200 |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
| Data |
object |
返されるデータ。 |
|
| Id |
integer |
サービスの ID。 |
190 |
| Name |
string |
サービス名。 |
test |
| GatewayUniqueId |
string |
ゲートウェイの一意の ID。 |
gw-7ea3da97b96543e19f6c597c**** |
| GatewayId |
integer |
ゲートウェイの ID。 |
1 |
| SourceType |
string |
サービスのソースタイプ。 |
MSE |
| Namespace |
string |
名前空間。 |
default |
| GroupName |
string |
グループ名。 |
DEFAULT_GROUP |
| SourceId |
integer |
サービスソースの ID。 |
1 |
| ServiceNameInRegistry |
string |
サービスレジストリに登録されているサービスの名前。 |
test |
| MetaInfo |
string |
サービスの基本情報。 |
{} |
| Ips |
array |
IP |
|
|
string |
IP |
127.0.1.12 |
|
| GmtCreate |
string |
サービスが作成された時刻。 |
2022-01-14 14:39:16 |
| GmtModified |
string |
最終更新時刻。 |
2022-01-07T10:07:57.000+0000 |
例
成功レスポンス
JSONJSON
{
"RequestId": "B3545F76-6ED1-586F-8DB9-ECE07985F381",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": {
"Id": 190,
"Name": "test",
"GatewayUniqueId": "gw-7ea3da97b96543e19f6c597c****",
"GatewayId": 1,
"SourceType": "MSE",
"Namespace": "default",
"GroupName": "DEFAULT_GROUP",
"SourceId": 1,
"ServiceNameInRegistry": "test",
"MetaInfo": "{}",
"Ips": [
"127.0.1.12"
],
"GmtCreate": "2022-01-14 14:39:16",
"GmtModified": "2022-01-07T10:07:57.000+0000"
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | |
| 400 | InvalidParameter | Parameter error:%s | |
| 500 | InternalError | Console error. Try again later:%s | |
| 403 | NoPermission | You are not authorized to perform this operation:%s | |
| 404 | NotFound | Not found:%s |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。