Download OpenAPI specification:Download
「モニタリングスイート」が提供するAPIの利用方法とサンプルを公開しております。
APIを利用するためには、認証のための「APIキー」が必要です。事前にキーを発行しておきます。 APIキーは「ユーザーID」「パスワード」に相当する「トークン」と呼ばれる認証情報で構成されています。
| 項目名 | APIキー発行時の項目名 | このドキュメント内での例 |
|---|---|---|
| ユーザーID | アクセストークン(UUID) | 01234567-89ab-cdef-0123-456789abcdef |
| パスワード | アクセストークンシークレット | SAMPLETOKENSAMPLETOKENSAMPLETOKENSAM |
APIの入力には送信先URLに対して、いくつかのヘッダーとAPIキーを送信します。
# 入力サンプル
curl -u '01234567-89ab-cdef-0123-456789abcdef:SAMPLETOKENSAMPLETOKENSAMPLETOKENSAM' \
-X GET \
'https://secure.sakura.ad.jp/cloud/zone/is1a/api/monitoring/1.0/logs/storages/'
APIからの結果は、「応答コード(HTTPステータスコード)」と、「JSON形式(UTF-8)の結果」として出力されます。
応答コードは、リクエストが成功したのか、失敗したのか大まかな情報を判断することができるもので、例えば失敗したときには、なぜこのような結果になったのかなど、具体的な情報は応答コードと主に返された本文を見ることで把握することができます。
| 結果 | 応答コード/status |
|---|---|
| 成功(要求を受け付けた) | 2xx |
| 失敗(要求が受け付けられなかった) | 4xx, 5xx |
アラートプロジェクトを管理するためのAPIエンドポイントです。
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z",
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routings_url": "string",
- "histories_url": "string",
- "log_measure_rules_url": "string"
}
]
}アラートプロジェクトを管理するためのAPIエンドポイントです。
| name required | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z",
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routings_url": "string",
- "histories_url": "string",
- "log_measure_rules_url": "string"
}アラートプロジェクト内のアラート履歴を取得するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| open | boolean |
| severity | string Enum: "critical" "warning"
|
| startsAt | string <date-time> |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "rule_uid": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "open": true,
- "labels": "string",
- "severity": "warning",
- "query": "string",
- "threshold": "string",
- "value": 0
}
]
}アラートプロジェクト内のアラート履歴を取得するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "rule_uid": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "open": true,
- "labels": "string",
- "severity": "warning",
- "query": "string",
- "threshold": "string",
- "value": 0
}ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| log_storage_id | integer <int64> |
| metrics_storage_id | integer <int64> |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "name": "string",
- "description": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "rule": {
- "version": "v1",
- "query": {
- "matchers": [
- {
- "type": "or",
- "matchers": [
- null
]
}
]
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| name | string <= 256 characters ^[a-z\d_-]*$ |
| description | string <= 256 characters |
| log_storage_id required | integer or null <int64> (Cloud resource id) |
| metrics_storage_id required | integer or null <int64> (Cloud resource id) |
required | object (LogMeasureRuleModel) |
{- "name": "string",
- "description": "string",
- "log_storage_id": 0,
- "metrics_storage_id": 0,
- "rule": {
- "version": "v1",
- "query": {
- "matchers": [
- {
- "type": "or",
- "matchers": [
- null
]
}
]
}
}
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "name": "string",
- "description": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "rule": {
- "version": "v1",
- "query": {
- "matchers": [
- {
- "type": "or",
- "matchers": [
- null
]
}
]
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "name": "string",
- "description": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "rule": {
- "version": "v1",
- "query": {
- "matchers": [
- {
- "type": "or",
- "matchers": [
- null
]
}
]
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
| name | string <= 256 characters ^[a-z\d_-]*$ |
| description | string <= 256 characters |
| log_storage_id required | integer or null <int64> (Cloud resource id) |
| metrics_storage_id required | integer or null <int64> (Cloud resource id) |
required | object (LogMeasureRuleModel) |
{- "name": "string",
- "description": "string",
- "log_storage_id": 0,
- "metrics_storage_id": 0,
- "rule": {
- "version": "v1",
- "query": {
- "matchers": [
- {
- "type": "or",
- "matchers": [
- null
]
}
]
}
}
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "name": "string",
- "description": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "rule": {
- "version": "v1",
- "query": {
- "matchers": [
- {
- "type": "or",
- "matchers": [
- null
]
}
]
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
| name | string <= 256 characters ^[a-z\d_-]*$ |
| description | string <= 256 characters |
| log_storage_id | integer or null <int64> (Cloud resource id) |
| metrics_storage_id | integer or null <int64> (Cloud resource id) |
object (LogMeasureRuleModel) |
{- "name": "string",
- "description": "string",
- "log_storage_id": 0,
- "metrics_storage_id": 0,
- "rule": {
- "version": "v1",
- "query": {
- "matchers": [
- {
- "type": "or",
- "matchers": [
- null
]
}
]
}
}
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "name": "string",
- "description": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "rule": {
- "version": "v1",
- "query": {
- "matchers": [
- {
- "type": "or",
- "matchers": [
- null
]
}
]
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| target | integer |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "notification_target": {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}, - "match_labels": [
- {
- "name": "string",
- "value": "string"
}
], - "resend_interval_minutes": 720,
- "order": 0
}
]
}アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| notification_target_uid required | string <uuid> |
required | Array of objects (MatchLabelsItem) |
| resend_interval_minutes | integer [ 0 .. 720 ] |
{- "notification_target_uid": "2c6152ba-25e1-4492-b8cf-53a696544cc6",
- "match_labels": [
- {
- "name": "string",
- "value": "string"
}
], - "resend_interval_minutes": 720
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "notification_target": {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}, - "match_labels": [
- {
- "name": "string",
- "value": "string"
}
], - "resend_interval_minutes": 720,
- "order": 0
}アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "notification_target": {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}, - "match_labels": [
- {
- "name": "string",
- "value": "string"
}
], - "resend_interval_minutes": 720,
- "order": 0
}アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
| notification_target_uid required | string <uuid> |
required | Array of objects (MatchLabelsItem) |
| resend_interval_minutes | integer [ 0 .. 720 ] |
{- "notification_target_uid": "2c6152ba-25e1-4492-b8cf-53a696544cc6",
- "match_labels": [
- {
- "name": "string",
- "value": "string"
}
], - "resend_interval_minutes": 720
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "notification_target": {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}, - "match_labels": [
- {
- "name": "string",
- "value": "string"
}
], - "resend_interval_minutes": 720,
- "order": 0
}アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
| notification_target_uid | string <uuid> |
Array of objects (MatchLabelsItem) | |
| resend_interval_minutes | integer [ 0 .. 720 ] |
{- "notification_target_uid": "2c6152ba-25e1-4492-b8cf-53a696544cc6",
- "match_labels": [
- {
- "name": "string",
- "value": "string"
}
], - "resend_interval_minutes": 720
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "notification_target": {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}, - "match_labels": [
- {
- "name": "string",
- "value": "string"
}
], - "resend_interval_minutes": 720,
- "order": 0
}アラートプロジェクト内の通知ルーティングの並び順を一括変更するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| notification_routing_uid required | string <uuid> |
| order required | integer >= 1 |
[- {
- "notification_routing_uid": "f1de6d92-e5fe-45bb-b519-99f07aefad1a",
- "order": 1
}
]アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| service_type | string Value: "SAKURA_SIMPLE_NOTICE"
|
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}
]
}アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| service_type required | string Value: "SAKURA_SIMPLE_NOTICE"
|
| url required | string <= 1024 characters |
| description | string <= 100 characters |
{- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "description": "string"
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
| service_type required | string Value: "SAKURA_SIMPLE_NOTICE"
|
| url required | string <= 1024 characters |
| description | string <= 100 characters |
{- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "description": "string"
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
| service_type | string Value: "SAKURA_SIMPLE_NOTICE"
|
| url | string <= 1024 characters |
| description | string <= 100 characters |
{- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "description": "string"
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "metrics_storage_id": 0,
- "name": "string",
- "query": "string",
- "format": "string",
- "template": "string",
- "open": true,
- "enabled_warning": true,
- "enabled_critical": true,
- "threshold_warning": "string",
- "threshold_critical": "string",
- "threshold_duration_warning": 0,
- "threshold_duration_critical": 0,
- "history_url": "string"
}
]
}アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| metrics_storage_id required | integer or null <int64> (Cloud resource id) |
| name | string <= 256 characters |
| query required | string <= 4096 characters |
| format | string <= 256 characters |
| template | string <= 256 characters |
| enabled_warning | boolean (Enabled) |
| enabled_critical | boolean |
| threshold_warning | string or null <= 256 characters |
| threshold_critical | string or null <= 256 characters |
| threshold_duration_warning | integer <int64> (Threshold duration) |
| threshold_duration_critical | integer <int64> |
{- "metrics_storage_id": 0,
- "name": "string",
- "query": "string",
- "format": "string",
- "template": "string",
- "enabled_warning": true,
- "enabled_critical": true,
- "threshold_warning": "string",
- "threshold_critical": "string",
- "threshold_duration_warning": 0,
- "threshold_duration_critical": 0
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "metrics_storage_id": 0,
- "name": "string",
- "query": "string",
- "format": "string",
- "template": "string",
- "open": true,
- "enabled_warning": true,
- "enabled_critical": true,
- "threshold_warning": "string",
- "threshold_critical": "string",
- "threshold_duration_warning": 0,
- "threshold_duration_critical": 0,
- "history_url": "string"
}ルール内のアラート履歴を取得するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| rule_uid required | string <uuid> |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| open | boolean |
| severity | string Enum: "critical" "warning"
|
| startsAt | string <date-time> |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "rule_uid": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "open": true,
- "labels": "string",
- "severity": "warning",
- "query": "string",
- "threshold": "string",
- "value": 0
}
]
}ルール内のアラート履歴を取得するAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| rule_uid required | string <uuid> |
| uid required | string <uuid> |
{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "rule_uid": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "open": true,
- "labels": "string",
- "severity": "warning",
- "query": "string",
- "threshold": "string",
- "value": 0
}アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "metrics_storage_id": 0,
- "name": "string",
- "query": "string",
- "format": "string",
- "template": "string",
- "open": true,
- "enabled_warning": true,
- "enabled_critical": true,
- "threshold_warning": "string",
- "threshold_critical": "string",
- "threshold_duration_warning": 0,
- "threshold_duration_critical": 0,
- "history_url": "string"
}アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
| metrics_storage_id required | integer or null <int64> (Cloud resource id) |
| name | string <= 256 characters |
| query required | string <= 4096 characters |
| format | string <= 256 characters |
| template | string <= 256 characters |
| enabled_warning | boolean (Enabled) |
| enabled_critical | boolean |
| threshold_warning | string or null <= 256 characters |
| threshold_critical | string or null <= 256 characters |
| threshold_duration_warning | integer <int64> (Threshold duration) |
| threshold_duration_critical | integer <int64> |
{- "metrics_storage_id": 0,
- "name": "string",
- "query": "string",
- "format": "string",
- "template": "string",
- "enabled_warning": true,
- "enabled_critical": true,
- "threshold_warning": "string",
- "threshold_critical": "string",
- "threshold_duration_warning": 0,
- "threshold_duration_critical": 0
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "metrics_storage_id": 0,
- "name": "string",
- "query": "string",
- "format": "string",
- "template": "string",
- "open": true,
- "enabled_warning": true,
- "enabled_critical": true,
- "threshold_warning": "string",
- "threshold_critical": "string",
- "threshold_duration_warning": 0,
- "threshold_duration_critical": 0,
- "history_url": "string"
}アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
| project_resource_id required | integer <int64> |
| uid required | string <uuid> |
| metrics_storage_id | integer or null <int64> (Cloud resource id) |
| name | string <= 256 characters |
| query | string <= 4096 characters |
| format | string <= 256 characters |
| template | string <= 256 characters |
| enabled_warning | boolean (Enabled) |
| enabled_critical | boolean |
| threshold_warning | string or null <= 256 characters |
| threshold_critical | string or null <= 256 characters |
| threshold_duration_warning | integer <int64> (Threshold duration) |
| threshold_duration_critical | integer <int64> |
{- "metrics_storage_id": 0,
- "name": "string",
- "query": "string",
- "format": "string",
- "template": "string",
- "enabled_warning": true,
- "enabled_critical": true,
- "threshold_warning": "string",
- "threshold_critical": "string",
- "threshold_duration_warning": 0,
- "threshold_duration_critical": 0
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "project_id": 0,
- "metrics_storage_id": 0,
- "name": "string",
- "query": "string",
- "format": "string",
- "template": "string",
- "open": true,
- "enabled_warning": true,
- "enabled_critical": true,
- "threshold_warning": "string",
- "threshold_critical": "string",
- "threshold_duration_warning": 0,
- "threshold_duration_critical": 0,
- "history_url": "string"
}アラートプロジェクトを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z",
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routings_url": "string",
- "histories_url": "string",
- "log_measure_rules_url": "string",
- "is_ok": true
}アラートプロジェクトを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z",
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routings_url": "string",
- "histories_url": "string",
- "log_measure_rules_url": "string",
- "is_ok": true
}アラートプロジェクトを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z",
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routings_url": "string",
- "histories_url": "string",
- "log_measure_rules_url": "string",
- "is_ok": true
}ダッシュボードを管理するためのAPIエンドポイントです。
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z"
}
]
}ダッシュボードを管理するためのAPIエンドポイントです。
| name required | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z"
}ダッシュボードを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}ダッシュボードを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}ダッシュボードを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 110000000000,
- "created_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}ログルーティングを管理するためのAPIエンドポイントです。
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| publisher__code | string |
| resource_id | integer <int64> Log storage resource id |
| variant | string |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}ログルーティングを管理するためのAPIエンドポイントです。
| resource_id | integer or null <int64> 対象リソースのID |
| publisher_code required | string |
| variant required | string |
| log_storage_id required | integer or null <int64> (Cloud resource id) |
{- "resource_id": 0,
- "publisher_code": "string",
- "variant": "string",
- "log_storage_id": 0
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}ログルーティングを管理するためのAPIエンドポイントです。
| uid required | string <uuid> |
| resource_id | integer or null <int64> 対象リソースのID |
| publisher_code required | string |
| variant required | string |
| log_storage_id required | integer or null <int64> (Cloud resource id) |
{- "resource_id": 0,
- "publisher_code": "string",
- "variant": "string",
- "log_storage_id": 0
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}ログルーティングを管理するためのAPIエンドポイントです。
| uid required | string <uuid> |
| resource_id | integer or null <int64> 対象リソースのID |
| publisher_code | string |
| variant | string |
| log_storage_id | integer or null <int64> (Cloud resource id) |
{- "resource_id": 0,
- "publisher_code": "string",
- "variant": "string",
- "log_storage_id": 0
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "log_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}ログストレージを管理するためのAPIエンドポイントです。
| account_id | string |
| bucket__classification | string Enum: "separated" "shared"
|
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| is_system | boolean Is system |
| resource_id | integer <int64> |
| status | string Enum: "assigned" "deleted" "free" "init"
|
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}
]
}ログストレージを管理するためのAPIエンドポイントです。
| classification | string Default: "shared" Enum: "shared" "separated"
|
| is_system required | boolean |
| name required | string <= 64 characters |
| description | string <= 512 characters |
{- "classification": "shared",
- "is_system": true,
- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}
}ログストレージのアクセスキーを管理するAPIエンドポイントです。
| log_resource_id required | integer <int64> |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string"
}
]
}ログストレージのアクセスキーを管理するAPIエンドポイントです。
| log_resource_id required | integer <int64> |
| description | string <= 256 characters |
{- "description": "string"
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string",
- "is_ok": true
}ログストレージのアクセスキーを管理するAPIエンドポイントです。
| log_resource_id required | integer <int64> |
| uid required | string <uuid> |
{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string",
- "is_ok": true
}ログストレージのアクセスキーを管理するAPIエンドポイントです。
| log_resource_id required | integer <int64> |
| uid required | string <uuid> |
| description | string <= 256 characters |
{- "description": "string"
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string",
- "is_ok": true
}ログストレージのアクセスキーを管理するAPIエンドポイントです。
| log_resource_id required | integer <int64> |
| uid required | string <uuid> |
| description | string <= 256 characters |
{- "description": "string"
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string",
- "is_ok": true
}ログストレージを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}, - "is_ok": true
}ログストレージを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
| expire_day | integer <int64> |
{- "name": "string",
- "description": "string",
- "expire_day": 0
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}, - "is_ok": true
}ログストレージを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
| expire_day | integer <int64> |
{- "name": "string",
- "description": "string",
- "expire_day": 0
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "expire_day": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_measure_rules": 0
}, - "is_ok": true
}{- "logs": {
- "max_user_count": 0
}, - "metrics": {
- "max_user_count": 0
}, - "traces": {
- "max_user_count": 0
}, - "alerts": {
- "max_user_count": 0
}, - "dashboards": {
- "max_user_count": 0
}
}リソース(ログストレージ、メトリクスストレージ)のプロビジョニング(初期化)を行うAPIエンドポイントです。指定した種別のリソースが存在しない場合のみ作成を行います。既存のリソースは変更されません。
object (ProvisioningExist) | |
object (ProvisioningExist) |
{- "logs": {
- "system_exist": true,
- "user_exist": true
}, - "metrics": {
- "system_exist": true,
- "user_exist": true
}
}{- "logs": {
- "system_exist": true,
- "user_exist": true
}, - "metrics": {
- "system_exist": true,
- "user_exist": true
}
}メトリクスルーティングを管理するためのAPIエンドポイントです。
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| publisher__code | string |
| resource_id | integer <int64> Metrics storage resource id |
| variant | string |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}メトリクスルーティングを管理するためのAPIエンドポイントです。
| resource_id | integer or null <int64> 対象リソースのID |
| publisher_code required | string |
| variant required | string |
| metrics_storage_id required | integer or null <int64> (Cloud resource id) |
{- "resource_id": 0,
- "publisher_code": "string",
- "variant": "string",
- "metrics_storage_id": 0
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}メトリクスルーティングを管理するためのAPIエンドポイントです。
| uid required | string <uuid> |
{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}メトリクスルーティングを管理するためのAPIエンドポイントです。
| uid required | string <uuid> |
| resource_id | integer or null <int64> 対象リソースのID |
| publisher_code required | string |
| variant required | string |
| metrics_storage_id required | integer or null <int64> (Cloud resource id) |
{- "resource_id": 0,
- "publisher_code": "string",
- "variant": "string",
- "metrics_storage_id": 0
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}メトリクスルーティングを管理するためのAPIエンドポイントです。
| uid required | string <uuid> |
| resource_id | integer or null <int64> 対象リソースのID |
| publisher_code | string |
| variant | string |
| metrics_storage_id | integer or null <int64> (Cloud resource id) |
{- "resource_id": 0,
- "publisher_code": "string",
- "variant": "string",
- "metrics_storage_id": 0
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "resource_id": 0,
- "publisher": {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}, - "variant": "string",
- "metrics_storage": {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}メトリクスストレージを管理するためのAPIエンドポイントです。
| account_id | string |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| is_system | boolean Is system |
| resource_id | integer <int64> |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}
]
}メトリクスストレージを管理するためのAPIエンドポイントです。
| name required | string <= 64 characters |
| description | string <= 512 characters |
| is_system required | boolean |
{- "name": "string",
- "description": "string",
- "is_system": true
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}
}メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
| metrics_resource_id required | integer <int64> |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string"
}
]
}メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
| metrics_resource_id required | integer <int64> |
| description | string <= 256 characters |
{- "description": "string"
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string",
- "is_ok": true
}メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
| metrics_resource_id required | integer <int64> |
| uid required | string <uuid> |
{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string",
- "is_ok": true
}メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
| metrics_resource_id required | integer <int64> |
| uid required | string <uuid> |
| description | string <= 256 characters |
{- "description": "string"
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string",
- "is_ok": true
}メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
| metrics_resource_id required | integer <int64> |
| uid required | string <uuid> |
| description | string <= 256 characters |
{- "description": "string"
}{- "id": 110000000000,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "token": "string",
- "description": "string",
- "is_ok": true
}メトリクスストレージを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}, - "is_ok": true
}メトリクスストレージを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}, - "is_ok": true
}メトリクスストレージを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 110000000000,
- "endpoints": {
- "address": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage": {
- "metrics_routings": 0,
- "alert_rules": 0,
- "log_measure_rules": 0
}, - "is_ok": true
}連携サービス情報を取得するAPIエンドポイントです。
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
]
}
]
}{- "code": "string",
- "description": "string",
- "variants": [
- {
- "name": "string",
- "label": "string",
- "storage": "metrics",
- "system": "disallow",
- "metrics_prefix": "string"
}
], - "is_ok": true
}トレースストレージを管理するためのAPIエンドポイントです。
| account_id | string |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
| log_storage__bucket__classification | string Enum: "separated" "shared"
|
| resource_id | integer <int64> |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "retention_period_days": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000
}
]
}トレースストレージを管理するためのAPIエンドポイントです。
| classification | string Default: "shared" Enum: "shared" "separated"
|
| name required | string <= 64 characters |
| description | string <= 512 characters |
{- "classification": "shared",
- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "retention_period_days": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000
}トレースストレージを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "retention_period_days": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_ok": true
}トレースストレージを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "retention_period_days": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_ok": true
}トレースストレージを管理するためのAPIエンドポイントです。
| resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
| name | string <= 64 characters |
| description | string <= 512 characters |
{- "name": "string",
- "description": "string"
}{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "retention_period_days": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "endpoints": {
- "ingester": {
- "address": "string",
- "insecure": true
}
}, - "account_id": "string",
- "resource_id": 110000000000,
- "is_ok": true
}トレースストレージのアクセスキーを管理するAPIエンドポイントです。
| trace_resource_id required | integer <int64> |
| count | integer Number of results to return per page. |
| from | integer The initial index from which to return the results. |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "string",
- "token": "string",
- "description": "string"
}
]
}トレースストレージのアクセスキーを管理するAPIエンドポイントです。
| trace_resource_id required | integer <int64> |
| description | string <= 256 characters |
{- "description": "string"
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "string",
- "token": "string",
- "description": "string",
- "is_ok": true
}トレースストレージのアクセスキーを管理するAPIエンドポイントです。
| trace_resource_id required | integer <int64> |
| uid required | string <uuid> |
{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "string",
- "token": "string",
- "description": "string",
- "is_ok": true
}トレースストレージのアクセスキーを管理するAPIエンドポイントです。
| trace_resource_id required | integer <int64> |
| uid required | string <uuid> |
| description | string <= 256 characters |
{- "description": "string"
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "string",
- "token": "string",
- "description": "string",
- "is_ok": true
}トレースストレージのアクセスキーを管理するAPIエンドポイントです。
| trace_resource_id required | integer <int64> |
| uid required | string <uuid> |
| description | string <= 256 characters |
{- "description": "string"
}{- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "secret": "string",
- "token": "string",
- "description": "string",
- "is_ok": true
}