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",
});
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"),
})
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());
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")
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",
});
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
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. Davis Anomaly Detectors Analyzer - 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
) - Event
Template This property is required. Pulumiverse.Dynatrace. Inputs. Davis Anomaly Detectors Event Template - Event template
- Execution
Settings This property is required. Pulumiverse.Dynatrace. Inputs. Davis Anomaly Detectors Execution Settings - 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. DavisAnomaly Detectors Analyzer Args - 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
) - Event
Template This property is required. DavisAnomaly Detectors Event Template Args - Event template
- Execution
Settings This property is required. DavisAnomaly Detectors Execution Settings Args - 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. DavisAnomaly Detectors Analyzer - 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
) - event
Template This property is required. DavisAnomaly Detectors Event Template - Event template
- execution
Settings This property is required. DavisAnomaly Detectors Execution Settings - 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. DavisAnomaly Detectors Analyzer - 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
) - event
Template This property is required. DavisAnomaly Detectors Event Template - Event template
- execution
Settings This property is required. DavisAnomaly Detectors Execution Settings - 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. DavisAnomaly Detectors Analyzer Args - 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. DavisAnomaly Detectors Event Template Args - Event template
- execution_
settings This property is required. DavisAnomaly Detectors Execution Settings Args - 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
) - event
Template This property is required. Property Map - Event template
- execution
Settings 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.
- 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
This property is required. string - Fully qualified name of the analyzer
- Input
Pulumiverse.
Dynatrace. Inputs. Davis Anomaly Detectors Analyzer Input - Input fields for the specified analyzer
- Name
This property is required. string - Fully qualified name of the analyzer
- Input
Davis
Anomaly Detectors Analyzer Input Type - Input fields for the specified analyzer
- name
This property is required. String - Fully qualified name of the analyzer
- input
Davis
Anomaly Detectors Analyzer Input - Input fields for the specified analyzer
- name
This property is required. string - Fully qualified name of the analyzer
- input
Davis
Anomaly Detectors Analyzer Input - Input fields for the specified analyzer
- name
This property is required. str - Fully qualified name of the analyzer
- input
Davis
Anomaly Detectors Analyzer Input - 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
- Analyzer
Input Fields This property is required. List<Pulumiverse.Dynatrace. Inputs. Davis Anomaly Detectors Analyzer Input Analyzer Input Field>
- Analyzer
Input Fields This property is required. []DavisAnomaly Detectors Analyzer Input Analyzer Input Field
- analyzer
Input Fields This property is required. List<DavisAnomaly Detectors Analyzer Input Analyzer Input Field>
- analyzer
Input Fields This property is required. DavisAnomaly Detectors Analyzer Input Analyzer Input Field[]
- analyzer_
input_ fields This property is required. Sequence[DavisAnomaly Detectors Analyzer Input Analyzer Input Field]
- analyzer
Input Fields This property is required. List<Property Map>
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
- Properties
This property is required. List<Pulumiverse.Dynatrace. Inputs. Davis Anomaly Detectors Event Template Properties Property>
- Properties
This property is required. []DavisAnomaly Detectors Event Template Properties Property
- properties
This property is required. List<DavisAnomaly Detectors Event Template Properties Property>
- properties
This property is required. DavisAnomaly Detectors Event Template Properties Property[]
- properties
This property is required. Sequence[DavisAnomaly Detectors Event Template Properties Property]
- properties
This property is required. List<Property Map>
DavisAnomalyDetectorsEventTemplatePropertiesProperty, DavisAnomalyDetectorsEventTemplatePropertiesPropertyArgs
DavisAnomalyDetectorsExecutionSettings, DavisAnomalyDetectorsExecutionSettingsArgs
- Actor string
- 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.
- 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.
- query
Offset 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.
- query
Offset 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.
- 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.