日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ListIntegration - 查看集成列表詳情

查看集成列表詳情。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

下表是API對應的授權信息,可以在RAM權限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調用此API的權限。具體說明如下:

  • 操作:是指具體的權限點。
  • 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權的資源類型。具體說明如下:
    • 對于必選的資源類型,用背景高亮的方式表示。
    • 對于不支持資源級授權的操作,用全部資源表示。
  • 條件關鍵字:是指云產品自身定義的條件關鍵字。
  • 關聯操作:是指成功執行操作所需要的其他權限。操作者必須同時具備關聯操作的權限,操作才能成功。
操作訪問級別資源類型條件關鍵字關聯操作
arms:ListIntegrationnone
  • 全部資源
    *

請求參數

名稱類型必填描述示例值
IntegrationNamestring

告警集成名稱。

云監控集成
IntegrationProductTypestring

集成產品類型:

  • CLOUD_MONITOR:云監控
  • LOG_SERVICE:日志服務
CLOUD_MONITOR
Pagelong

查詢的頁數。

1
Sizelong

每頁展示的告警集成數。

10
IsDetailboolean

是否展示集成詳情:

  • true
  • false
true

返回參數

名稱類型描述示例值
object

Schema of Response

RequestIdstring

請求 ID。

34ED024E-9E31-434A-9E4E-D9D15C3****
PageInfoobject

分頁信息。

Totallong

查詢到的告警集成總數。

1
Sizelong

每頁展示數量。

10
Pagelong

查詢的頁數。

1
Integrationsarray<object>

告警集成信息。

integrationsobject
IntegrationIdlong

集成 ID。

1234
IntegrationNamestring

集成名稱。

云監控集成
IntegrationProductTypestring

集成產品類型:

  • CLOUD_MONITOR:云監控
  • LOG_SERVICE:日志服務
CLOUD_MONITOR
ApiEndpointstring

集成地址。

https://alerts.aliyuncs.com/api/v1/integrations/custom/ymQBN******
ShortTokenstring

集成 Token。

ymQBN******
Stateboolean

告警集成是否啟用:

  • true
  • false
true
Livenessstring

告警集成活躍度。

ready
CreateTimestring

告警集成創建時間。

2022-06-18
IntegrationDetailobject

集成詳情對象信息。

Descriptionstring

告警集成描述信息。

測試
DuplicateKeystring

去重的字段。

LABEL.alertname::LABEL.severity
AutoRecoverboolean

告警事件是否自動恢復:

  • true(默認)
  • false
true
RecoverTimelong

告警事件自動恢復時間,默認時間為 300 秒。

300
Statarray

最近 1 小時總數及異常數。

statlong

最近 1 小時總數及異常數。

[0,0]
FieldRedefineRulesarray<object>

固定映射字段。

fieldRedefineRulesobject

事件映射,將源字段映射到目標字段。 固定字段映射,創建集成時默認生成的固定映射。

