1. Packages
  2. Dynatrace
  3. API Docs
  4. ProblemRecordPropagationRules
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.ProblemRecordPropagationRules

Explore with Pulumi AI

Create ProblemRecordPropagationRules Resource

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

Constructor syntax

new ProblemRecordPropagationRules(name: string, args: ProblemRecordPropagationRulesArgs, opts?: CustomResourceOptions);
@overload
def ProblemRecordPropagationRules(resource_name: str,
                                  args: ProblemRecordPropagationRulesArgs,
                                  opts: Optional[ResourceOptions] = None)

@overload
def ProblemRecordPropagationRules(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  enabled: Optional[bool] = None,
                                  source_attribute_key: Optional[str] = None,
                                  target_attribute_key: Optional[str] = None)
func NewProblemRecordPropagationRules(ctx *Context, name string, args ProblemRecordPropagationRulesArgs, opts ...ResourceOption) (*ProblemRecordPropagationRules, error)
public ProblemRecordPropagationRules(string name, ProblemRecordPropagationRulesArgs args, CustomResourceOptions? opts = null)
public ProblemRecordPropagationRules(String name, ProblemRecordPropagationRulesArgs args)
public ProblemRecordPropagationRules(String name, ProblemRecordPropagationRulesArgs args, CustomResourceOptions options)
type: dynatrace:ProblemRecordPropagationRules
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ProblemRecordPropagationRulesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ProblemRecordPropagationRulesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ProblemRecordPropagationRulesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ProblemRecordPropagationRulesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProblemRecordPropagationRulesArgs
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 problemRecordPropagationRulesResource = new Dynatrace.ProblemRecordPropagationRules("problemRecordPropagationRulesResource", new()
{
    Enabled = false,
    SourceAttributeKey = "string",
    TargetAttributeKey = "string",
});
Copy
example, err := dynatrace.NewProblemRecordPropagationRules(ctx, "problemRecordPropagationRulesResource", &dynatrace.ProblemRecordPropagationRulesArgs{
	Enabled:            pulumi.Bool(false),
	SourceAttributeKey: pulumi.String("string"),
	TargetAttributeKey: pulumi.String("string"),
})
Copy
var problemRecordPropagationRulesResource = new ProblemRecordPropagationRules("problemRecordPropagationRulesResource", ProblemRecordPropagationRulesArgs.builder()
    .enabled(false)
    .sourceAttributeKey("string")
    .targetAttributeKey("string")
    .build());
Copy
problem_record_propagation_rules_resource = dynatrace.ProblemRecordPropagationRules("problemRecordPropagationRulesResource",
    enabled=False,
    source_attribute_key="string",
    target_attribute_key="string")
Copy
const problemRecordPropagationRulesResource = new dynatrace.ProblemRecordPropagationRules("problemRecordPropagationRulesResource", {
    enabled: false,
    sourceAttributeKey: "string",
    targetAttributeKey: "string",
});
Copy
type: dynatrace:ProblemRecordPropagationRules
properties:
    enabled: false
    sourceAttributeKey: string
    targetAttributeKey: string
Copy

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

Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
SourceAttributeKey This property is required. string
Attribute key from the event that will be propagated.
TargetAttributeKey This property is required. string
Attribute key under which the propagated event data will be stored on the problem.
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
SourceAttributeKey This property is required. string
Attribute key from the event that will be propagated.
TargetAttributeKey This property is required. string
Attribute key under which the propagated event data will be stored on the problem.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
sourceAttributeKey This property is required. String
Attribute key from the event that will be propagated.
targetAttributeKey This property is required. String
Attribute key under which the propagated event data will be stored on the problem.
enabled This property is required. boolean
This setting is enabled (true) or disabled (false)
sourceAttributeKey This property is required. string
Attribute key from the event that will be propagated.
targetAttributeKey This property is required. string
Attribute key under which the propagated event data will be stored on the problem.
enabled This property is required. bool
This setting is enabled (true) or disabled (false)
source_attribute_key This property is required. str
Attribute key from the event that will be propagated.
target_attribute_key This property is required. str
Attribute key under which the propagated event data will be stored on the problem.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
sourceAttributeKey This property is required. String
Attribute key from the event that will be propagated.
targetAttributeKey This property is required. String
Attribute key under which the propagated event data will be stored on the problem.

Outputs

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

Get an existing ProblemRecordPropagationRules 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?: ProblemRecordPropagationRulesState, opts?: CustomResourceOptions): ProblemRecordPropagationRules
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        source_attribute_key: Optional[str] = None,
        target_attribute_key: Optional[str] = None) -> ProblemRecordPropagationRules
func GetProblemRecordPropagationRules(ctx *Context, name string, id IDInput, state *ProblemRecordPropagationRulesState, opts ...ResourceOption) (*ProblemRecordPropagationRules, error)
public static ProblemRecordPropagationRules Get(string name, Input<string> id, ProblemRecordPropagationRulesState? state, CustomResourceOptions? opts = null)
public static ProblemRecordPropagationRules get(String name, Output<String> id, ProblemRecordPropagationRulesState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:ProblemRecordPropagationRules    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Enabled bool
This setting is enabled (true) or disabled (false)
SourceAttributeKey string
Attribute key from the event that will be propagated.
TargetAttributeKey string
Attribute key under which the propagated event data will be stored on the problem.
Enabled bool
This setting is enabled (true) or disabled (false)
SourceAttributeKey string
Attribute key from the event that will be propagated.
TargetAttributeKey string
Attribute key under which the propagated event data will be stored on the problem.
enabled Boolean
This setting is enabled (true) or disabled (false)
sourceAttributeKey String
Attribute key from the event that will be propagated.
targetAttributeKey String
Attribute key under which the propagated event data will be stored on the problem.
enabled boolean
This setting is enabled (true) or disabled (false)
sourceAttributeKey string
Attribute key from the event that will be propagated.
targetAttributeKey string
Attribute key under which the propagated event data will be stored on the problem.
enabled bool
This setting is enabled (true) or disabled (false)
source_attribute_key str
Attribute key from the event that will be propagated.
target_attribute_key str
Attribute key under which the propagated event data will be stored on the problem.
enabled Boolean
This setting is enabled (true) or disabled (false)
sourceAttributeKey String
Attribute key from the event that will be propagated.
targetAttributeKey String
Attribute key under which the propagated event data will be stored on the problem.

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.