Skip to main content

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

    name string

    Name of the resource

    location

    object

    Contains information about the Region of a resource

    value string

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

    • ITBG-Bergamo

    For more information, check the documentation.

    tags string[]nullable

    List of tags for the resource

    properties

    object

    linkedResources

    object[]

    nullable

  • Array [

  • uri stringnullable

    Uri of the resource to link

  • ]

  • alertInfo

    object

    ruleInfo

    object

    name stringnullable
    tags string[]nullable
    note stringnullable
    serviceCategory stringnullable
    serviceTypology stringnullable

    clusterDetail

    object

    aggregation stringnullable
    id stringnullable
    name stringnullable
    nodePool stringnullable
    serviceNumber int32nullable

    resource

    object

    id string[]nullable
    name string[]nullable
    vdc stringnullable
    vm string[]nullable

    metric

    object

    name stringnullable
    type stringnullable
    rule stringnullable
    theshold nullable
    um stringnullable
    duration stringnullable
    state stringnullable

    notify

    object

    email booleannullable
    sms booleannullable
    panel booleannullable
    autoscalingDbaas booleannullable
    autoscalingDbaasValue int32nullable

Responses​

Created

Schema

    name stringnullable
    tags string[]nullable
    description stringnullable
    username stringnullable
    tenant stringnullable
    company stringnullable
    serviceCategory stringnullable
    serviceTypology stringnullable
    clusterTypology stringnullable
    cluster stringnullable
    clustername stringnullable
    nodePool stringnullable
    serviceNumber int32nullable
    resourceId string[]nullable
    resourceName string[]nullable
    resourceTypology stringnullable
    vdc stringnullable
    vm string[]nullable
    metric stringnullable
    lastReception date-timenullable
    lastActivation date-timenullable
    creationDatetime date-timenullable
    lastEdit date-timenullable
    deletionDate date-timenullable
    rule stringnullable
    theshold int64nullable
    um stringnullable
    duration stringnullable
    state stringnullable
    email booleannullable
    emailValue stringnullable
    sms booleannullable
    smsValue stringnullable
    panel booleannullable
    hidden booleannullable

    alertActions

    object[]

    nullable

  • Array [

  • actionType ActionType (string)

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

    parameters

    object

    nullable

    property name* string
  • ]

Loading...