@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
121 lines (120 loc) • 4.01 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class PagerDutyNotification extends pulumi.CustomResource {
/**
* Get an existing PagerDutyNotification 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?: PagerDutyNotificationState, opts?: pulumi.CustomResourceOptions): PagerDutyNotification;
/**
* Returns true if the given object is an instance of PagerDutyNotification. 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 PagerDutyNotification;
/**
* The name of the PagerDuty account
*/
readonly account: pulumi.Output<string>;
/**
* The configuration is enabled (`true`) or disabled (`false`)
*/
readonly active: pulumi.Output<boolean>;
/**
* The API key to access PagerDuty
*/
readonly apiKey: pulumi.Output<string | undefined>;
/**
* The ID of these settings when referred to from resources requiring the REST API V1 keys
*/
readonly legacyId: pulumi.Output<string>;
/**
* The name of the notification configuration
*/
readonly name: pulumi.Output<string>;
/**
* The ID of the associated alerting profile
*/
readonly profile: pulumi.Output<string>;
/**
* The name of the PagerDuty Service
*/
readonly service: pulumi.Output<string>;
/**
* Create a PagerDutyNotification 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: PagerDutyNotificationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering PagerDutyNotification resources.
*/
export interface PagerDutyNotificationState {
/**
* The name of the PagerDuty account
*/
account?: pulumi.Input<string>;
/**
* The configuration is enabled (`true`) or disabled (`false`)
*/
active?: pulumi.Input<boolean>;
/**
* The API key to access PagerDuty
*/
apiKey?: pulumi.Input<string>;
/**
* The ID of these settings when referred to from resources requiring the REST API V1 keys
*/
legacyId?: pulumi.Input<string>;
/**
* The name of the notification configuration
*/
name?: pulumi.Input<string>;
/**
* The ID of the associated alerting profile
*/
profile?: pulumi.Input<string>;
/**
* The name of the PagerDuty Service
*/
service?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a PagerDutyNotification resource.
*/
export interface PagerDutyNotificationArgs {
/**
* The name of the PagerDuty account
*/
account: pulumi.Input<string>;
/**
* The configuration is enabled (`true`) or disabled (`false`)
*/
active: pulumi.Input<boolean>;
/**
* The API key to access PagerDuty
*/
apiKey?: pulumi.Input<string>;
/**
* The ID of these settings when referred to from resources requiring the REST API V1 keys
*/
legacyId?: pulumi.Input<string>;
/**
* The name of the notification configuration
*/
name?: pulumi.Input<string>;
/**
* The ID of the associated alerting profile
*/
profile: pulumi.Input<string>;
/**
* The name of the PagerDuty Service
*/
service: pulumi.Input<string>;
}