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

dynatrace.CustomAppCrashRate

Explore with Pulumi AI

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

    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.

    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=dynatrace.CustomAppCrashRateCrashRateIncreaseArgs(
            enabled=False,
            crash_rate_increase_auto=dynatrace.CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAutoArgs(
                baseline_violation_percentage=0,
                concurrent_users=0,
                sensitivity="string",
            ),
            crash_rate_increase_fixed=dynatrace.CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixedArgs(
                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

    The CustomAppCrashRate resource accepts the following input properties:

    CrashRateIncrease Lbrlabs.PulumiPackage.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 Lbrlabs.PulumiPackage.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 Lbrlabs.PulumiPackage.Dynatrace.Inputs.CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseAuto
    Alert crash rate increases when auto-detected baseline is exceeded by a certain number of users
    CrashRateIncreaseFixed Lbrlabs.PulumiPackage.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

    CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixed, CustomAppCrashRateCrashRateIncreaseCrashRateIncreaseFixedArgs

    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