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 string
- The unique name of the resource.
- args DavisAnomalyDetectorsArgs
- 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 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 string
- The unique name of the resource.
- args DavisAnomalyDetectorsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DavisAnomalyDetectorsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
{
QueryOffset = 0,
},
Source = "string",
Title = "string",
});
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{
QueryOffset: pulumi.Int(0),
},
Source: pulumi.String("string"),
Title: pulumi.String("string"),
})
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()
.queryOffset(0)
.build())
.source("string")
.title("string")
.build());
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={
"query_offset": 0,
},
source="string",
title="string")
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: {
queryOffset: 0,
},
source: "string",
title: "string",
});
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:
queryOffset: 0
source: string
title: string
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
Pulumiverse.
Dynatrace. Inputs. Davis Anomaly Detectors Analyzer - Analyzer input
- Description string
- The description of the anomaly detector
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Event
Template Pulumiverse.Dynatrace. Inputs. Davis Anomaly Detectors Event Template - Event template
- Execution
Settings Pulumiverse.Dynatrace. Inputs. Davis Anomaly Detectors Execution Settings - Execution settings
- Source string
- Source
- Title string
- The title of the anomaly detector
- Analyzer
Davis
Anomaly Detectors Analyzer Args - Analyzer input
- Description string
- The description of the anomaly detector
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Event
Template DavisAnomaly Detectors Event Template Args - Event template
- Execution
Settings DavisAnomaly Detectors Execution Settings Args - Execution settings
- Source string
- Source
- Title string
- The title of the anomaly detector
- analyzer
Davis
Anomaly Detectors Analyzer - Analyzer input
- description String
- The description of the anomaly detector
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - event
Template DavisAnomaly Detectors Event Template - Event template
- execution
Settings DavisAnomaly Detectors Execution Settings - Execution settings
- source String
- Source
- title String
- The title of the anomaly detector
- analyzer
Davis
Anomaly Detectors Analyzer - Analyzer input
- description string
- The description of the anomaly detector
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - event
Template DavisAnomaly Detectors Event Template - Event template
- execution
Settings DavisAnomaly Detectors Execution Settings - Execution settings
- source string
- Source
- title string
- The title of the anomaly detector
- analyzer
Davis
Anomaly Detectors Analyzer Args - Analyzer input
- description str
- The description of the anomaly detector
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - event_
template DavisAnomaly Detectors Event Template Args - Event template
- execution_
settings DavisAnomaly Detectors Execution Settings Args - 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
) - event
Template Property Map - Event template
- execution
Settings Property Map - Execution settings
- source String
- Source
- title 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)
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.
- Analyzer
Pulumiverse.
Dynatrace. Inputs. Davis Anomaly Detectors Analyzer - Analyzer input
- Description string
- The description of the anomaly detector
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Event
Template Pulumiverse.Dynatrace. Inputs. Davis Anomaly Detectors Event Template - Event template
- Execution
Settings Pulumiverse.Dynatrace. Inputs. Davis Anomaly Detectors Execution Settings - Execution settings
- Source string
- Source
- Title string
- The title of the anomaly detector
- Analyzer
Davis
Anomaly Detectors Analyzer Args - Analyzer input
- Description string
- The description of the anomaly detector
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Event
Template DavisAnomaly Detectors Event Template Args - Event template
- Execution
Settings DavisAnomaly Detectors Execution Settings Args - Execution settings
- Source string
- Source
- Title string
- The title of the anomaly detector
- analyzer
Davis
Anomaly Detectors Analyzer - Analyzer input
- description String
- The description of the anomaly detector
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - event
Template DavisAnomaly Detectors Event Template - Event template
- execution
Settings DavisAnomaly Detectors Execution Settings - Execution settings
- source String
- Source
- title String
- The title of the anomaly detector
- analyzer
Davis
Anomaly Detectors Analyzer - Analyzer input
- description string
- The description of the anomaly detector
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - event
Template DavisAnomaly Detectors Event Template - Event template
- execution
Settings DavisAnomaly Detectors Execution Settings - Execution settings
- source string
- Source
- title string
- The title of the anomaly detector
- analyzer
Davis
Anomaly Detectors Analyzer Args - Analyzer input
- description str
- The description of the anomaly detector
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - event_
template DavisAnomaly Detectors Event Template Args - Event template
- execution_
settings DavisAnomaly Detectors Execution Settings Args - 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
) - event
Template Property Map - Event template
- execution
Settings Property Map - Execution settings
- source String
- Source
- title String
- The title of the anomaly detector
Supporting Types
DavisAnomalyDetectorsAnalyzer, DavisAnomalyDetectorsAnalyzerArgs
- Name string
- Fully qualified name of the analyzer
- Input
Pulumiverse.
Dynatrace. Inputs. Davis Anomaly Detectors Analyzer Input - Input fields for the specified analyzer
- Name string
- Fully qualified name of the analyzer
- Input
Davis
Anomaly Detectors Analyzer Input Type - Input fields for the specified analyzer
- name String
- Fully qualified name of the analyzer
- input
Davis
Anomaly Detectors Analyzer Input - Input fields for the specified analyzer
- name string
- Fully qualified name of the analyzer
- input
Davis
Anomaly Detectors Analyzer Input - Input fields for the specified analyzer
- name str
- Fully qualified name of the analyzer
- input
Davis
Anomaly Detectors Analyzer Input - Input fields for the specified analyzer
- name String
- Fully qualified name of the analyzer
- input Property Map
- Input fields for the specified analyzer
DavisAnomalyDetectorsAnalyzerInput, DavisAnomalyDetectorsAnalyzerInputArgs
DavisAnomalyDetectorsAnalyzerInputAnalyzerInputField, DavisAnomalyDetectorsAnalyzerInputAnalyzerInputFieldArgs
DavisAnomalyDetectorsEventTemplate, DavisAnomalyDetectorsEventTemplateArgs
- Properties
Pulumiverse.
Dynatrace. Inputs. Davis Anomaly Detectors Event Template Properties - Set of additional key-value properties to be attached to the triggered event.
- Properties
Davis
Anomaly Detectors Event Template Properties - Set of additional key-value properties to be attached to the triggered event.
- properties
Davis
Anomaly Detectors Event Template Properties - Set of additional key-value properties to be attached to the triggered event.
- properties
Davis
Anomaly Detectors Event Template Properties - Set of additional key-value properties to be attached to the triggered event.
- properties
Davis
Anomaly Detectors Event Template Properties - 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
DavisAnomalyDetectorsEventTemplatePropertiesProperty, DavisAnomalyDetectorsEventTemplatePropertiesPropertyArgs
DavisAnomalyDetectorsExecutionSettings, DavisAnomalyDetectorsExecutionSettingsArgs
- Query
Offset int - Minute offset of sliding evaluation window for metrics with latency
- Query
Offset int - Minute offset of sliding evaluation window for metrics with latency
- query
Offset Integer - Minute offset of sliding evaluation window for metrics with latency
- query
Offset number - Minute offset of sliding evaluation window for metrics with latency
- query_
offset int - Minute offset of sliding evaluation window for metrics with latency
- query
Offset 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.