1. Packages
  2. Dynatrace
  3. API Docs
  4. DavisAnomalyDetectors
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.DavisAnomalyDetectors

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    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.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

    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.
    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 string
    Fully qualified name of the analyzer
    Input Pulumiverse.Dynatrace.Inputs.DavisAnomalyDetectorsAnalyzerInput
    Input fields for the specified analyzer
    Name string
    Fully qualified name of the analyzer
    Input DavisAnomalyDetectorsAnalyzerInputType
    Input fields for the specified analyzer
    name String
    Fully qualified name of the analyzer
    input DavisAnomalyDetectorsAnalyzerInput
    Input fields for the specified analyzer
    name string
    Fully qualified name of the analyzer
    input DavisAnomalyDetectorsAnalyzerInput
    Input fields for the specified analyzer
    name str
    Fully qualified name of the analyzer
    input DavisAnomalyDetectorsAnalyzerInput
    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

    Key string
    no documentation available
    Value string
    no documentation available
    Key string
    no documentation available
    Value string
    no documentation available
    key String
    no documentation available
    value String
    no documentation available
    key string
    no documentation available
    value string
    no documentation available
    key str
    no documentation available
    value str
    no documentation available
    key String
    no documentation available
    value 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

    DavisAnomalyDetectorsEventTemplatePropertiesProperty, DavisAnomalyDetectorsEventTemplatePropertiesPropertyArgs

    Key string
    no documentation available
    Value string
    no documentation available
    Key string
    no documentation available
    Value string
    no documentation available
    key String
    no documentation available
    value String
    no documentation available
    key string
    no documentation available
    value string
    no documentation available
    key str
    no documentation available
    value str
    no documentation available
    key String
    no documentation available
    value String
    no documentation available

    DavisAnomalyDetectorsExecutionSettings, DavisAnomalyDetectorsExecutionSettingsArgs

    QueryOffset int
    Minute offset of sliding evaluation window for metrics with latency
    QueryOffset int
    Minute offset of sliding evaluation window for metrics with latency
    queryOffset Integer
    Minute offset of sliding evaluation window for metrics with latency
    queryOffset number
    Minute offset of sliding evaluation window for metrics with latency
    query_offset int
    Minute offset of sliding evaluation window for metrics with latency
    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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse