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

dynatrace.VictorOpsNotification

Explore with Pulumi AI

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

    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.
    
    

    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"),
    })
    
    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

    The VictorOpsNotification resource accepts the following input properties:

    Active bool
    The configuration is enabled (true) or disabled (false)
    Message string
    The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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 VictorOps account
    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
    The configuration is enabled (true) or disabled (false)
    Message string
    The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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 VictorOps account
    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
    The configuration is enabled (true) or disabled (false)
    message String
    The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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 VictorOps account
    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
    The configuration is enabled (true) or disabled (false)
    message string
    The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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 VictorOps account
    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
    The configuration is enabled (true) or disabled (false)
    message str
    The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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 VictorOps account
    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
    The configuration is enabled (true) or disabled (false)
    message String
    The content of the message. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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 VictorOps account
    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 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)
    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)
    ApiKey string
    The API key for the target VictorOps account
    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. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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
    The configuration is enabled (true) or disabled (false)
    ApiKey string
    The API key for the target VictorOps account
    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. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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
    The configuration is enabled (true) or disabled (false)
    apiKey String
    The API key for the target VictorOps account
    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. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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
    The configuration is enabled (true) or disabled (false)
    apiKey string
    The API key for the target VictorOps account
    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. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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
    The configuration is enabled (true) or disabled (false)
    api_key str
    The API key for the target VictorOps account
    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. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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
    The configuration is enabled (true) or disabled (false)
    apiKey String
    The API key for the target VictorOps account
    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. You can use the following placeholders: * {ImpactedEntity}: The entity impacted by the problem or X impacted entities. * {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
    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
    Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse