openapi: 3.0.3
info:
  title: モニタリングスイート API ドキュメント
  version: 1.3.0
  description: |2

    ---
    「モニタリングスイート」が提供するAPIの利用方法とサンプルを公開しております。
    # 基本的な使い方
    ## APIキーの発行
    APIを利用するためには、認証のための「APIキー」が必要です。事前にキーを発行しておきます。
    APIキーは「ユーザーID」「パスワード」に相当する「トークン」と呼ばれる認証情報で構成されています。
    |   項目名   | APIキー発行時の項目名        | このドキュメント内での例             |
    |------------|------------------------------|--------------------------------------|
    | ユーザーID | アクセストークン(UUID)       | 01234567-89ab-cdef-0123-456789abcdef |
    | パスワード | アクセストークンシークレット | SAMPLETOKENSAMPLETOKENSAMPLETOKENSAM |
    <div class="warning">
      <b>操作マニュアル</b><br />
      <ul><li><a href="https://manual.sakura.ad.jp/cloud/api/apikey.html">APIキー | さくらのクラウド ドキュメント</a></li></ul>
    </div>

    ## 入力パラメータ

    APIの入力には送信先URLに対して、いくつかのヘッダーとAPIキーを送信します。

    * 認証方式はHTTP Basic認証です。APIキーのアクセストークンをユーザーID、アクセストークンシークレットをパスワードとして指定します。
    * 常にリクエストのHTTPヘッダに `X-Sakura-Bigint-As-Int: 1` を付与してください。ヘッダが未指定の場合、一部のフィールドがこのドキュメントと異なる型でレスポンスされる場合があります。

    ```
    # 入力サンプル
    curl \
      -u '01234567-89ab-cdef-0123-456789abcdef:SAMPLETOKENSAMPLETOKENSAMPLETOKENSAM' \
      -H 'X-Sakura-Bigint-As-Int: 1' \
      -X GET \
      'https://secure.sakura.ad.jp/cloud/zone/is1a/api/monitoring/1.0/logs/storages/'
    ```

    ## 出力結果と応答コード（HTTPステータスコード）

    APIからの結果は、「応答コード（HTTPステータスコード）」と、「JSON形式(UTF-8)の結果」として出力されます。

    応答コードは、リクエストが成功したのか、失敗したのか大まかな情報を判断することができるもので、例えば失敗したときには、なぜこのような結果になったのかなど、具体的な情報は応答コードと主に返された本文を見ることで把握することができます。

    | 結果                                | 応答コード/status   |
    |-------------------------------------|---------------------|
    | 成功（要求を受け付けた）             | 2xx                 |
    | 失敗（要求が受け付けられなかった）  | 4xx, 5xx            |
  contact:
    name: SAKURA internet Inc.
  license:
    name: Copyright(C) SAKURA internet Inc. all rights reserved.