[ { "redefineType":"EXTRACT", "matchExpression":null, "fieldName":"alertname", "expression":null, "mappingRuleList":[ ], "name":"告警名稱", "integrationId":1234, "jsonPath":"$.alertName", "id":10001, "fieldType":"LABEL" }, { "redefineType":"MAP", "matchExpression":null, "fieldName":"severity", "expression":null, "mappingRuleList":[ { "mappingValue":"critical", "mappingName":"P1", "mappingType":"MAP", "originValue":"CRITICAL" }, { "mappingValue":"error", "mappingName":"P2", "mappingType":"MAP", "originValue":"WARN" }, { "mappingValue":"warning", "mappingName":"P3", "mappingType":"MAP", "originValue":"INFO" } ], "name":"告警等級", "integrationId":1234, "jsonPath":"$.triggerLevel", "id":10002, "fieldType":"LABEL" }, { "redefineType":"EXTRACT", "matchExpression":null, "fieldName":"message", "expression":"{{$labels.namespace}} / {{$labels.dimensions}} 發生 {{ $labels.alertname }}, 當前值 {{$value}}。", "mappingRuleList":[ ], "name":"告警描述", "integrationId":1234, "jsonPath":null, "id":10003, "fieldType":"ANNOTATION" }, { "redefineType":"EXTRACT", "matchExpression":null, "fieldName":"value", "expression":null, "mappingRuleList":[ ], "name":"告警樣本值", "integrationId":1234, "jsonPath":"$.curValue", "id":10004, "fieldType":"ANNOTATION" }, { "redefineType":"EXTRACT", "matchExpression":null, "fieldName":"source", "expression":null, "mappingRuleList":[ ], "name":"來源", "integrationId":1234, "jsonPath":null, "id":10007, "fieldType":"LABEL" }, { "redefineType":"ADD", "matchExpression":null, "fieldName":"generatorUrl", "expression":"https://cloudmonitor.console.aliyun.com/index.htm#/alarmInfo/name={{$labels.ruleId}}&searchValue=&searchType=name&searchProduct=/history/all/searchKey:{{$labels.ruleId}},startTime:{{sub $startsAt 300000}},endTime:{{$endsAt}}", "mappingRuleList":[ ], "name":"事件地址", "integrationId":1234, "jsonPath":"https://cloudmonitor.console.aliyun.com/index.htm#/alarmInfo/name={{$labels.ruleId}}&searchValue=&searchType=name&searchProduct=/history/all/searchKey:{{$labels.ruleId}},startTime:{{sub $startsAt 300000}},endTime:{{$endsAt}}", "id":10012, "fieldType":"GENERATE_URL" } ]
ExtendedFieldRedefineRulesarray<object>

拓展映射字段。

extendedFieldRedefineRulesobject

事件映射,將源字段映射到目標字段,拓展字段增加映射。

[ { "redefineType":"EXTRACT", "matchExpression":null, "fieldName":"dimensions", "expression":null, "mappingRuleList":[ ], "name":"dimensions", "integrationId":1234, "jsonPath":"$.dimensions", "id":10013, "fieldType":"LABEL" }, { "redefineType":"EXTRACT", "matchExpression":null, "fieldName":"expression", "expression":null, "mappingRuleList":[ ], "name":"expression", "integrationId":1234, "jsonPath":"$.expression", "id":10014, "fieldType":"LABEL" } ]
InitiativeRecoverFieldstring

告警事件恢復字段。系統收到恢復事件后會根據恢復事件中的字段查詢告警事件進行恢復。

說明 僅日志服務支持設置此參數。
$.status
InitiativeRecoverValuestring

告警事件恢復字段值。系統收到恢復事件后會根據恢復事件中的字段查詢告警事件進行恢復。

說明 僅日志服務支持設置此參數。
ok

示例

正常返回示例

JSON格式

