published on Tuesday, Jun 9, 2026 by Pulumiverse
published on Tuesday, Jun 9, 2026 by Pulumiverse
This resource requires the API token scopes Read settings (
settings.read) and Write settings (settings.write)
Dynatrace Documentation
ServiceNow integration - https://www.dynatrace.com/support/help/setup-and-configuration/integrations/problem-notifications/servicenow-integration
Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId:
builtin:problem.notifications)
Export Example Usage
terraform-provider-dynatrace -export dynatrace.ServiceNowNotificationdownloads the existing problem notifications for Service Now
The full documentation of the export feature is available here.
Create ServiceNowNotification Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceNowNotification(name: string, args: ServiceNowNotificationArgs, opts?: CustomResourceOptions);@overload
def ServiceNowNotification(resource_name: str,
args: ServiceNowNotificationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceNowNotification(resource_name: str,
opts: Optional[ResourceOptions] = None,
active: Optional[bool] = None,
incidents: Optional[bool] = None,
message: Optional[str] = None,
profile: Optional[str] = None,
username: Optional[str] = None,
events: Optional[bool] = None,
format_problem_details_as_text: Optional[bool] = None,
instance: Optional[str] = None,
legacy_id: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
url: Optional[str] = None)func NewServiceNowNotification(ctx *Context, name string, args ServiceNowNotificationArgs, opts ...ResourceOption) (*ServiceNowNotification, error)public ServiceNowNotification(string name, ServiceNowNotificationArgs args, CustomResourceOptions? opts = null)
public ServiceNowNotification(String name, ServiceNowNotificationArgs args)
public ServiceNowNotification(String name, ServiceNowNotificationArgs args, CustomResourceOptions options)
type: dynatrace:ServiceNowNotification
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dynatrace_servicenownotification" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ServiceNowNotificationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServiceNowNotificationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServiceNowNotificationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceNowNotificationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceNowNotificationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var serviceNowNotificationResource = new Dynatrace.ServiceNowNotification("serviceNowNotificationResource", new()
{
Active = false,
Incidents = false,
Message = "string",
Profile = "string",
Username = "string",
Events = false,
FormatProblemDetailsAsText = false,
Instance = "string",
LegacyId = "string",
Name = "string",
Password = "string",
Url = "string",
});
example, err := dynatrace.NewServiceNowNotification(ctx, "serviceNowNotificationResource", &dynatrace.ServiceNowNotificationArgs{
Active: pulumi.Bool(false),
Incidents: pulumi.Bool(false),
Message: pulumi.String("string"),
Profile: pulumi.String("string"),
Username: pulumi.String("string"),
Events: pulumi.Bool(false),
FormatProblemDetailsAsText: pulumi.Bool(false),
Instance: pulumi.String("string"),
LegacyId: pulumi.String("string"),
Name: pulumi.String("string"),
Password: pulumi.String("string"),
Url: pulumi.String("string"),
})
resource "dynatrace_servicenownotification" "serviceNowNotificationResource" {
active = false
incidents = false
message = "string"
profile = "string"
username = "string"
events = false
format_problem_details_as_text = false
instance = "string"
legacy_id = "string"
name = "string"
password = "string"
url = "string"
}
var serviceNowNotificationResource = new ServiceNowNotification("serviceNowNotificationResource", ServiceNowNotificationArgs.builder()
.active(false)
.incidents(false)
.message("string")
.profile("string")
.username("string")
.events(false)
.formatProblemDetailsAsText(false)
.instance("string")
.legacyId("string")
.name("string")
.password("string")
.url("string")
.build());
service_now_notification_resource = dynatrace.ServiceNowNotification("serviceNowNotificationResource",
active=False,
incidents=False,
message="string",
profile="string",
username="string",
events=False,
format_problem_details_as_text=False,
instance="string",
legacy_id="string",
name="string",
password="string",
url="string")
const serviceNowNotificationResource = new dynatrace.ServiceNowNotification("serviceNowNotificationResource", {
active: false,
incidents: false,
message: "string",
profile: "string",
username: "string",
events: false,
formatProblemDetailsAsText: false,
instance: "string",
legacyId: "string",
name: "string",
password: "string",
url: "string",
});
type: dynatrace:ServiceNowNotification
properties:
active: false
events: false
formatProblemDetailsAsText: false
incidents: false
instance: string
legacyId: string
message: string
name: string
password: string
profile: string
url: string
username: string
ServiceNowNotification Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServiceNowNotification resource accepts the following input properties:
- Active bool
- This setting is enabled (
true) or disabled (false) - Incidents bool
- Send incidents into ServiceNow ITSM.
- Message string
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- Profile string
- The ID of the associated alerting profile
- Username string
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.- Events bool
- Send events into ServiceNow ITOM.
- Format
Problem boolDetails As Text - Use text format for problem details instead of HTML.
- Instance string
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.
- Legacy
Id string - The ID of these settings when referred to from resources requiring the REST API V1 keys
- Name string
- The name of the notification configuration
- Password string
- The password to the ServiceNow account.
- Url string
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- Active bool
- This setting is enabled (
true) or disabled (false) - Incidents bool
- Send incidents into ServiceNow ITSM.
- Message string
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- Profile string
- The ID of the associated alerting profile
- Username string
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.- Events bool
- Send events into ServiceNow ITOM.
- Format
Problem boolDetails As Text - Use text format for problem details instead of HTML.
- Instance string
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.
- Legacy
Id string - The ID of these settings when referred to from resources requiring the REST API V1 keys
- Name string
- The name of the notification configuration
- Password string
- The password to the ServiceNow account.
- Url string
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- active bool
- This setting is enabled (
true) or disabled (false) - incidents bool
- Send incidents into ServiceNow ITSM.
- message string
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- profile string
- The ID of the associated alerting profile
- username string
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.- events bool
- Send events into ServiceNow ITOM.
- format_
problem_ booldetails_ as_ text - Use text format for problem details instead of HTML.
- instance string
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.
- legacy_
id string - The ID of these settings when referred to from resources requiring the REST API V1 keys
- name string
- The name of the notification configuration
- password string
- The password to the ServiceNow account.
- url string
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- active Boolean
- This setting is enabled (
true) or disabled (false) - incidents Boolean
- Send incidents into ServiceNow ITSM.
- message String
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- profile String
- The ID of the associated alerting profile
- username String
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.- events Boolean
- Send events into ServiceNow ITOM.
- format
Problem BooleanDetails As Text - Use text format for problem details instead of HTML.
- instance String
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.
- legacy
Id String - The ID of these settings when referred to from resources requiring the REST API V1 keys
- name String
- The name of the notification configuration
- password String
- The password to the ServiceNow account.
- url String
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- active boolean
- This setting is enabled (
true) or disabled (false) - incidents boolean
- Send incidents into ServiceNow ITSM.
- message string
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- profile string
- The ID of the associated alerting profile
- username string
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.- events boolean
- Send events into ServiceNow ITOM.
- format
Problem booleanDetails As Text - Use text format for problem details instead of HTML.
- instance string
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.
- legacy
Id string - The ID of these settings when referred to from resources requiring the REST API V1 keys
- name string
- The name of the notification configuration
- password string
- The password to the ServiceNow account.
- url string
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- active bool
- This setting is enabled (
true) or disabled (false) - incidents bool
- Send incidents into ServiceNow ITSM.
- message str
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- profile str
- The ID of the associated alerting profile
- username str
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.- events bool
- Send events into ServiceNow ITOM.
- format_
problem_ booldetails_ as_ text - Use text format for problem details instead of HTML.
- instance str
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.
- legacy_
id str - The ID of these settings when referred to from resources requiring the REST API V1 keys
- name str
- The name of the notification configuration
- password str
- The password to the ServiceNow account.
- url str
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- active Boolean
- This setting is enabled (
true) or disabled (false) - incidents Boolean
- Send incidents into ServiceNow ITSM.
- message String
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- profile String
- The ID of the associated alerting profile
- username String
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.- events Boolean
- Send events into ServiceNow ITOM.
- format
Problem BooleanDetails As Text - Use text format for problem details instead of HTML.
- instance String
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.
- legacy
Id String - The ID of these settings when referred to from resources requiring the REST API V1 keys
- name String
- The name of the notification configuration
- password String
- The password to the ServiceNow account.
- url String
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceNowNotification resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ServiceNowNotification Resource
Get an existing ServiceNowNotification resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServiceNowNotificationState, opts?: CustomResourceOptions): ServiceNowNotification@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active: Optional[bool] = None,
events: Optional[bool] = None,
format_problem_details_as_text: Optional[bool] = None,
incidents: Optional[bool] = None,
instance: Optional[str] = None,
legacy_id: Optional[str] = None,
message: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
profile: Optional[str] = None,
url: Optional[str] = None,
username: Optional[str] = None) -> ServiceNowNotificationfunc GetServiceNowNotification(ctx *Context, name string, id IDInput, state *ServiceNowNotificationState, opts ...ResourceOption) (*ServiceNowNotification, error)public static ServiceNowNotification Get(string name, Input<string> id, ServiceNowNotificationState? state, CustomResourceOptions? opts = null)public static ServiceNowNotification get(String name, Output<String> id, ServiceNowNotificationState state, CustomResourceOptions options)resources: _: type: dynatrace:ServiceNowNotification get: id: ${id}import {
to = dynatrace_servicenownotification.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Active bool
- This setting is enabled (
true) or disabled (false) - Events bool
- Send events into ServiceNow ITOM.
- Format
Problem boolDetails As Text - Use text format for problem details instead of HTML.
- Incidents bool
- Send incidents into ServiceNow ITSM.
- Instance string
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.
- Legacy
Id string - The ID of these settings when referred to from resources requiring the REST API V1 keys
- Message string
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- Name string
- The name of the notification configuration
- Password string
- The password to the ServiceNow account.
- Profile string
- The ID of the associated alerting profile
- Url string
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- Username string
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.
- Active bool
- This setting is enabled (
true) or disabled (false) - Events bool
- Send events into ServiceNow ITOM.
- Format
Problem boolDetails As Text - Use text format for problem details instead of HTML.
- Incidents bool
- Send incidents into ServiceNow ITSM.
- Instance string
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.
- Legacy
Id string - The ID of these settings when referred to from resources requiring the REST API V1 keys
- Message string
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- Name string
- The name of the notification configuration
- Password string
- The password to the ServiceNow account.
- Profile string
- The ID of the associated alerting profile
- Url string
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- Username string
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.
- active bool
- This setting is enabled (
true) or disabled (false) - events bool
- Send events into ServiceNow ITOM.
- format_
problem_ booldetails_ as_ text - Use text format for problem details instead of HTML.
- incidents bool
- Send incidents into ServiceNow ITSM.
- instance string
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.
- legacy_
id string - The ID of these settings when referred to from resources requiring the REST API V1 keys
- message string
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- name string
- The name of the notification configuration
- password string
- The password to the ServiceNow account.
- profile string
- The ID of the associated alerting profile
- url string
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- username string
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.
- active Boolean
- This setting is enabled (
true) or disabled (false) - events Boolean
- Send events into ServiceNow ITOM.
- format
Problem BooleanDetails As Text - Use text format for problem details instead of HTML.
- incidents Boolean
- Send incidents into ServiceNow ITSM.
- instance String
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.
- legacy
Id String - The ID of these settings when referred to from resources requiring the REST API V1 keys
- message String
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- name String
- The name of the notification configuration
- password String
- The password to the ServiceNow account.
- profile String
- The ID of the associated alerting profile
- url String
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- username String
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.
- active boolean
- This setting is enabled (
true) or disabled (false) - events boolean
- Send events into ServiceNow ITOM.
- format
Problem booleanDetails As Text - Use text format for problem details instead of HTML.
- incidents boolean
- Send incidents into ServiceNow ITSM.
- instance string
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.
- legacy
Id string - The ID of these settings when referred to from resources requiring the REST API V1 keys
- message string
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- name string
- The name of the notification configuration
- password string
- The password to the ServiceNow account.
- profile string
- The ID of the associated alerting profile
- url string
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- username string
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.
- active bool
- This setting is enabled (
true) or disabled (false) - events bool
- Send events into ServiceNow ITOM.
- format_
problem_ booldetails_ as_ text - Use text format for problem details instead of HTML.
- incidents bool
- Send incidents into ServiceNow ITSM.
- instance str
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.
- legacy_
id str - The ID of these settings when referred to from resources requiring the REST API V1 keys
- message str
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- name str
- The name of the notification configuration
- password str
- The password to the ServiceNow account.
- profile str
- The ID of the associated alerting profile
- url str
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- username str
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.
- active Boolean
- This setting is enabled (
true) or disabled (false) - events Boolean
- Send events into ServiceNow ITOM.
- format
Problem BooleanDetails As Text - Use text format for problem details instead of HTML.
- incidents Boolean
- Send incidents into ServiceNow ITSM.
- instance String
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.
- legacy
Id String - The ID of these settings when referred to from resources requiring the REST API V1 keys
- message String
- The content of the ServiceNow description. Type '{' for placeholder suggestions.. #### Available placeholders {ImpactedEntity}: A short description of the problem and impacted entity (or multiple impacted entities).
- name String
- The name of the notification configuration
- password String
- The password to the ServiceNow account.
- profile String
- The ID of the associated alerting profile
- url String
The URL of the on-premise ServiceNow installation.
This field is mutually exclusive with the instanceName field. You can only use one of them.
- username String
The username of the ServiceNow account.
Make sure that your user account has the
webServiceAdminandx_dynat_ruxit.Integrationroles.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatraceTerraform Provider.
published on Tuesday, Jun 9, 2026 by Pulumiverse