paths:
  /alerts/projects/:
    get:
      operationId: listAlertProjects
      description: アラートプロジェクトを管理するためのAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAlertProjectList'
          description: ''
      summary: アラートプロジェクト一覧取得API
    post:
      operationId: createAlertProject
      description: アラートプロジェクトを管理するためのAPIエンドポイントです。
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertProjectCreateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AlertProjectCreateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AlertProjectCreateRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertProject'
          description: ''
      summary: アラートプロジェクト作成API
  /alerts/projects/{projectResourceId}/histories/:
    get:
      operationId: listAlertProjectHistories
      description: アラートプロジェクト内のアラート履歴を取得するAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: open
        schema:
          type: boolean
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: query
        name: severity
        schema:
          type: string
          x-spec-enum-id: eb2a007069bad0df
          enum:
          - critical
          - warning
        description: |-
          * `warning` - Warning
          * `critical` - Critical
      - in: query
        name: startsAt
        schema:
          type: string
          format: date-time
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedHistoryList'
          description: ''
      summary: プロジェクトのアラート履歴一覧取得API
  /alerts/projects/{projectResourceId}/histories/{uid}/:
    get:
      operationId: readAlertProjectHistory
      description: アラートプロジェクト内のアラート履歴を取得するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/History'
          description: ''
      summary: プロジェクトのアラート履歴詳細取得API
  /alerts/projects/{projectResourceId}/log-measure-rules/:
    get:
      operationId: listAlertProjectLogMeasureRules
      description: ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: log_storage_id
        schema:
          type: integer
          format: int64
      - in: query
        name: metrics_storage_id
        schema:
          type: integer
          format: int64
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedLogMeasureRuleList'
          description: ''
      summary: ログ計測ルール一覧取得API
    post:
      operationId: createAlertProjectLogMeasureRule
      description: ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogMeasureRuleRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LogMeasureRuleRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LogMeasureRuleRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogMeasureRule'
          description: ''
      summary: ログ計測ルール作成API
  /alerts/projects/{projectResourceId}/log-measure-rules/{uid}/:
    get:
      operationId: readAlertProjectLogMeasureRule
      description: ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogMeasureRule'
          description: ''
      summary: ログ計測ルール詳細取得API
    put:
      operationId: updateAlertProjectLogMeasureRule
      description: ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogMeasureRuleRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LogMeasureRuleRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LogMeasureRuleRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogMeasureRule'
          description: ''
      summary: ログ計測ルール更新API
    patch:
      operationId: patchAlertProjectLogMeasureRule
      description: ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedLogMeasureRuleRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedLogMeasureRuleRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedLogMeasureRuleRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogMeasureRule'
          description: ''
      summary: ログ計測ルール部分更新API
    delete:
      operationId: deleteAlertProjectLogMeasureRule
      description: ログベースメトリクスのための記録ルールを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '204':
          description: No response body
      summary: ログ計測ルール削除API
  /alerts/projects/{projectResourceId}/notification-routings/:
    get:
      operationId: listAlertProjectNotificationRoutings
      description: アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: query
        name: target
        schema:
          type: integer
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedNotificationRoutingList'
          description: ''
      summary: 通知ルーティング一覧取得API
    post:
      operationId: createAlertProjectNotificationRouting
      description: アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationRoutingRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/NotificationRoutingRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/NotificationRoutingRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationRouting'
          description: ''
      summary: 通知ルーティング作成API
  /alerts/projects/{projectResourceId}/notification-routings/{uid}/:
    get:
      operationId: readAlertProjectNotificationRouting
      description: アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationRouting'
          description: ''
      summary: 通知ルーティング詳細取得API
    put:
      operationId: updateAlertProjectNotificationRouting
      description: アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationRoutingRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/NotificationRoutingRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/NotificationRoutingRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationRouting'
          description: ''
      summary: 通知ルーティング更新API
    patch:
      operationId: patchAlertProjectNotificationRouting
      description: アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedNotificationRoutingRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedNotificationRoutingRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedNotificationRoutingRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationRouting'
          description: ''
      summary: 通知ルーティング部分更新API
    delete:
      operationId: deleteAlertProjectNotificationRouting
      description: アラートプロジェクト内の通知ルーティングを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '204':
          description: No response body
      summary: 通知ルーティング削除API
  /alerts/projects/{projectResourceId}/notification-routings/reorder/:
    put:
      operationId: reorderAlertProjectNotificationRoutings
      description: アラートプロジェクト内の通知ルーティングの並び順を一括変更するAPIエンドポイントです。
      summary: 通知ルーティング順序更新API
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/NotificationRoutingOrderRequest'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/NotificationRoutingOrderRequest'
          multipart/form-data:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/NotificationRoutingOrderRequest'
        required: true
      responses:
        '204':
          description: No response body
  /alerts/projects/{projectResourceId}/notification-targets/:
    get:
      operationId: listAlertProjectNotificationTargets
      description: アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: query
        name: service_type
        schema:
          type: string
          x-spec-enum-id: 3b143ded19bdc92e
          enum:
          - SAKURA_EVENT_BUS
          - SAKURA_SIMPLE_NOTICE
        description: |-
          * `SAKURA_SIMPLE_NOTICE` - Sakura cloud simple notification
          * `SAKURA_EVENT_BUS` - Sakura cloud event bus
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedNotificationTargetList'
          description: ''
      summary: 通知対象一覧取得API
    post:
      operationId: createAlertProjectNotificationTarget
      description: アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationTargetRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/NotificationTargetRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/NotificationTargetRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationTarget'
          description: ''
      summary: 通知対象作成API
  /alerts/projects/{projectResourceId}/notification-targets/{uid}/:
    get:
      operationId: readAlertProjectNotificationTarget
      description: アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationTarget'
          description: ''
      summary: 通知対象詳細取得API
    put:
      operationId: updateAlertProjectNotificationTarget
      description: アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationTargetRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/NotificationTargetRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/NotificationTargetRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationTarget'
          description: ''
      summary: 通知対象更新API
    patch:
      operationId: patchAlertProjectNotificationTarget
      description: アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedNotificationTargetRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedNotificationTargetRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedNotificationTargetRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationTarget'
          description: ''
      summary: 通知対象部分更新API
    delete:
      operationId: deleteAlertProjectNotificationTarget
      description: アラートプロジェクト内の通知対象を管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '204':
          description: No response body
      summary: 通知対象削除API
  /alerts/projects/{projectResourceId}/rules/:
    get:
      operationId: listAlertProjectRules
      description: アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAlertRuleList'
          description: ''
      summary: アラートルール一覧取得API
    post:
      operationId: createAlertProjectRule
      description: アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertRuleRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AlertRuleRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AlertRuleRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRule'
          description: ''
      summary: アラートルール作成API
  /alerts/projects/{projectResourceId}/rules/{ruleUid}/histories/:
    get:
      operationId: listAlertProjectRuleHistories
      description: ルール内のアラート履歴を取得するAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: open
        schema:
          type: boolean
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: ruleUid
        schema:
          type: string
          format: uuid
        required: true
      - in: query
        name: severity
        schema:
          type: string
          x-spec-enum-id: eb2a007069bad0df
          enum:
          - critical
          - warning
        description: |-
          * `warning` - Warning
          * `critical` - Critical
      - in: query
        name: startsAt
        schema:
          type: string
          format: date-time
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedHistoryList'
          description: ''
      summary: ルールのアラート履歴一覧取得API
  /alerts/projects/{projectResourceId}/rules/{ruleUid}/histories/{uid}/:
    get:
      operationId: readAlertProjectRuleHistory
      description: ルール内のアラート履歴を取得するAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: ruleUid
        schema:
          type: string
          format: uuid
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/History'
          description: ''
      summary: ルールのアラート履歴詳細取得API
  /alerts/projects/{projectResourceId}/rules/{uid}/:
    get:
      operationId: readAlertProjectRule
      description: アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRule'
          description: ''
      summary: アラートルール詳細取得API
    put:
      operationId: updateAlertProjectRule
      description: アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertRuleRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AlertRuleRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AlertRuleRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRule'
          description: ''
      summary: アラートルール更新API
    patch:
      operationId: patchAlertProjectRule
      description: アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedAlertRuleRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedAlertRuleRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedAlertRuleRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRule'
          description: ''
      summary: アラートルール部分更新API
    delete:
      operationId: deleteAlertProjectRule
      description: アラートプロジェクト内のアラートルールを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: projectResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - アラート
      responses:
        '204':
          description: No response body
      summary: アラートルール削除API
  /alerts/projects/{resourceId}/:
    get:
      operationId: readAlertProject
      description: アラートプロジェクトを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - アラート
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedAlertProject'
          description: ''
      summary: アラートプロジェクト詳細取得API
    put:
      operationId: updateAlertProject
      description: アラートプロジェクトを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertProjectRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AlertProjectRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AlertProjectRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedAlertProject'
          description: ''
      summary: アラートプロジェクト更新API
    patch:
      operationId: patchAlertProject
      description: アラートプロジェクトを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - アラート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedAlertProjectRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedAlertProjectRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedAlertProjectRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedAlertProject'
          description: ''
      summary: アラートプロジェクト部分更新API
    delete:
      operationId: deleteAlertProject
      description: アラートプロジェクトを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - アラート
      responses:
        '204':
          description: No response body
      summary: アラートプロジェクト削除API
  /dashboards/projects/:
    get:
      operationId: listDashboardProjects
      description: ダッシュボードを管理するためのAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      tags:
      - ダッシュボード
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedDashboardProjectList'
          description: ''
      summary: ダッシュボード一覧取得API
    post:
      operationId: createDashboardProject
      description: ダッシュボードを管理するためのAPIエンドポイントです。
      tags:
      - ダッシュボード
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DashboardProjectCreateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/DashboardProjectCreateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/DashboardProjectCreateRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardProject'
          description: ''
      summary: ダッシュボード作成API
  /dashboards/projects/{resourceId}/:
    get:
      operationId: readDashboardProject
      description: ダッシュボードを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - ダッシュボード
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedDashboardProject'
          description: ''
      summary: ダッシュボード詳細取得API
    put:
      operationId: updateDashboardProject
      description: ダッシュボードを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - ダッシュボード
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DashboardProjectRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/DashboardProjectRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/DashboardProjectRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedDashboardProject'
          description: ''
      summary: ダッシュボード更新API
    patch:
      operationId: patchDashboardProject
      description: ダッシュボードを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - ダッシュボード
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedDashboardProjectRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedDashboardProjectRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedDashboardProjectRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedDashboardProject'
          description: ''
      summary: ダッシュボード部分更新API
    delete:
      operationId: deleteDashboardProject
      description: ダッシュボードを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - ダッシュボード
      responses:
        '204':
          description: No response body
      summary: ダッシュボード削除API
  /logs/routings/:
    get:
      operationId: listLogRoutings
      description: ログルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: publisher__code
        schema:
          type: string
      - in: query
        name: resource_id
        schema:
          type: integer
          format: int64
        description: Log storage resource id
      - in: query
        name: variant
        schema:
          type: string
      tags:
      - ログルーティング
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedLogRoutingList'
          description: ''
      summary: ログルーティング一覧取得API
    post:
      operationId: createLogRouting
      description: ログルーティングを管理するためのAPIエンドポイントです。
      tags:
      - ログルーティング
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRoutingRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LogRoutingRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LogRoutingRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogRouting'
          description: ''
      summary: ログルーティング作成API
  /logs/routings/{uid}/:
    get:
      operationId: readLogRouting
      description: ログルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - ログルーティング
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogRouting'
          description: ''
      summary: ログルーティング詳細取得API
    put:
      operationId: updateLogRouting
      description: ログルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - ログルーティング
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRoutingRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LogRoutingRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LogRoutingRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogRouting'
          description: ''
      summary: ログルーティング更新API
    patch:
      operationId: patchLogRouting
      description: ログルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - ログルーティング
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedLogRoutingRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedLogRoutingRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedLogRoutingRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogRouting'
          description: ''
      summary: ログルーティング部分更新API
    delete:
      operationId: deleteLogRouting
      description: ログルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - ログルーティング
      responses:
        '204':
          description: No response body
      summary: ログルーティング削除API
  /logs/storages/:
    get:
      operationId: listLogStorages
      description: ログストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: query
        name: account_id
        schema:
          type: string
      - in: query
        name: bucket__classification
        schema:
          type: string
          x-spec-enum-id: 3896f704b7462b41
          enum:
          - dedicated
          - shared
        description: |-
          * `shared` - 共用
          * `dedicated` - 専有
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: is_system
        schema:
          type: boolean
        description: Is system
      - in: query
        name: resource_id
        schema:
          type: integer
          format: int64
      - in: query
        name: status
        schema:
          type: string
          x-spec-enum-id: 6499fdb0e233089a
          enum:
          - assigned
          - deleted
          - free
          - init
          - purged
        description: |-
          * `init` - 初期化中
          * `free` - 未割り当て
          * `assigned` - 割り当て済み
          * `deleted` - 削除済み
          * `purged` - ログデータ削除済み
      tags:
      - ログストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedLogStorageList'
          description: ''
      summary: ログストレージ一覧取得API
    post:
      operationId: createLogStorage
      description: ログストレージを管理するためのAPIエンドポイントです。
      tags:
      - ログストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogStorageCreateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LogStorageCreateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LogStorageCreateRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogStorage'
          description: ''
      summary: ログストレージ作成API
  /logs/storages/{logResourceId}/keys/:
    get:
      operationId: listLogStorageKeys
      description: ログストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: path
        name: logResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - ログストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedLogStorageAccessKeyList'
          description: ''
      summary: ログストレージのアクセスキー一覧取得API
    post:
      operationId: createLogStorageKey
      description: ログストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: logResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - ログストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogStorageAccessKeyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LogStorageAccessKeyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LogStorageAccessKeyRequest'
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogStorageAccessKey'
          description: ''
      summary: ログストレージのアクセスキー作成API
  /logs/storages/{logResourceId}/keys/{uid}/:
    get:
      operationId: readLogStorageKey
      description: ログストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: logResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - ログストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogStorageAccessKey'
          description: ''
      summary: ログストレージのアクセスキー詳細取得API
    put:
      operationId: updateLogStorageKey
      description: ログストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: logResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - ログストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogStorageAccessKeyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LogStorageAccessKeyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LogStorageAccessKeyRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogStorageAccessKey'
          description: ''
      summary: ログストレージのアクセスキー更新API
    patch:
      operationId: patchLogStorageKey
      description: ログストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: logResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - ログストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedLogStorageAccessKeyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedLogStorageAccessKeyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedLogStorageAccessKeyRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogStorageAccessKey'
          description: ''
      summary: ログストレージのアクセスキー部分更新API
    delete:
      operationId: deleteLogStorageKey
      description: ログストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: logResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - ログストレージ
      responses:
        '204':
          description: No response body
      summary: ログストレージのアクセスキー削除API
  /logs/storages/{resourceId}/:
    get:
      operationId: readLogStorage
      description: ログストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - ログストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogStorage'
          description: ''
      summary: ログストレージ詳細取得API
    put:
      operationId: updateLogStorage
      description: ログストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - ログストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogStorageRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LogStorageRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LogStorageRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogStorage'
          description: ''
      summary: ログストレージ更新API
    patch:
      operationId: patchLogStorage
      description: ログストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - ログストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedLogStorageRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedLogStorageRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedLogStorageRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedLogStorage'
          description: ''
      summary: ログストレージ部分更新API
    delete:
      operationId: deleteLogStorage
      description: ログストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - ログストレージ
      responses:
        '204':
          description: No response body
      summary: ログストレージ削除API
  /logs/storages/{resourceId}/set-expire/:
    post:
      operationId: setLogStorageExpire
      description: ログストレージの保存期間を設定します。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - ログストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetLogStorageExpireDayRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SetLogStorageExpireDayRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/SetLogStorageExpireDayRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogStorage'
          description: ''
      summary: ログストレージ有効期限設定API
  /logs/storages/{resourceId}/stats/daily/:
    get:
      operationId: readLogStorageStatsDaily
      description: ログストレージの日次利用状況を取得します。
      parameters:
      - in: query
        name: end_date
        schema:
          type: string
          format: date
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      - in: query
        name: start_date
        schema:
          type: string
          format: date
      tags:
      - ログストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogStorageDailyUsageBody'
          description: ''
      summary: ログストレージ日次利用状況詳細取得API
  /logs/storages/{resourceId}/stats/monthly/:
    get:
      operationId: readLogStorageStatsMonthly
      description: ログストレージの月次利用状況を取得します。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      - in: query
        name: year
        schema:
          type: integer
          maximum: 2100
          minimum: 1970
        required: true
      tags:
      - ログストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogStorageMonthlyUsageBody'
          description: ''
      summary: ログストレージ月次利用状況詳細取得API
  /management/limits/:
    get:
      operationId: readResourceLimits
      description: アカウントのリソース上限（ログストレージ、メトリクスストレージ、アラートプロジェクト、ダッシュボード）を取得するAPIエンドポイントです。
      tags:
      - 管理
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourcesLimits'
          description: ''
      summary: リソース制限詳細取得API
  /management/provisioning/initialize/:
    post:
      operationId: initializeProvisioning
      description: リソース（ログストレージ、メトリクスストレージ）のプロビジョニング（初期化）を行うAPIエンドポイントです。指定した種別のリソースが存在しない場合のみ作成を行います。既存のリソースは変更されません。
      tags:
      - 管理
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProvisioningCreateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ProvisioningCreateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ProvisioningCreateRequest'
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Provisioning'
          description: 新規リソースを作成した場合に返されます。
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Provisioning'
          description: 既存のリソースが存在し、新規作成を行わなかった場合に返されます。
      summary: プロビジョニング（初期化）API
  /management/provisioning/state/:
    get:
      operationId: readProvisioningState
      description: リソース（ログストレージ、メトリクスストレージ）のプロビジョニング状態を確認するAPIエンドポイントです。
      tags:
      - 管理
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Provisioning'
          description: ''
      summary: プロビジョニング状態詳細取得API
  /metrics/routings/:
    get:
      operationId: listMetricRoutings
      description: メトリクスルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: publisher__code
        schema:
          type: string
      - in: query
        name: resource_id
        schema:
          type: integer
          format: int64
        description: Metrics storage resource id
      - in: query
        name: variant
        schema:
          type: string
      tags:
      - メトリクスルーティング
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedMetricsRoutingList'
          description: ''
      summary: メトリクスルーティング一覧取得API
    post:
      operationId: createMetricRouting
      description: メトリクスルーティングを管理するためのAPIエンドポイントです。
      tags:
      - メトリクスルーティング
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricsRoutingRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MetricsRoutingRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MetricsRoutingRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsRouting'
          description: ''
      summary: メトリクスルーティング作成API
  /metrics/routings/{uid}/:
    get:
      operationId: readMetricRouting
      description: メトリクスルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - メトリクスルーティング
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsRouting'
          description: ''
      summary: メトリクスルーティング詳細取得API
    put:
      operationId: updateMetricRouting
      description: メトリクスルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - メトリクスルーティング
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricsRoutingRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MetricsRoutingRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MetricsRoutingRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsRouting'
          description: ''
      summary: メトリクスルーティング更新API
    patch:
      operationId: patchMetricRouting
      description: メトリクスルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - メトリクスルーティング
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedMetricsRoutingRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedMetricsRoutingRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedMetricsRoutingRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsRouting'
          description: ''
      summary: メトリクスルーティング部分更新API
    delete:
      operationId: deleteMetricRouting
      description: メトリクスルーティングを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - メトリクスルーティング
      responses:
        '204':
          description: No response body
      summary: メトリクスルーティング削除API
  /metrics/storages/:
    get:
      operationId: listMetricStorages
      description: メトリクスストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: query
        name: account_id
        schema:
          type: string
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: is_system
        schema:
          type: boolean
        description: Is system
      - in: query
        name: resource_id
        schema:
          type: integer
          format: int64
      tags:
      - メトリクスストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedMetricsStorageList'
          description: ''
      summary: メトリクスストレージ一覧取得API
    post:
      operationId: createMetricStorage
      description: メトリクスストレージを管理するためのAPIエンドポイントです。
      tags:
      - メトリクスストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricsStorageCreateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MetricsStorageCreateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MetricsStorageCreateRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsStorage'
          description: ''
      summary: メトリクスストレージ作成API
  /metrics/storages/{metricsResourceId}/keys/:
    get:
      operationId: listMetricStorageKeys
      description: メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: path
        name: metricsResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - メトリクスストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedMetricsStorageAccessKeyList'
          description: ''
      summary: メトリクスストレージのアクセスキー一覧取得API
    post:
      operationId: createMetricStorageKey
      description: メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: metricsResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - メトリクスストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricsStorageAccessKeyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MetricsStorageAccessKeyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MetricsStorageAccessKeyRequest'
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsStorageAccessKey'
          description: ''
      summary: メトリクスストレージのアクセスキー作成API
  /metrics/storages/{metricsResourceId}/keys/{uid}/:
    get:
      operationId: readMetricStorageKey
      description: メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: metricsResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - メトリクスストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsStorageAccessKey'
          description: ''
      summary: メトリクスストレージのアクセスキー詳細取得API
    put:
      operationId: updateMetricStorageKey
      description: メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: metricsResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - メトリクスストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricsStorageAccessKeyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MetricsStorageAccessKeyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MetricsStorageAccessKeyRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsStorageAccessKey'
          description: ''
      summary: メトリクスストレージのアクセスキー更新API
    patch:
      operationId: patchMetricStorageKey
      description: メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: metricsResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - メトリクスストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedMetricsStorageAccessKeyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedMetricsStorageAccessKeyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedMetricsStorageAccessKeyRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsStorageAccessKey'
          description: ''
      summary: メトリクスストレージのアクセスキー部分更新API
    delete:
      operationId: deleteMetricStorageKey
      description: メトリクスストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: metricsResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - メトリクスストレージ
      responses:
        '204':
          description: No response body
      summary: メトリクスストレージのアクセスキー削除API
  /metrics/storages/{resourceId}/:
    get:
      operationId: readMetricStorage
      description: メトリクスストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - メトリクスストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsStorage'
          description: ''
      summary: メトリクスストレージ詳細取得API
    put:
      operationId: updateMetricStorage
      description: メトリクスストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - メトリクスストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricsStorageRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MetricsStorageRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MetricsStorageRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsStorage'
          description: ''
      summary: メトリクスストレージ更新API
    patch:
      operationId: patchMetricStorage
      description: メトリクスストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - メトリクスストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedMetricsStorageRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedMetricsStorageRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedMetricsStorageRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedMetricsStorage'
          description: ''
      summary: メトリクスストレージ部分更新API
    delete:
      operationId: deleteMetricStorage
      description: メトリクスストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - メトリクスストレージ
      responses:
        '204':
          description: No response body
      summary: メトリクスストレージ削除API
  /metrics/storages/{resourceId}/stats/daily/:
    get:
      operationId: readMetricStorageStatsDaily
      description: メトリクスストレージの日次利用状況を取得します。
      parameters:
      - in: query
        name: end_date
        schema:
          type: string
          format: date
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      - in: query
        name: start_date
        schema:
          type: string
          format: date
      tags:
      - メトリクスストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsStorageDailyUsageBody'
          description: ''
      summary: メトリクスストレージ日次利用状況詳細取得API
  /metrics/storages/{resourceId}/stats/monthly/:
    get:
      operationId: readMetricStorageStatsMonthly
      description: メトリクスストレージの月次利用状況を取得します。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      - in: query
        name: year
        schema:
          type: integer
          maximum: 2100
          minimum: 1970
        required: true
      tags:
      - メトリクスストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsStorageMonthlyUsageBody'
          description: ''
      summary: メトリクスストレージ月次利用状況詳細取得API
  /publishers/:
    get:
      operationId: listPublishers
      description: 連携サービス情報を取得するAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      tags:
      - 連携サービス
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedPublisherList'
          description: ''
      summary: 連携サービス一覧取得API
  /publishers/{code}/:
    get:
      operationId: readPublisher
      description: 連携サービス情報を取得するAPIエンドポイントです。
      parameters:
      - in: path
        name: code
        schema:
          type: string
        required: true
      tags:
      - 連携サービス
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedPublisher'
          description: ''
      summary: 連携サービス詳細取得API
  /traces/storages/:
    get:
      operationId: listTraceStorages
      description: トレースストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: query
        name: account_id
        schema:
          type: string
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: log_storage__bucket__classification
        schema:
          type: string
          x-spec-enum-id: 3896f704b7462b41
          enum:
          - dedicated
          - shared
        description: |-
          * `shared` - 共用
          * `dedicated` - 専有
      - in: query
        name: resource_id
        schema:
          type: integer
          format: int64
      tags:
      - トレースストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedTraceStorageList'
          description: ''
      summary: トレースストレージ一覧取得API
    post:
      operationId: createTraceStorage
      description: トレースストレージを管理するためのAPIエンドポイントです。
      tags:
      - トレースストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TraceStorageCreateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TraceStorageCreateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TraceStorageCreateRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraceStorage'
          description: ''
      summary: トレースストレージ作成API
  /traces/storages/{resourceId}/:
    get:
      operationId: readTraceStorage
      description: トレースストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - トレースストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedTraceStorage'
          description: ''
      summary: トレースストレージ詳細取得API
    put:
      operationId: updateTraceStorage
      description: トレースストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - トレースストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TraceStorageRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TraceStorageRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TraceStorageRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedTraceStorage'
          description: ''
      summary: トレースストレージ更新API
    patch:
      operationId: patchTraceStorage
      description: トレースストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - トレースストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedTraceStorageRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedTraceStorageRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedTraceStorageRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedTraceStorage'
          description: ''
      summary: トレースストレージ部分更新API
    delete:
      operationId: deleteTraceStorage
      description: トレースストレージを管理するためのAPIエンドポイントです。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - トレースストレージ
      responses:
        '204':
          description: No response body
      summary: トレースストレージ削除API
  /traces/storages/{resourceId}/set-expire/:
    post:
      operationId: setTraceStorageExpire
      description: トレースストレージの保存期間を設定します。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      tags:
      - トレースストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetTraceStorageExpireDayRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SetTraceStorageExpireDayRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/SetTraceStorageExpireDayRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraceStorage'
          description: ''
      summary: トレースストレージ有効期限設定API
  /traces/storages/{resourceId}/stats/daily/:
    get:
      operationId: readTraceStorageStatsDaily
      description: トレースストレージの日次利用状況を取得します。
      parameters:
      - in: query
        name: end_date
        schema:
          type: string
          format: date
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      - in: query
        name: start_date
        schema:
          type: string
          format: date
      tags:
      - トレースストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraceStorageDailyUsageBody'
          description: ''
      summary: トレースストレージ日次利用状況詳細取得API
  /traces/storages/{resourceId}/stats/monthly/:
    get:
      operationId: readTraceStorageStatsMonthly
      description: トレースストレージの月次利用状況を取得します。
      parameters:
      - in: path
        name: resourceId
        schema:
          type: integer
          maximum: 999999999999
          minimum: 0
          format: int64
          title: Cloud resource id
          example: 110000000000
        required: true
      - in: query
        name: year
        schema:
          type: integer
          maximum: 2100
          minimum: 1970
        required: true
      tags:
      - トレースストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraceStorageMonthlyUsageBody'
          description: ''
      summary: トレースストレージ月次利用状況詳細取得API
  /traces/storages/{traceResourceId}/keys/:
    get:
      operationId: listTraceStorageKeys
      description: トレースストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - name: count
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: from
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: path
        name: traceResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - トレースストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedTraceStorageAccessKeyList'
          description: ''
      summary: トレースストレージのアクセスキー一覧取得API
    post:
      operationId: createTraceStorageKey
      description: トレースストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: traceResourceId
        schema:
          type: integer
          format: int64
        required: true
      tags:
      - トレースストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TraceStorageAccessKeyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TraceStorageAccessKeyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TraceStorageAccessKeyRequest'
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedTraceStorageAccessKey'
          description: ''
      summary: トレースストレージのアクセスキー作成API
  /traces/storages/{traceResourceId}/keys/{uid}/:
    get:
      operationId: readTraceStorageKey
      description: トレースストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: traceResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - トレースストレージ
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedTraceStorageAccessKey'
          description: ''
      summary: トレースストレージのアクセスキー詳細取得API
    put:
      operationId: updateTraceStorageKey
      description: トレースストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: traceResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - トレースストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TraceStorageAccessKeyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TraceStorageAccessKeyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TraceStorageAccessKeyRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedTraceStorageAccessKey'
          description: ''
      summary: トレースストレージのアクセスキー更新API
    patch:
      operationId: patchTraceStorageKey
      description: トレースストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: traceResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - トレースストレージ
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedTraceStorageAccessKeyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedTraceStorageAccessKeyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedTraceStorageAccessKeyRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedTraceStorageAccessKey'
          description: ''
      summary: トレースストレージのアクセスキー部分更新API
    delete:
      operationId: deleteTraceStorageKey
      description: トレースストレージのアクセスキーを管理するAPIエンドポイントです。
      parameters:
      - in: path
        name: traceResourceId
        schema:
          type: integer
          format: int64
        required: true
      - in: path
        name: uid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - トレースストレージ
      responses:
        '204':
          description: No response body
      summary: トレースストレージのアクセスキー削除API
