ベースライン ID に基づいてベースライン構成を取得します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| BaselineId |
integer |
必須 |
ベースラインの ID。 ListBaselines を呼び出して ID を取得できます。 |
123456 |
| ProjectId |
integer |
必須 |
ベースラインによってモニタリングされるワークスペースの ID。 ListBaselines を呼び出して ID を取得できます。 |
10000 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
OpenApiResultModel |
||
| Data |
object |
返されるデータ。 |
|
| AlertEnabled |
boolean |
アラート機能が有効かどうかを示します。有効な値:
|
true |
| AlertMarginThreshold |
integer |
アラートのページの余白のしきい値 (分単位)。 |
60 |
| AlertSettings |
array<object> |
アラート設定。 |
|
|
array<object> |
ベースラインのアラート設定。 |
||
| AlertInterval |
integer |
イベントアラート機能の間隔 (秒単位)。 |
900 |
| AlertMaximum |
integer |
イベントアラート機能通知の最大値。 |
1 |
| AlertMethods |
array |
アラートメソッドのリスト。 |
|
|
string |
アラートメソッド。有効な値:
|
|
|
| AlertRecipient |
string |
アラート受信者の詳細。
|
123123 |
| AlertRecipientType |
string |
アラート受信者のタイプ。有効な値:
|
OWNER |
| AlertType |
string |
アラート機能のタイプ。有効な値:
|
BASELINE |
| BaselineAlertEnabled |
boolean |
ベースラインアラート機能が有効かどうかを指定します。これはベースライン固有の構成です。有効な値:
|
false |
| DingRobots |
array<object> |
DingTalk チャットボットのリスト。 |
|
|
object |
DingTalk チャットボットの構成。 |
||
| AtAll |
boolean |
すべてのメンバーに @ するかどうかを示します。 |
true |
| WebUrl |
string |
DingTalk チャットボットの Webhook URL。 |
https://oapi.dingtalk.com/robot/send?access_token=xxx |
| SilenceEndTime |
string |
HH:mm:ss フォーマットのサイレンス終了時刻。 |
00:00:00 |
| SilenceStartTime |
string |
HH:mm:ss フォーマットのサイレンス開始時刻。 |
00:00:00 |
| TopicSlowConfig |
object |
||
| MinOver |
integer |
3600 |
|
| OverFactor |
number |
0.2 |
|
| TopicTypes |
array |
イベントアラート機能タイプのリスト。これはイベント固有の構成です。 |
|
|
string |
イベントアラート機能タイプ。有効な値:
|
SLOW |
|
| Webhooks |
array |
Webhook のリスト。 |
|
|
string |
WeCom または Lark チャットボットの Webhook URL。複数の Webhook URL はコンマ (,) で区切ります。alertMethods パラメーターには WEBHOOKS アラートメソッドを含める必要があります。DataWorks Enterprise Edition のみがサポートされています。 サポートされているリージョン: 中国 (上海)、中国 (成都)、中国 (張家口)、中国 (北京)、中国 (杭州)、中国 (深セン)、中国 (香港)、ドイツ (フランクフルト)、シンガポール。 |
https://open.feishu.cn/open-apis/bot/v2/hook/xxx |
|
| BaselineId |
integer |
ベースラインの ID。 |
1001 |
| BaselineName |
string |
ベースライン名。 |
テストベースライン |
| BaselineType |
string |
ベースラインのタイプ。有効な値:
|
DAILY |
| Enabled |
boolean |
ベースラインが有効かどうかを示します。 |
true |
| NodeIds |
array |
ベースラインの上流ノードのリスト。 |
|
|
integer |
ノードの ID。 |
700003**** |
|
| OverTimeSettings |
array<object> |
ベースラインの約束時間設定。 |
|
|
object |
モニタリングサイクル。 |
||
| Cycle |
integer |
約束時間に対応するサイクル。日次ベースラインの場合、値は 1 です。時間次ベースラインの場合は最大 24 サイクルまで設定できます。 |
1 |
| Time |
string |
hh:mm フォーマットの約束時間。hh の有効な値は 0 から 47、mm の有効な値は 0 から 59 です。 |
00:00 |
| Owner |
string |
オーナー。 |
9527952**** |
| Priority |
integer |
ベースラインの優先度。有効な値: 1、3、5、7、8。 |
1 |
| ProjectId |
integer |
プロジェクト ID。 |
10000 |
| ErrorCode |
string |
エラーコード。 |
1031203110005 |
| ErrorMessage |
string |
エラーメッセージ。 |
指定されたパラメーターは有効ではありません |
| HttpStatusCode |
integer |
HTTP 状態コード。 |
200 |
| RequestId |
string |
リクエスト ID。 |
ecb967ec-c137-48a5-860**** |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
例
成功レスポンス
JSONJSON
{
"Data": {
"AlertEnabled": true,
"AlertMarginThreshold": 60,
"AlertSettings": [
{
"AlertInterval": 900,
"AlertMaximum": 1,
"AlertMethods": [
"MAIL"
],
"AlertRecipient": "123123",
"AlertRecipientType": "OWNER",
"AlertType": "BASELINE",
"BaselineAlertEnabled": false,
"DingRobots": [
{
"AtAll": true,
"WebUrl": "https://oapi.dingtalk.com/robot/send?access_token=xxx"
}
],
"SilenceEndTime": "00:00:00",
"SilenceStartTime": "00:00:00",
"TopicSlowConfig": {
"MinOver": 3600,
"OverFactor": 0.2
},
"TopicTypes": [
"SLOW"
],
"Webhooks": [
"https://open.feishu.cn/open-apis/bot/v2/hook/xxx"
]
}
],
"BaselineId": 1001,
"BaselineName": "テストベースライン",
"BaselineType": "DAILY",
"Enabled": true,
"NodeIds": [
0
],
"OverTimeSettings": [
{
"Cycle": 1,
"Time": "00:00"
}
],
"Owner": "9527952****",
"Priority": 1,
"ProjectId": 10000
},
"ErrorCode": "1031203110005",
"ErrorMessage": "指定されたパラメーターは有効ではありません",
"HttpStatusCode": 200,
"RequestId": "ecb967ec-c137-48a5-860****",
"Success": true
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。