@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
169 lines (168 loc) • 8.98 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class TrelloNotification extends pulumi.CustomResource {
/**
* Get an existing TrelloNotification 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?: TrelloNotificationState, opts?: pulumi.CustomResourceOptions): TrelloNotification;
/**
* Returns true if the given object is an instance of TrelloNotification. 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 TrelloNotification;
/**
* The configuration is enabled (`true`) or disabled (`false`)
*/
readonly active: pulumi.Output<boolean>;
/**
* The application key for the Trello account
*/
readonly applicationKey: pulumi.Output<string>;
/**
* The application token for the Trello account
*/
readonly authorizationToken: pulumi.Output<string | undefined>;
/**
* The Trello board to which the card should be assigned
*/
readonly boardId: pulumi.Output<string>;
/**
* The description of the Trello card. You can use same placeholders as in card text
*/
readonly description: pulumi.Output<string>;
/**
* The ID of these settings when referred to from resources requiring the REST API V1 keys
*/
readonly legacyId: pulumi.Output<string>;
/**
* The Trello list to which the card should be assigned
*/
readonly listId: 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 Trello list to which the card of the resolved problem should be assigned
*/
readonly resolvedListId: pulumi.Output<string>;
/**
* The text of the generated Trello card. You can use the following placeholders: * `{ImpactedEntity}`: The entity impacted by the problem or *X* impacted entities. * `{PID}`: The ID of the reported problem. * `{ProblemDetailsMarkdown}`: All problem event details, including root cause, as a [Markdown-formatted](https://www.markdownguide.org/cheat-sheet/) string. * `{ProblemID}`: The display number of the reported problem. * `{ProblemImpact}`: The [impact level](https://www.dynatrace.com/support/help/shortlink/impact-analysis) of the problem. Possible values are `APPLICATION`, `SERVICE`, and `INFRASTRUCTURE`. * `{ProblemSeverity}`: The [severity level](https://www.dynatrace.com/support/help/shortlink/event-types) of the problem. Possible values are `AVAILABILITY`, `ERROR`, `PERFORMANCE`, `RESOURCE_CONTENTION`, and `CUSTOM_ALERT`. * `{ProblemTitle}`: A short description of the problem. * `{ProblemURL}`: The URL of the problem within Dynatrace. * `{State}`: The state of the problem. Possible values are `OPEN` and `RESOLVED`. * `{Tags}`: The list of tags that are defined for all impacted entities, separated by commas
*/
readonly text: pulumi.Output<string>;
/**
* Create a TrelloNotification 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: TrelloNotificationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering TrelloNotification resources.
*/
export interface TrelloNotificationState {
/**
* The configuration is enabled (`true`) or disabled (`false`)
*/
active?: pulumi.Input<boolean>;
/**
* The application key for the Trello account
*/
applicationKey?: pulumi.Input<string>;
/**
* The application token for the Trello account
*/
authorizationToken?: pulumi.Input<string>;
/**
* The Trello board to which the card should be assigned
*/
boardId?: pulumi.Input<string>;
/**
* The description of the Trello card. You can use same placeholders as in card text
*/
description?: pulumi.Input<string>;
/**
* The ID of these settings when referred to from resources requiring the REST API V1 keys
*/
legacyId?: pulumi.Input<string>;
/**
* The Trello list to which the card should be assigned
*/
listId?: 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 Trello list to which the card of the resolved problem should be assigned
*/
resolvedListId?: pulumi.Input<string>;
/**
* The text of the generated Trello card. You can use the following placeholders: * `{ImpactedEntity}`: The entity impacted by the problem or *X* impacted entities. * `{PID}`: The ID of the reported problem. * `{ProblemDetailsMarkdown}`: All problem event details, including root cause, as a [Markdown-formatted](https://www.markdownguide.org/cheat-sheet/) string. * `{ProblemID}`: The display number of the reported problem. * `{ProblemImpact}`: The [impact level](https://www.dynatrace.com/support/help/shortlink/impact-analysis) of the problem. Possible values are `APPLICATION`, `SERVICE`, and `INFRASTRUCTURE`. * `{ProblemSeverity}`: The [severity level](https://www.dynatrace.com/support/help/shortlink/event-types) of the problem. Possible values are `AVAILABILITY`, `ERROR`, `PERFORMANCE`, `RESOURCE_CONTENTION`, and `CUSTOM_ALERT`. * `{ProblemTitle}`: A short description of the problem. * `{ProblemURL}`: The URL of the problem within Dynatrace. * `{State}`: The state of the problem. Possible values are `OPEN` and `RESOLVED`. * `{Tags}`: The list of tags that are defined for all impacted entities, separated by commas
*/
text?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a TrelloNotification resource.
*/
export interface TrelloNotificationArgs {
/**
* The configuration is enabled (`true`) or disabled (`false`)
*/
active: pulumi.Input<boolean>;
/**
* The application key for the Trello account
*/
applicationKey: pulumi.Input<string>;
/**
* The application token for the Trello account
*/
authorizationToken?: pulumi.Input<string>;
/**
* The Trello board to which the card should be assigned
*/
boardId: pulumi.Input<string>;
/**
* The description of the Trello card. You can use same placeholders as in card text
*/
description: pulumi.Input<string>;
/**
* The ID of these settings when referred to from resources requiring the REST API V1 keys
*/
legacyId?: pulumi.Input<string>;
/**
* The Trello list to which the card should be assigned
*/
listId: 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 Trello list to which the card of the resolved problem should be assigned
*/
resolvedListId: pulumi.Input<string>;
/**
* The text of the generated Trello card. You can use the following placeholders: * `{ImpactedEntity}`: The entity impacted by the problem or *X* impacted entities. * `{PID}`: The ID of the reported problem. * `{ProblemDetailsMarkdown}`: All problem event details, including root cause, as a [Markdown-formatted](https://www.markdownguide.org/cheat-sheet/) string. * `{ProblemID}`: The display number of the reported problem. * `{ProblemImpact}`: The [impact level](https://www.dynatrace.com/support/help/shortlink/impact-analysis) of the problem. Possible values are `APPLICATION`, `SERVICE`, and `INFRASTRUCTURE`. * `{ProblemSeverity}`: The [severity level](https://www.dynatrace.com/support/help/shortlink/event-types) of the problem. Possible values are `AVAILABILITY`, `ERROR`, `PERFORMANCE`, `RESOURCE_CONTENTION`, and `CUSTOM_ALERT`. * `{ProblemTitle}`: A short description of the problem. * `{ProblemURL}`: The URL of the problem within Dynatrace. * `{State}`: The state of the problem. Possible values are `OPEN` and `RESOLVED`. * `{Tags}`: The list of tags that are defined for all impacted entities, separated by commas
*/
text: pulumi.Input<string>;
}