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 string
- The unique name of the resource.
- args ProblemRecordPropagationRulesArgs
- 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 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 string
- The unique name of the resource.
- args ProblemRecordPropagationRulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProblemRecordPropagationRulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := dynatrace.NewProblemRecordPropagationRules(ctx, "problemRecordPropagationRulesResource", &dynatrace.ProblemRecordPropagationRulesArgs{
Enabled: pulumi.Bool(false),
SourceAttributeKey: pulumi.String("string"),
TargetAttributeKey: pulumi.String("string"),
})
var problemRecordPropagationRulesResource = new ProblemRecordPropagationRules("problemRecordPropagationRulesResource", ProblemRecordPropagationRulesArgs.builder()
.enabled(false)
.sourceAttributeKey("string")
.targetAttributeKey("string")
.build());
problem_record_propagation_rules_resource = dynatrace.ProblemRecordPropagationRules("problemRecordPropagationRulesResource",
enabled=False,
source_attribute_key="string",
target_attribute_key="string")
const problemRecordPropagationRulesResource = new dynatrace.ProblemRecordPropagationRules("problemRecordPropagationRulesResource", {
enabled: false,
sourceAttributeKey: "string",
targetAttributeKey: "string",
});
type: dynatrace:ProblemRecordPropagationRules
properties:
enabled: false
sourceAttributeKey: string
targetAttributeKey: string
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 bool
- This setting is enabled (
true
) or disabled (false
) - Source
Attribute stringKey - Attribute key from the event that will be propagated.
- Target
Attribute stringKey - 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 stringKey - Attribute key from the event that will be propagated.
- Target
Attribute stringKey - Attribute key under which the propagated event data will be stored on the problem.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - source
Attribute StringKey - Attribute key from the event that will be propagated.
- target
Attribute StringKey - Attribute key under which the propagated event data will be stored on the problem.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - source
Attribute stringKey - Attribute key from the event that will be propagated.
- target
Attribute stringKey - 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_ strkey - Attribute key from the event that will be propagated.
- target_
attribute_ strkey - Attribute key under which the propagated event data will be stored on the problem.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - source
Attribute StringKey - Attribute key from the event that will be propagated.
- target
Attribute StringKey - 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)
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.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Source
Attribute stringKey - Attribute key from the event that will be propagated.
- Target
Attribute stringKey - 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 stringKey - Attribute key from the event that will be propagated.
- Target
Attribute stringKey - Attribute key under which the propagated event data will be stored on the problem.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - source
Attribute StringKey - Attribute key from the event that will be propagated.
- target
Attribute StringKey - Attribute key under which the propagated event data will be stored on the problem.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - source
Attribute stringKey - Attribute key from the event that will be propagated.
- target
Attribute stringKey - 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_ strkey - Attribute key from the event that will be propagated.
- target_
attribute_ strkey - Attribute key under which the propagated event data will be stored on the problem.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - source
Attribute StringKey - Attribute key from the event that will be propagated.
- target
Attribute StringKey - 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.