全部產品
Search
文件中心

Cloud Monitor:ListIntegrationPolicyStorageRequirements - 擷取接入中心策略的儲存要求資訊

更新時間:Nov 17, 2025

擷取接入中心策略的儲存要求資訊

介面說明

在策略的生效期間內,應用分組內發生的所有警示都不再發送通知。

本文將提供一個樣本,為應用分組7301****建立暫停警示通知策略PauseNotify,該應用分組將在16229493000001623208500000(北京時間2021-06-06 11:15:002021-06-09 11:15:00)期間暫停警示。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

cms:ListIntegrationPolicyStorageRequirements

none

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

請求文法

GET /integration-policies/{policyId}/storage-requirements HTTP/1.1

路徑參數

名稱

類型

必填

描述

樣本值

policyId

string

接入中心策略 ID

policy-ac38a7cb02d14ff48bc9f97d0a75063e

請求參數

名稱

類型

必填

描述

樣本值

addonName

string

Addon Release 名稱

release-1234357

storageType

string

儲存類型,LogStore/Prometheus/TraceStore/EventStore/EntityStore。

LogStore

addonReleaseName

string

AddonRelease 的名稱

kafka-17201012937917

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

requestId

string

Id of the request

0CEC5375-C554-562B-A65F-9A629907C1F0

storageRequirements

array<object>

儲存需求列表

array<object>

apiVersion

string

版本號碼

v1

kind

string

資源 kind

Pod

metadata

object

中繼資料

annotations

object

注釋

string

注釋

prometheus.io/path

labels

object

資源標籤

string

資源標籤

key=value

name

string

資源名稱

pod-1234567

namespace

string

命名空間

arms-prom

spec

object

資源的 spec

entityId

string

執行個體 ID,如需精確到執行個體層級,則可以指定。依賴於 EntityStore 中的資料。

es-xxxxx

instance

string

Prom 執行個體 ID。

i-bp122p85gthbniw8rsu9

instanceName

string

Prom 執行個體名稱

category_predict

project

string

選擇性參數,根據當前環境類型情況判斷 Project

datagrid_cdm

region

string

地區

cn-shenzhen

shareScope

string

儲存共用的範圍 Environment | Region | Workspace | Custom

Region

storageType

string

執行個體儲存類型

Prometheus

systemTags

object

需要打到目標儲存上的標籤(以系統標籤的方式注入)

string

需要打到目標儲存上的標籤(以系統標籤的方式注入)

system-key=value

tags

object

需要打到目標儲存上的標籤(以普通標籤的方式注入)

string

需要打到目標儲存上的標籤(以普通標籤的方式注入)

key=value

userId

string

使用者識別碼

12345678

workspace

string

工作空間。

test-api

status

object

儲存需求狀態。

instanceId

string

執行個體 ID。

rmq-cn-uqm3ket1t0u

interUrl

string

內部 url

http://192.168.xxxxxx

intraUrl

string

外部 url

http://100.100.xxxxxx

name

string

儲存需求名稱

sr-xxxx

project

string

儲存需求專案

jiuwu_algo

promMetricStore

string

Prom 的指標中心

xxxx

region

string

地區

cn-hangzhou

storageType

string

執行個體儲存類型

Prometheus

workspace

string

工作空間。

default

addonReleaseNames

array

AddonRelease 的集合。

string

AddonRelease 的名稱。

kafka-17201238912

樣本

正常返回樣本

JSON格式

{
  "requestId": "0CEC5375-C554-562B-A65F-9A629907C1F0",
  "storageRequirements": [
    {
      "apiVersion": "v1",
      "kind": "Pod",
      "metadata": {
        "annotations": {
          "key": "prometheus.io/path"
        },
        "labels": {
          "key": "key=value"
        },
        "name": "pod-1234567",
        "namespace": "arms-prom"
      },
      "spec": {
        "entityId": "es-xxxxx",
        "instance": "i-bp122p85gthbniw8rsu9",
        "instanceName": "category_predict",
        "project": "datagrid_cdm",
        "region": "cn-shenzhen",
        "shareScope": "Region",
        "storageType": "Prometheus",
        "systemTags": {
          "key": "system-key=value"
        },
        "tags": {
          "key": "key=value"
        },
        "userId": "12345678",
        "workspace": "test-api"
      },
      "status": {
        "instanceId": "rmq-cn-uqm3ket1t0u",
        "interUrl": "http://192.168.xxxxxx",
        "intraUrl": "http://100.100.xxxxxx",
        "name": "sr-xxxx",
        "project": "jiuwu_algo",
        "promMetricStore": "xxxx",
        "region": "cn-hangzhou",
        "storageType": "Prometheus",
        "workspace": "default"
      },
      "addonReleaseNames": [
        "kafka-17201238912"
      ]
    }
  ]
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情