1. Packages
  2. Dynatrace
  3. API Docs
  4. CustomAppEnablement
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.CustomAppEnablement

Explore with Pulumi AI

Create CustomAppEnablement Resource

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

Constructor syntax

new CustomAppEnablement(name: string, args: CustomAppEnablementArgs, opts?: CustomResourceOptions);
@overload
def CustomAppEnablement(resource_name: str,
                        args: CustomAppEnablementArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def CustomAppEnablement(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        rum: Optional[CustomAppEnablementRumArgs] = None,
                        scope: Optional[str] = None)
func NewCustomAppEnablement(ctx *Context, name string, args CustomAppEnablementArgs, opts ...ResourceOption) (*CustomAppEnablement, error)
public CustomAppEnablement(string name, CustomAppEnablementArgs args, CustomResourceOptions? opts = null)
public CustomAppEnablement(String name, CustomAppEnablementArgs args)
public CustomAppEnablement(String name, CustomAppEnablementArgs args, CustomResourceOptions options)
type: dynatrace:CustomAppEnablement
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. CustomAppEnablementArgs
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. CustomAppEnablementArgs
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. CustomAppEnablementArgs
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. CustomAppEnablementArgs
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. CustomAppEnablementArgs
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 customAppEnablementResource = new Dynatrace.CustomAppEnablement("customAppEnablementResource", new()
{
    Rum = new Dynatrace.Inputs.CustomAppEnablementRumArgs
    {
        CostAndTrafficControl = 0,
        Enabled = false,
    },
    Scope = "string",
});
Copy
example, err := dynatrace.NewCustomAppEnablement(ctx, "customAppEnablementResource", &dynatrace.CustomAppEnablementArgs{
	Rum: &dynatrace.CustomAppEnablementRumArgs{
		CostAndTrafficControl: pulumi.Int(0),
		Enabled:               pulumi.Bool(false),
	},
	Scope: pulumi.String("string"),
})
Copy
var customAppEnablementResource = new CustomAppEnablement("customAppEnablementResource", CustomAppEnablementArgs.builder()
    .rum(CustomAppEnablementRumArgs.builder()
        .costAndTrafficControl(0)
        .enabled(false)
        .build())
    .scope("string")
    .build());
Copy
custom_app_enablement_resource = dynatrace.CustomAppEnablement("customAppEnablementResource",
    rum={
        "cost_and_traffic_control": 0,
        "enabled": False,
    },
    scope="string")
Copy
const customAppEnablementResource = new dynatrace.CustomAppEnablement("customAppEnablementResource", {
    rum: {
        costAndTrafficControl: 0,
        enabled: false,
    },
    scope: "string",
});
Copy
type: dynatrace:CustomAppEnablement
properties:
    rum:
        costAndTrafficControl: 0
        enabled: false
    scope: string
Copy

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

Rum This property is required. Pulumiverse.Dynatrace.Inputs.CustomAppEnablementRum
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
Scope Changes to this property will trigger replacement. string
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
Rum This property is required. CustomAppEnablementRumArgs
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
Scope Changes to this property will trigger replacement. string
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
rum This property is required. CustomAppEnablementRum
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
scope Changes to this property will trigger replacement. String
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
rum This property is required. CustomAppEnablementRum
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
scope Changes to this property will trigger replacement. string
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
rum This property is required. CustomAppEnablementRumArgs
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
scope Changes to this property will trigger replacement. str
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
rum This property is required. Property Map
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
scope Changes to this property will trigger replacement. String
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.

Outputs

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

Get an existing CustomAppEnablement 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?: CustomAppEnablementState, opts?: CustomResourceOptions): CustomAppEnablement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        rum: Optional[CustomAppEnablementRumArgs] = None,
        scope: Optional[str] = None) -> CustomAppEnablement
