指定されたリージョン内のすべてのアプリケーションモニタリングタスクを照会します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| ResourceGroupId |
string |
任意 |
リソースグループ ID。 |
rg-acfmxyexli2**** |
| Tags |
array<object> |
任意 |
タグ。 |
|
|
object |
任意 |
|||
| Key |
string |
任意 |
タグキー。 |
TestKey |
| Value |
string |
任意 |
タグ値。 |
TestValue |
| Region |
string |
任意 |
リージョン ID。 |
cn-shenzhen |
| AppType |
string |
任意 |
アラートルールに関連付けられているアプリケーションのタイプ。有効な値:
|
TRACE |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Code |
integer |
リクエストに対して返される HTTP ステータスコード。有効な値:
|
200 |
| Message |
string |
リクエストパラメーターが無効な場合に返されるエラーメッセージ。 |
Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. |
| RequestId |
string |
リクエスト ID。 |
40B10E04-81E8-4643-970D-F1B38F2E**** |
| Success |
boolean |
呼び出しが成功したかどうかを示します。有効な値:
|
true |
| TraceApps |
array<object> |
アプリケーションモニタリングタスクのリスト。 |
|
|
array<object> |
返された構造体。 |
||
| Type |
string |
モニタリングタスクのタイプ。有効な値:
|
TRACE |
| AppName |
string |
アプリケーション名。 |
test-app |
| UpdateTime |
integer |
モニタリングタスクが更新された時刻。値はタイムスタンプです。単位:ミリ秒。 |
1529667762000 |
| Show |
boolean |
アプリケーションが Application Real-Time Monitoring Service (ARMS) コンソールに表示されるかどうかを示します。有効な値:
|
true |
| CreateTime |
integer |
モニタリングタスクが作成された時刻。値はタイムスタンプです。単位:ミリ秒。 |
1529667762000 |
| Pid |
string |
アプリケーションのプロセス識別子 (PID)。 |
a5f9bdeb-2627-4dbe-9247-**** |
| AppId |
integer |
アプリケーション ID。 |
123 |
| UserId |
string |
ユーザー ID。 |
113197164949**** |
| RegionId |
string |
リージョン ID。 |
cn-hangzhou |
| Labels |
array |
アプリケーションのラベル。 |
|
|
string |
アプリケーションラベルの値。 |
prod |
|
| Tags |
array<object> |
タグ。 |
|
|
object |
|||
| Key |
string |
タグキー。 |
TestKey |
| Value |
string |
タグ値。 |
TestValue |
| ResourceGroupId |
string |
リソースグループ ID。 |
rg-acfmxyexli2**** |
| Source |
string |
アプリケーションソース。 |
ACK |
| WorkloadName |
string |
ワークロード名。 |
nginx-deployment |
| WorkloadKind |
string |
ワークロードのタイプ。 |
Deployment |
| Namespace |
string |
名前空間。 |
default |
| ClusterId |
string |
クラスター ID。 |
cc7a37ee31aea4ed1a059eff8034b**** |
| Language |
string |
言語。 |
PHP |
例
成功レスポンス
JSONJSON
{
"Code": 200,
"Message": "Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.",
"RequestId": "40B10E04-81E8-4643-970D-F1B38F2E****",
"Success": true,
"TraceApps": [
{
"Type": "TRACE",
"AppName": "test-app",
"UpdateTime": 1529667762000,
"Show": true,
"CreateTime": 1529667762000,
"Pid": "a5f9bdeb-2627-4dbe-9247-****",
"AppId": 123,
"UserId": "113197164949****",
"RegionId": "cn-hangzhou",
"Labels": [
"prod"
],
"Tags": [
{
"Key": "TestKey",
"Value": "TestValue"
}
],
"ResourceGroupId": "rg-acfmxyexli2****",
"Source": "ACK",
"WorkloadName": "nginx-deployment ",
"WorkloadKind": "Deployment",
"Namespace": "default",
"ClusterId": "cc7a37ee31aea4ed1a059eff8034b****",
"Language": "PHP"
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 500 | InternalError | 必选参数不能为空 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。