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

dynatrace.CustomAppCrashRate

Explore with Pulumi AI

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

    Create CustomAppCrashRate Resource

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

    Constructor syntax

    new CustomAppCrashRate(name: string, args: CustomAppCrashRateArgs, opts?: CustomResourceOptions);
    @overload
    def CustomAppCrashRate(resource_name: str,
                           args: CustomAppCrashRateArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def CustomAppCrashRate(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           crash_rate_increase: Optional[CustomAppCrashRateCrashRateIncreaseArgs] = None,
                           scope: Optional[str] = None)
    func NewCustomAppCrashRate(ctx *Context, name string, args CustomAppCrashRateArgs, opts ...ResourceOption) (*CustomAppCrashRate, error)
    public CustomAppCrashRate(string name, CustomAppCrashRateArgs args, CustomResourceOptions? opts = null)
    public CustomAppCrashRate(String name, CustomAppCrashRateArgs args)
    public CustomAppCrashRate(String name, CustomAppCrashRateArgs args, CustomResourceOptions options)
    
    type: dynatrace:CustomAppCrashRate
    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 CustomAppCrashRateArgs
    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 CustomAppCrashRateArgs
    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 CustomAppCrashRateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CustomAppCrashRateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CustomAppCrashRateArgs
    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 customAppCrashRateResource = new Dynatrace.CustomAppCrashRate("customAppCrashRateResource", new()
    {
        CrashRateIncrease = new Dynatrace.Inputs.CustomAppCrashRateCrashRateIncreaseArgs
        {
            Enabled = false,
            CrashRateIncreaseAuto = new Dynatrace.Inputs.CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAutoArgs
            {
                BaselineViolationPercentage = 0,
                ConcurrentUsers = 0,
                Sensitivity = "string",
            },
            CrashRateIncreaseFixed = new Dynatrace.Inputs.CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixedArgs
            {
                AbsoluteCrashRate = 0,
                ConcurrentUsers = 0,
            },
            DetectionMode = "string",
        },
        Scope = "string",
    });
    
    example, err := dynatrace.NewCustomAppCrashRate(ctx, "customAppCrashRateResource", &dynatrace.CustomAppCrashRateArgs{
    	CrashRateIncrease: &dynatrace.CustomAppCrashRateCrashRateIncreaseArgs{
    		Enabled: pulumi.Bool(false),
    		CrashRateIncreaseAuto: &dynatrace.CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAutoArgs{
    			BaselineViolationPercentage: pulumi.Float64(0),
    			ConcurrentUsers:             pulumi.Float64(0),
    			Sensitivity:                 pulumi.String("string"),
    		},
    		CrashRateIncreaseFixed: &dynatrace.CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixedArgs{
    			AbsoluteCrashRate: pulumi.Float64(0),
    			ConcurrentUsers:   pulumi.Int(0),
    		},
    		DetectionMode: pulumi.String("string"),
    	},
    	Scope: pulumi.String("string"),
    })
    
    var customAppCrashRateResource = new CustomAppCrashRate("customAppCrashRateResource", CustomAppCrashRateArgs.builder()
        .crashRateIncrease(CustomAppCrashRateCrashRateIncreaseArgs.builder()
            .enabled(false)
            .crashRateIncreaseAuto(CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAutoArgs.builder()
                .baselineViolationPercentage(0)
                .concurrentUsers(0)
                .sensitivity("string")
                .build())
            .crashRateIncreaseFixed(CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixedArgs.builder()
                .absoluteCrashRate(0)
                .concurrentUsers(0)
                .build())
            .detectionMode("string")
            .build())
        .scope("string")
        .build());
    
    custom_app_crash_rate_resource = dynatrace.CustomAppCrashRate("customAppCrashRateResource",
        crash_rate_increase={
            "enabled": False,
            "crash_rate_increase_auto": {
                "baseline_violation_percentage": 0,
                "concurrent_users": 0,
                "sensitivity": "string",
            },
            "crash_rate_increase_fixed": {
                "absolute_crash_rate": 0,
                "concurrent_users": 0,
            },
            "detection_mode": "string",
        },
        scope="string")
    
    const customAppCrashRateResource = new dynatrace.CustomAppCrashRate("customAppCrashRateResource", {
        crashRateIncrease: {
            enabled: false,
            crashRateIncreaseAuto: {
                baselineViolationPercentage: 0,
                concurrentUsers: 0,
                sensitivity: "string",
            },
            crashRateIncreaseFixed: {
                absoluteCrashRate: 0,
                concurrentUsers: 0,
            },
            detectionMode: "string",
        },
        scope: "string",
    });
    
    type: dynatrace:CustomAppCrashRate
    properties:
        crashRateIncrease:
            crashRateIncreaseAuto:
                baselineViolationPercentage: 0
                concurrentUsers: 0
                sensitivity: string
            crashRateIncreaseFixed:
                absoluteCrashRate: 0
                concurrentUsers: 0
            detectionMode: string
            enabled: false
        scope: string
    

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

    CrashRateIncrease Pulumiverse.Dynatrace.Inputs.CustomAppCrashRateCrashRateIncrease
    Crash rate increase
    Scope string
    The scope of this setting (CUSTOM_APPLICATION environment)
    CrashRateIncrease CustomAppCrashRateCrashRateIncreaseArgs
    Crash rate increase
    Scope string
    The scope of this setting (CUSTOM_APPLICATION environment)
    crashRateIncrease CustomAppCrashRateCrashRateIncrease
    Crash rate increase
    scope String
    The scope of this setting (CUSTOM_APPLICATION environment)
    crashRateIncrease CustomAppCrashRateCrashRateIncrease
    Crash rate increase
    scope string
    The scope of this setting (CUSTOM_APPLICATION environment)
    crash_rate_increase CustomAppCrashRateCrashRateIncreaseArgs
    Crash rate increase
    scope str
    The scope of this setting (CUSTOM_APPLICATION environment)
    crashRateIncrease Property Map
    Crash rate increase
    scope String
    The scope of this setting (CUSTOM_APPLICATION environment)

    Outputs

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

    Get an existing CustomAppCrashRate 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?: CustomAppCrashRateState, opts?: CustomResourceOptions): CustomAppCrashRate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            crash_rate_increase: Optional[CustomAppCrashRateCrashRateIncreaseArgs] = None,
            scope: Optional[str] = None) -> CustomAppCrashRate
    func GetCustomAppCrashRate(ctx *Context, name string, id IDInput, state *CustomAppCrashRateState, opts ...ResourceOption) (*CustomAppCrashRate, error)
    public static CustomAppCrashRate Get(string name, Input<string> id, CustomAppCrashRateState? state, CustomResourceOptions? opts = null)
    public static CustomAppCrashRate get(String name, Output<String> id, CustomAppCrashRateState 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:
    CrashRateIncrease Pulumiverse.Dynatrace.Inputs.CustomAppCrashRateCrashRateIncrease
    Crash rate increase
    Scope string
    The scope of this setting (CUSTOM_APPLICATION environment)
    CrashRateIncrease CustomAppCrashRateCrashRateIncreaseArgs
    Crash rate increase
    Scope string
    The scope of this setting (CUSTOM_APPLICATION environment)
    crashRateIncrease CustomAppCrashRateCrashRateIncrease
    Crash rate increase
    scope String
    The scope of this setting (CUSTOM_APPLICATION environment)
    crashRateIncrease CustomAppCrashRateCrashRateIncrease
    Crash rate increase
    scope string
    The scope of this setting (CUSTOM_APPLICATION environment)
    crash_rate_increase CustomAppCrashRateCrashRateIncreaseArgs
    Crash rate increase
    scope str
    The scope of this setting (CUSTOM_APPLICATION environment)
    crashRateIncrease Property Map
    Crash rate increase
    scope String
    The scope of this setting (CUSTOM_APPLICATION environment)

    Supporting Types

    CustomAppCrashRateCrashRateIncrease, CustomAppCrashRateCrashRateIncreaseArgs

    Enabled bool
    This setting is enabled (true) or disabled (false)
    CrashRateIncreaseAuto Pulumiverse.Dynatrace.Inputs.CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAuto
    Alert crash rate increases when auto-detected baseline is exceeded by a certain number of users
    CrashRateIncreaseFixed Pulumiverse.Dynatrace.Inputs.CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixed
    Alert crash rate increases when the defined threshold is exceeded by a certain number of users
    DetectionMode string
    Possible Values: Auto, Fixed
    Enabled bool
    This setting is enabled (true) or disabled (false)
    CrashRateIncreaseAuto CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAuto
    Alert crash rate increases when auto-detected baseline is exceeded by a certain number of users
    CrashRateIncreaseFixed CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixed
    Alert crash rate increases when the defined threshold is exceeded by a certain number of users
    DetectionMode string
    Possible Values: Auto, Fixed
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    crashRateIncreaseAuto CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAuto
    Alert crash rate increases when auto-detected baseline is exceeded by a certain number of users
    crashRateIncreaseFixed CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixed
    Alert crash rate increases when the defined threshold is exceeded by a certain number of users
    detectionMode String
    Possible Values: Auto, Fixed
    enabled boolean
    This setting is enabled (true) or disabled (false)
    crashRateIncreaseAuto CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAuto
    Alert crash rate increases when auto-detected baseline is exceeded by a certain number of users
    crashRateIncreaseFixed CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixed
    Alert crash rate increases when the defined threshold is exceeded by a certain number of users
    detectionMode string
    Possible Values: Auto, Fixed
    enabled bool
    This setting is enabled (true) or disabled (false)
    crash_rate_increase_auto CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAuto
    Alert crash rate increases when auto-detected baseline is exceeded by a certain number of users
    crash_rate_increase_fixed CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixed
    Alert crash rate increases when the defined threshold is exceeded by a certain number of users
    detection_mode str
    Possible Values: Auto, Fixed
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    crashRateIncreaseAuto Property Map
    Alert crash rate increases when auto-detected baseline is exceeded by a certain number of users
    crashRateIncreaseFixed Property Map
    Alert crash rate increases when the defined threshold is exceeded by a certain number of users
    detectionMode String
    Possible Values: Auto, Fixed

    CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAuto, CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAutoArgs

    BaselineViolationPercentage double
    Dynatrace learns the typical crash rate for all app versions and will create an alert if the baseline is violated by more than a specified threshold. Analysis happens based on a sliding window of 10 minutes.
    ConcurrentUsers double
    Amount of users
    Sensitivity string
    Possible Values: Low, Medium, High
    BaselineViolationPercentage float64
    Dynatrace learns the typical crash rate for all app versions and will create an alert if the baseline is violated by more than a specified threshold. Analysis happens based on a sliding window of 10 minutes.
    ConcurrentUsers float64
    Amount of users
    Sensitivity string
    Possible Values: Low, Medium, High
    baselineViolationPercentage Double
    Dynatrace learns the typical crash rate for all app versions and will create an alert if the baseline is violated by more than a specified threshold. Analysis happens based on a sliding window of 10 minutes.
    concurrentUsers Double
    Amount of users
    sensitivity String
    Possible Values: Low, Medium, High
    baselineViolationPercentage number
    Dynatrace learns the typical crash rate for all app versions and will create an alert if the baseline is violated by more than a specified threshold. Analysis happens based on a sliding window of 10 minutes.
    concurrentUsers number
    Amount of users
    sensitivity string
    Possible Values: Low, Medium, High
    baseline_violation_percentage float
    Dynatrace learns the typical crash rate for all app versions and will create an alert if the baseline is violated by more than a specified threshold. Analysis happens based on a sliding window of 10 minutes.
    concurrent_users float
    Amount of users
    sensitivity str
    Possible Values: Low, Medium, High
    baselineViolationPercentage Number
    Dynatrace learns the typical crash rate for all app versions and will create an alert if the baseline is violated by more than a specified threshold. Analysis happens based on a sliding window of 10 minutes.
    concurrentUsers Number
    Amount of users
    sensitivity String
    Possible Values: Low, Medium, High

    CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixed, CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixedArgs

    AbsoluteCrashRate double
    Absolute threshold
    ConcurrentUsers int
    Amount of users
    AbsoluteCrashRate float64
    Absolute threshold
    ConcurrentUsers int
    Amount of users
    absoluteCrashRate Double
    Absolute threshold
    concurrentUsers Integer
    Amount of users
    absoluteCrashRate number
    Absolute threshold
    concurrentUsers number
    Amount of users
    absolute_crash_rate float
    Absolute threshold
    concurrent_users int
    Amount of users
    absoluteCrashRate Number
    Absolute threshold
    concurrentUsers Number
    Amount of users

    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