dcloud monitoring subscribers add

Add a webhook, or invite an email address (it confirms by link first)

IAM monitoring:UpdateStatusPageChanges stateAsks before it deletes (-y skips)

A webhook gets a JSON POST (type ews.monitoring.status-page.incident.created|updated|resolved, component.down|up). An email address gets nothing until it opens the confirmation link. At most 1000 per page.

Synopsis

dcloud monitoring subscribers add id --kind kind --target target

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --kindRequired

    enum

    email: sent a confirmation link and told nothing else until it is opened; webhook: confirmed at once

    One of: email, webhook

  • --targetRequired

    string

    An email address (up to 254 characters, stored lower-case), or an https URL on a public address (up to 2048). 409 when it is already subscribed

Example

dcloud monitoring subscribers add id --kind email --target example

Generated from the API description, the same one the API checks requests against and the CLI is built from.