pulumi-better-uptime
Version:
A Pulumi provider for managing Better Uptime monitoring, alerting, and incident management resources, dynamically bridged from the Terraform Better Uptime provider with support for monitors, heartbeats, integrations, status pages, and policies.
85 lines (84 loc) • 3.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class PagerdutyIntegration extends pulumi.CustomResource {
/**
* Get an existing PagerdutyIntegration resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PagerdutyIntegrationState, opts?: pulumi.CustomResourceOptions): PagerdutyIntegration;
/**
* Returns true if the given object is an instance of PagerdutyIntegration. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is PagerdutyIntegration;
/**
* The PagerDuty routing key.
*/
readonly key: pulumi.Output<string>;
/**
* The name of the PagerDuty Integration.
*/
readonly name: pulumi.Output<string>;
/**
* The PagerDuty alert severity. Can be any of the following: info, warning, error, or critical.
*/
readonly severity: pulumi.Output<string>;
/**
* Used to specify the team the resource should be created in when using global tokens.
*/
readonly teamName: pulumi.Output<string | undefined>;
/**
* Create a PagerdutyIntegration resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: PagerdutyIntegrationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering PagerdutyIntegration resources.
*/
export interface PagerdutyIntegrationState {
/**
* The PagerDuty routing key.
*/
key?: pulumi.Input<string>;
/**
* The name of the PagerDuty Integration.
*/
name?: pulumi.Input<string>;
/**
* The PagerDuty alert severity. Can be any of the following: info, warning, error, or critical.
*/
severity?: pulumi.Input<string>;
/**
* Used to specify the team the resource should be created in when using global tokens.
*/
teamName?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a PagerdutyIntegration resource.
*/
export interface PagerdutyIntegrationArgs {
/**
* The PagerDuty routing key.
*/
key: pulumi.Input<string>;
/**
* The name of the PagerDuty Integration.
*/
name?: pulumi.Input<string>;
/**
* The PagerDuty alert severity. Can be any of the following: info, warning, error, or critical.
*/
severity: pulumi.Input<string>;
/**
* Used to specify the team the resource should be created in when using global tokens.
*/
teamName?: pulumi.Input<string>;
}