@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
181 lines (180 loc) • 9.95 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class ServiceNowNotification extends pulumi.CustomResource {
/**
* Get an existing ServiceNowNotification 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?: ServiceNowNotificationState, opts?: pulumi.CustomResourceOptions): ServiceNowNotification;
/**
* Returns true if the given object is an instance of ServiceNowNotification. 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 ServiceNowNotification;
/**
* The configuration is enabled (`true`) or disabled (`false`)
*/
readonly active: pulumi.Output<boolean>;
/**
* Send events into ServiceNow ITOM
*/
readonly events: pulumi.Output<boolean | undefined>;
/**
* Use text format for problem details instead of HTML.
*/
readonly formatProblemDetailsAsText: pulumi.Output<boolean | undefined>;
/**
* Send incidents into ServiceNow ITSM
*/
readonly incidents: pulumi.Output<boolean>;
/**
* The ServiceNow instance identifier. It refers to the first part of your own ServiceNow URL. This field is mutually exclusive with the **url** field. You can only use one of them
*/
readonly instance: 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 content of the ServiceNow description. You can use the following placeholders: * `{ImpactedEntity}`: The entity impacted by the problem or *X* impacted entities. * `{PID}`: The ID of the reported problem. * `{ProblemDetailsHTML}`: All problem event details, including root cause, as an HTML-formatted 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 message: pulumi.Output<string>;
/**
* The name of the notification configuration
*/
readonly name: pulumi.Output<string>;
/**
* The password to the ServiceNow account
*/
readonly password: pulumi.Output<string | undefined>;
/**
* The ID of the associated alerting profile
*/
readonly profile: pulumi.Output<string>;
/**
* The URL of the on-premise ServiceNow installation. This field is mutually exclusive with the **instance** field. You can only use one of them
*/
readonly url: pulumi.Output<string | undefined>;
/**
* The username of the ServiceNow account. Make sure that your user account has the `restService`, `webRequestAdmin`, and `x_dynat_ruxit.Integration` roles
*/
readonly username: pulumi.Output<string>;
/**
* Create a ServiceNowNotification 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: ServiceNowNotificationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ServiceNowNotification resources.
*/
export interface ServiceNowNotificationState {
/**
* The configuration is enabled (`true`) or disabled (`false`)
*/
active?: pulumi.Input<boolean>;
/**
* Send events into ServiceNow ITOM
*/
events?: pulumi.Input<boolean>;
/**
* Use text format for problem details instead of HTML.
*/
formatProblemDetailsAsText?: pulumi.Input<boolean>;
/**
* Send incidents into ServiceNow ITSM
*/
incidents?: pulumi.Input<boolean>;
/**
* The ServiceNow instance identifier. It refers to the first part of your own ServiceNow URL. This field is mutually exclusive with the **url** field. You can only use one of them
*/
instance?: pulumi.Input<string>;
/**
* The ID of these settings when referred to from resources requiring the REST API V1 keys
*/
legacyId?: pulumi.Input<string>;
/**
* The content of the ServiceNow description. You can use the following placeholders: * `{ImpactedEntity}`: The entity impacted by the problem or *X* impacted entities. * `{PID}`: The ID of the reported problem. * `{ProblemDetailsHTML}`: All problem event details, including root cause, as an HTML-formatted 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
*/
message?: pulumi.Input<string>;
/**
* The name of the notification configuration
*/
name?: pulumi.Input<string>;
/**
* The password to the ServiceNow account
*/
password?: pulumi.Input<string>;
/**
* The ID of the associated alerting profile
*/
profile?: pulumi.Input<string>;
/**
* The URL of the on-premise ServiceNow installation. This field is mutually exclusive with the **instance** field. You can only use one of them
*/
url?: pulumi.Input<string>;
/**
* The username of the ServiceNow account. Make sure that your user account has the `restService`, `webRequestAdmin`, and `x_dynat_ruxit.Integration` roles
*/
username?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ServiceNowNotification resource.
*/
export interface ServiceNowNotificationArgs {
/**
* The configuration is enabled (`true`) or disabled (`false`)
*/
active: pulumi.Input<boolean>;
/**
* Send events into ServiceNow ITOM
*/
events?: pulumi.Input<boolean>;
/**
* Use text format for problem details instead of HTML.
*/
formatProblemDetailsAsText?: pulumi.Input<boolean>;
/**
* Send incidents into ServiceNow ITSM
*/
incidents: pulumi.Input<boolean>;
/**
* The ServiceNow instance identifier. It refers to the first part of your own ServiceNow URL. This field is mutually exclusive with the **url** field. You can only use one of them
*/
instance?: pulumi.Input<string>;
/**
* The ID of these settings when referred to from resources requiring the REST API V1 keys
*/
legacyId?: pulumi.Input<string>;
/**
* The content of the ServiceNow description. You can use the following placeholders: * `{ImpactedEntity}`: The entity impacted by the problem or *X* impacted entities. * `{PID}`: The ID of the reported problem. * `{ProblemDetailsHTML}`: All problem event details, including root cause, as an HTML-formatted 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
*/
message: pulumi.Input<string>;
/**
* The name of the notification configuration
*/
name?: pulumi.Input<string>;
/**
* The password to the ServiceNow account
*/
password?: pulumi.Input<string>;
/**
* The ID of the associated alerting profile
*/
profile: pulumi.Input<string>;
/**
* The URL of the on-premise ServiceNow installation. This field is mutually exclusive with the **instance** field. You can only use one of them
*/
url?: pulumi.Input<string>;
/**
* The username of the ServiceNow account. Make sure that your user account has the `restService`, `webRequestAdmin`, and `x_dynat_ruxit.Integration` roles
*/
username: pulumi.Input<string>;
}