dynatrace.ServiceNowNotification
Create ServiceNowNotification Resource
new ServiceNowNotification(name: string, args: ServiceNowNotificationArgs, opts?: CustomResourceOptions);
@overload
def ServiceNowNotification(resource_name: str,
opts: Optional[ResourceOptions] = None,
active: Optional[bool] = None,
events: Optional[bool] = None,
incidents: Optional[bool] = None,
instance: 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)
@overload
def ServiceNowNotification(resource_name: str,
args: ServiceNowNotificationArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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
The ServiceNowNotification resource accepts the following input properties:
- Active bool
The configuration is enabled (
true
) or disabled (false
)- Incidents bool
Send incidents into ServiceNow ITSM
- Message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles- Events bool
Send events into ServiceNow ITOM
- 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
- 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 instance field. You can only use one of them
- Active bool
The configuration is enabled (
true
) or disabled (false
)- Incidents bool
Send incidents into ServiceNow ITSM
- Message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles- Events bool
Send events into ServiceNow ITOM
- 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
- 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 instance field. You can only use one of them
- active Boolean
The configuration is enabled (
true
) or disabled (false
)- incidents Boolean
Send incidents into ServiceNow ITSM
- message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles- events Boolean
Send events into ServiceNow ITOM
- 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
- 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 instance field. You can only use one of them
- active boolean
The configuration is enabled (
true
) or disabled (false
)- incidents boolean
Send incidents into ServiceNow ITSM
- message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles- events boolean
Send events into ServiceNow ITOM
- 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
- 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 instance field. You can only use one of them
- active bool
The configuration is enabled (
true
) or disabled (false
)- incidents bool
Send incidents into ServiceNow ITSM
- message str
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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles- events bool
Send events into ServiceNow ITOM
- 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
- 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 instance field. You can only use one of them
- active Boolean
The configuration is enabled (
true
) or disabled (false
)- incidents Boolean
Send incidents into ServiceNow ITSM
- message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles- events Boolean
Send events into ServiceNow ITOM
- 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
- 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 instance 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 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,
incidents: Optional[bool] = None,
instance: 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) -> ServiceNowNotification
func 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)
Resource lookup is not supported in YAML
- 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
The configuration is enabled (
true
) or disabled (false
)- Events bool
Send events into ServiceNow ITOM
- 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
- Message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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 instance field. You can only use one of them
- Username string
The username of the ServiceNow account. Make sure that your user account has the
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles
- Active bool
The configuration is enabled (
true
) or disabled (false
)- Events bool
Send events into ServiceNow ITOM
- 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
- Message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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 instance field. You can only use one of them
- Username string
The username of the ServiceNow account. Make sure that your user account has the
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles
- active Boolean
The configuration is enabled (
true
) or disabled (false
)- events Boolean
Send events into ServiceNow ITOM
- 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
- message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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 instance field. You can only use one of them
- username String
The username of the ServiceNow account. Make sure that your user account has the
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles
- active boolean
The configuration is enabled (
true
) or disabled (false
)- events boolean
Send events into ServiceNow ITOM
- 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
- message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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 instance field. You can only use one of them
- username string
The username of the ServiceNow account. Make sure that your user account has the
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles
- active bool
The configuration is enabled (
true
) or disabled (false
)- events bool
Send events into ServiceNow ITOM
- 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
- message str
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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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 instance field. You can only use one of them
- username str
The username of the ServiceNow account. Make sure that your user account has the
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles
- active Boolean
The configuration is enabled (
true
) or disabled (false
)- events Boolean
Send events into ServiceNow ITOM
- 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
- message 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 of the problem. Possible values areAPPLICATION
,SERVICE
, andINFRASTRUCTURE
. *{ProblemSeverity}
: The severity level of the problem. Possible values areAVAILABILITY
,ERROR
,PERFORMANCE
,RESOURCE_CONTENTION
, andCUSTOM_ALERT
. *{ProblemTitle}
: A short description of the problem. *{ProblemURL}
: The URL of the problem within Dynatrace. *{State}
: The state of the problem. Possible values areOPEN
andRESOLVED
. *{Tags}
: The list of tags that are defined for all impacted entities, separated by commas- 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 instance field. You can only use one of them
- username String
The username of the ServiceNow account. Make sure that your user account has the
rest_service
,web_request_admin
, andx_dynat_ruxit.Integration
roles
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
dynatrace
Terraform Provider.