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

dynatrace.ProblemFields

Explore with Pulumi AI

Create ProblemFields Resource

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

Constructor syntax

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

@overload
def ProblemFields(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  enabled: Optional[bool] = None,
                  event_field: Optional[str] = None,
                  problem_field: Optional[str] = None)
func NewProblemFields(ctx *Context, name string, args ProblemFieldsArgs, opts ...ResourceOption) (*ProblemFields, error)
public ProblemFields(string name, ProblemFieldsArgs args, CustomResourceOptions? opts = null)
public ProblemFields(String name, ProblemFieldsArgs args)
public ProblemFields(String name, ProblemFieldsArgs args, CustomResourceOptions options)
type: dynatrace:ProblemFields
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. ProblemFieldsArgs
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. ProblemFieldsArgs
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. ProblemFieldsArgs
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. ProblemFieldsArgs
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. ProblemFieldsArgs
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 problemFieldsResource = new Dynatrace.ProblemFields("problemFieldsResource", new()
{
    Enabled = false,
    EventField = "string",
    ProblemField = "string",
});
Copy
example, err := dynatrace.NewProblemFields(ctx, "problemFieldsResource", &dynatrace.ProblemFieldsArgs{
	Enabled:      pulumi.Bool(false),
	EventField:   pulumi.String("string"),
	ProblemField: pulumi.String("string"),
})
Copy
var problemFieldsResource = new ProblemFields("problemFieldsResource", ProblemFieldsArgs.builder()
    .enabled(false)
    .eventField("string")
    .problemField("string")
    .build());
Copy
problem_fields_resource = dynatrace.ProblemFields("problemFieldsResource",
    enabled=False,
    event_field="string",
    problem_field="string")
Copy
const problemFieldsResource = new dynatrace.ProblemFields("problemFieldsResource", {
    enabled: false,
    eventField: "string",
    problemField: "string",
});
Copy
type: dynatrace:ProblemFields
properties:
    enabled: false
    eventField: string
    problemField: string
Copy

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

Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
EventField This property is required. string
Field from the event that will be extracted.
ProblemField This property is required. string
Field under which the extracted event data will be stored on the problem.
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
EventField This property is required. string
Field from the event that will be extracted.
ProblemField This property is required. string
Field under which the extracted event data will be stored on the problem.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
eventField This property is required. String
Field from the event that will be extracted.
problemField This property is required. String
Field under which the extracted event data will be stored on the problem.
enabled This property is required. boolean
This setting is enabled (true) or disabled (false)
eventField This property is required. string
Field from the event that will be extracted.
problemField This property is required. string
Field under which the extracted event data will be stored on the problem.
enabled This property is required. bool
This setting is enabled (true) or disabled (false)
event_field This property is required. str
Field from the event that will be extracted.
problem_field This property is required. str
Field under which the extracted event data will be stored on the problem.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
eventField This property is required. String
Field from the event that will be extracted.
problemField This property is required. String
Field under which the extracted event data will be stored on the problem.

Outputs

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

Get an existing ProblemFields 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?: ProblemFieldsState, opts?: CustomResourceOptions): ProblemFields
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        event_field: Optional[str] = None,
        problem_field: Optional[str] = None) -> ProblemFields
func GetProblemFields(ctx *Context, name string, id IDInput, state *ProblemFieldsState, opts ...ResourceOption) (*ProblemFields, error)
public static ProblemFields Get(string name, Input<string> id, ProblemFieldsState? state, CustomResourceOptions? opts = null)
public static ProblemFields get(String name, Output<String> id, ProblemFieldsState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:ProblemFields    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)
EventField string
Field from the event that will be extracted.
ProblemField string
Field under which the extracted event data will be stored on the problem.
Enabled bool
This setting is enabled (true) or disabled (false)
EventField string
Field from the event that will be extracted.
ProblemField string
Field under which the extracted event data will be stored on the problem.
enabled Boolean
This setting is enabled (true) or disabled (false)
eventField String
Field from the event that will be extracted.
problemField String
Field under which the extracted event data will be stored on the problem.
enabled boolean
This setting is enabled (true) or disabled (false)
eventField string
Field from the event that will be extracted.
problemField string
Field under which the extracted event data will be stored on the problem.
enabled bool
This setting is enabled (true) or disabled (false)
event_field str
Field from the event that will be extracted.
problem_field str
Field under which the extracted event data will be stored on the problem.
enabled Boolean
This setting is enabled (true) or disabled (false)
eventField String
Field from the event that will be extracted.
problemField String
Field under which the extracted 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.