1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. VictorOpsNotification
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
dynatrace logo
Viewing docs for Dynatrace v0.36.0
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

    • VictoOps integration - https://www.dynatrace.com/support/help/setup-and-configuration/integrations/problem-notifications/victorops-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.VictorOpsNotification downloads the existing problem notifications for VictorOps

    The full documentation of the export feature is available here.

    Create VictorOpsNotification Resource

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

    Constructor syntax

    new VictorOpsNotification(name: string, args: VictorOpsNotificationArgs, opts?: CustomResourceOptions);
    @overload
    def VictorOpsNotification(resource_name: str,
                              args: VictorOpsNotificationArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def VictorOpsNotification(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              active: Optional[bool] = None,
                              message: Optional[str] = None,
                              profile: Optional[str] = None,
                              routing_key: Optional[str] = None,
                              api_key: Optional[str] = None,
                              legacy_id: Optional[str] = None,
                              name: Optional[str] = None)
    func NewVictorOpsNotification(ctx *Context, name string, args VictorOpsNotificationArgs, opts ...ResourceOption) (*VictorOpsNotification, error)
    public VictorOpsNotification(string name, VictorOpsNotificationArgs args, CustomResourceOptions? opts = null)
    public VictorOpsNotification(String name, VictorOpsNotificationArgs args)
    public VictorOpsNotification(String name, VictorOpsNotificationArgs args, CustomResourceOptions options)
    
    type: dynatrace:VictorOpsNotification
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_victoropsnotification" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args VictorOpsNotificationArgs
    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 VictorOpsNotificationArgs
    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 VictorOpsNotificationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VictorOpsNotificationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VictorOpsNotificationArgs
    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 victorOpsNotificationResource = new Dynatrace.VictorOpsNotification("victorOpsNotificationResource", new()
    {
        Active = false,
        Message = "string",
        Profile = "string",
        RoutingKey = "string",
        ApiKey = "string",
        LegacyId = "string",
        Name = "string",
    });
    
    example, err := dynatrace.NewVictorOpsNotification(ctx, "victorOpsNotificationResource", &dynatrace.VictorOpsNotificationArgs{
    	Active:     pulumi.Bool(false),
    	Message:    pulumi.String("string"),
    	Profile:    pulumi.String("string"),
    	RoutingKey: pulumi.String("string"),
    	ApiKey:     pulumi.String("string"),
    	LegacyId:   pulumi.String("string"),
    	Name:       pulumi.String("string"),
    })
    
    resource "dynatrace_victoropsnotification" "victorOpsNotificationResource" {
      active      = false
      message     = "string"
      profile     = "string"
      routing_key = "string"
      api_key     = "string"
      legacy_id   = "string"
      name        = "string"
    }
    
    var victorOpsNotificationResource = new VictorOpsNotification("victorOpsNotificationResource", VictorOpsNotificationArgs.builder()
        .active(false)
        .message("string")
        .profile("string")
        .routingKey("string")
        .apiKey("string")
        .legacyId("string")
        .name("string")
        .build());
    
    victor_ops_notification_resource = dynatrace.VictorOpsNotification("victorOpsNotificationResource",
        active=False,
        message="string",
        profile="string",
        routing_key="string",
        api_key="string",
        legacy_id="string",
        name="string")
    
    const victorOpsNotificationResource = new dynatrace.VictorOpsNotification("victorOpsNotificationResource", {
        active: false,
        message: "string",
        profile: "string",
        routingKey: "string",
        apiKey: "string",
        legacyId: "string",
        name: "string",
    });
    
    type: dynatrace:VictorOpsNotification
    properties:
        active: false
        apiKey: string
        legacyId: string
        message: string
        name: string
        profile: string
        routingKey: string
    

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

    Active bool
    This setting is enabled (true) or disabled (false)
    Message string
    The content of the message. 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
    RoutingKey string
    The routing key, defining the group to be notified.
    ApiKey string

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    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.
    Active bool
    This setting is enabled (true) or disabled (false)
    Message string
    The content of the message. 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
    RoutingKey string
    The routing key, defining the group to be notified.
    ApiKey string

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    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.
    active bool
    This setting is enabled (true) or disabled (false)
    message string
    The content of the message. 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
    routing_key string
    The routing key, defining the group to be notified.
    api_key string

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    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.
    active Boolean
    This setting is enabled (true) or disabled (false)
    message String
    The content of the message. 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
    routingKey String
    The routing key, defining the group to be notified.
    apiKey String

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    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.
    active boolean
    This setting is enabled (true) or disabled (false)
    message string
    The content of the message. 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
    routingKey string
    The routing key, defining the group to be notified.
    apiKey string

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    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.
    active bool
    This setting is enabled (true) or disabled (false)
    message str
    The content of the message. 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
    routing_key str
    The routing key, defining the group to be notified.
    api_key str

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    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.
    active Boolean
    This setting is enabled (true) or disabled (false)
    message String
    The content of the message. 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
    routingKey String
    The routing key, defining the group to be notified.
    apiKey String

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    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.

    Outputs

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

    Get an existing VictorOpsNotification 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?: VictorOpsNotificationState, opts?: CustomResourceOptions): VictorOpsNotification
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active: Optional[bool] = None,
            api_key: Optional[str] = None,
            legacy_id: Optional[str] = None,
            message: Optional[str] = None,
            name: Optional[str] = None,
            profile: Optional[str] = None,
            routing_key: Optional[str] = None) -> VictorOpsNotification
    func GetVictorOpsNotification(ctx *Context, name string, id IDInput, state *VictorOpsNotificationState, opts ...ResourceOption) (*VictorOpsNotification, error)
    public static VictorOpsNotification Get(string name, Input<string> id, VictorOpsNotificationState? state, CustomResourceOptions? opts = null)
    public static VictorOpsNotification get(String name, Output<String> id, VictorOpsNotificationState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:VictorOpsNotification    get:      id: ${id}
    import {
      to = dynatrace_victoropsnotification.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.
    The following state arguments are supported:
    Active bool
    This setting is enabled (true) or disabled (false)
    ApiKey string

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    LegacyId string
    The ID of these settings when referred to from resources requiring the REST API V1 keys
    Message string
    The content of the message. 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.
    Profile string
    The ID of the associated alerting profile
    RoutingKey string
    The routing key, defining the group to be notified.
    Active bool
    This setting is enabled (true) or disabled (false)
    ApiKey string

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    LegacyId string
    The ID of these settings when referred to from resources requiring the REST API V1 keys
    Message string
    The content of the message. 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.
    Profile string
    The ID of the associated alerting profile
    RoutingKey string
    The routing key, defining the group to be notified.
    active bool
    This setting is enabled (true) or disabled (false)
    api_key string

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    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 message. 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.
    profile string
    The ID of the associated alerting profile
    routing_key string
    The routing key, defining the group to be notified.
    active Boolean
    This setting is enabled (true) or disabled (false)
    apiKey String

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    legacyId String
    The ID of these settings when referred to from resources requiring the REST API V1 keys
    message String
    The content of the message. 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.
    profile String
    The ID of the associated alerting profile
    routingKey String
    The routing key, defining the group to be notified.
    active boolean
    This setting is enabled (true) or disabled (false)
    apiKey string

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    legacyId string
    The ID of these settings when referred to from resources requiring the REST API V1 keys
    message string
    The content of the message. 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.
    profile string
    The ID of the associated alerting profile
    routingKey string
    The routing key, defining the group to be notified.
    active bool
    This setting is enabled (true) or disabled (false)
    api_key str

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    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 message. 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.
    profile str
    The ID of the associated alerting profile
    routing_key str
    The routing key, defining the group to be notified.
    active Boolean
    This setting is enabled (true) or disabled (false)
    apiKey String

    The API key for the target Splunk On-Call account.

    Receive your Splunk On-Call API key by navigating to: Settings > Integrations > Rest Endpoint > Dynatrace.

    legacyId String
    The ID of these settings when referred to from resources requiring the REST API V1 keys
    message String
    The content of the message. 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.
    profile String
    The ID of the associated alerting profile
    routingKey String
    The routing key, defining the group to be notified.

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Viewing docs for Dynatrace v0.36.0
    published on Tuesday, Jun 9, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial