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

dynatrace.MobileAppEnablement

Explore with Pulumi AI

Create MobileAppEnablement Resource

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

Constructor syntax

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

@overload
def MobileAppEnablement(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        rum: Optional[MobileAppEnablementRumArgs] = None,
                        session_replay: Optional[MobileAppEnablementSessionReplayArgs] = None,
                        application_id: Optional[str] = None)
func NewMobileAppEnablement(ctx *Context, name string, args MobileAppEnablementArgs, opts ...ResourceOption) (*MobileAppEnablement, error)
public MobileAppEnablement(string name, MobileAppEnablementArgs args, CustomResourceOptions? opts = null)
public MobileAppEnablement(String name, MobileAppEnablementArgs args)
public MobileAppEnablement(String name, MobileAppEnablementArgs args, CustomResourceOptions options)
type: dynatrace:MobileAppEnablement
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. MobileAppEnablementArgs
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. MobileAppEnablementArgs
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. MobileAppEnablementArgs
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. MobileAppEnablementArgs
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. MobileAppEnablementArgs
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 mobileAppEnablementResource = new Dynatrace.MobileAppEnablement("mobileAppEnablementResource", new()
{
    Rum = new Dynatrace.Inputs.MobileAppEnablementRumArgs
    {
        CostAndTrafficControl = 0,
        Enabled = false,
        EnabledOnGrail = false,
    },
    SessionReplay = new Dynatrace.Inputs.MobileAppEnablementSessionReplayArgs
    {
        OnCrash = false,
    },
    ApplicationId = "string",
});
Copy
example, err := dynatrace.NewMobileAppEnablement(ctx, "mobileAppEnablementResource", &dynatrace.MobileAppEnablementArgs{
	Rum: &dynatrace.MobileAppEnablementRumArgs{
		CostAndTrafficControl: pulumi.Int(0),
		Enabled:               pulumi.Bool(false),
		EnabledOnGrail:        pulumi.Bool(false),
	},
	SessionReplay: &dynatrace.MobileAppEnablementSessionReplayArgs{
		OnCrash: pulumi.Bool(false),
	},
	ApplicationId: pulumi.String("string"),
})
Copy
var mobileAppEnablementResource = new MobileAppEnablement("mobileAppEnablementResource", MobileAppEnablementArgs.builder()
    .rum(MobileAppEnablementRumArgs.builder()
        .costAndTrafficControl(0)
        .enabled(false)
        .enabledOnGrail(false)
        .build())
    .sessionReplay(MobileAppEnablementSessionReplayArgs.builder()
        .onCrash(false)
        .build())
    .applicationId("string")
    .build());
Copy
mobile_app_enablement_resource = dynatrace.MobileAppEnablement("mobileAppEnablementResource",
    rum={
        "cost_and_traffic_control": 0,
        "enabled": False,
        "enabled_on_grail": False,
    },
    session_replay={
        "on_crash": False,
    },
    application_id="string")
Copy
const mobileAppEnablementResource = new dynatrace.MobileAppEnablement("mobileAppEnablementResource", {
    rum: {
        costAndTrafficControl: 0,
        enabled: false,
        enabledOnGrail: false,
    },
    sessionReplay: {
        onCrash: false,
    },
    applicationId: "string",
});
Copy
type: dynatrace:MobileAppEnablement
properties:
    applicationId: string
    rum:
        costAndTrafficControl: 0
        enabled: false
        enabledOnGrail: false
    sessionReplay:
        onCrash: false
Copy

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

Rum This property is required. Pulumiverse.Dynatrace.Inputs.MobileAppEnablementRum
(Field has overlap with dynatrace.MobileApplication) 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.
SessionReplay This property is required. Pulumiverse.Dynatrace.Inputs.MobileAppEnablementSessionReplay
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
ApplicationId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
Rum This property is required. MobileAppEnablementRumArgs
(Field has overlap with dynatrace.MobileApplication) 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.
SessionReplay This property is required. MobileAppEnablementSessionReplayArgs
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
ApplicationId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
rum This property is required. MobileAppEnablementRum
(Field has overlap with dynatrace.MobileApplication) 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.
sessionReplay This property is required. MobileAppEnablementSessionReplay
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
applicationId Changes to this property will trigger replacement. String
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
rum This property is required. MobileAppEnablementRum
(Field has overlap with dynatrace.MobileApplication) 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.
sessionReplay This property is required. MobileAppEnablementSessionReplay
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
applicationId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
rum This property is required. MobileAppEnablementRumArgs
(Field has overlap with dynatrace.MobileApplication) 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.
session_replay This property is required. MobileAppEnablementSessionReplayArgs
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
application_id Changes to this property will trigger replacement. str
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
rum This property is required. Property Map
(Field has overlap with dynatrace.MobileApplication) 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.
sessionReplay This property is required. Property Map
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
applicationId Changes to this property will trigger replacement. String
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

