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

dynatrace.DavisAnomalyDetectors

Explore with Pulumi AI

Create DavisAnomalyDetectors Resource

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

Constructor syntax

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

@overload
def DavisAnomalyDetectors(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          analyzer: Optional[DavisAnomalyDetectorsAnalyzerArgs] = None,
                          description: Optional[str] = None,
                          enabled: Optional[bool] = None,
                          event_template: Optional[DavisAnomalyDetectorsEventTemplateArgs] = None,
                          execution_settings: Optional[DavisAnomalyDetectorsExecutionSettingsArgs] = None,
                          source: Optional[str] = None,
                          title: Optional[str] = None)
func NewDavisAnomalyDetectors(ctx *Context, name string, args DavisAnomalyDetectorsArgs, opts ...ResourceOption) (*DavisAnomalyDetectors, error)
public DavisAnomalyDetectors(string name, DavisAnomalyDetectorsArgs args, CustomResourceOptions? opts = null)
public DavisAnomalyDetectors(String name, DavisAnomalyDetectorsArgs args)
public DavisAnomalyDetectors(String name, DavisAnomalyDetectorsArgs args, CustomResourceOptions options)
type: dynatrace:DavisAnomalyDetectors
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. DavisAnomalyDetectorsArgs
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. DavisAnomalyDetectorsArgs
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. DavisAnomalyDetectorsArgs
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. DavisAnomalyDetectorsArgs
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. DavisAnomalyDetectorsArgs
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 davisAnomalyDetectorsResource = new Dynatrace.DavisAnomalyDetectors("davisAnomalyDetectorsResource", new()
{
    Analyzer = new Dynatrace.Inputs.DavisAnomalyDetectorsAnalyzerArgs
    {
        Name = "string",
        Input = new Dynatrace.Inputs.DavisAnomalyDetectorsAnalyzerInputArgs
        {
            AnalyzerInputFields = new[]
            {
                new Dynatrace.Inputs.DavisAnomalyDetectorsAnalyzerInputAnalyzerInputFieldArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
        },
    },
    Description = "string",
    Enabled = false,
    EventTemplate = new Dynatrace.Inputs.DavisAnomalyDetectorsEventTemplateArgs
    {
        Properties = new Dynatrace.Inputs.DavisAnomalyDetectorsEventTemplatePropertiesArgs
        {
            Properties = new[]
            {
                new Dynatrace.Inputs.DavisAnomalyDetectorsEventTemplatePropertiesPropertyArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
        },
    },
    ExecutionSettings = new Dynatrace.Inputs.DavisAnomalyDetectorsExecutionSettingsArgs
    {
        Actor = "string",
        QueryOffset = 0,
    },
    Source = "string",
    Title = "string",
});
Copy
example, err := dynatrace.NewDavisAnomalyDetectors(ctx, "davisAnomalyDetectorsResource", &dynatrace.DavisAnomalyDetectorsArgs{
	Analyzer: &dynatrace.DavisAnomalyDetectorsAnalyzerArgs{
		Name: pulumi.String("string"),
		Input: &dynatrace.DavisAnomalyDetectorsAnalyzerInputTypeArgs{
			AnalyzerInputFields: dynatrace.DavisAnomalyDetectorsAnalyzerInputAnalyzerInputFieldArray{
				&dynatrace.DavisAnomalyDetectorsAnalyzerInputAnalyzerInputFieldArgs{
					Key:   pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
		},
	},
	Description: pulumi.String("string"),
	Enabled:     pulumi.Bool(false),
	EventTemplate: &dynatrace.DavisAnomalyDetectorsEventTemplateArgs{
		Properties: &dynatrace.DavisAnomalyDetectorsEventTemplatePropertiesArgs{
			Properties: dynatrace.DavisAnomalyDetectorsEventTemplatePropertiesPropertyArray{
				&dynatrace.DavisAnomalyDetectorsEventTemplatePropertiesPropertyArgs{
					Key:   pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
		},
	},
	ExecutionSettings: &dynatrace.DavisAnomalyDetectorsExecutionSettingsArgs{
		Actor:       pulumi.String("string"),
		QueryOffset: pulumi.Int(0),
	},
	Source: pulumi.String("string"),
	Title:  pulumi.String("string"),
})
Copy
var davisAnomalyDetectorsResource = new DavisAnomalyDetectors("davisAnomalyDetectorsResource", DavisAnomalyDetectorsArgs.builder()
    .analyzer(DavisAnomalyDetectorsAnalyzerArgs.builder()
        .name("string")
        .input(DavisAnomalyDetectorsAnalyzerInputArgs.builder()
            .analyzerInputFields(DavisAnomalyDetectorsAnalyzerInputAnalyzerInputFieldArgs.builder()
                .key("string")
                .value("string")
                .build())
            .build())
        .build())
    .description("string")
    .enabled(false)
    .eventTemplate(DavisAnomalyDetectorsEventTemplateArgs.builder()
        .properties(DavisAnomalyDetectorsEventTemplatePropertiesArgs.builder()
            .properties(DavisAnomalyDetectorsEventTemplatePropertiesPropertyArgs.builder()
                .key("string")
                .value("string")
                .build())
            .build())
        .build())
    .executionSettings(DavisAnomalyDetectorsExecutionSettingsArgs.builder()
        .actor("string")
        .queryOffset(0)
        .build())
    .source("string")
    .title("string")
    .build());
Copy
davis_anomaly_detectors_resource = dynatrace.DavisAnomalyDetectors("davisAnomalyDetectorsResource",
    analyzer={
        "name": "string",
        "input": {
            "analyzer_input_fields": [{
                "key": "string",
                "value": "string",
            }],
        },
    },
    description="string",
    enabled=False,
    event_template={
        "properties": {
            "properties": [{
                "key": "string",
                "value": "string",
            }],
        },
    },
    execution_settings={
        "actor": "string",
        "query_offset": 0,
    },
    source="string",
    title="string")
Copy
const davisAnomalyDetectorsResource = new dynatrace.DavisAnomalyDetectors("davisAnomalyDetectorsResource", {
    analyzer: {
        name: "string",
        input: {
            analyzerInputFields: [{
                key: "string",
                value: "string",
            }],
        },
    },
    description: "string",
    enabled: false,
    eventTemplate: {
        properties: {
            properties: [{
                key: "string",
                value: "string",
            }],
        },
    },
    executionSettings: {
        actor: "string",
        queryOffset: 0,
    },
    source: "string",
    title: "string",
});
Copy
type: dynatrace:DavisAnomalyDetectors
properties:
    analyzer:
        input:
            analyzerInputFields:
                - key: string
                  value: string
        name: string
    description: string
    enabled: false
    eventTemplate:
        properties:
            properties:
                - key: string
                  value: string
    executionSettings:
        actor: string
        queryOffset: 0
    source: string
    title: string
Copy

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

Analyzer This property is required. Pulumiverse.Dynatrace.Inputs.DavisAnomalyDetectorsAnalyzer
Analyzer input
Description This property is required. string
The description of the anomaly detector
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
EventTemplate This property is required. Pulumiverse.Dynatrace.Inputs.DavisAnomalyDetectorsEventTemplate
Event template
ExecutionSettings This property is required. Pulumiverse.Dynatrace.Inputs.DavisAnomalyDetectorsExecutionSettings
Execution settings
Source This property is required. string
Source
Title This property is required. string
The title of the anomaly detector
Analyzer This property is required. DavisAnomalyDetectorsAnalyzerArgs
Analyzer input
Description This property is required. string
The description of the anomaly detector
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
EventTemplate This property is required. DavisAnomalyDetectorsEventTemplateArgs
Event template
ExecutionSettings This property is required. DavisAnomalyDetectorsExecutionSettingsArgs
Execution settings
Source This property is required. string
Source
Title This property is required. string
The title of the anomaly detector
analyzer This property is required. DavisAnomalyDetectorsAnalyzer
Analyzer input
description This property is required. String
The description of the anomaly detector
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
eventTemplate This property is required. DavisAnomalyDetectorsEventTemplate
Event template
executionSettings This property is required. DavisAnomalyDetectorsExecutionSettings
Execution settings
source This property is required. String
Source
title This property is required. String
The title of the anomaly detector
analyzer This property is required. DavisAnomalyDetectorsAnalyzer
Analyzer input
description This property is required. string
The description of the anomaly detector
enabled This property is required. boolean
This setting is enabled (true) or disabled (false)
eventTemplate This property is required. DavisAnomalyDetectorsEventTemplate
Event template
executionSettings This property is required. DavisAnomalyDetectorsExecutionSettings
Execution settings
source This property is required. string
Source
title This property is required. string
The title of the anomaly detector
analyzer This property is required. DavisAnomalyDetectorsAnalyzerArgs
Analyzer input
description This property is required. str
The description of the anomaly detector
enabled This property is required. bool
This setting is enabled (true) or disabled (false)
event_template This property is required. DavisAnomalyDetectorsEventTemplateArgs
Event template
execution_settings This property is required. DavisAnomalyDetectorsExecutionSettingsArgs
Execution settings
source This property is required. str
Source
title This property is required. str
The title of the anomaly detector
analyzer This property is required. Property Map
Analyzer input
description This property is required. String
The description of the anomaly detector
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
eventTemplate This property is required. Property Map
Event template
executionSettings This property is required. Property Map
Execution settings
source This property is required. String
Source
title This property is required. String
The title of the anomaly detector

Outputs

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

Get an existing DavisAnomalyDetectors 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?: DavisAnomalyDetectorsState, opts?: CustomResourceOptions): DavisAnomalyDetectors
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        analyzer: Optional[DavisAnomalyDetectorsAnalyzerArgs] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        event_template: Optional[DavisAnomalyDetectorsEventTemplateArgs] = None,
        execution_settings: Optional[DavisAnomalyDetectorsExecutionSettingsArgs] = None,
        source: Optional[str] = None,
        title: Optional[str] = None) -> DavisAnomalyDetectors
func GetDavisAnomalyDetectors(ctx *Context, name string, id IDInput, state *DavisAnomalyDetectorsState, opts ...ResourceOption) (*DavisAnomalyDetectors, error)
public static DavisAnomalyDetectors Get(string name, Input<string> id, DavisAnomalyDetectorsState? state, CustomResourceOptions? opts = null)
public static DavisAnomalyDetectors get(String name, Output<String> id, DavisAnomalyDetectorsState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:DavisAnomalyDetectors    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:
Analyzer Pulumiverse.Dynatrace.Inputs.DavisAnomalyDetectorsAnalyzer
Analyzer input
Description string
The description of the anomaly detector
Enabled bool
This setting is enabled (true) or disabled (false)
EventTemplate Pulumiverse.Dynatrace.Inputs.DavisAnomalyDetectorsEventTemplate
Event template
ExecutionSettings Pulumiverse.Dynatrace.Inputs.DavisAnomalyDetectorsExecutionSettings
Execution settings
Source string
Source
Title string
The title of the anomaly detector
Analyzer DavisAnomalyDetectorsAnalyzerArgs
Analyzer input
Description string
The description of the anomaly detector
Enabled bool
This setting is enabled (true) or disabled (false)
EventTemplate DavisAnomalyDetectorsEventTemplateArgs
Event template
ExecutionSettings DavisAnomalyDetectorsExecutionSettingsArgs
Execution settings
Source string
Source
Title string
The title of the anomaly detector
analyzer DavisAnomalyDetectorsAnalyzer
Analyzer input
description String
The description of the anomaly detector
enabled Boolean
This setting is enabled (true) or disabled (false)
eventTemplate DavisAnomalyDetectorsEventTemplate
Event template
executionSettings DavisAnomalyDetectorsExecutionSettings
Execution settings
source String
Source
title String
The title of the anomaly detector
analyzer DavisAnomalyDetectorsAnalyzer
Analyzer input
description string
The description of the anomaly detector
enabled boolean
This setting is enabled (true) or disabled (false)
eventTemplate DavisAnomalyDetectorsEventTemplate
Event template
executionSettings DavisAnomalyDetectorsExecutionSettings
Execution settings
source string
Source
title string
The title of the anomaly detector
analyzer DavisAnomalyDetectorsAnalyzerArgs
Analyzer input
description str
The description of the anomaly detector
enabled bool
This setting is enabled (true) or disabled (false)
event_template DavisAnomalyDetectorsEventTemplateArgs
Event template
execution_settings DavisAnomalyDetectorsExecutionSettingsArgs
Execution settings
source str
Source
title str
The title of the anomaly detector
analyzer Property Map
Analyzer input
description String
The description of the anomaly detector
enabled Boolean
This setting is enabled (true) or disabled (false)
eventTemplate Property Map
Event template
executionSettings Property Map
Execution settings
source String
Source
title String
The title of the anomaly detector

Supporting Types

DavisAnomalyDetectorsAnalyzer
, DavisAnomalyDetectorsAnalyzerArgs

Name This property is required. string
Fully qualified name of the analyzer
Input Pulumiverse.Dynatrace.Inputs.DavisAnomalyDetectorsAnalyzerInput
Input fields for the specified analyzer
Name This property is required. string
Fully qualified name of the analyzer
Input DavisAnomalyDetectorsAnalyzerInputType
Input fields for the specified analyzer
name This property is required. String
Fully qualified name of the analyzer
input DavisAnomalyDetectorsAnalyzerInput
Input fields for the specified analyzer
name This property is required. string
Fully qualified name of the analyzer
input DavisAnomalyDetectorsAnalyzerInput
Input fields for the specified analyzer
name This property is required. str
Fully qualified name of the analyzer
input DavisAnomalyDetectorsAnalyzerInput
Input fields for the specified analyzer
name This property is required. String
Fully qualified name of the analyzer
input Property Map
Input fields for the specified analyzer

DavisAnomalyDetectorsAnalyzerInput
, DavisAnomalyDetectorsAnalyzerInputArgs

analyzerInputFields This property is required. List<Property Map>

DavisAnomalyDetectorsAnalyzerInputAnalyzerInputField
, DavisAnomalyDetectorsAnalyzerInputAnalyzerInputFieldArgs

Key This property is required. string
no documentation available
Value This property is required. string
no documentation available
Key This property is required. string
no documentation available
Value This property is required. string
no documentation available
key This property is required. String
no documentation available
value This property is required. String
no documentation available
key This property is required. string
no documentation available
value This property is required. string
no documentation available
key This property is required. str
no documentation available
value This property is required. str
no documentation available
key This property is required. String
no documentation available
value This property is required. String
no documentation available

DavisAnomalyDetectorsEventTemplate
, DavisAnomalyDetectorsEventTemplateArgs

Properties Pulumiverse.Dynatrace.Inputs.DavisAnomalyDetectorsEventTemplateProperties
Set of additional key-value properties to be attached to the triggered event.
Properties DavisAnomalyDetectorsEventTemplateProperties
Set of additional key-value properties to be attached to the triggered event.
properties DavisAnomalyDetectorsEventTemplateProperties
Set of additional key-value properties to be attached to the triggered event.
properties DavisAnomalyDetectorsEventTemplateProperties
Set of additional key-value properties to be attached to the triggered event.
properties DavisAnomalyDetectorsEventTemplateProperties
Set of additional key-value properties to be attached to the triggered event.
properties Property Map
Set of additional key-value properties to be attached to the triggered event.

DavisAnomalyDetectorsEventTemplateProperties
, DavisAnomalyDetectorsEventTemplatePropertiesArgs

properties This property is required. List<Property Map>

DavisAnomalyDetectorsEventTemplatePropertiesProperty
, DavisAnomalyDetectorsEventTemplatePropertiesPropertyArgs

Key This property is required. string
no documentation available
Value This property is required. string
no documentation available
Key This property is required. string
no documentation available
Value This property is required. string
no documentation available
key This property is required. String
no documentation available
value This property is required. String
no documentation available
key This property is required. string
no documentation available
value This property is required. string
no documentation available
key This property is required. str
no documentation available
value This property is required. str
no documentation available
key This property is required. String
no documentation available
value This property is required. String
no documentation available

DavisAnomalyDetectorsExecutionSettings
, DavisAnomalyDetectorsExecutionSettingsArgs

Actor string
UUID of a service user. Queries will be executed on behalf of the service user.
QueryOffset int
Minute offset of sliding evaluation window for metrics with latency
Actor string
UUID of a service user. Queries will be executed on behalf of the service user.
QueryOffset int
Minute offset of sliding evaluation window for metrics with latency
actor String
UUID of a service user. Queries will be executed on behalf of the service user.
queryOffset Integer
Minute offset of sliding evaluation window for metrics with latency
actor string
UUID of a service user. Queries will be executed on behalf of the service user.
queryOffset number
Minute offset of sliding evaluation window for metrics with latency
actor str
UUID of a service user. Queries will be executed on behalf of the service user.
query_offset int
Minute offset of sliding evaluation window for metrics with latency
actor String
UUID of a service user. Queries will be executed on behalf of the service user.
queryOffset Number
Minute offset of sliding evaluation window for metrics with latency

Package Details

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