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

UpdateIntegration - 修改集成相關(guān)信息

更新時(shí)間:

修改集成相關(guān)信息。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。

授權(quán)信息

下表是API對(duì)應(yīng)的授權(quán)信息,可以在RAM權(quán)限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調(diào)用此API的權(quán)限。具體說明如下:

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

請(qǐng)求參數(shù)

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

告警集成 ID。

1234
IntegrationNamestring

告警集成名稱。

云監(jiān)控集成
IntegrationProductTypestring

集成產(chǎn)品類型:

  • CLOUD_MONITOR:云監(jiān)控
  • LOG_SERVICE:日志服務(wù)
CLOUD_MONITOR
Descriptionstring

告警集成描述信息。

測(cè)試
AutoRecoverboolean

告警事件是否自動(dòng)恢復(fù):

  • true(默認(rèn))
  • false
true
RecoverTimelong

告警事件自動(dòng)恢復(fù)時(shí)間,默認(rèn)時(shí)間為 300 秒。

300
DuplicateKeystring

去重的字段。

LABEL.dimensions::LABEL.ruleId
Stateboolean

告警集成是否啟用:

  • true
  • false
true
Statstring

最近 1 小時(shí)總數(shù)及異常數(shù)。

[0,0]
Livenessstring

告警集成活躍度。

ready
FieldRedefineRulesstring

事件映射,將源字段映射到目標(biāo)字段。 固定字段映射,創(chuàng)建集成時(shí)默認(rèn)生成的固定映射。更多信息,請(qǐng)參見下方補(bǔ)充說明。

[ { "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":"告警等級(jí)", "integrationId":1234, "jsonPath":"$.triggerLevel", "id":10002, "fieldType":"LABEL" }, { "redefineType":"EXTRACT", "matchExpression":null, "fieldName":"message", "expression":"{{$labels.namespace}} / {{$labels.dimensions}} 發(fā)生 {{ $labels.alertname }}, 當(dāng)前值 {{$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" } ]
ExtendedFieldRedefineRulesstring

事件映射,將源字段映射到目標(biāo)字段,拓展字段增加映射。更多信息,請(qǐng)參見下方補(bǔ)充說明。

