1. Packages
  2. Dynatrace
  3. API Docs
  4. WebhookNotification
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.WebhookNotification

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    Create WebhookNotification Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WebhookNotification(name: string, args: WebhookNotificationArgs, opts?: CustomResourceOptions);
    @overload
    def WebhookNotification(resource_name: str,
                            args: WebhookNotificationArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebhookNotification(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            active: Optional[bool] = None,
                            profile: Optional[str] = None,
                            payload: Optional[str] = None,
                            legacy_id: Optional[str] = None,
                            name: Optional[str] = None,
                            notify_closed_problems: Optional[bool] = None,
                            notify_event_merges: Optional[bool] = None,
                            oauth2_credentials: Optional[WebhookNotificationOauth2CredentialsArgs] = None,
                            insecure: Optional[bool] = None,
                            headers: Optional[WebhookNotificationHeadersArgs] = None,
                            secret_url: Optional[str] = None,
                            url: Optional[str] = None,
                            url_contains_secret: Optional[bool] = None,
                            use_oauth2: Optional[bool] = None)
    func NewWebhookNotification(ctx *Context, name string, args WebhookNotificationArgs, opts ...ResourceOption) (*WebhookNotification, error)
    public WebhookNotification(string name, WebhookNotificationArgs args, CustomResourceOptions? opts = null)
    public WebhookNotification(String name, WebhookNotificationArgs args)
    public WebhookNotification(String name, WebhookNotificationArgs args, CustomResourceOptions options)
    
    type: dynatrace:WebhookNotification
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WebhookNotificationArgs
    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 WebhookNotificationArgs
    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 WebhookNotificationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebhookNotificationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebhookNotificationArgs
    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 webhookNotificationResource = new Dynatrace.WebhookNotification("webhookNotificationResource", new()
    {
        Active = false,
        Profile = "string",
        Payload = "string",
        LegacyId = "string",
        Name = "string",
        NotifyClosedProblems = false,
        NotifyEventMerges = false,
        Oauth2Credentials = new Dynatrace.Inputs.WebhookNotificationOauth2CredentialsArgs
        {
            AccessTokenUrl = "string",
            ClientId = "string",
            ClientSecret = "string",
            Scope = "string",
        },
        Insecure = false,
        Headers = new Dynatrace.Inputs.WebhookNotificationHeadersArgs
        {
            Headers = new[]
            {
                new Dynatrace.Inputs.WebhookNotificationHeadersHeaderArgs
                {
                    Name = "string",
                    SecretValue = "string",
                    Value = "string",
                },
            },
        },
        SecretUrl = "string",
        Url = "string",
        UrlContainsSecret = false,
        UseOauth2 = false,
    });
    
    example, err := dynatrace.NewWebhookNotification(ctx, "webhookNotificationResource", &dynatrace.WebhookNotificationArgs{
    	Active:               pulumi.Bool(false),
    	Profile:              pulumi.String("string"),
    	Payload:              pulumi.String("string"),
    	LegacyId:             pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	NotifyClosedProblems: pulumi.Bool(false),
    	NotifyEventMerges:    pulumi.Bool(false),
    	Oauth2Credentials: &dynatrace.WebhookNotificationOauth2CredentialsArgs{
    		AccessTokenUrl: pulumi.String("string"),
    		ClientId:       pulumi.String("string"),
    		ClientSecret:   pulumi.String("string"),
    		Scope:          pulumi.String("string"),
    	},
    	Insecure: pulumi.Bool(false),
    	Headers: &dynatrace.WebhookNotificationHeadersArgs{
    		Headers: dynatrace.WebhookNotificationHeadersHeaderArray{
    			&dynatrace.WebhookNotificationHeadersHeaderArgs{
    				Name:        pulumi.String("string"),
    				SecretValue: pulumi.String("string"),
    				Value:       pulumi.String("string"),
    			},
    		},
    	},
    	SecretUrl:         pulumi.String("string"),
    	Url:               pulumi.String("string"),
    	UrlContainsSecret: pulumi.Bool(false),
    	UseOauth2:         pulumi.Bool(false),
    })
    
    var webhookNotificationResource = new WebhookNotification("webhookNotificationResource", WebhookNotificationArgs.builder()
        .active(false)
        .profile("string")
        .payload("string")
        .legacyId("string")
        .name("string")
        .notifyClosedProblems(false)
        .notifyEventMerges(false)
        .oauth2Credentials(WebhookNotificationOauth2CredentialsArgs.builder()
            .accessTokenUrl("string")
            .clientId("string")
            .clientSecret("string")
            .scope("string")
            .build())
        .insecure(false)
        .headers(WebhookNotificationHeadersArgs.builder()
            .headers(WebhookNotificationHeadersHeaderArgs.builder()
                .name("string")
                .secretValue("string")
                .value("string")
                .build())
            .build())
        .secretUrl("string")
        .url("string")
        .urlContainsSecret(false)
        .useOauth2(false)
        .build());
    
    webhook_notification_resource = dynatrace.WebhookNotification("webhookNotificationResource",
        active=False,
        profile="string",
        payload="string",
        legacy_id="string",
        name="string",
        notify_closed_problems=False,
        notify_event_merges=False,
        oauth2_credentials=dynatrace.WebhookNotificationOauth2CredentialsArgs(
            access_token_url="string",
            client_id="string",
            client_secret="string",
            scope="string",
        ),
        insecure=False,
        headers=dynatrace.WebhookNotificationHeadersArgs(
            headers=[dynatrace.WebhookNotificationHeadersHeaderArgs(
                name="string",
                secret_value="string",
                value="string",
            )],
        ),
        secret_url="string",
        url="string",
        url_contains_secret=False,
        use_oauth2=False)
    
    const webhookNotificationResource = new dynatrace.WebhookNotification("webhookNotificationResource", {
        active: false,
        profile: "string",
        payload: "string",
        legacyId: "string",
        name: "string",
        notifyClosedProblems: false,
        notifyEventMerges: false,
        oauth2Credentials: {
            accessTokenUrl: "string",
            clientId: "string",
            clientSecret: "string",
            scope: "string",
        },
        insecure: false,
        headers: {
            headers: [{
                name: "string",
                secretValue: "string",
                value: "string",
            }],
        },
        secretUrl: "string",
        url: "string",
        urlContainsSecret: false,
        useOauth2: false,
    });
    
    type: dynatrace:WebhookNotification
    properties:
        active: false
        headers:
            headers:
                - name: string
                  secretValue: string
                  value: string
        insecure: false
        legacyId: string
        name: string
        notifyClosedProblems: false
        notifyEventMerges: false
        oauth2Credentials:
            accessTokenUrl: string
            clientId: string
            clientSecret: string
            scope: string
        payload: string
        profile: string
        secretUrl: string
        url: string
        urlContainsSecret: false
        useOauth2: false
    

    WebhookNotification 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 WebhookNotification resource accepts the following input properties:

    Active bool
    The configuration is enabled (true) or disabled (false)
    Payload string
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    Profile string
    The ID of the associated alerting profile
    Headers Pulumiverse.Dynatrace.Inputs.WebhookNotificationHeaders
    A list of the additional HTTP headers
    Insecure bool
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    LegacyId 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
    NotifyClosedProblems bool
    Send email if problem is closed
    NotifyEventMerges bool
    Call webhook if new events merge into existing problems
    Oauth2Credentials Pulumiverse.Dynatrace.Inputs.WebhookNotificationOauth2Credentials
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    SecretUrl string
    The secret URL of the webhook endpoint.
    Url string
    The URL of the WebHook endpoint
    UrlContainsSecret bool
    Secret webhook URL
    UseOauth2 bool
    Use OAuth 2.0 for authentication
    Active bool
    The configuration is enabled (true) or disabled (false)
    Payload string
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    Profile string
    The ID of the associated alerting profile
    Headers WebhookNotificationHeadersArgs
    A list of the additional HTTP headers
    Insecure bool
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    LegacyId 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
    NotifyClosedProblems bool
    Send email if problem is closed
    NotifyEventMerges bool
    Call webhook if new events merge into existing problems
    Oauth2Credentials WebhookNotificationOauth2CredentialsArgs
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    SecretUrl string
    The secret URL of the webhook endpoint.
    Url string
    The URL of the WebHook endpoint
    UrlContainsSecret bool
    Secret webhook URL
    UseOauth2 bool
    Use OAuth 2.0 for authentication
    active Boolean
    The configuration is enabled (true) or disabled (false)
    payload String
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    profile String
    The ID of the associated alerting profile
    headers WebhookNotificationHeaders
    A list of the additional HTTP headers
    insecure Boolean
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    legacyId 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
    notifyClosedProblems Boolean
    Send email if problem is closed
    notifyEventMerges Boolean
    Call webhook if new events merge into existing problems
    oauth2Credentials WebhookNotificationOauth2Credentials
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    secretUrl String
    The secret URL of the webhook endpoint.
    url String
    The URL of the WebHook endpoint
    urlContainsSecret Boolean
    Secret webhook URL
    useOauth2 Boolean
    Use OAuth 2.0 for authentication
    active boolean
    The configuration is enabled (true) or disabled (false)
    payload string
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    profile string
    The ID of the associated alerting profile
    headers WebhookNotificationHeaders
    A list of the additional HTTP headers
    insecure boolean
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    legacyId 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
    notifyClosedProblems boolean
    Send email if problem is closed
    notifyEventMerges boolean
    Call webhook if new events merge into existing problems
    oauth2Credentials WebhookNotificationOauth2Credentials
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    secretUrl string
    The secret URL of the webhook endpoint.
    url string
    The URL of the WebHook endpoint
    urlContainsSecret boolean
    Secret webhook URL
    useOauth2 boolean
    Use OAuth 2.0 for authentication
    active bool
    The configuration is enabled (true) or disabled (false)
    payload str
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    profile str
    The ID of the associated alerting profile
    headers WebhookNotificationHeadersArgs
    A list of the additional HTTP headers
    insecure bool
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    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
    notify_closed_problems bool
    Send email if problem is closed
    notify_event_merges bool
    Call webhook if new events merge into existing problems
    oauth2_credentials WebhookNotificationOauth2CredentialsArgs
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    secret_url str
    The secret URL of the webhook endpoint.
    url str
    The URL of the WebHook endpoint
    url_contains_secret bool
    Secret webhook URL
    use_oauth2 bool
    Use OAuth 2.0 for authentication
    active Boolean
    The configuration is enabled (true) or disabled (false)
    payload String
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    profile String
    The ID of the associated alerting profile
    headers Property Map
    A list of the additional HTTP headers
    insecure Boolean
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    legacyId 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
    notifyClosedProblems Boolean
    Send email if problem is closed
    notifyEventMerges Boolean
    Call webhook if new events merge into existing problems
    oauth2Credentials Property Map
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    secretUrl String
    The secret URL of the webhook endpoint.
    url String
    The URL of the WebHook endpoint
    urlContainsSecret Boolean
    Secret webhook URL
    useOauth2 Boolean
    Use OAuth 2.0 for authentication

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WebhookNotification 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 WebhookNotification Resource

    Get an existing WebhookNotification 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?: WebhookNotificationState, opts?: CustomResourceOptions): WebhookNotification
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active: Optional[bool] = None,
            headers: Optional[WebhookNotificationHeadersArgs] = None,
            insecure: Optional[bool] = None,
            legacy_id: Optional[str] = None,
            name: Optional[str] = None,
            notify_closed_problems: Optional[bool] = None,
            notify_event_merges: Optional[bool] = None,
            oauth2_credentials: Optional[WebhookNotificationOauth2CredentialsArgs] = None,
            payload: Optional[str] = None,
            profile: Optional[str] = None,
            secret_url: Optional[str] = None,
            url: Optional[str] = None,
            url_contains_secret: Optional[bool] = None,
            use_oauth2: Optional[bool] = None) -> WebhookNotification
    func GetWebhookNotification(ctx *Context, name string, id IDInput, state *WebhookNotificationState, opts ...ResourceOption) (*WebhookNotification, error)
    public static WebhookNotification Get(string name, Input<string> id, WebhookNotificationState? state, CustomResourceOptions? opts = null)
    public static WebhookNotification get(String name, Output<String> id, WebhookNotificationState 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.
    The following state arguments are supported:
    Active bool
    The configuration is enabled (true) or disabled (false)
    Headers Pulumiverse.Dynatrace.Inputs.WebhookNotificationHeaders
    A list of the additional HTTP headers
    Insecure bool
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    LegacyId 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
    NotifyClosedProblems bool
    Send email if problem is closed
    NotifyEventMerges bool
    Call webhook if new events merge into existing problems
    Oauth2Credentials Pulumiverse.Dynatrace.Inputs.WebhookNotificationOauth2Credentials
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    Payload string
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    Profile string
    The ID of the associated alerting profile
    SecretUrl string
    The secret URL of the webhook endpoint.
    Url string
    The URL of the WebHook endpoint
    UrlContainsSecret bool
    Secret webhook URL
    UseOauth2 bool
    Use OAuth 2.0 for authentication
    Active bool
    The configuration is enabled (true) or disabled (false)
    Headers WebhookNotificationHeadersArgs
    A list of the additional HTTP headers
    Insecure bool
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    LegacyId 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
    NotifyClosedProblems bool
    Send email if problem is closed
    NotifyEventMerges bool
    Call webhook if new events merge into existing problems
    Oauth2Credentials WebhookNotificationOauth2CredentialsArgs
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    Payload string
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    Profile string
    The ID of the associated alerting profile
    SecretUrl string
    The secret URL of the webhook endpoint.
    Url string
    The URL of the WebHook endpoint
    UrlContainsSecret bool
    Secret webhook URL
    UseOauth2 bool
    Use OAuth 2.0 for authentication
    active Boolean
    The configuration is enabled (true) or disabled (false)
    headers WebhookNotificationHeaders
    A list of the additional HTTP headers
    insecure Boolean
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    legacyId 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
    notifyClosedProblems Boolean
    Send email if problem is closed
    notifyEventMerges Boolean
    Call webhook if new events merge into existing problems
    oauth2Credentials WebhookNotificationOauth2Credentials
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    payload String
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    profile String
    The ID of the associated alerting profile
    secretUrl String
    The secret URL of the webhook endpoint.
    url String
    The URL of the WebHook endpoint
    urlContainsSecret Boolean
    Secret webhook URL
    useOauth2 Boolean
    Use OAuth 2.0 for authentication
    active boolean
    The configuration is enabled (true) or disabled (false)
    headers WebhookNotificationHeaders
    A list of the additional HTTP headers
    insecure boolean
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    legacyId 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
    notifyClosedProblems boolean
    Send email if problem is closed
    notifyEventMerges boolean
    Call webhook if new events merge into existing problems
    oauth2Credentials WebhookNotificationOauth2Credentials
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    payload string
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    profile string
    The ID of the associated alerting profile
    secretUrl string
    The secret URL of the webhook endpoint.
    url string
    The URL of the WebHook endpoint
    urlContainsSecret boolean
    Secret webhook URL
    useOauth2 boolean
    Use OAuth 2.0 for authentication
    active bool
    The configuration is enabled (true) or disabled (false)
    headers WebhookNotificationHeadersArgs
    A list of the additional HTTP headers
    insecure bool
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    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
    notify_closed_problems bool
    Send email if problem is closed
    notify_event_merges bool
    Call webhook if new events merge into existing problems
    oauth2_credentials WebhookNotificationOauth2CredentialsArgs
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    payload str
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    profile str
    The ID of the associated alerting profile
    secret_url str
    The secret URL of the webhook endpoint.
    url str
    The URL of the WebHook endpoint
    url_contains_secret bool
    Secret webhook URL
    use_oauth2 bool
    Use OAuth 2.0 for authentication
    active Boolean
    The configuration is enabled (true) or disabled (false)
    headers Property Map
    A list of the additional HTTP headers
    insecure Boolean
    Accept any, including self-signed and invalid, SSL certificate (true) or only trusted (false) certificates
    legacyId 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
    notifyClosedProblems Boolean
    Send email if problem is closed
    notifyEventMerges Boolean
    Call webhook if new events merge into existing problems
    oauth2Credentials Property Map
    To authenticate your integration, the OAuth 2.0 Client Credentials Flow (Grant Type) is used. For details see Client Credentials Flow).
    payload String
    The content of the notification message. You can use the following placeholders: * {ImpactedEntities}: Details about the entities impacted by the problem in form of a JSON array. * {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. * {ProblemDetailsJSON}: All problem event details, including root cause, as a JSON object. * {ProblemDetailsMarkdown}: All problem event details, including root cause, as a Markdown-formatted string. * {ProblemDetailsText}: All problem event details, including root cause, as a text-formatted string. * {ProblemID}: The display number of the reported problem. * {ProblemImpact}: The impact level of the problem. Possible values are APPLICATION, SERVICE, and INFRASTRUCTURE. * {ProblemSeverity}: The severity level 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
    profile String
    The ID of the associated alerting profile
    secretUrl String
    The secret URL of the webhook endpoint.
    url String
    The URL of the WebHook endpoint
    urlContainsSecret Boolean
    Secret webhook URL
    useOauth2 Boolean
    Use OAuth 2.0 for authentication

    Supporting Types

    WebhookNotificationHeaders, WebhookNotificationHeadersArgs

    Headers List<Pulumiverse.Dynatrace.Inputs.WebhookNotificationHeadersHeader>
    An additional HTTP Header to include when sending requests
    Headers []WebhookNotificationHeadersHeader
    An additional HTTP Header to include when sending requests
    headers List<WebhookNotificationHeadersHeader>
    An additional HTTP Header to include when sending requests
    headers WebhookNotificationHeadersHeader[]
    An additional HTTP Header to include when sending requests
    headers Sequence[WebhookNotificationHeadersHeader]
    An additional HTTP Header to include when sending requests
    headers List<Property Map>
    An additional HTTP Header to include when sending requests

    WebhookNotificationHeadersHeader, WebhookNotificationHeadersHeaderArgs

    Name string
    The name of the HTTP header
    SecretValue string
    The value of the HTTP header as a sensitive property. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    Value string
    The value of the HTTP header. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    Name string
    The name of the HTTP header
    SecretValue string
    The value of the HTTP header as a sensitive property. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    Value string
    The value of the HTTP header. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    name String
    The name of the HTTP header
    secretValue String
    The value of the HTTP header as a sensitive property. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    value String
    The value of the HTTP header. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    name string
    The name of the HTTP header
    secretValue string
    The value of the HTTP header as a sensitive property. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    value string
    The value of the HTTP header. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    name str
    The name of the HTTP header
    secret_value str
    The value of the HTTP header as a sensitive property. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    value str
    The value of the HTTP header. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    name String
    The name of the HTTP header
    secretValue String
    The value of the HTTP header as a sensitive property. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.
    value String
    The value of the HTTP header. May contain an empty value. secret_value and value are mutually exclusive. Only one of those two is allowed to be specified.

    WebhookNotificationOauth2Credentials, WebhookNotificationOauth2CredentialsArgs

    AccessTokenUrl string
    Access token URL
    ClientId string
    Client ID
    ClientSecret string
    Client secret
    Scope string
    The scope of access you are requesting
    AccessTokenUrl string
    Access token URL
    ClientId string
    Client ID
    ClientSecret string
    Client secret
    Scope string
    The scope of access you are requesting
    accessTokenUrl String
    Access token URL
    clientId String
    Client ID
    clientSecret String
    Client secret
    scope String
    The scope of access you are requesting
    accessTokenUrl string
    Access token URL
    clientId string
    Client ID
    clientSecret string
    Client secret
    scope string
    The scope of access you are requesting
    access_token_url str
    Access token URL
    client_id str
    Client ID
    client_secret str
    Client secret
    scope str
    The scope of access you are requesting
    accessTokenUrl String
    Access token URL
    clientId String
    Client ID
    clientSecret String
    Client secret
    scope String
    The scope of access you are requesting

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse