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": 110000000000,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "is_system": true,
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routing_url": "string",
- "histories_url": "string"
}
]
}
アラートプロジェクトを管理するためのAPIエンドポイントです。
is_system | boolean Default: false |
name required | string |
description required | string |
{- "is_system": false,
- "name": "string",
- "description": "string"
}
{- "id": 110000000000,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "is_system": true,
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routing_url": "string",
- "histories_url": "string"
}
アラートプロジェクトを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Alert Project. |
{- "id": 110000000000,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "is_system": true,
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routing_url": "string",
- "histories_url": "string",
- "is_ok": true
}
アラートプロジェクトを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Alert Project. |
name | string <= 256 characters |
description | string <= 256 characters |
{- "name": "string",
- "description": "string"
}
{- "id": 110000000000,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "is_system": true,
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routing_url": "string",
- "histories_url": "string",
- "is_ok": true
}
アラートプロジェクトを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Alert Project. |
name | string <= 256 characters |
description | string <= 256 characters |
{- "name": "string",
- "description": "string"
}
{- "id": 110000000000,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "is_system": true,
- "rules_url": "string",
- "notification_targets_url": "string",
- "notification_routing_url": "string",
- "histories_url": "string",
- "is_ok": true
}
アラートプロジェクト内のアラート履歴を取得するAPIエンドポイントです。
project_pk required | integer |
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": [
- {
- "id": 0,
- "project_id": 0,
- "rule_id": 0,
- "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エンドポイントです。
id required | integer A unique integer value identifying this Alert History. |
project_pk required | integer |
{- "id": 0,
- "project_id": 0,
- "rule_id": 0,
- "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_pk required | integer |
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": [
- {
- "id": 0,
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}
]
}
アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
project_pk required | integer |
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"
}
{- "id": 0,
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}
アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
id required | integer A unique integer value identifying this notification target. |
project_pk required | integer |
{- "id": 0,
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}
アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
id required | integer A unique integer value identifying this notification target. |
project_pk required | integer |
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"
}
{- "id": 0,
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}
アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
id required | integer A unique integer value identifying this notification target. |
project_pk required | integer |
service_type | string Value: "SAKURA_SIMPLE_NOTICE"
|
url | string <= 1024 characters |
description | string <= 100 characters |
{- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "description": "string"
}
{- "id": 0,
- "project_id": 0,
- "service_type": "SAKURA_SIMPLE_NOTICE",
- "url": "string",
- "config": { },
- "description": "string"
}
アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
project_pk required | integer |
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,
- "project_id": 0,
- "tank_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_pk required | integer |
tank_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> |
{- "tank_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
}
{- "id": 0,
- "project_id": 0,
- "tank_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エンドポイントです。
id required | integer A unique integer value identifying this Alert Rule. |
project_pk required | integer |
{- "id": 0,
- "project_id": 0,
- "tank_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エンドポイントです。
id required | integer A unique integer value identifying this Alert Rule. |
project_pk required | integer |
tank_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> |
{- "tank_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
}
{- "id": 0,
- "project_id": 0,
- "tank_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エンドポイントです。
id required | integer A unique integer value identifying this Alert Rule. |
project_pk required | integer |
tank_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> |
{- "tank_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
}
{- "id": 0,
- "project_id": 0,
- "tank_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_pk required | integer |
rule_pk required | integer |
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": [
- {
- "id": 0,
- "project_id": 0,
- "rule_id": 0,
- "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エンドポイントです。
id required | integer A unique integer value identifying this Alert History. |
project_pk required | integer |
rule_pk required | integer |
{- "id": 0,
- "project_id": 0,
- "rule_id": 0,
- "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エンドポイントです。
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,
- "name": "string",
- "description": "string",
- "is_system": true,
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
可視化プロジェクトを管理するためのAPIエンドポイントです。
is_system | boolean Default: false |
name required | string |
description required | string |
{- "is_system": false,
- "name": "string",
- "description": "string"
}
{- "id": 110000000000,
- "name": "string",
- "description": "string",
- "is_system": true,
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "created_at": "2019-08-24T14:15:22Z"
}
可視化プロジェクトを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Dashboard Project. |
{- "id": 110000000000,
- "name": "string",
- "description": "string",
- "is_system": true,
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}
可視化プロジェクトを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Dashboard Project. |
name | string <= 256 characters |
description | string <= 256 characters |
{- "name": "string",
- "description": "string"
}
{- "id": 110000000000,
- "name": "string",
- "description": "string",
- "is_system": true,
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}
可視化プロジェクトを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Dashboard Project. |
name | string <= 256 characters |
description | string <= 256 characters |
{- "name": "string",
- "description": "string"
}
{- "id": 110000000000,
- "name": "string",
- "description": "string",
- "is_system": true,
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "account_id": "string",
- "resource_id": 0,
- "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 |
variant | string |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 110000000000,
- "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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
ログルーティングを管理するためのAPIエンドポイントです。
resource_id | integer or null <int64> |
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,
- "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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}
ログルーティングを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Routing log. |
{- "id": 110000000000,
- "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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}
ログルーティングを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Routing log. |
resource_id | integer or null <int64> |
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,
- "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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}
ログルーティングを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Routing log. |
resource_id | integer or null <int64> |
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,
- "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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_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 |
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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_rules": 0
}
}
]
}
ログストレージを管理するためのAPIエンドポイントです。
classification | string Default: "shared" Enum: "shared" "separated"
|
is_system required | boolean |
name required | string |
description required | string |
{- "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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_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,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "description": "string"
}
]
}
ログストレージのアクセスキーを管理するAPIエンドポイントです。
log_resource_id required | integer <int64> |
description | string <= 256 characters |
{- "description": "string"
}
{- "id": 110000000000,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "description": "string",
- "is_ok": true
}
ログストレージのアクセスキーを管理するAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Logs AccessKey. |
log_resource_id required | integer <int64> |
{- "id": 110000000000,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "description": "string",
- "is_ok": true
}
ログストレージのアクセスキーを管理するAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Logs AccessKey. |
log_resource_id required | integer <int64> |
description | string <= 256 characters |
{- "description": "string"
}
{- "id": 110000000000,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "description": "string",
- "is_ok": true
}
ログストレージのアクセスキーを管理するAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Logs AccessKey. |
log_resource_id required | integer <int64> |
description | string <= 256 characters |
{- "description": "string"
}
{- "id": 110000000000,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_rules": 0
}, - "is_ok": true
}
ログストレージを管理するためのAPIエンドポイントです。
resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
name | string <= 256 characters |
description | string <= 256 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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_rules": 0
}, - "is_ok": true
}
ログストレージを管理するためのAPIエンドポイントです。
resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
name | string <= 256 characters |
description | string <= 256 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": 0,
- "is_system": true,
- "usage": {
- "log_routings": 0,
- "log_recording_rules": 0
}, - "is_ok": true
}
リソース(ログストレージ、メトリクスストレージ)のプロビジョニング(初期化)を行う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 |
variant | string |
{- "count": 123,
- "from": 0,
- "total": 123,
- "is_ok": true,
- "results": [
- {
- "id": 110000000000,
- "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": 0,
- "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_recording_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
メトリクスルーティングを管理するためのAPIエンドポイントです。
resource_id | integer or null <int64> |
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,
- "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": 0,
- "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_recording_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}
メトリクスルーティングを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Routing metric. |
{- "id": 110000000000,
- "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": 0,
- "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_recording_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}
メトリクスルーティングを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Routing metric. |
resource_id | integer or null <int64> |
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,
- "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": 0,
- "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_recording_rules": 0
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_ok": true
}
メトリクスルーティングを管理するためのAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Routing metric. |
resource_id | integer or null <int64> |
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,
- "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": 0,
- "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_recording_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 |
{- "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": 0,
- "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_recording_rules": 0
}
}
]
}
メトリクスストレージを管理するためのAPIエンドポイントです。
name required | string |
description required | string |
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": 0,
- "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_recording_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,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "description": "string"
}
]
}
メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
metrics_resource_id required | integer <int64> |
description | string <= 256 characters |
{- "description": "string"
}
{- "id": 110000000000,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "description": "string",
- "is_ok": true
}
メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Metrics AccessKey. |
metrics_resource_id required | integer <int64> |
{- "id": 110000000000,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "description": "string",
- "is_ok": true
}
メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Metrics AccessKey. |
metrics_resource_id required | integer <int64> |
description | string <= 256 characters |
{- "description": "string"
}
{- "id": 110000000000,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "description": "string",
- "is_ok": true
}
メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
id required | integer <int64> [ 0 .. 999999999999 ] Example: 110000000000 A unique integer value identifying this Metrics AccessKey. |
metrics_resource_id required | integer <int64> |
description | string <= 256 characters |
{- "description": "string"
}
{- "id": 110000000000,
- "secret": "9600ee5d-1c66-4d31-b2c3-97ef4a25d053",
- "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": 0,
- "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_recording_rules": 0
}, - "is_ok": true
}
メトリクスストレージを管理するためのAPIエンドポイントです。
resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
name | string <= 256 characters |
description | string <= 256 characters |
{- "name": "string",
- "description": "string"
}
{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 0,
- "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_recording_rules": 0
}, - "is_ok": true
}
メトリクスストレージを管理するためのAPIエンドポイントです。
resource_id required | integer <int64> (Cloud resource id) [ 0 .. 999999999999 ] Example: 110000000000 |
name | string <= 256 characters |
description | string <= 256 characters |
{- "name": "string",
- "description": "string"
}
{- "id": 0,
- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "icon": {
- "id": "string"
}, - "is_system": true,
- "account_id": "string",
- "resource_id": 0,
- "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_recording_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
}