func GetCustomAppEnablement(ctx *Context, name string, id IDInput, state *CustomAppEnablementState, opts ...ResourceOption) (*CustomAppEnablement, error)
public static CustomAppEnablement Get(string name, Input<string> id, CustomAppEnablementState? state, CustomResourceOptions? opts = null)
public static CustomAppEnablement get(String name, Output<String> id, CustomAppEnablementState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:CustomAppEnablement    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.
The following state arguments are supported:
Rum Pulumiverse.Dynatrace.Inputs.CustomAppEnablementRum
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
Scope Changes to this property will trigger replacement. string
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
Rum CustomAppEnablementRumArgs
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
Scope Changes to this property will trigger replacement. string
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
rum CustomAppEnablementRum
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
scope Changes to this property will trigger replacement. String
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
rum CustomAppEnablementRum
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
scope Changes to this property will trigger replacement. string
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
rum CustomAppEnablementRumArgs
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
scope Changes to this property will trigger replacement. str
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.
rum Property Map
Capture and analyze all user actions within your application. Enable Real User Monitoring (RUM) to monitor and improve your application's performance, identify errors, and gain insight into your user's behavior and experience.
scope Changes to this property will trigger replacement. String
The scope of this setting (CUSTOM_APPLICATION). Omit this property if you want to cover the whole environment.

Supporting Types

CustomAppEnablementRum
, CustomAppEnablementRumArgs

CostAndTrafficControl This property is required. int
(Field has overlap with dynatrace.MobileApplication) Percentage of user sessions captured and analyzed. By default, Dynatrace captures all user actions and user sessions for analysis. This approach ensures complete insight into your application’s performance and customer experience. You can optionally reduce the granularity of user-action and user-session analysis by capturing a lower percentage of user sessions. While this approach can reduce monitoring costs, it also results in lower visibility into how your customers are using your applications. For example, a setting of 10% results in Dynatrace analyzing only every tenth user session.
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
CostAndTrafficControl This property is required. int
(Field has overlap with dynatrace.MobileApplication) Percentage of user sessions captured and analyzed. By default, Dynatrace captures all user actions and user sessions for analysis. This approach ensures complete insight into your application’s performance and customer experience. You can optionally reduce the granularity of user-action and user-session analysis by capturing a lower percentage of user sessions. While this approach can reduce monitoring costs, it also results in lower visibility into how your customers are using your applications. For example, a setting of 10% results in Dynatrace analyzing only every tenth user session.
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
costAndTrafficControl This property is required. Integer
(Field has overlap with dynatrace.MobileApplication) Percentage of user sessions captured and analyzed. By default, Dynatrace captures all user actions and user sessions for analysis. This approach ensures complete insight into your application’s performance and customer experience. You can optionally reduce the granularity of user-action and user-session analysis by capturing a lower percentage of user sessions. While this approach can reduce monitoring costs, it also results in lower visibility into how your customers are using your applications. For example, a setting of 10% results in Dynatrace analyzing only every tenth user session.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
costAndTrafficControl This property is required. number
(Field has overlap with dynatrace.MobileApplication) Percentage of user sessions captured and analyzed. By default, Dynatrace captures all user actions and user sessions for analysis. This approach ensures complete insight into your application’s performance and customer experience. You can optionally reduce the granularity of user-action and user-session analysis by capturing a lower percentage of user sessions. While this approach can reduce monitoring costs, it also results in lower visibility into how your customers are using your applications. For example, a setting of 10% results in Dynatrace analyzing only every tenth user session.
enabled This property is required. boolean
This setting is enabled (true) or disabled (false)
cost_and_traffic_control This property is required. int
(Field has overlap with dynatrace.MobileApplication) Percentage of user sessions captured and analyzed. By default, Dynatrace captures all user actions and user sessions for analysis. This approach ensures complete insight into your application’s performance and customer experience. You can optionally reduce the granularity of user-action and user-session analysis by capturing a lower percentage of user sessions. While this approach can reduce monitoring costs, it also results in lower visibility into how your customers are using your applications. For example, a setting of 10% results in Dynatrace analyzing only every tenth user session.
enabled This property is required. bool
This setting is enabled (true) or disabled (false)
costAndTrafficControl This property is required. Number
(Field has overlap with dynatrace.MobileApplication) Percentage of user sessions captured and analyzed. By default, Dynatrace captures all user actions and user sessions for analysis. This approach ensures complete insight into your application’s performance and customer experience. You can optionally reduce the granularity of user-action and user-session analysis by capturing a lower percentage of user sessions. While this approach can reduce monitoring costs, it also results in lower visibility into how your customers are using your applications. For example, a setting of 10% results in Dynatrace analyzing only every tenth user session.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.