import * as pulumi from "@pulumi/pulumi"; /** * The Alerting Profile queries for an Alerting Profile that has a specified name. In case multiple Alerting Profiles share the same name the first one found will be used. * The ID of this Data Resource aligns with the IDs used by the Dynatrace Settings 2.0 API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumiverse/dynatrace"; * * const _default = dynatrace.getAlertingProfile({ * name: "Default", * }); * const myWebhookNotification = new dynatrace.WebhookNotification("myWebhookNotification", { * active: false, * profile: _default.then(_default => _default.id), * url: "https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e", * insecure: true, * notifyEventMerges: true, * notifyClosedProblems: true, * payload: "web-hook-payload", * }); * ``` */ export declare function getAlertingProfile(args: GetAlertingProfileArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAlertingProfile. */ export interface GetAlertingProfileArgs { name: string; } /** * A collection of values returned by getAlertingProfile. */ export interface GetAlertingProfileResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly legacyId: string; readonly name: string; } /** * The Alerting Profile queries for an Alerting Profile that has a specified name. In case multiple Alerting Profiles share the same name the first one found will be used. * The ID of this Data Resource aligns with the IDs used by the Dynatrace Settings 2.0 API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumiverse/dynatrace"; * * const _default = dynatrace.getAlertingProfile({ * name: "Default", * }); * const myWebhookNotification = new dynatrace.WebhookNotification("myWebhookNotification", { * active: false, * profile: _default.then(_default => _default.id), * url: "https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e", * insecure: true, * notifyEventMerges: true, * notifyClosedProblems: true, * payload: "web-hook-payload", * }); * ``` */ export declare function getAlertingProfileOutput(args: GetAlertingProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAlertingProfile. */ export interface GetAlertingProfileOutputArgs { name: pulumi.Input; }