[ { "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

告警事件恢復(fù)字段。系統(tǒng)收到恢復(fù)事件后會(huì)根據(jù)恢復(fù)事件中的字段查詢告警事件進(jìn)行恢復(fù)。

說明 僅日志服務(wù)支持設(shè)置此參數(shù)。
$.status
InitiativeRecoverValuestring

告警事件恢復(fù)字段值。系統(tǒng)收到恢復(fù)事件后會(huì)根據(jù)恢復(fù)事件中的字段查詢告警事件進(jìn)行恢復(fù)。

說明 僅日志服務(wù)支持設(shè)置此參數(shù)。
ok

FieldRedefineRules 和 ExtendedFieldRedefineRules 參數(shù)說明

完整示例如下:

[
    {
        "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":"告警等級(jí)",
        "integrationId":1234,
        "jsonPath":"$.triggerLevel",
        "id":10002,
        "fieldType":"LABEL"
    },
    {
        "redefineType":"EXTRACT",
        "matchExpression":null,
        "fieldName":"message",
        "expression":"{{$labels.namespace}} / {{$labels.dimensions}} 發(fā)生 {{ $labels.alertname }}, 當(dāng)前值 {{$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":"imageUrl",
        "expression":null,
        "mappingRuleList":[

        ],
        "name":"告警圖片",
        "integrationId":1234,
        "jsonPath":null,
        "id":10005,
        "fieldType":"ANNOTATION"
    },
    {
        "redefineType":"EXTRACT",
        "matchExpression":null,
        "fieldName":"check",
        "expression":null,
        "mappingRuleList":[

        ],
        "name":"檢查項(xiàng)",
        "integrationId":1234,
        "jsonPath":null,
        "id":10006,
        "fieldType":"LABEL"
    },
    {
        "redefineType":"EXTRACT",
        "matchExpression":null,
        "fieldName":"source",
        "expression":null,
        "mappingRuleList":[

        ],
        "name":"來源",
        "integrationId":1234,
        "jsonPath":null,
        "id":10007,
        "fieldType":"LABEL"
    },
    {
        "redefineType":"EXTRACT",
        "matchExpression":null,
        "fieldName":"class",
        "expression":null,
        "mappingRuleList":[

        ],
        "name":"分類",
        "integrationId":1234,
        "jsonPath":null,
        "id":10008,
        "fieldType":"LABEL"
    },
    {
        "redefineType":"EXTRACT",
        "matchExpression":null,
        "fieldName":"service",
        "expression":null,
        "mappingRuleList":[

        ],
        "name":"服務(wù)",
        "integrationId":1234,
        "jsonPath":null,
        "id":10009,
        "fieldType":"LABEL"
    },
    {
        "redefineType":"EXTRACT",
        "matchExpression":null,
        "fieldName":"startat",
        "expression":null,
        "mappingRuleList":[

        ],
        "name":"開始時(shí)間",
        "integrationId":1234,
        "jsonPath":null,
        "id":10010,
        "fieldType":"START_AT"
    },
    {
        "redefineType":"EXTRACT",
        "matchExpression":null,
        "fieldName":"endat",
        "expression":null,
        "mappingRuleList":[

        ],
        "name":"結(jié)束時(shí)間",
        "integrationId":1234,
        "jsonPath":null,
        "id":10011,
        "fieldType":"END_AT"
    },
    {
        "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"
    }
]

字段說明:

字段說明
RedefineType- MAP:通過映射表進(jìn)行字段映射,如告警等級(jí)映射。
- EXTRACT:通過 jsonPath 從 JSON 中解析一個(gè)字段映射到目標(biāo)字段。
- ADD:添加一個(gè)內(nèi)容映射到目標(biāo)字段。
- CONDITION:條件映射。當(dāng)滿足條件時(shí),通過 jsonPath 從 JSON 中解析一個(gè)字段映射到目標(biāo)字段。
- CONCAT:串聯(lián)映射。將多個(gè)字段以指定的串聯(lián)符合拼接在一起后映射到模板字段。
MatchExpression- 如果 RedefineType 設(shè)置為 CONCAT,MatchExpression 的值即為傳遞串聯(lián)的分隔符。
- 如果 RedefineType 設(shè)置為 CONDITION,MatchExpression 的值即為傳遞條件規(guī)則的 JSON 字符串。
FieldType- LABEL:告警元數(shù)據(jù),一組標(biāo)簽唯一標(biāo)識(shí)一個(gè)事件,標(biāo)簽相同的事件為同一個(gè)事件,重復(fù)上報(bào)會(huì)進(jìn)行合并,常見的標(biāo)簽如 “alertname: 告警名稱 ”。
- ANNOTATION:注釋是告警事件的附加描述,注釋不屬于元數(shù)據(jù)。常見的注釋有 “message: 告警內(nèi)容”。
- GENERATE_URL:事件 URL 地址。
- START_AT:告警事件開始時(shí)間。
- END_AT:告警事件結(jié)束時(shí)間。
Expression條件映射樣式,作為轉(zhuǎn)義字符串值存入 Expression。
MappingRuleList字段重定義規(guī)則。
Name名稱。
FieldName字段名稱。
JsonPath源字段名稱。
IntegrationId集成 ID。
Id映射字段存儲(chǔ)表主鍵 ID。

返回參數(shù)

名稱類型描述示例值
object

Schema of Response

RequestIdstring

請(qǐng)求 ID。

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

集成信息。

IntegrationIdlong

告警集成 ID。

1234
IntegrationNamestring

告警集成名稱。

云監(jiān)控集成
IntegrationProductTypestring

集成產(chǎn)品類型:

  • CLOUD_MONITOR:云監(jiān)控
  • LOG_SERVICE:日志服務(wù)
CLOUD_MONITOR
Descriptionstring

告警集成描述信息。

測(cè)試
ApiEndpointstring

集成地址。

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

集成 Token。

ymQBN******
AutoRecoverboolean

告警事件是否自動(dòng)恢復(fù):

  • true(默認(rèn))
  • false
true
RecoverTimelong

告警事件自動(dòng)恢復(fù)時(shí)間,默認(rèn)時(shí)間為 300 秒。

300
DuplicateKeystring

去重的字段。

LABEL.dimensions::LABEL.ruleId
Stateboolean

告警集成是否啟用:

  • true
  • false
true
Statarray

最近 1 小時(shí)總數(shù)及異常數(shù)。

statlong

最近 1 小時(shí)總數(shù)及異常數(shù)。

[0,0]
Livenessstring

告警集成活躍度。

ready
FieldRedefineRulesarray<object>

固定映射字段。

fieldRedefineRulesobject

事件映射,將源字段映射到目標(biāo)字段。 固定字段映射,創(chuàng)建集成時(shí)默認(rèn)生成的固定映射。

[ { "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":"告警等級(jí)", "integrationId":1234, "jsonPath":"$.triggerLevel", "id":10002, "fieldType":"LABEL" }, { "redefineType":"EXTRACT", "matchExpression":null, "fieldName":"message", "expression":"{{$labels.namespace}} / {{$labels.dimensions}} 發(fā)生 {{ $labels.alertname }}, 當(dāng)前值 {{$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

事件映射,將源字段映射到目標(biāo)字段,拓展字段增加映射。

[ { "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

告警事件恢復(fù)字段。系統(tǒng)收到恢復(fù)事件后會(huì)根據(jù)恢復(fù)事件中的字段查詢告警事件進(jìn)行恢復(fù)。

說明 僅日志服務(wù)支持此參數(shù)。
$.status
InitiativeRecoverValuestring

告警事件恢復(fù)字段值。系統(tǒng)收到恢復(fù)事件后會(huì)根據(jù)恢復(fù)事件中的字段查詢告警事件進(jìn)行恢復(fù)。

說明 僅日志服務(wù)支持此參數(shù)。
ok

示例

正常返回示例

JSON格式

{
  "RequestId": "34ED024E-9E31-434A-9E4E-D9D15C3****",
  "Integration": {
    "IntegrationId": 1234,
    "IntegrationName": "云監(jiān)控集成",
    "IntegrationProductType": "CLOUD_MONITOR",
    "Description": "測(cè)試",
    "ApiEndpoint": "https://alerts.aliyuncs.com/api/v1/integrations/custom/ymQBN******",
    "ShortToken": "ymQBN******",
    "AutoRecover": true,
    "RecoverTime": 300,
    "DuplicateKey": "LABEL.dimensions::LABEL.ruleId",
    "State": true,
    "Stat": [
      0
    ],
    "Liveness": "ready",
    "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": "告警等級(jí)",
          "integrationId": 1234,
          "jsonPath": "$.triggerLevel",
          "id": 10002,
          "fieldType": "LABEL"
        },
        {
          "redefineType": "EXTRACT",
          "matchExpression": null,
          "fieldName": "message",
          "expression": "{{$labels.namespace}} / {{$labels.dimensions}} 發(fā)生 {{ $labels.alertname }}, 當(dāng)前值 {{$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"
  }
}

錯(cuò)誤碼

訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。

變更歷史

變更時(shí)間變更內(nèi)容概要操作
2023-06-12OpenAPI 入?yún)l(fā)生變更查看變更詳情
2022-08-11API 內(nèi)部配置變更,不影響調(diào)用查看變更詳情