ベースラインのリストをクエリします。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| PageNumber |
integer |
必須 |
ページ番号。有効な値:1~30。デフォルト値:1。 |
1 |
| PageSize |
integer |
必須 |
1 ページあたりのエントリ数。有効な値:1~100。デフォルト値:10。 |
10 |
| Owner |
string |
任意 |
ベースラインのオーナーが使用する Alibaba Cloud アカウントの ID。 |
95279527**** |
| ProjectId |
integer |
必須 |
ワークスペース ID。ListProjects 操作を呼び出して ID をクエリできます。 |
1234 |
| Priority |
string |
任意 |
ベースラインの優先度。有効な値:{1,3,5,7,8}。複数の優先度を指定する場合は、コンマ (,) で区切ります。 |
1,3,5,7,8 |
| Useflag |
boolean |
任意 |
ベースラインを有効にするかどうかを指定します。有効な値:true および false。 |
true |
| BaselineTypes |
string |
任意 |
ベースラインのタイプ。有効な値:DAILY および HOURLY。複数のベースラインタイプを指定する場合は、コンマ (,) で区切ります。 |
DAILY,HOURLY |
| SearchText |
string |
任意 |
ベースラインの検索に使用する、ベースライン名に含まれるキーワード。 |
Baseline name search keywords |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| HttpStatusCode |
integer |
HTTP ステータスコード。 |
200 |
| RequestId |
string |
リクエスト ID。 |
0000-ABCD-EFG**** |
| ErrorMessage |
string |
エラーメッセージ。 |
The specified parameters are invalid. |
| ErrorCode |
string |
エラーコード。 |
1031203110005 |
| Success |
boolean |
リクエストが成功したかどうかを示します。 |
true |
| Data |
object |
返されたデータ。 |
|
| PageNumber |
integer |
ページ番号。 |
1 |
| PageSize |
integer |
1 ページあたりのエントリ数。 |
10 |
| TotalCount |
integer |
返されたベースラインの総数。 |
100 |
| Baselines |
array<object> |
ベースライン。 |
|
|
object |
返された結果。 |
||
| HourSlaDetail |
string |
時間単位のベースラインのコミットされた完了時間。このパラメーターは、JSON 形式のキーと値のペアで表されます。キーはサイクルの ID を示し、値は hh:mm 形式で表されます。hh の有効な値:[0,47]。mm の有効な値:[0,59]。 |
{"1":"03:58","2":"04:58","3":"05:58","4":"06:58","5":"07:58","6":"08:58","7":"09:58","8":"10:58","9":"11:58","10":"12:58","11":"13:58","12":"14:58","13":"15:58","14":"16:58","15":"17:58","16":"18:58","17":"19:58","18":"20:58","19":"21:58","20":"22:58","21":"23:58","22":"24:58","23":"25:58","24":"26:58"} |
| IsDefault |
boolean |
ベースラインがワークスペースのデフォルトのベースラインであるかどうかを示します。有効な値:true および false。 |
true |
| Owner |
string |
ベースラインのオーナーが使用する Alibaba Cloud アカウントの ID。複数の ID を指定できます。ID はコンマ (,) で区切ります。 |
952795**** |
| ProjectId |
integer |
ベースラインが属するワークスペースの ID。 |
100001 |
| Priority |
integer |
ベースラインの優先度。有効な値:{1,3,5,7,8}。 |
1 |
| SlaMinu |
integer |
日次ベースラインのアラート時間の分。有効な値:[0, 59]。 |
30 |
| SlaHour |
integer |
日次ベースラインのコミットされた完了時間の時。有効な値:[0, 47]。 |
9 |
| BaselineId |
integer |
ベースライン ID。 |
1234 |
| BaselineName |
string |
ベースラインの名前。 |
Baseline name |
| HourExpDetail |
string |
時間単位のベースラインのアラート時間。このパラメーターは、JSON 形式のキーと値のペアで表されます。キーはサイクルの ID を示し、値は hh:mm 形式で表されます。hh の有効な値:[0,47]。mm の有効な値:[0,59]。 |
{"1":"03:28","2":"04:28","3":"05:28","4":"06:28","5":"07:28","6":"08:28","7":"09:28","8":"10:28","9":"11:28","10":"12:28","11":"13:28","12":"14:28","13":"15:28","14":"16:28","15":"17:28","16":"18:28","17":"19:28","18":"20:28","19":"21:28","20":"22:28","21":"23:28","22":"24:28","23":"25:28","24":"26:28"} |
| UseFlag |
boolean |
ベースラインが有効かどうかを示します。有効な値:true および false。 |
true |
| ExpHour |
integer |
日次ベースラインのアラート時間の時。有効な値:[0, 47]。 |
7 |
| BaselineType |
string |
ベースラインのタイプ。有効な値:DAILY および HOURLY。 |
DAILY |
| ExpMinu |
integer |
日次ベースラインのアラート時間の分。有効な値:[0, 59]。 |
30 |
例
成功レスポンス
JSONJSON
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": "1031203110005",
"Success": true,
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"Baselines": [
{
"HourSlaDetail": "{\"1\":\"03:58\",\"2\":\"04:58\",\"3\":\"05:58\",\"4\":\"06:58\",\"5\":\"07:58\",\"6\":\"08:58\",\"7\":\"09:58\",\"8\":\"10:58\",\"9\":\"11:58\",\"10\":\"12:58\",\"11\":\"13:58\",\"12\":\"14:58\",\"13\":\"15:58\",\"14\":\"16:58\",\"15\":\"17:58\",\"16\":\"18:58\",\"17\":\"19:58\",\"18\":\"20:58\",\"19\":\"21:58\",\"20\":\"22:58\",\"21\":\"23:58\",\"22\":\"24:58\",\"23\":\"25:58\",\"24\":\"26:58\"}",
"IsDefault": true,
"Owner": "952795****",
"ProjectId": 100001,
"Priority": 1,
"SlaMinu": 30,
"SlaHour": 9,
"BaselineId": 1234,
"BaselineName": "Baseline name",
"HourExpDetail": "{\"1\":\"03:28\",\"2\":\"04:28\",\"3\":\"05:28\",\"4\":\"06:28\",\"5\":\"07:28\",\"6\":\"08:28\",\"7\":\"09:28\",\"8\":\"10:28\",\"9\":\"11:28\",\"10\":\"12:28\",\"11\":\"13:28\",\"12\":\"14:28\",\"13\":\"15:28\",\"14\":\"16:28\",\"15\":\"17:28\",\"16\":\"18:28\",\"17\":\"19:28\",\"18\":\"20:28\",\"19\":\"21:28\",\"20\":\"22:28\",\"21\":\"23:28\",\"22\":\"24:28\",\"23\":\"25:28\",\"24\":\"26:28\"}",
"UseFlag": true,
"ExpHour": 7,
"BaselineType": "DAILY",
"ExpMinu": 30
}
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | |
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。