Alerting: Update documentation for Prometheus list rules API (#114057)
This commit is contained in:
@@ -1530,6 +1530,12 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"msteamsv2_configs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/MSTeamsV2Config"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "A unique identifier for this receiver.",
|
||||
"type": "string"
|
||||
@@ -2114,6 +2120,32 @@
|
||||
"title": "InspectType is a type for the Inspect property of a Notice.",
|
||||
"type": "integer"
|
||||
},
|
||||
"IntegrationStatus": {
|
||||
"properties": {
|
||||
"lastNotifyAttempt": {
|
||||
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptDuration": {
|
||||
"description": "Duration of the last attempt to deliver a notification in humanized format (`1s` or `15ms`, etc).",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptError": {
|
||||
"description": "Error string for the last attempt to deliver a notification. Empty if the last attempt was successful.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name of the integration.",
|
||||
"type": "string"
|
||||
},
|
||||
"sendResolved": {
|
||||
"description": "Whether the integration is configured to send resolved notifications.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"InternalDataLink": {
|
||||
"description": "InternalDataLink definition to allow Explore links to be constructed in the backend",
|
||||
"properties": {
|
||||
@@ -2263,6 +2295,29 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"MSTeamsV2Config": {
|
||||
"properties": {
|
||||
"http_config": {
|
||||
"$ref": "#/definitions/HTTPClientConfig"
|
||||
},
|
||||
"send_resolved": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"webhook_url": {
|
||||
"$ref": "#/definitions/SecretURL"
|
||||
},
|
||||
"webhook_url_file": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"MatchRegexps": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@@ -2803,6 +2858,12 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"msteamsv2_configs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/MSTeamsV2Config"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "A unique identifier for this receiver.",
|
||||
"type": "string"
|
||||
@@ -3557,6 +3618,12 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"msteamsv2_configs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/MSTeamsV2Config"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "A unique identifier for this receiver.",
|
||||
"type": "string"
|
||||
@@ -3643,6 +3710,26 @@
|
||||
"title": "ReceiverExport is the provisioned file export of alerting.ReceiverV1.",
|
||||
"type": "object"
|
||||
},
|
||||
"ReceiverStatus": {
|
||||
"properties": {
|
||||
"active": {
|
||||
"description": "Whether the receiver is used in a route or not.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"integrations": {
|
||||
"description": "Integrations configured for this receiver.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/IntegrationStatus"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name of the receiver.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Record": {
|
||||
"properties": {
|
||||
"from": {
|
||||
@@ -7314,7 +7401,7 @@
|
||||
"description": "",
|
||||
"schema": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/Receiver"
|
||||
"$ref": "#/definitions/ReceiverStatus"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user