{
  "RequestId": "34ED024E-9E31-434A-9E4E-D9D15C3****",
  "PageInfo": {
    "Total": 1,
    "Size": 10,
    "Page": 1,
    "Integrations": [
      {
        "IntegrationId": 1234,
        "IntegrationName": "云監控集成",
        "IntegrationProductType": "CLOUD_MONITOR",
        "ApiEndpoint": "https://alerts.aliyuncs.com/api/v1/integrations/custom/ymQBN******",
        "ShortToken": "ymQBN******",
        "State": true,
        "Liveness": "ready",
        "CreateTime": "2022-06-18",
        "IntegrationDetail": {
          "Description": "測試",
          "DuplicateKey": "LABEL.alertname::LABEL.severity",
          "AutoRecover": true,
          "RecoverTime": 300,
          "Stat": [
            0
          ],
          "FieldRedefineRules": [
            [
              {
                "redefineType": "EXTRACT",
                "matchExpression": null,
                "fieldName": "alertname",
                "expression": null,
                "mappingRuleList": [],
                "name": "告警名稱",
                "integrationId": 1234,
                "jsonPath": "$.alertName",
                "id": 10001,
                "fieldType": "LABEL"
              },
              {
                "redefineType": "MAP",
                "matchExpression": null,
                "fieldName": "severity",
                "expression": null,
                "mappingRuleList": [
                  {
                    "mappingValue": "critical",
                    "mappingName": "P1",
                    "mappingType": "MAP",
                    "originValue": "CRITICAL"
                  },
                  {
                    "mappingValue": "error",
                    "mappingName": "P2",
                    "mappingType": "MAP",
                    "originValue": "WARN"
                  },
                  {
                    "mappingValue": "warning",
                    "mappingName": "P3",
                    "mappingType": "MAP",
                    "originValue": "INFO"
                  }
                ],
                "name": "告警等級",
                "integrationId": 1234,
                "jsonPath": "$.triggerLevel",
                "id": 10002,
                "fieldType": "LABEL"
              },
              {
                "redefineType": "EXTRACT",
                "matchExpression": null,
                "fieldName": "message",
                "expression": "{{$labels.namespace}} / {{$labels.dimensions}} 發生 {{ $labels.alertname }}, 當前值 {{$value}}。",
                "mappingRuleList": [],
                "name": "告警描述",
                "integrationId": 1234,
                "jsonPath": null,
                "id": 10003,
                "fieldType": "ANNOTATION"
              },
              {
                "redefineType": "EXTRACT",
                "matchExpression": null,
                "fieldName": "value",
                "expression": null,
                "mappingRuleList": [],
                "name": "告警樣本值",
                "integrationId": 1234,
                "jsonPath": "$.curValue",
                "id": 10004,
                "fieldType": "ANNOTATION"
              },
              {
                "redefineType": "EXTRACT",
                "matchExpression": null,
                "fieldName": "source",
                "expression": null,
                "mappingRuleList": [],
                "name": "來源",
                "integrationId": 1234,
                "jsonPath": null,
                "id": 10007,
                "fieldType": "LABEL"
              },
              {
                "redefineType": "ADD",
                "matchExpression": null,
                "fieldName": "generatorUrl",
                "expression": "https://cloudmonitor.console.aliyun.com/index.htm#/alarmInfo/name={{$labels.ruleId}}&searchValue=&searchType=name&searchProduct=/history/all/searchKey:{{$labels.ruleId}},startTime:{{sub $startsAt 300000}},endTime:{{$endsAt}}",
                "mappingRuleList": [],
                "name": "事件地址",
                "integrationId": 1234,
                "jsonPath": "https://cloudmonitor.console.aliyun.com/index.htm#/alarmInfo/name={{$labels.ruleId}}&searchValue=&searchType=name&searchProduct=/history/all/searchKey:{{$labels.ruleId}},startTime:{{sub $startsAt 300000}},endTime:{{$endsAt}}",
                "id": 10012,
                "fieldType": "GENERATE_URL"
              }
            ]
          ],
          "ExtendedFieldRedefineRules": [
            [
              {
                "redefineType": "EXTRACT",
                "matchExpression": null,
                "fieldName": "dimensions",
                "expression": null,
                "mappingRuleList": [],
                "name": "dimensions",
                "integrationId": 1234,
                "jsonPath": "$.dimensions",
                "id": 10013,
                "fieldType": "LABEL"
              },
              {
                "redefineType": "EXTRACT",
                "matchExpression": null,
                "fieldName": "expression",
                "expression": null,
                "mappingRuleList": [],
                "name": "expression",
                "integrationId": 1234,
                "jsonPath": "$.expression",
                "id": 10014,
                "fieldType": "LABEL"
              }
            ]
          ],
          "InitiativeRecoverField": "$.status",
          "InitiativeRecoverValue": "ok"
        }
      }
    ]
  }
}

錯誤碼

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

變更歷史

變更時間變更內容概要操作
2022-08-11OpenAPI 返回結構發生變更查看變更詳情