Passa al contenuto principale

Create Alert Rule

POST 

/projects/:projectId/providers/Aruba.Insight/alertRules

Create Alert Rule

Request

Path Parameters

    projectId stringrequired
    Default value: *

Query Parameters

    api-version string

    The requested API version

    Default value: 1.0

Body

    metadata

    object

    Metadata of the resource

    namestring

    Name of the resource

    location

    object

    Contains information about the Region of a resource

    valuestring

    Value of the region in which the resource will be located. Available regions at present:

    • ITBG-Bergamo

    For more information, check the documentation.

    tagsstring[]nullable

    List of tags for the resource

    properties

    object

    linkedResources

    object[]

    nullable

  • Array [

  • uristringnullable

    Uri of the resource to link

  • ]

  • alertInfo

    object

    ruleInfo

    object

    namestringnullable
    tagsstring[]nullable
    notestringnullable
    serviceCategorystringnullable
    serviceTypologystringnullable

    clusterDetail

    object

    aggregationstringnullable
    idstringnullable
    namestringnullable
    nodePoolstringnullable
    serviceNumberint32nullable

    resource

    object

    idstring[]nullable
    namestring[]nullable
    vdcstringnullable
    vmstring[]nullable

    metric

    object

    namestringnullable
    typestringnullable
    rulestringnullable
    thesholdnullable
    umstringnullable
    durationstringnullable
    statestringnullable

    notify

    object

    emailbooleannullable
    smsbooleannullable
    panelbooleannullable
    autoscalingDbaasbooleannullable
    autoscalingDbaasValueint32nullable

Responses

Created

Schema

    namestringnullable
    tagsstring[]nullable
    descriptionstringnullable
    usernamestringnullable
    tenantstringnullable
    companystringnullable
    serviceCategorystringnullable
    serviceTypologystringnullable
    clusterTypologystringnullable
    clusterstringnullable
    clusternamestringnullable
    nodePoolstringnullable
    serviceNumberint32nullable
    resourceIdstring[]nullable
    resourceNamestring[]nullable
    resourceTypologystringnullable
    vdcstringnullable
    vmstring[]nullable
    metricstringnullable
    lastReceptiondate-timenullable
    lastActivationdate-timenullable
    creationDatetimedate-timenullable
    lastEditdate-timenullable
    deletionDatedate-timenullable
    rulestringnullable
    thesholdint64nullable
    umstringnullable
    durationstringnullable
    statestringnullable
    emailbooleannullable
    emailValuestringnullable
    smsbooleannullable
    smsValuestringnullable
    panelbooleannullable
    hiddenbooleannullable

    alertActions

    object[]

    nullable

  • Array [

  • actionTypeActionType (string)

    Possible values: [NotificationPanel, SendEmail, SendSms, AutoscalingDbaas]

    parameters

    object

    nullable

    property name*string
  • ]