Create Alert Rule
POST/projects/:projectId/providers/Aruba.Insight/alertRules
Create Alert Rule
Request
Path Parameters
*Query Parameters
The requested API version
1.0- application/json
- text/json
- application/*+json
Body
- ITBG-Bergamo
Array [
]
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
linkedResources
object[]
nullable
Uri of the resource to link
alertInfo
object
ruleInfo
object
clusterDetail
object
resource
object
metric
object
notify
object
Body
- ITBG-Bergamo
Array [
]
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
linkedResources
object[]
nullable
Uri of the resource to link
alertInfo
object
ruleInfo
object
clusterDetail
object
resource
object
metric
object
notify
object
Body
- ITBG-Bergamo
Array [
]
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
linkedResources
object[]
nullable
Uri of the resource to link
alertInfo
object
ruleInfo
object
clusterDetail
object
resource
object
metric
object
notify
object
Responses
- 201
- 400
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
alertActions
object[]
nullable
Possible values: [NotificationPanel, SendEmail, SendSms, AutoscalingDbaas]
parameters
object
nullable
{
"name": "string",
"tags": [
"string"
],
"description": "string",
"username": "string",
"tenant": "string",
"company": "string",
"serviceCategory": "string",
"serviceTypology": "string",
"clusterTypology": "string",
"cluster": "string",
"clustername": "string",
"nodePool": "string",
"serviceNumber": 0,
"resourceId": [
"string"
],
"resourceName": [
"string"
],
"resourceTypology": "string",
"vdc": "string",
"vm": [
"string"
],
"metric": "string",
"lastReception": "2024-07-29T15:51:28.071Z",
"lastActivation": "2024-07-29T15:51:28.071Z",
"creationDatetime": "2024-07-29T15:51:28.071Z",
"lastEdit": "2024-07-29T15:51:28.071Z",
"deletionDate": "2024-07-29T15:51:28.071Z",
"rule": "string",
"theshold": 0,
"um": "string",
"duration": "string",
"state": "string",
"email": true,
"emailValue": "string",
"sms": true,
"smsValue": "string",
"panel": true,
"hidden": true,
"alertActions": [
{
"actionType": "NotificationPanel",
"parameters": {}
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Server Error