Outputs

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

Get an existing MobileAppEnablement 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?: MobileAppEnablementState, opts?: CustomResourceOptions): MobileAppEnablement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application_id: Optional[str] = None,
        rum: Optional[MobileAppEnablementRumArgs] = None,
        session_replay: Optional[MobileAppEnablementSessionReplayArgs] = None) -> MobileAppEnablement
func GetMobileAppEnablement(ctx *Context, name string, id IDInput, state *MobileAppEnablementState, opts ...ResourceOption) (*MobileAppEnablement, error)
public static MobileAppEnablement Get(string name, Input<string> id, MobileAppEnablementState? state, CustomResourceOptions? opts = null)
public static MobileAppEnablement get(String name, Output<String> id, MobileAppEnablementState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:MobileAppEnablement    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:
ApplicationId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
Rum Pulumiverse.Dynatrace.Inputs.MobileAppEnablementRum
(Field has overlap with dynatrace.MobileApplication) 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.
SessionReplay Pulumiverse.Dynatrace.Inputs.MobileAppEnablementSessionReplay
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
ApplicationId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
Rum MobileAppEnablementRumArgs
(Field has overlap with dynatrace.MobileApplication) 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.
SessionReplay MobileAppEnablementSessionReplayArgs
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
applicationId Changes to this property will trigger replacement. String
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
rum MobileAppEnablementRum
(Field has overlap with dynatrace.MobileApplication) 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.
sessionReplay MobileAppEnablementSessionReplay
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
applicationId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
rum MobileAppEnablementRum
(Field has overlap with dynatrace.MobileApplication) 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.
sessionReplay MobileAppEnablementSessionReplay
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
application_id Changes to this property will trigger replacement. str
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
rum MobileAppEnablementRumArgs
(Field has overlap with dynatrace.MobileApplication) 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.
session_replay MobileAppEnablementSessionReplayArgs
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.
applicationId Changes to this property will trigger replacement. String
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
rum Property Map
(Field has overlap with dynatrace.MobileApplication) 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.
sessionReplay Property Map
(Field has overlap with dynatrace.MobileApplication) Session Replay on crashes gives you additional context for crash analysis in the form of video-like screen recordings that replay user actions immediately preceding a detected crash, while providing best-in-class security and data protection.

Supporting Types

MobileAppEnablementRum
, MobileAppEnablementRumArgs

CostAndTrafficControl This property is required. int
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)
EnabledOnGrail bool
Please be aware that only mobile agents with version 8.303 or higher can ingest Grail events
CostAndTrafficControl This property is required. int
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)
EnabledOnGrail bool
Please be aware that only mobile agents with version 8.303 or higher can ingest Grail events
costAndTrafficControl This property is required. Integer
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)
enabledOnGrail Boolean
Please be aware that only mobile agents with version 8.303 or higher can ingest Grail events
costAndTrafficControl This property is required. number
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)
enabledOnGrail boolean
Please be aware that only mobile agents with version 8.303 or higher can ingest Grail events
cost_and_traffic_control This property is required. int
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)
enabled_on_grail bool
Please be aware that only mobile agents with version 8.303 or higher can ingest Grail events
costAndTrafficControl This property is required. Number
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)
enabledOnGrail Boolean
Please be aware that only mobile agents with version 8.303 or higher can ingest Grail events

MobileAppEnablementSessionReplay
, MobileAppEnablementSessionReplayArgs

OnCrash This property is required. bool
Before enabling, Dynatrace checks your system against the prerequisites for Session Replay.
OnCrash This property is required. bool
Before enabling, Dynatrace checks your system against the prerequisites for Session Replay.
onCrash This property is required. Boolean
Before enabling, Dynatrace checks your system against the prerequisites for Session Replay.
onCrash This property is required. boolean
Before enabling, Dynatrace checks your system against the prerequisites for Session Replay.
on_crash This property is required. bool
Before enabling, Dynatrace checks your system against the prerequisites for Session Replay.
onCrash This property is required. Boolean
Before enabling, Dynatrace checks your system against the prerequisites for Session Replay.

Package Details

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