components:
  schemas:
    AlertProject:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          nullable: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
      required:
      - account_id
      - created_at
      - icon
      - id
      - resource_id
      - tags
    AlertProjectCreateRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
      required:
      - name
    AlertProjectRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
    AlertRule:
      type: object
      properties:
        uid:
          type: string
          format: uuid
          readOnly: true
        project_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          readOnly: true
        metrics_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
        name:
          type: string
          maxLength: 256
        query:
          type: string
          maxLength: 4096
        format:
          type: string
          maxLength: 256
        template:
          type: string
          maxLength: 256
        open:
          type: boolean
          readOnly: true
        enabled_warning:
          type: boolean
        enabled_critical:
          type: boolean
        threshold_warning:
          type: string
          nullable: true
          maxLength: 256
        threshold_critical:
          type: string
          nullable: true
          maxLength: 256
        threshold_duration_warning:
          type: integer
          format: int64
          title: Threshold duration
        threshold_duration_critical:
          type: integer
          format: int64
      required:
      - metrics_storage_id
      - open
      - project_id
      - query
      - uid
    AlertRuleRequest:
      type: object
      properties:
        metrics_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
        name:
          type: string
          maxLength: 256
        query:
          type: string
          minLength: 1
          maxLength: 4096
        format:
          type: string
          maxLength: 256
        template:
          type: string
          maxLength: 256
        enabled_warning:
          type: boolean
        enabled_critical:
          type: boolean
        threshold_warning:
          type: string
          nullable: true
          minLength: 1
          maxLength: 256
        threshold_critical:
          type: string
          nullable: true
          minLength: 1
          maxLength: 256
        threshold_duration_warning:
          type: integer
          format: int64
          title: Threshold duration
        threshold_duration_critical:
          type: integer
          format: int64
      required:
      - metrics_storage_id
      - query
    AndMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - and
        matchers:
          items:
            $ref: '#/components/schemas/FieldMatcher'
          title: Matchers
          type: array
      required:
      - type
      - matchers
      title: AndMatcher
      type: object
    BoolMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - boolean
        operator:
          $ref: '#/components/schemas/Operator2'
        field:
          $ref: '#/components/schemas/BooleanFieldName'
        value:
          title: Value
          type: boolean
      required:
      - type
      - operator
      - field
      - value
      title: BoolMatcher
      type: object
    BooleanFieldName:
      enum:
      - http_cache_lookup
      - http_cache_hit
      title: BooleanFieldName
      type: string
    DashboardProject:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          nullable: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
      required:
      - account_id
      - created_at
      - icon
      - id
      - resource_id
      - tags
    DashboardProjectCreateRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
      required:
      - name
    DashboardProjectRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
    EnumMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - enum
        field:
          $ref: '#/components/schemas/FieldModel'
        value:
          items:
            $ref: '#/components/schemas/ValueEnum'
          title: Value
          type: array
      required:
      - type
      - field
      - value
      title: EnumMatcher
      type: object
    FieldMatcher:
      discriminator:
        mapping:
          and: '#/components/schemas/AndMatcher'
          boolean: '#/components/schemas/BoolMatcher'
          enum: '#/components/schemas/EnumMatcher'
          map-key-exists: '#/components/schemas/MapKeyExistsMatcher'
          map-key-value-matcher: '#/components/schemas/MapKeyValueMatcher'
          map-value-number: '#/components/schemas/MapValueNumMatcher'
          map-value-string: '#/components/schemas/MapValueStrMatcher'
          number: '#/components/schemas/NumMatcher'
          or: '#/components/schemas/OrMatcher'
          string: '#/components/schemas/StrMatcher'
        propertyName: type
      oneOf:
      - $ref: '#/components/schemas/OrMatcher'
      - $ref: '#/components/schemas/AndMatcher'
      - $ref: '#/components/schemas/StrMatcher'
      - $ref: '#/components/schemas/NumMatcher'
      - $ref: '#/components/schemas/BoolMatcher'
      - $ref: '#/components/schemas/EnumMatcher'
      - $ref: '#/components/schemas/MapKeyExistsMatcher'
      - $ref: '#/components/schemas/MapKeyValueMatcher'
      - $ref: '#/components/schemas/MapValueStrMatcher'
      - $ref: '#/components/schemas/MapValueNumMatcher'
      title: FieldMatcher
    FieldModel:
      enum:
      - severity
      title: FieldModel
      type: string
    History:
      type: object
      properties:
        uid:
          type: string
          format: uuid
          readOnly: true
        project_id:
          type: integer
          format: int64
          readOnly: true
        rule_uid:
          type: string
          readOnly: true
        startsAt:
          type: string
          format: date-time
          title: Starts_at
        endsAt:
          type: string
          format: date-time
          nullable: true
          title: Ends_at
        open:
          type: boolean
        labels:
          type: string
          maxLength: 4096
        severity:
          enum:
          - warning
          - critical
          type: string
          description: |-
            * `warning` - Warning
            * `critical` - Critical
          x-spec-enum-id: eb2a007069bad0df
        query:
          type: string
          maxLength: 4096
        threshold:
          type: string
          maxLength: 256
        value:
          type: number
          format: double
      required:
      - labels
      - open
      - project_id
      - rule_uid
      - severity
      - startsAt
      - uid
    LogMeasureRule:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          deprecated: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        uid:
          type: string
          format: uuid
          readOnly: true
        project_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          pattern: ^[a-z\d_-]*$
          maxLength: 256
        description:
          type: string
          maxLength: 256
        log_storage:
          allOf:
          - $ref: '#/components/schemas/LogStorage'
          readOnly: true
        metrics_storage:
          allOf:
          - $ref: '#/components/schemas/MetricsStorage'
          readOnly: true
        rule:
          $ref: '#/components/schemas/LogMeasureRuleModel'
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
      - created_at
      - id
      - log_storage
      - metrics_storage
      - project_id
      - rule
      - uid
      - updated_at
    LogMeasureRuleModel:
      properties:
        version:
          $ref: '#/components/schemas/LogMeasureRuleVersionEnum'
        query:
          $ref: '#/components/schemas/LogMeasureRuleV1'
      required:
      - version
      - query
      title: LogMeasureRuleModel
      type: object
    LogMeasureRuleModelRequest:
      properties:
        version:
          $ref: '#/components/schemas/LogMeasureRuleVersionEnum'
        query:
          $ref: '#/components/schemas/LogMeasureRuleV1'
      required:
      - version
      - query
      title: LogMeasureRuleModel
      type: object
    LogMeasureRuleRequest:
      type: object
      properties:
        name:
          type: string
          pattern: ^[a-z\d_-]*$
          maxLength: 256
        description:
          type: string
          maxLength: 256
        log_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          writeOnly: true
        metrics_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          writeOnly: true
        rule:
          $ref: '#/components/schemas/LogMeasureRuleModelRequest'
      required:
      - log_storage_id
      - metrics_storage_id
      - rule
    LogMeasureRuleV1:
      properties:
        matchers:
          items:
            $ref: '#/components/schemas/FieldMatcher'
          title: Matchers
          type: array
      required:
      - matchers
      title: LogMeasureRuleV1
      type: object
    LogMeasureRuleVersionEnum:
      enum:
      - v1
      title: LogMeasureRuleVersionEnum
      type: string
    LogRouting:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          deprecated: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        uid:
          type: string
          format: uuid
          readOnly: true
        resource_id:
          type: integer
          format: int64
          nullable: true
          description: 対象リソースのID
        publisher:
          allOf:
          - $ref: '#/components/schemas/Publisher'
          readOnly: true
        variant:
          type: string
        log_storage:
          allOf:
          - $ref: '#/components/schemas/LogStorage'
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Create datetime
        updated_at:
          type: string
          format: date-time
          readOnly: true
          title: Update datetime
      required:
      - created_at
      - id
      - log_storage
      - publisher
      - uid
      - updated_at
      - variant
    LogRoutingRequest:
      type: object
      properties:
        resource_id:
          type: integer
          format: int64
          nullable: true
          description: 対象リソースのID
        publisher_code:
          type: string
          minLength: 1
          writeOnly: true
        variant:
          type: string
          minLength: 1
        log_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          writeOnly: true
      required:
      - log_storage_id
      - publisher_code
      - variant
    LogStorage:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        expire_day:
          type: integer
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
        endpoints:
          type: object
          properties:
            ingester:
              type: object
              properties:
                address:
                  type: string
                insecure:
                  type: boolean
              required:
              - address
          required:
          - ingester
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          nullable: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        is_system:
          type: boolean
          readOnly: true
        classification:
          type: string
          enum:
          - shared
          - dedicated
          readOnly: true
        kms_key_id:
          type: integer
          readOnly: true
          nullable: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        service_principal_id:
          type: integer
          format: int64
          nullable: true
        usage:
          type: object
          properties:
            log_routings:
              type: integer
            log_measure_rules:
              type: integer
          required:
          - log_routings
          - log_measure_rules
          readOnly: true
      required:
      - account_id
      - classification
      - created_at
      - endpoints
      - expire_day
      - icon
      - id
      - is_system
      - kms_key_id
      - resource_id
      - tags
      - usage
    LogStorageAccessKey:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          deprecated: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        uid:
          type: string
          format: uuid
          readOnly: true
        secret:
          type: string
          format: uuid
          readOnly: true
        token:
          type: string
          description: Returns a token string for the access key.
          readOnly: true
        description:
          type: string
          maxLength: 256
      required:
      - id
      - secret
      - token
      - uid
    LogStorageAccessKeyRequest:
      type: object
      properties:
        description:
          type: string
          maxLength: 256
    LogStorageCreateRequest:
      type: object
      properties:
        classification:
          enum:
          - shared
          - dedicated
          type: string
          description: |-
            * `shared` - 共用
            * `dedicated` - 専有
          x-spec-enum-id: 3896f704b7462b41
          default: shared
        is_system:
          type: boolean
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        kms_key_id:
          type: integer
          nullable: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        service_principal_id:
          type: integer
          nullable: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
      required:
      - is_system
      - name
    LogStorageDailyUsage:
      type: object
      properties:
        date:
          type: string
          format: date
          readOnly: true
        ingested_bytes:
          type: integer
          readOnly: true
        ingested_rows:
          type: integer
          readOnly: true
        stored_bytes:
          type: integer
          readOnly: true
          nullable: true
        timestamp:
          type: string
          format: date-time
          readOnly: true
      required:
      - date
      - ingested_bytes
      - ingested_rows
      - stored_bytes
      - timestamp
    LogStorageDailyUsageBody:
      type: object
      properties:
        usages:
          type: array
          items:
            $ref: '#/components/schemas/LogStorageDailyUsage'
      required:
      - usages
    LogStorageMonthlyUsage:
      type: object
      properties:
        year:
          type: integer
          readOnly: true
        month:
          type: integer
          readOnly: true
        ingested_bytes:
          type: integer
          readOnly: true
        ingested_rows:
          type: integer
          readOnly: true
        max_stored_bytes:
          type: integer
          readOnly: true
        timestamp:
          type: string
          format: date-time
          readOnly: true
      required:
      - ingested_bytes
      - ingested_rows
      - max_stored_bytes
      - month
      - timestamp
      - year
    LogStorageMonthlyUsageBody:
      type: object
      properties:
        usages:
          type: array
          items:
            $ref: '#/components/schemas/LogStorageMonthlyUsage'
      required:
      - usages
    LogStorageRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        service_principal_id:
          type: integer
          format: int64
          nullable: true
    MapFieldName:
      enum:
      - resource_labels
      - labels
      - resource_attributes
      - attributes
      - json_payload
      title: MapFieldName
      type: string
    MapKeyExistsMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - map-key-exists
        field:
          $ref: '#/components/schemas/MapFieldName'
        key:
          title: Key
          type: string
      required:
      - type
      - field
      - key
      title: MapKeyExistsMatcher
      type: object
    MapKeyValueMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - map-key-value-matcher
        field:
          $ref: '#/components/schemas/MapFieldName'
        key:
          title: Key
          type: string
        value:
          title: Value
          type: string
      required:
      - type
      - field
      - key
      - value
      title: MapKeyValueMatcher
      type: object
    MapValueNumMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - map-value-number
        operator:
          $ref: '#/components/schemas/Operator4'
        field:
          $ref: '#/components/schemas/MapFieldName'
        key:
          title: Key
          type: string
        value:
          title: Value
          type: number
          format: double
        value_list:
          description: use only multi-eq
          items:
            type: number
            format: double
          title: Value List
          type: array
      required:
      - type
      - operator
      - field
      - key
      - value
      - value_list
      title: MapValueNumMatcher
      type: object
    MapValueStrMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - map-value-string
        operator:
          $ref: '#/components/schemas/Operator3'
        field:
          $ref: '#/components/schemas/MapFieldName'
        key:
          title: Key
          type: string
        value:
          title: Value
          type: string
        value_list:
          items:
            type: string
          title: Value List
          type: array
      required:
      - type
      - operator
      - field
      - key
      - value
      - value_list
      title: MapValueStrMatcher
      type: object
    MatchLabelsItem:
      type: object
      properties:
        name:
          type: string
          maxLength: 256
        value:
          type: string
          maxLength: 256
      required:
      - name
      - value
    MatchLabelsItemRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 256
        value:
          type: string
          minLength: 1
          maxLength: 256
      required:
      - name
      - value
    MetricsRouting:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          deprecated: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        uid:
          type: string
          format: uuid
          readOnly: true
        resource_id:
          type: integer
          format: int64
          nullable: true
          description: 対象リソースのID
        publisher:
          allOf:
          - $ref: '#/components/schemas/Publisher'
          readOnly: true
        variant:
          type: string
        metrics_storage:
          allOf:
          - $ref: '#/components/schemas/MetricsStorage'
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Create datetime
        updated_at:
          type: string
          format: date-time
          readOnly: true
          title: Update datetime
      required:
      - created_at
      - id
      - metrics_storage
      - publisher
      - uid
      - updated_at
      - variant
    MetricsRoutingRequest:
      type: object
      properties:
        resource_id:
          type: integer
          format: int64
          nullable: true
          description: 対象リソースのID
        publisher_code:
          type: string
          minLength: 1
          writeOnly: true
        variant:
          type: string
          minLength: 1
        metrics_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          writeOnly: true
      required:
      - metrics_storage_id
      - publisher_code
      - variant
    MetricsStorage:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        is_system:
          type: boolean
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          nullable: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        endpoints:
          type: object
          properties:
            address:
              type: string
          required:
          - address
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
        updated_at:
          type: string
          format: date-time
          readOnly: true
          title: Update datetime
        usage:
          type: object
          properties:
            metrics_routings:
              type: integer
            alert_rules:
              type: integer
            log_measure_rules:
              type: integer
          required:
          - metrics_routings
          - alert_rules
          - log_measure_rules
          readOnly: true
      required:
      - account_id
      - created_at
      - endpoints
      - icon
      - id
      - is_system
      - resource_id
      - tags
      - updated_at
      - usage
    MetricsStorageAccessKey:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          deprecated: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        uid:
          type: string
          format: uuid
          readOnly: true
        secret:
          type: string
          format: uuid
          readOnly: true
        token:
          type: string
          description: Returns a token string for the access key.
          readOnly: true
        description:
          type: string
          maxLength: 256
      required:
      - id
      - secret
      - token
      - uid
    MetricsStorageAccessKeyRequest:
      type: object
      properties:
        description:
          type: string
          maxLength: 256
    MetricsStorageCreateRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        is_system:
          type: boolean
      required:
      - is_system
      - name
    MetricsStorageDailyUsage:
      type: object
      properties:
        date:
          type: string
          format: date
          readOnly: true
        ingested_rows:
          type: integer
          readOnly: true
          title: Ingested samples
        timestamp:
          type: string
          format: date-time
          readOnly: true
      required:
      - date
      - ingested_rows
      - timestamp
    MetricsStorageDailyUsageBody:
      type: object
      properties:
        usages:
          type: array
          items:
            $ref: '#/components/schemas/MetricsStorageDailyUsage'
      required:
      - usages
    MetricsStorageMonthlyUsage:
      type: object
      properties:
        year:
          type: integer
          readOnly: true
        month:
          type: integer
          readOnly: true
        ingested_rows:
          type: integer
          readOnly: true
          title: Ingested samples
        timestamp:
          type: string
          format: date-time
          readOnly: true
      required:
      - ingested_rows
      - month
      - timestamp
      - year
    MetricsStorageMonthlyUsageBody:
      type: object
      properties:
        usages:
          type: array
          items:
            $ref: '#/components/schemas/MetricsStorageMonthlyUsage'
      required:
      - usages
    MetricsStorageRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
    NotificationRouting:
      type: object
      properties:
        uid:
          type: string
          format: uuid
          readOnly: true
        project_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          readOnly: true
        notification_target:
          allOf:
          - $ref: '#/components/schemas/NotificationTarget'
          readOnly: true
        match_labels:
          type: array
          items:
            $ref: '#/components/schemas/MatchLabelsItem'
        resend_interval_minutes:
          type: integer
          maximum: 720
          minimum: 0
        order:
          type: integer
          readOnly: true
      required:
      - match_labels
      - notification_target
      - order
      - project_id
      - uid
    NotificationRoutingOrderRequest:
      type: object
      properties:
        notification_routing_uid:
          type: string
          format: uuid
        order:
          type: integer
          minimum: 1
      required:
      - notification_routing_uid
      - order
    NotificationRoutingRequest:
      type: object
      properties:
        notification_target_uid:
          type: string
          format: uuid
          writeOnly: true
        match_labels:
          type: array
          items:
            $ref: '#/components/schemas/MatchLabelsItemRequest'
        resend_interval_minutes:
          type: integer
          maximum: 720
          minimum: 0
      required:
      - match_labels
      - notification_target_uid
    NotificationTarget:
      type: object
      properties:
        uid:
          type: string
          format: uuid
          readOnly: true
        project_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          readOnly: true
        service_type:
          enum:
          - SAKURA_SIMPLE_NOTICE
          - SAKURA_EVENT_BUS
          type: string
          description: |-
            * `SAKURA_SIMPLE_NOTICE` - Sakura cloud simple notification
            * `SAKURA_EVENT_BUS` - Sakura cloud event bus
          x-spec-enum-id: 3b143ded19bdc92e
        url:
          type: string
          maxLength: 1024
        config:
          type: object
          readOnly: true
        description:
          type: string
          maxLength: 100
      required:
      - config
      - project_id
      - service_type
      - uid
    NotificationTargetRequest:
      type: object
      properties:
        service_type:
          enum:
          - SAKURA_SIMPLE_NOTICE
          - SAKURA_EVENT_BUS
          type: string
          description: |-
            * `SAKURA_SIMPLE_NOTICE` - Sakura cloud simple notification
            * `SAKURA_EVENT_BUS` - Sakura cloud event bus
          x-spec-enum-id: 3b143ded19bdc92e
        url:
          type: string
          maxLength: 1024
        description:
          type: string
          maxLength: 100
      required:
      - service_type
    NumMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - number
        operator:
          $ref: '#/components/schemas/Operator1'
        field:
          $ref: '#/components/schemas/NumberFieldName'
        value:
          title: Value
          type: number
          format: double
        value_list:
          description: use only multi-eq
          items:
            type: number
            format: double
          title: Value List
          type: array
      required:
      - type
      - operator
      - field
      - value
      - value_list
      title: NumMatcher
      type: object
    NumberFieldName:
      enum:
      - http_request_size
      - http_status
      - http_response_size
      - http_remote_port
      - http_latency_ns
      - http_cache_fill_bytes
      - sakuracloud_resource
      - resource_dropped_attributes_count
      - dropped_attributes_count
      - span_duration_unix_nano
      title: NumberFieldName
      type: string
    Operator:
      enum:
      - eq
      - ne
      - gt
      - lt
      - gte
      - lte
      - multi-eq
      - like
      - ilike
      title: Operator
      type: string
    Operator1:
      enum:
      - eq
      - ne
      - gt
      - lt
      - gte
      - lte
      - multi-eq
      title: Operator1
      type: string
    Operator2:
      enum:
      - eq
      - ne
      title: Operator2
      type: string
    Operator3:
      enum:
      - eq
      - ne
      - gt
      - lt
      - gte
      - lte
      - multi-eq
      - like
      - ilike
      title: Operator3
      type: string
    Operator4:
      enum:
      - eq
      - ne
      - gt
      - lt
      - gte
      - lte
      - multi-eq
      title: Operator4
      type: string
    OrMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - or
        matchers:
          items:
            $ref: '#/components/schemas/FieldMatcher'
          title: Matchers
          type: array
      required:
      - type
      - matchers
      title: OrMatcher
      type: object
    PaginatedAlertProjectList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/AlertProject'
    PaginatedAlertRuleList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/AlertRule'
    PaginatedDashboardProjectList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/DashboardProject'
    PaginatedHistoryList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/History'
    PaginatedLogMeasureRuleList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/LogMeasureRule'
    PaginatedLogRoutingList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/LogRouting'
    PaginatedLogStorageAccessKeyList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/LogStorageAccessKey'
    PaginatedLogStorageList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/LogStorage'
    PaginatedMetricsRoutingList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/MetricsRouting'
    PaginatedMetricsStorageAccessKeyList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/MetricsStorageAccessKey'
    PaginatedMetricsStorageList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/MetricsStorage'
    PaginatedNotificationRoutingList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/NotificationRouting'
    PaginatedNotificationTargetList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/NotificationTarget'
    PaginatedPublisherList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/Publisher'
    PaginatedTraceStorageAccessKeyList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/TraceStorageAccessKey'
    PaginatedTraceStorageList:
      type: object
      required:
      - count
      - from
      - total
      - results
      properties:
        count:
          type: integer
          format: int64
          example: 123
        from:
          type: integer
          format: int64
          example: 0
        total:
          type: integer
          format: int64
          example: 123
        is_ok:
          type: boolean
          example: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/TraceStorage'
    PatchedAlertProjectRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
    PatchedAlertRuleRequest:
      type: object
      properties:
        metrics_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
        name:
          type: string
          maxLength: 256
        query:
          type: string
          minLength: 1
          maxLength: 4096
        format:
          type: string
          maxLength: 256
        template:
          type: string
          maxLength: 256
        enabled_warning:
          type: boolean
        enabled_critical:
          type: boolean
        threshold_warning:
          type: string
          nullable: true
          minLength: 1
          maxLength: 256
        threshold_critical:
          type: string
          nullable: true
          minLength: 1
          maxLength: 256
        threshold_duration_warning:
          type: integer
          format: int64
          title: Threshold duration
        threshold_duration_critical:
          type: integer
          format: int64
    PatchedDashboardProjectRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
    PatchedLogMeasureRuleRequest:
      type: object
      properties:
        name:
          type: string
          pattern: ^[a-z\d_-]*$
          maxLength: 256
        description:
          type: string
          maxLength: 256
        log_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          writeOnly: true
        metrics_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          writeOnly: true
        rule:
          $ref: '#/components/schemas/LogMeasureRuleModelRequest'
    PatchedLogRoutingRequest:
      type: object
      properties:
        resource_id:
          type: integer
          format: int64
          nullable: true
          description: 対象リソースのID
        publisher_code:
          type: string
          minLength: 1
          writeOnly: true
        variant:
          type: string
          minLength: 1
        log_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          writeOnly: true
    PatchedLogStorageAccessKeyRequest:
      type: object
      properties:
        description:
          type: string
          maxLength: 256
    PatchedLogStorageRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        service_principal_id:
          type: integer
          format: int64
          nullable: true
    PatchedMetricsRoutingRequest:
      type: object
      properties:
        resource_id:
          type: integer
          format: int64
          nullable: true
          description: 対象リソースのID
        publisher_code:
          type: string
          minLength: 1
          writeOnly: true
        variant:
          type: string
          minLength: 1
        metrics_storage_id:
          type: integer
          format: int64
          nullable: true
          title: Cloud resource id
          writeOnly: true
    PatchedMetricsStorageAccessKeyRequest:
      type: object
      properties:
        description:
          type: string
          maxLength: 256
    PatchedMetricsStorageRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
    PatchedNotificationRoutingRequest:
      type: object
      properties:
        notification_target_uid:
          type: string
          format: uuid
          writeOnly: true
        match_labels:
          type: array
          items:
            $ref: '#/components/schemas/MatchLabelsItemRequest'
        resend_interval_minutes:
          type: integer
          maximum: 720
          minimum: 0
    PatchedNotificationTargetRequest:
      type: object
      properties:
        service_type:
          enum:
          - SAKURA_SIMPLE_NOTICE
          - SAKURA_EVENT_BUS
          type: string
          description: |-
            * `SAKURA_SIMPLE_NOTICE` - Sakura cloud simple notification
            * `SAKURA_EVENT_BUS` - Sakura cloud event bus
          x-spec-enum-id: 3b143ded19bdc92e
        url:
          type: string
          maxLength: 1024
        description:
          type: string
          maxLength: 100
    PatchedTraceStorageAccessKeyRequest:
      type: object
      properties:
        description:
          type: string
          maxLength: 256
    PatchedTraceStorageRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        service_principal_id:
          type: integer
          format: int64
          nullable: true
    Provisioning:
      type: object
      properties:
        logs:
          $ref: '#/components/schemas/ProvisioningExist'
        metrics:
          $ref: '#/components/schemas/ProvisioningExist'
      required:
      - logs
      - metrics
    ProvisioningCreateRequest:
      type: object
      properties:
        logs:
          $ref: '#/components/schemas/ProvisioningExistRequest'
        metrics:
          $ref: '#/components/schemas/ProvisioningExistRequest'
    ProvisioningExist:
      type: object
      properties:
        system_exist:
          type: boolean
        user_exist:
          type: boolean
      required:
      - system_exist
      - user_exist
    ProvisioningExistRequest:
      type: object
      properties:
        system_exist:
          type: boolean
        user_exist:
          type: boolean
      required:
      - system_exist
      - user_exist
    Publisher:
      type: object
      properties:
        code:
          type: string
          maxLength: 256
        description:
          type: string
          maxLength: 256
        variants:
          type: array
          items:
            $ref: '#/components/schemas/PublisherVariant'
          readOnly: true
      required:
      - code
      - variants
    PublisherAccessKeyIssueRequest:
      type: object
      properties:
        account_id:
          type: string
          minLength: 1
        description:
          type: string
      required:
      - account_id
    PublisherAccessKeyResponse:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        publisher:
          type: integer
        account_id:
          type: string
          maxLength: 20
        secret:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 256
        created_at:
          type: string
          format: date-time
          readOnly: true
        expires_at:
          type: string
          format: date-time
          nullable: true
      required:
      - account_id
      - created_at
      - id
      - publisher
    PublisherRequest:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          maxLength: 256
        description:
          type: string
          maxLength: 256
      required:
      - code
    PublisherVariant:
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        storage:
          enum:
          - metrics
          - logs
          type: string
          description: |-
            * `metrics` - metrics
            * `logs` - logs
          x-spec-enum-id: 629e061395ff654f
        system:
          enum:
          - disallow
          - required
          type: string
          description: |-
            * `disallow` - disallow
            * `required` - required
          x-spec-enum-id: 753020b5ff95d9fa
        metrics_prefix:
          type: string
          nullable: true
      required:
      - label
      - name
      - storage
      - system
    ResourceItemLimits:
      type: object
      properties:
        max_user_count:
          type: integer
          description: Max number of user shared resources.
        max_user_dedicated_count:
          type: integer
          description: Max number of user dedicated resources (if supported).
      required:
      - max_user_count
    ResourcesLimits:
      type: object
      properties:
        logs:
          $ref: '#/components/schemas/ResourceItemLimits'
        metrics:
          $ref: '#/components/schemas/ResourceItemLimits'
        traces:
          $ref: '#/components/schemas/ResourceItemLimits'
        alerts:
          $ref: '#/components/schemas/ResourceItemLimits'
        dashboards:
          $ref: '#/components/schemas/ResourceItemLimits'
      required:
      - alerts
      - dashboards
      - logs
      - metrics
      - traces
    SetLogStorageExpireDayRequest:
      type: object
      properties:
        days:
          type: integer
          maximum: 730
          minimum: 1
      required:
      - days
    SetTraceStorageExpireDayRequest:
      type: object
      properties:
        days:
          type: integer
          maximum: 730
          minimum: 1
      required:
      - days
    StorageBucket:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        endpoint:
          type: string
          description: Storage Gatewayからアクセス可能なURL
          maxLength: 256
        region:
          type: string
          maxLength: 256
        bucket_name:
          type: string
          maxLength: 256
        access_key_id:
          type: string
          maxLength: 256
        secret_access_key:
          type: string
          maxLength: 256
        use_tls:
          type: boolean
        classification:
          enum:
          - shared
          - dedicated
          type: string
          description: |-
            * `shared` - 共用
            * `dedicated` - 専有
          x-spec-enum-id: 3896f704b7462b41
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
        updated_at:
          type: string
          format: date-time
          readOnly: true
          title: Update datetime
      required:
      - access_key_id
      - bucket_name
      - created_at
      - endpoint
      - id
      - secret_access_key
      - updated_at
    StrMatcher:
      properties:
        type:
          title: Type
          type: string
          enum:
          - string
        operator:
          $ref: '#/components/schemas/Operator'
        field:
          $ref: '#/components/schemas/StringFieldName'
        value:
          title: Value
          type: string
        value_list:
          items:
            type: string
          title: Value List
          type: array
      required:
      - type
      - operator
      - field
      - value
      - value_list
      title: StrMatcher
      type: object
    StringFieldName:
      enum:
      - log_name
      - insert_id
      - resource_type
      - http_request_method
      - http_request_url
      - http_user_agent
      - http_remote_ip
      - http_server_ip
      - http_referer
      - http_protocol
      - http_schema
      - http_user
      - source_loc_file
      - source_line
      - source_function
      - text_payload
      - json_payload
      - sakuracloud_publisher
      - sakuracloud_variant
      - sakuracloud_account
      - trace_id
      - span_id
      - parent_span_id
      - service_name
      - service_instance_id
      - service_namespace
      - service_version
      - deployment_environment_name
      - span_name
      - span_status_code_text
      title: StringFieldName
      type: string
    TraceStorage:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        retention_period_days:
          type: integer
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
        endpoints:
          type: object
          properties:
            ingester:
              type: object
              properties:
                address:
                  type: string
                insecure:
                  type: boolean
              required:
              - address
          required:
          - ingester
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        classification:
          type: string
          enum:
          - shared
          - dedicated
          readOnly: true
        kms_key_id:
          type: integer
          format: int64
          nullable: true
          readOnly: true
        service_principal_id:
          type: integer
          format: int64
          nullable: true
      required:
      - account_id
      - classification
      - created_at
      - endpoints
      - icon
      - id
      - kms_key_id
      - resource_id
      - retention_period_days
      - tags
    TraceStorageAccessKey:
      type: object
      properties:
        uid:
          type: string
          format: uuid
          readOnly: true
        secret:
          type: string
          readOnly: true
        token:
          type: string
          description: Returns a token string for the access key.
          readOnly: true
        description:
          type: string
          maxLength: 256
      required:
      - secret
      - token
      - uid
    TraceStorageAccessKeyRequest:
      type: object
      properties:
        description:
          type: string
          maxLength: 256
    TraceStorageCreateRequest:
      type: object
      properties:
        classification:
          enum:
          - shared
          - dedicated
          type: string
          description: |-
            * `shared` - 共用
            * `dedicated` - 専有
          x-spec-enum-id: 3896f704b7462b41
          default: shared
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        kms_key_id:
          type: integer
          nullable: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        service_principal_id:
          type: integer
          nullable: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
      required:
      - name
    TraceStorageDailyUsageBody:
      type: object
      properties:
        usages:
          type: array
          items:
            $ref: '#/components/schemas/LogStorageDailyUsage'
      required:
      - usages
    TraceStorageMonthlyUsageBody:
      type: object
      properties:
        usages:
          type: array
          items:
            $ref: '#/components/schemas/LogStorageMonthlyUsage'
      required:
      - usages
    TraceStorageRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        service_principal_id:
          type: integer
          format: int64
          nullable: true
    User:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        username:
          type: string
          title: ユーザー名
          description: この項目は必須です。半角アルファベット、半角数字、@/./+/-/_ で150文字以下にしてください。
          pattern: ^[\w.@+-]+$
          maxLength: 150
        email:
          type: string
          format: email
          title: メールアドレス
          maxLength: 254
      required:
      - id
      - username
    ValueEnum:
      enum:
      - DEFAULT
      - DEBUG
      - INFO
      - NOTICE
      - WARNING
      - ERROR
      - CRITICAL
      - ALERT
      - EMERGENCY
      title: ValueEnum
      type: string
    WrappedAlertProject:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          nullable: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
        is_ok:
          type: boolean
      required:
      - account_id
      - created_at
      - icon
      - id
      - is_ok
      - resource_id
      - tags
    WrappedDashboardProject:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          nullable: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
        is_ok:
          type: boolean
      required:
      - account_id
      - created_at
      - icon
      - id
      - is_ok
      - resource_id
      - tags
    WrappedLogRouting:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          deprecated: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        uid:
          type: string
          format: uuid
          readOnly: true
        resource_id:
          type: integer
          format: int64
          nullable: true
          description: 対象リソースのID
        publisher:
          allOf:
          - $ref: '#/components/schemas/Publisher'
          readOnly: true
        variant:
          type: string
        log_storage:
          allOf:
          - $ref: '#/components/schemas/LogStorage'
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Create datetime
        updated_at:
          type: string
          format: date-time
          readOnly: true
          title: Update datetime
        is_ok:
          type: boolean
      required:
      - created_at
      - id
      - is_ok
      - log_storage
      - publisher
      - uid
      - updated_at
      - variant
    WrappedLogStorage:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        expire_day:
          type: integer
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
        endpoints:
          type: object
          properties:
            ingester:
              type: object
              properties:
                address:
                  type: string
                insecure:
                  type: boolean
              required:
              - address
          required:
          - ingester
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          nullable: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        is_system:
          type: boolean
          readOnly: true
        classification:
          type: string
          enum:
          - shared
          - dedicated
          readOnly: true
        kms_key_id:
          type: integer
          readOnly: true
          nullable: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        service_principal_id:
          type: integer
          format: int64
          nullable: true
        usage:
          type: object
          properties:
            log_routings:
              type: integer
            log_measure_rules:
              type: integer
          required:
          - log_routings
          - log_measure_rules
          readOnly: true
        is_ok:
          type: boolean
      required:
      - account_id
      - classification
      - created_at
      - endpoints
      - expire_day
      - icon
      - id
      - is_ok
      - is_system
      - kms_key_id
      - resource_id
      - tags
      - usage
    WrappedLogStorageAccessKey:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          deprecated: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        uid:
          type: string
          format: uuid
          readOnly: true
        secret:
          type: string
          format: uuid
          readOnly: true
        token:
          type: string
          description: Returns a token string for the access key.
          readOnly: true
        description:
          type: string
          maxLength: 256
        is_ok:
          type: boolean
      required:
      - id
      - is_ok
      - secret
      - token
      - uid
    WrappedMetricsRouting:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          deprecated: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        uid:
          type: string
          format: uuid
          readOnly: true
        resource_id:
          type: integer
          format: int64
          nullable: true
          description: 対象リソースのID
        publisher:
          allOf:
          - $ref: '#/components/schemas/Publisher'
          readOnly: true
        variant:
          type: string
        metrics_storage:
          allOf:
          - $ref: '#/components/schemas/MetricsStorage'
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Create datetime
        updated_at:
          type: string
          format: date-time
          readOnly: true
          title: Update datetime
        is_ok:
          type: boolean
      required:
      - created_at
      - id
      - is_ok
      - metrics_storage
      - publisher
      - uid
      - updated_at
      - variant
    WrappedMetricsStorage:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        is_system:
          type: boolean
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          nullable: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        endpoints:
          type: object
          properties:
            address:
              type: string
          required:
          - address
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
        updated_at:
          type: string
          format: date-time
          readOnly: true
          title: Update datetime
        usage:
          type: object
          properties:
            metrics_routings:
              type: integer
            alert_rules:
              type: integer
            log_measure_rules:
              type: integer
          required:
          - metrics_routings
          - alert_rules
          - log_measure_rules
          readOnly: true
        is_ok:
          type: boolean
      required:
      - account_id
      - created_at
      - endpoints
      - icon
      - id
      - is_ok
      - is_system
      - resource_id
      - tags
      - updated_at
      - usage
    WrappedMetricsStorageAccessKey:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
          deprecated: true
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        uid:
          type: string
          format: uuid
          readOnly: true
        secret:
          type: string
          format: uuid
          readOnly: true
        token:
          type: string
          description: Returns a token string for the access key.
          readOnly: true
        description:
          type: string
          maxLength: 256
        is_ok:
          type: boolean
      required:
      - id
      - is_ok
      - secret
      - token
      - uid
    WrappedPublisher:
      type: object
      properties:
        code:
          type: string
          maxLength: 256
        description:
          type: string
          maxLength: 256
        variants:
          type: array
          items:
            $ref: '#/components/schemas/PublisherVariant'
          readOnly: true
        is_ok:
          type: boolean
      required:
      - code
      - is_ok
      - variants
    WrappedTraceStorage:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Cloud resource id
          readOnly: true
        name:
          type: string
          maxLength: 64
        description:
          type: string
          maxLength: 512
        tags:
          type: array
          items:
            type: string
          readOnly: true
        icon:
          type: object
          properties:
            id:
              type: string
          nullable: true
          readOnly: true
        retention_period_days:
          type: integer
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Register datetime
        endpoints:
          type: object
          properties:
            ingester:
              type: object
              properties:
                address:
                  type: string
                insecure:
                  type: boolean
              required:
              - address
          required:
          - ingester
          readOnly: true
        account_id:
          type: string
          readOnly: true
          title: Cloud account id
        resource_id:
          type: integer
          readOnly: true
          title: Cloud resource id
          format: int64
          minimum: 0
          maximum: 999999999999
          example: 110000000000
        classification:
          type: string
          enum:
          - shared
          - dedicated
          readOnly: true
        kms_key_id:
          type: integer
          format: int64
          nullable: true
          readOnly: true
        service_principal_id:
          type: integer
          format: int64
          nullable: true
        is_ok:
          type: boolean
      required:
      - account_id
      - classification
      - created_at
      - endpoints
      - icon
      - id
      - is_ok
      - kms_key_id
      - resource_id
      - retention_period_days
      - tags
    WrappedTraceStorageAccessKey:
      type: object
      properties:
        uid:
          type: string
          format: uuid
          readOnly: true
        secret:
          type: string
          readOnly: true
        token:
          type: string
          description: Returns a token string for the access key.
          readOnly: true
        description:
          type: string
          maxLength: 256
        is_ok:
          type: boolean
      required:
      - is_ok
      - secret
      - token
      - uid
servers:
- url: https://secure.sakura.ad.jp/cloud/zone/is1a/api/monitoring/1.0/
