seconds. If set, limitEvery cannot be empty.
- type: integer
- tagRules:
- description: List of tag rules the notification rule attempts to match.
- type: array
- items:
- $ref: "#/components/schemas/TagRule"
- description:
- description: An optional description of the notification rule.
- type: string
- statusRules:
- description: List of status rules the notification rule attempts to match.
- type: array
- minItems: 1
- items:
- $ref: "#/components/schemas/StatusRule"
- labels:
- $ref: "#/components/schemas/Labels"
- links:
- type: object
- readOnly: true
- example:
- self: "/api/v2/notificationRules/1"
- labels: "/api/v2/notificationRules/1/labels"
- members: "/api/v2/notificationRules/1/members"
- owners: "/api/v2/notificationRules/1/owners"
- properties:
- self:
- description: URL for this endpoint.
- $ref: "#/components/schemas/Link"
- labels:
- description: URL to retrieve labels for this notification rule.
- $ref: "#/components/schemas/Link"
- members:
- description: URL to retrieve members for this notification rule.
- $ref: "#/components/schemas/Link"
- owners:
- description: URL to retrieve owners for this notification rule.
- $ref: "#/components/schemas/Link"
- TagRule:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- operator:
- type: string
- enum: ["equal", "notequal", "equalregex","notequalregex"]
- StatusRule:
- type: object
- properties:
- currentLevel:
- $ref: "#/components/schemas/RuleStatusLevel"
- previousLevel:
- $ref: "#/components/schemas/RuleStatusLevel"
- count:
- type: integer
- period:
- type: string
- HTTPNotificationRuleBase:
- type: object
- required: [type]
- properties:
- type:
- type: string
- enum: [http]
- url:
- type: string
- HTTPNotificationRule:
- allOf:
- - $ref: "#/components/schemas/NotificationRuleBase"
- - $ref: "#/components/schemas/HTTPNotificationRuleBase"
- SlackNotificationRuleBase:
- type: object
- required: [type, messageTemplate]
- properties:
- type:
- type: string
- enum: [slack]
- channel:
- type: string
- messageTemplate:
- type: string
- SlackNotificationRule:
- allOf:
- - $ref: "#/components/schemas/NotificationRuleBase"
- - $ref: "#/components/schemas/SlackNotificationRuleBase"
- SMTPNotificationRule:
- allOf:
- - $ref: "#/components/schemas/NotificationRuleBase"
- - $ref: "#/components/schemas/SMTPNotificationRuleBase"
- SMTPNotificationRuleBase:
- type: object
- required: [type, subjectTemplate, to]
- properties:
- type:
- type: string
- enum: [smtp]
- subjectTemplate:
- type: string
- bodyTemplate:
- type: string
- to:
- type: string
- PagerDutyNotificationRule:
- allOf:
- - $ref: "#/components/schemas/NotificationRuleBase"
- - $ref: "#/components/schemas/PagerDutyNotificationRuleBase"
- PagerDutyNotificationRuleBase:
- type: object
- required: [type, messageTemplate]
- properties:
- type:
- type: string
- enum: [pagerduty]
- messageTemplate:
- type: string
- NotificationEndpointUpdate:
- type: object
- properties:
- name:
- type: string
- description:
- type: string
- status:
- type: string
- enum:
- - active
- - inactive
- NotificationEndpointDiscriminator:
- oneOf:
- - $ref: "#/components/schemas/SlackNotificationEndpoint"
- - $ref: "#/components/schemas/PagerDutyNotificationEndpoint"
- - $ref: "#/components/schemas/HTTPNotificationEndpoint"
- discriminator:
- propertyName: type
- mapping:
- slack: "#/components/schemas/SlackNotificationEndpoint"
- pagerduty: "#/components/schemas/PagerDutyNotificationEndpoint"
- http: "#/components/schemas/HTTPNotificationEndpoint"
- NotificationEndpoint:
- allOf:
- - $ref: "#/components/schemas/NotificationEndpointDiscriminator"
- PostNotificationEndpoint:
- allOf:
- - $ref: "#/components/schemas/NotificationEndpointDiscriminator"
- NotificationEndpoints:
- properties:
- notificationEndpoints:
- type: array
- items:
- $ref: "#/components/schemas/NotificationEndpoint"
- links:
- $ref: "#/components/schemas/Links"
- NotificationEndpointBase:
- type: object
- required: [type, name]
- properties:
- id:
- type: string
- orgID:
- type: string
- userID:
- type: string
- createdAt:
- type: string
- format: date-time
- readOnly: true
- updatedAt:
- type: string
- format: date-time
- readOnly: true
- description:
- description: An optional description of the notification endpoint.
- type: string
- name:
- type: string
- status:
- description: The status of the endpoint.
- default: active
- type: string
- enum: ["active", "inactive"]
- labels:
- $ref: "#/components/schemas/Labels"
- links:
- type: object
- readOnly: true
- example:
- self: "/api/v2/notificationEndpoints/1"
- labels: "/api/v2/notificationEndpoints/1/labels"
- members: "/api/v2/notificationEndpoints/1/members"
- owners: "/api/v2/notificationEndpoints/1/owners"
- properties:
- self:
- description: URL for this endpoint.
- $ref: "#/components/schemas/Link"
- labels:
- description: URL to retrieve labels for this endpoint.
- $ref: "#/components/schemas/Link"
- members:
- description: URL to retrieve members for this endpoint.
- $ref: "#/components/schemas/Link"
- owners:
- description: URL to retrieve owners for this endpoint.
- $ref: "#/components/schemas/Link"
- type:
- $ref: "#/components/schemas/NotificationEndpointType"
- SlackNotificationEndpoint:
- type: object
- allOf:
- - $ref: "#/components/schemas/NotificationEndpointBase"
- - type: object
- required: [url]
- properties:
- url:
- description: Specifies the URL of the Slack endpoint. Specify either `URL` or `Token`.
- type: string
- token:
- description: Specifies the API token string. Specify either `URL` or `Token`.
- type: string
- PagerDutyNotificationEndpoint:
- type: object
- allOf:
- - $ref: "#/components/schemas/NotificationEndpointBase"
- - type: object
- required: [clientURL, routingKey]
- properties:
- clientURL:
- type: string
- routingKey:
- type: string
- HTTPNotificationEndpoint:
- type: object
- allOf:
- - $ref: "#/components/schemas/NotificationEndpointBase"
- - type: object
- required: [url, authMethod, method]
- properties:
- url:
- type: string
- username:
- type: string
- password:
- type: string
- token:
- type: string
- method:
- type: string
- enum: ["POST", "GET", "PUT"]
- authMethod:
- type: string
- enum: ["none", "basic", "bearer"]
- contentTemplate:
- type: string
- headers:
- type: object
- description: Customized headers.
- additionalProperties:
- type: string
- NotificationEndpointType:
- type: string
- enum: ["slack", "pagerduty", "http"]
- DBRP:
- required:
- - orgID
- - org
- - bucketID
- - database
- - retention_policy
- properties:
- id:
- type: string
- description: the mapping identifier
- readOnly: true
- orgID:
- type: string
- description: the organization ID that owns this mapping.
- org:
- type: string
- description: the organization that owns this mapping.
- bucketID:
- type: string
- description: the bucket ID used as target for the translation.
- database:
- type: string
- description: InfluxDB v1 database
- retention_policy:
- type: string
- description: InfluxDB v1 retention policy
- default:
- type: boolean
- description: Specify if this mapping represents the default retention policy for the database specificed.
- links:
- $ref: "#/components/schemas/Links"
- DBRPs:
- properties:
- notificationEndpoints:
- type: array
- items:
- $ref: "#/components/schemas/DBRP"
- links:
- $ref: "#/components/schemas/Links"
- DBRPUpdate:
- properties:
- database:
- type: string
- description: InfluxDB v1 database
- retention_policy:
- type: string
- description: InfluxDB v1 retention policy
- default:
- type: boolean
- links:
- $ref: "#/components/schemas/Links"
- securitySchemes:
- BasicAuth:
- type: http
- scheme: basic
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy