Type Alias ZonedApiCreateSubscriberRequest

ZonedApiCreateSubscriberRequest: {
    emailConfig?: SubscriberEmailConfig;
    name: string;
    organizationId?: string;
    projectId?: string;
    webhookConfig?: SubscriberWebhookConfig;
    zone?: Zone;
}

Create a new alert subscriber (webhook or email).

Type declaration

  • OptionalemailConfig?: SubscriberEmailConfig

    Email address configuration.

    One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.

  • name: string

    Subscriber name.

  • OptionalorganizationId?: string

    Organization ID to create the subscriber in.

    One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.

  • OptionalprojectId?: string

    Project ID to create the subscriber in.

    One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.

  • OptionalwebhookConfig?: SubscriberWebhookConfig

    WebHook URI configuration.

    One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.

  • Optionalzone?: Zone

    Zone to target. If none is passed will use default zone from the config.