1. Packages
  2. Dynatrace
  3. API Docs
  4. ApplicationAnomalies
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.ApplicationAnomalies

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    Create ApplicationAnomalies Resource

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

    Constructor syntax

    new ApplicationAnomalies(name: string, args?: ApplicationAnomaliesArgs, opts?: CustomResourceOptions);
    @overload
    def ApplicationAnomalies(resource_name: str,
                             args: Optional[ApplicationAnomaliesArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplicationAnomalies(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             failure_rate: Optional[ApplicationAnomaliesFailureRateArgs] = None,
                             response_time: Optional[ApplicationAnomaliesResponseTimeArgs] = None,
                             traffic: Optional[ApplicationAnomaliesTrafficArgs] = None)
    func NewApplicationAnomalies(ctx *Context, name string, args *ApplicationAnomaliesArgs, opts ...ResourceOption) (*ApplicationAnomalies, error)
    public ApplicationAnomalies(string name, ApplicationAnomaliesArgs? args = null, CustomResourceOptions? opts = null)
    public ApplicationAnomalies(String name, ApplicationAnomaliesArgs args)
    public ApplicationAnomalies(String name, ApplicationAnomaliesArgs args, CustomResourceOptions options)
    
    type: dynatrace:ApplicationAnomalies
    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 ApplicationAnomaliesArgs
    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 ApplicationAnomaliesArgs
    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 ApplicationAnomaliesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationAnomaliesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationAnomaliesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var applicationAnomaliesResource = new Dynatrace.ApplicationAnomalies("applicationAnomaliesResource", new()
    {
        FailureRate = new Dynatrace.Inputs.ApplicationAnomaliesFailureRateArgs
        {
            Auto = new Dynatrace.Inputs.ApplicationAnomaliesFailureRateAutoArgs
            {
                Absolute = 0,
                Relative = 0,
                Unknowns = "string",
            },
            Thresholds = new Dynatrace.Inputs.ApplicationAnomaliesFailureRateThresholdsArgs
            {
                Sensitivity = "string",
                Threshold = 0,
                Unknowns = "string",
            },
        },
        ResponseTime = new Dynatrace.Inputs.ApplicationAnomaliesResponseTimeArgs
        {
            Auto = new Dynatrace.Inputs.ApplicationAnomaliesResponseTimeAutoArgs
            {
                Load = "string",
                Milliseconds = 0,
                Percent = 0,
                SlowestMilliseconds = 0,
                SlowestPercent = 0,
                Unknowns = "string",
            },
            Thresholds = new Dynatrace.Inputs.ApplicationAnomaliesResponseTimeThresholdsArgs
            {
                Load = "string",
                Milliseconds = 0,
                Sensitivity = "string",
                SlowestMilliseconds = 0,
                Unknowns = "string",
            },
        },
        Traffic = new Dynatrace.Inputs.ApplicationAnomaliesTrafficArgs
        {
            Drops = new Dynatrace.Inputs.ApplicationAnomaliesTrafficDropsArgs
            {
                Enabled = false,
                Percent = 0,
            },
            Spikes = new Dynatrace.Inputs.ApplicationAnomaliesTrafficSpikesArgs
            {
                Enabled = false,
                Percent = 0,
            },
        },
    });
    
    example, err := dynatrace.NewApplicationAnomalies(ctx, "applicationAnomaliesResource", &dynatrace.ApplicationAnomaliesArgs{
    	FailureRate: &dynatrace.ApplicationAnomaliesFailureRateArgs{
    		Auto: &dynatrace.ApplicationAnomaliesFailureRateAutoArgs{
    			Absolute: pulumi.Int(0),
    			Relative: pulumi.Int(0),
    			Unknowns: pulumi.String("string"),
    		},
    		Thresholds: &dynatrace.ApplicationAnomaliesFailureRateThresholdsArgs{
    			Sensitivity: pulumi.String("string"),
    			Threshold:   pulumi.Int(0),
    			Unknowns:    pulumi.String("string"),
    		},
    	},
    	ResponseTime: &dynatrace.ApplicationAnomaliesResponseTimeArgs{
    		Auto: &dynatrace.ApplicationAnomaliesResponseTimeAutoArgs{
    			Load:                pulumi.String("string"),
    			Milliseconds:        pulumi.Int(0),
    			Percent:             pulumi.Int(0),
    			SlowestMilliseconds: pulumi.Int(0),
    			SlowestPercent:      pulumi.Int(0),
    			Unknowns:            pulumi.String("string"),
    		},
    		Thresholds: &dynatrace.ApplicationAnomaliesResponseTimeThresholdsArgs{
    			Load:                pulumi.String("string"),
    			Milliseconds:        pulumi.Int(0),
    			Sensitivity:         pulumi.String("string"),
    			SlowestMilliseconds: pulumi.Int(0),
    			Unknowns:            pulumi.String("string"),
    		},
    	},
    	Traffic: &dynatrace.ApplicationAnomaliesTrafficArgs{
    		Drops: &dynatrace.ApplicationAnomaliesTrafficDropsArgs{
    			Enabled: pulumi.Bool(false),
    			Percent: pulumi.Int(0),
    		},
    		Spikes: &dynatrace.ApplicationAnomaliesTrafficSpikesArgs{
    			Enabled: pulumi.Bool(false),
    			Percent: pulumi.Int(0),
    		},
    	},
    })
    
    var applicationAnomaliesResource = new ApplicationAnomalies("applicationAnomaliesResource", ApplicationAnomaliesArgs.builder()        
        .failureRate(ApplicationAnomaliesFailureRateArgs.builder()
            .auto(ApplicationAnomaliesFailureRateAutoArgs.builder()
                .absolute(0)
                .relative(0)
                .unknowns("string")
                .build())
            .thresholds(ApplicationAnomaliesFailureRateThresholdsArgs.builder()
                .sensitivity("string")
                .threshold(0)
                .unknowns("string")
                .build())
            .build())
        .responseTime(ApplicationAnomaliesResponseTimeArgs.builder()
            .auto(ApplicationAnomaliesResponseTimeAutoArgs.builder()
                .load("string")
                .milliseconds(0)
                .percent(0)
                .slowestMilliseconds(0)
                .slowestPercent(0)
                .unknowns("string")
                .build())
            .thresholds(ApplicationAnomaliesResponseTimeThresholdsArgs.builder()
                .load("string")
                .milliseconds(0)
                .sensitivity("string")
                .slowestMilliseconds(0)
                .unknowns("string")
                .build())
            .build())
        .traffic(ApplicationAnomaliesTrafficArgs.builder()
            .drops(ApplicationAnomaliesTrafficDropsArgs.builder()
                .enabled(false)
                .percent(0)
                .build())
            .spikes(ApplicationAnomaliesTrafficSpikesArgs.builder()
                .enabled(false)
                .percent(0)
                .build())
            .build())
        .build());
    
    application_anomalies_resource = dynatrace.ApplicationAnomalies("applicationAnomaliesResource",
        failure_rate=dynatrace.ApplicationAnomaliesFailureRateArgs(
            auto=dynatrace.ApplicationAnomaliesFailureRateAutoArgs(
                absolute=0,
                relative=0,
                unknowns="string",
            ),
            thresholds=dynatrace.ApplicationAnomaliesFailureRateThresholdsArgs(
                sensitivity="string",
                threshold=0,
                unknowns="string",
            ),
        ),
        response_time=dynatrace.ApplicationAnomaliesResponseTimeArgs(
            auto=dynatrace.ApplicationAnomaliesResponseTimeAutoArgs(
                load="string",
                milliseconds=0,
                percent=0,
                slowest_milliseconds=0,
                slowest_percent=0,
                unknowns="string",
            ),
            thresholds=dynatrace.ApplicationAnomaliesResponseTimeThresholdsArgs(
                load="string",
                milliseconds=0,
                sensitivity="string",
                slowest_milliseconds=0,
                unknowns="string",
            ),
        ),
        traffic=dynatrace.ApplicationAnomaliesTrafficArgs(
            drops=dynatrace.ApplicationAnomaliesTrafficDropsArgs(
                enabled=False,
                percent=0,
            ),
            spikes=dynatrace.ApplicationAnomaliesTrafficSpikesArgs(
                enabled=False,
                percent=0,
            ),
        ))
    
    const applicationAnomaliesResource = new dynatrace.ApplicationAnomalies("applicationAnomaliesResource", {
        failureRate: {
            auto: {
                absolute: 0,
                relative: 0,
                unknowns: "string",
            },
            thresholds: {
                sensitivity: "string",
                threshold: 0,
                unknowns: "string",
            },
        },
        responseTime: {
            auto: {
                load: "string",
                milliseconds: 0,
                percent: 0,
                slowestMilliseconds: 0,
                slowestPercent: 0,
                unknowns: "string",
            },
            thresholds: {
                load: "string",
                milliseconds: 0,
                sensitivity: "string",
                slowestMilliseconds: 0,
                unknowns: "string",
            },
        },
        traffic: {
            drops: {
                enabled: false,
                percent: 0,
            },
            spikes: {
                enabled: false,
                percent: 0,
            },
        },
    });
    
    type: dynatrace:ApplicationAnomalies
    properties:
        failureRate:
            auto:
                absolute: 0
                relative: 0
                unknowns: string
            thresholds:
                sensitivity: string
                threshold: 0
                unknowns: string
        responseTime:
            auto:
                load: string
                milliseconds: 0
                percent: 0
                slowestMilliseconds: 0
                slowestPercent: 0
                unknowns: string
            thresholds:
                load: string
                milliseconds: 0
                sensitivity: string
                slowestMilliseconds: 0
                unknowns: string
        traffic:
            drops:
                enabled: false
                percent: 0
            spikes:
                enabled: false
                percent: 0
    

    ApplicationAnomalies Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ApplicationAnomalies resource accepts the following input properties:

    FailureRate ApplicationAnomaliesFailureRateArgs
    Configuration of failure rate increase detection
    ResponseTime ApplicationAnomaliesResponseTimeArgs
    Configuration of response time degradation detection
    Traffic ApplicationAnomaliesTrafficArgs
    Configuration for anomalies regarding traffic
    failureRate ApplicationAnomaliesFailureRate
    Configuration of failure rate increase detection
    responseTime ApplicationAnomaliesResponseTime
    Configuration of response time degradation detection
    traffic ApplicationAnomaliesTraffic
    Configuration for anomalies regarding traffic
    failureRate ApplicationAnomaliesFailureRate
    Configuration of failure rate increase detection
    responseTime ApplicationAnomaliesResponseTime
    Configuration of response time degradation detection
    traffic ApplicationAnomaliesTraffic
    Configuration for anomalies regarding traffic
    failure_rate ApplicationAnomaliesFailureRateArgs
    Configuration of failure rate increase detection
    response_time ApplicationAnomaliesResponseTimeArgs
    Configuration of response time degradation detection
    traffic ApplicationAnomaliesTrafficArgs
    Configuration for anomalies regarding traffic
    failureRate Property Map
    Configuration of failure rate increase detection
    responseTime Property Map
    Configuration of response time degradation detection
    traffic Property Map
    Configuration for anomalies regarding traffic

    Outputs

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

    Get an existing ApplicationAnomalies 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?: ApplicationAnomaliesState, opts?: CustomResourceOptions): ApplicationAnomalies
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            failure_rate: Optional[ApplicationAnomaliesFailureRateArgs] = None,
            response_time: Optional[ApplicationAnomaliesResponseTimeArgs] = None,
            traffic: Optional[ApplicationAnomaliesTrafficArgs] = None) -> ApplicationAnomalies
    func GetApplicationAnomalies(ctx *Context, name string, id IDInput, state *ApplicationAnomaliesState, opts ...ResourceOption) (*ApplicationAnomalies, error)
    public static ApplicationAnomalies Get(string name, Input<string> id, ApplicationAnomaliesState? state, CustomResourceOptions? opts = null)
    public static ApplicationAnomalies get(String name, Output<String> id, ApplicationAnomaliesState 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:
    FailureRate ApplicationAnomaliesFailureRateArgs
    Configuration of failure rate increase detection
    ResponseTime ApplicationAnomaliesResponseTimeArgs
    Configuration of response time degradation detection
    Traffic ApplicationAnomaliesTrafficArgs
    Configuration for anomalies regarding traffic
    failureRate ApplicationAnomaliesFailureRate
    Configuration of failure rate increase detection
    responseTime ApplicationAnomaliesResponseTime
    Configuration of response time degradation detection
    traffic ApplicationAnomaliesTraffic
    Configuration for anomalies regarding traffic
    failureRate ApplicationAnomaliesFailureRate
    Configuration of failure rate increase detection
    responseTime ApplicationAnomaliesResponseTime
    Configuration of response time degradation detection
    traffic ApplicationAnomaliesTraffic
    Configuration for anomalies regarding traffic
    failure_rate ApplicationAnomaliesFailureRateArgs
    Configuration of failure rate increase detection
    response_time ApplicationAnomaliesResponseTimeArgs
    Configuration of response time degradation detection
    traffic ApplicationAnomaliesTrafficArgs
    Configuration for anomalies regarding traffic
    failureRate Property Map
    Configuration of failure rate increase detection
    responseTime Property Map
    Configuration of response time degradation detection
    traffic Property Map
    Configuration for anomalies regarding traffic

    Supporting Types

    ApplicationAnomaliesFailureRate, ApplicationAnomaliesFailureRateArgs

    Auto Lbrlabs.PulumiPackage.Dynatrace.Inputs.ApplicationAnomaliesFailureRateAuto
    Parameters of failure rate increase auto-detection. Example: If the expected error rate is 1.5%, and you set an absolute increase of 1%, and a relative increase of 50%, the thresholds will be: Absolute: 1.5% + 1% = 2.5% Relative: 1.5% + 1.5% * 50% = 2.25%
    Thresholds Lbrlabs.PulumiPackage.Dynatrace.Inputs.ApplicationAnomaliesFailureRateThresholds
    Fixed thresholds for failure rate increase detection
    Auto ApplicationAnomaliesFailureRateAuto
    Parameters of failure rate increase auto-detection. Example: If the expected error rate is 1.5%, and you set an absolute increase of 1%, and a relative increase of 50%, the thresholds will be: Absolute: 1.5% + 1% = 2.5% Relative: 1.5% + 1.5% * 50% = 2.25%
    Thresholds ApplicationAnomaliesFailureRateThresholds
    Fixed thresholds for failure rate increase detection
    auto ApplicationAnomaliesFailureRateAuto
    Parameters of failure rate increase auto-detection. Example: If the expected error rate is 1.5%, and you set an absolute increase of 1%, and a relative increase of 50%, the thresholds will be: Absolute: 1.5% + 1% = 2.5% Relative: 1.5% + 1.5% * 50% = 2.25%
    thresholds ApplicationAnomaliesFailureRateThresholds
    Fixed thresholds for failure rate increase detection
    auto ApplicationAnomaliesFailureRateAuto
    Parameters of failure rate increase auto-detection. Example: If the expected error rate is 1.5%, and you set an absolute increase of 1%, and a relative increase of 50%, the thresholds will be: Absolute: 1.5% + 1% = 2.5% Relative: 1.5% + 1.5% * 50% = 2.25%
    thresholds ApplicationAnomaliesFailureRateThresholds
    Fixed thresholds for failure rate increase detection
    auto ApplicationAnomaliesFailureRateAuto
    Parameters of failure rate increase auto-detection. Example: If the expected error rate is 1.5%, and you set an absolute increase of 1%, and a relative increase of 50%, the thresholds will be: Absolute: 1.5% + 1% = 2.5% Relative: 1.5% + 1.5% * 50% = 2.25%
    thresholds ApplicationAnomaliesFailureRateThresholds
    Fixed thresholds for failure rate increase detection
    auto Property Map
    Parameters of failure rate increase auto-detection. Example: If the expected error rate is 1.5%, and you set an absolute increase of 1%, and a relative increase of 50%, the thresholds will be: Absolute: 1.5% + 1% = 2.5% Relative: 1.5% + 1.5% * 50% = 2.25%
    thresholds Property Map
    Fixed thresholds for failure rate increase detection

    ApplicationAnomaliesFailureRateAuto, ApplicationAnomaliesFailureRateAutoArgs

    absolute Integer
    relative Integer
    unknowns String
    absolute number
    relative number
    unknowns string
    absolute Number
    relative Number
    unknowns String

    ApplicationAnomaliesFailureRateThresholds, ApplicationAnomaliesFailureRateThresholdsArgs

    sensitivity String
    threshold Integer
    unknowns String
    sensitivity string
    threshold number
    unknowns string
    sensitivity String
    threshold Number
    unknowns String

    ApplicationAnomaliesResponseTime, ApplicationAnomaliesResponseTimeArgs

    Auto Lbrlabs.PulumiPackage.Dynatrace.Inputs.ApplicationAnomaliesResponseTimeAuto
    Parameters of the response time degradation auto-detection. Violation of any criterion triggers an alert
    Thresholds Lbrlabs.PulumiPackage.Dynatrace.Inputs.ApplicationAnomaliesResponseTimeThresholds
    Fixed thresholds for response time degradation detection
    Auto ApplicationAnomaliesResponseTimeAuto
    Parameters of the response time degradation auto-detection. Violation of any criterion triggers an alert
    Thresholds ApplicationAnomaliesResponseTimeThresholds
    Fixed thresholds for response time degradation detection
    auto ApplicationAnomaliesResponseTimeAuto
    Parameters of the response time degradation auto-detection. Violation of any criterion triggers an alert
    thresholds ApplicationAnomaliesResponseTimeThresholds
    Fixed thresholds for response time degradation detection
    auto ApplicationAnomaliesResponseTimeAuto
    Parameters of the response time degradation auto-detection. Violation of any criterion triggers an alert
    thresholds ApplicationAnomaliesResponseTimeThresholds
    Fixed thresholds for response time degradation detection
    auto ApplicationAnomaliesResponseTimeAuto
    Parameters of the response time degradation auto-detection. Violation of any criterion triggers an alert
    thresholds ApplicationAnomaliesResponseTimeThresholds
    Fixed thresholds for response time degradation detection
    auto Property Map
    Parameters of the response time degradation auto-detection. Violation of any criterion triggers an alert
    thresholds Property Map
    Fixed thresholds for response time degradation detection

    ApplicationAnomaliesResponseTimeAuto, ApplicationAnomaliesResponseTimeAutoArgs

    load String
    milliseconds Integer
    percent Integer
    slowestMilliseconds Integer
    slowestPercent Integer
    unknowns String

    ApplicationAnomaliesResponseTimeThresholds, ApplicationAnomaliesResponseTimeThresholdsArgs

    load String
    milliseconds Integer
    sensitivity String
    slowestMilliseconds Integer
    unknowns String

    ApplicationAnomaliesTraffic, ApplicationAnomaliesTrafficArgs

    Drops ApplicationAnomaliesTrafficDrops
    The configuration of traffic drops detection
    Spikes ApplicationAnomaliesTrafficSpikes
    The configuration of traffic spikes detection
    drops ApplicationAnomaliesTrafficDrops
    The configuration of traffic drops detection
    spikes ApplicationAnomaliesTrafficSpikes
    The configuration of traffic spikes detection
    drops ApplicationAnomaliesTrafficDrops
    The configuration of traffic drops detection
    spikes ApplicationAnomaliesTrafficSpikes
    The configuration of traffic spikes detection
    drops ApplicationAnomaliesTrafficDrops
    The configuration of traffic drops detection
    spikes ApplicationAnomaliesTrafficSpikes
    The configuration of traffic spikes detection
    drops Property Map
    The configuration of traffic drops detection
    spikes Property Map
    The configuration of traffic spikes detection

    ApplicationAnomaliesTrafficDrops, ApplicationAnomaliesTrafficDropsArgs

    enabled Boolean
    percent Integer
    enabled boolean
    percent number
    enabled Boolean
    percent Number

    ApplicationAnomaliesTrafficSpikes, ApplicationAnomaliesTrafficSpikesArgs

    enabled Boolean
    percent Integer
    enabled boolean
    percent number
    enabled Boolean
    percent Number

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs