UNPKG

@pulumiverse/dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

204 lines (203 loc) 8.53 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class MobileApplication extends pulumi.CustomResource { /** * Get an existing MobileApplication resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MobileApplicationState, opts?: pulumi.CustomResourceOptions): MobileApplication; /** * Returns true if the given object is an instance of MobileApplication. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MobileApplication; /** * Apdex configuration of a mobile application. A duration less than the **tolerable** threshold is considered satisfied */ readonly apdex: pulumi.Output<outputs.MobileApplicationApdex>; /** * The UUID of the application. */ readonly applicationId: pulumi.Output<string | undefined>; /** * The type of the application. Either `CUSTOM_APPLICATION` or `MOBILE_APPLICATION`. */ readonly applicationType: pulumi.Output<string | undefined>; /** * The type of the beacon endpoint. Possible values are `CLUSTER_ACTIVE_GATE`, `ENVIRONMENT_ACTIVE_GATE` and `INSTRUMENTED_WEB_SERVER`. */ readonly beaconEndpointType: pulumi.Output<string>; /** * The URL of the beacon endpoint. Only applicable when the **beacon_endpoint_type** is set to `ENVIRONMENT_ACTIVE_GATE` or * `INSTRUMENTED_WEB_SERVER` */ readonly beaconEndpointUrl: pulumi.Output<string | undefined>; /** * Custom application icon. Mobile apps always use the mobile device icon, so this icon can only be set for custom apps. */ readonly iconType: pulumi.Output<string | undefined>; /** * User Action names to be flagged as Key User Actions */ readonly keyUserActions: pulumi.Output<string[] | undefined>; /** * The name of the application */ readonly name: pulumi.Output<string>; /** * The opt-in mode is enabled (`true`) or disabled (`false`) */ readonly optInMode: pulumi.Output<boolean | undefined>; /** * User Action and Session Properties */ readonly properties: pulumi.Output<outputs.MobileApplicationProperties | undefined>; /** * (Field has overlap with `dynatrace.MobileAppEnablement`) The session replay is enabled (`true`) or disabled (`false`). */ readonly sessionReplay: pulumi.Output<boolean | undefined>; /** * The session replay on crash is enabled (`true`) or disabled (`false`). Enabling requires both **sessionReplayEnabled** * and **optInModeEnabled** values set to `true`. */ readonly sessionReplayOnCrash: pulumi.Output<boolean | undefined>; /** * (Field has overlap with `dynatrace.MobileAppEnablement` for mobile and `dynatrace.CustomAppEnablement` for custom apps) * The percentage of user sessions to be analyzed */ readonly userSessionPercentage: pulumi.Output<number | undefined>; /** * Create a MobileApplication resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MobileApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MobileApplication resources. */ export interface MobileApplicationState { /** * Apdex configuration of a mobile application. A duration less than the **tolerable** threshold is considered satisfied */ apdex?: pulumi.Input<inputs.MobileApplicationApdex>; /** * The UUID of the application. */ applicationId?: pulumi.Input<string>; /** * The type of the application. Either `CUSTOM_APPLICATION` or `MOBILE_APPLICATION`. */ applicationType?: pulumi.Input<string>; /** * The type of the beacon endpoint. Possible values are `CLUSTER_ACTIVE_GATE`, `ENVIRONMENT_ACTIVE_GATE` and `INSTRUMENTED_WEB_SERVER`. */ beaconEndpointType?: pulumi.Input<string>; /** * The URL of the beacon endpoint. Only applicable when the **beacon_endpoint_type** is set to `ENVIRONMENT_ACTIVE_GATE` or * `INSTRUMENTED_WEB_SERVER` */ beaconEndpointUrl?: pulumi.Input<string>; /** * Custom application icon. Mobile apps always use the mobile device icon, so this icon can only be set for custom apps. */ iconType?: pulumi.Input<string>; /** * User Action names to be flagged as Key User Actions */ keyUserActions?: pulumi.Input<pulumi.Input<string>[]>; /** * The name of the application */ name?: pulumi.Input<string>; /** * The opt-in mode is enabled (`true`) or disabled (`false`) */ optInMode?: pulumi.Input<boolean>; /** * User Action and Session Properties */ properties?: pulumi.Input<inputs.MobileApplicationProperties>; /** * (Field has overlap with `dynatrace.MobileAppEnablement`) The session replay is enabled (`true`) or disabled (`false`). */ sessionReplay?: pulumi.Input<boolean>; /** * The session replay on crash is enabled (`true`) or disabled (`false`). Enabling requires both **sessionReplayEnabled** * and **optInModeEnabled** values set to `true`. */ sessionReplayOnCrash?: pulumi.Input<boolean>; /** * (Field has overlap with `dynatrace.MobileAppEnablement` for mobile and `dynatrace.CustomAppEnablement` for custom apps) * The percentage of user sessions to be analyzed */ userSessionPercentage?: pulumi.Input<number>; } /** * The set of arguments for constructing a MobileApplication resource. */ export interface MobileApplicationArgs { /** * Apdex configuration of a mobile application. A duration less than the **tolerable** threshold is considered satisfied */ apdex: pulumi.Input<inputs.MobileApplicationApdex>; /** * The UUID of the application. */ applicationId?: pulumi.Input<string>; /** * The type of the application. Either `CUSTOM_APPLICATION` or `MOBILE_APPLICATION`. */ applicationType?: pulumi.Input<string>; /** * The type of the beacon endpoint. Possible values are `CLUSTER_ACTIVE_GATE`, `ENVIRONMENT_ACTIVE_GATE` and `INSTRUMENTED_WEB_SERVER`. */ beaconEndpointType: pulumi.Input<string>; /** * The URL of the beacon endpoint. Only applicable when the **beacon_endpoint_type** is set to `ENVIRONMENT_ACTIVE_GATE` or * `INSTRUMENTED_WEB_SERVER` */ beaconEndpointUrl?: pulumi.Input<string>; /** * Custom application icon. Mobile apps always use the mobile device icon, so this icon can only be set for custom apps. */ iconType?: pulumi.Input<string>; /** * User Action names to be flagged as Key User Actions */ keyUserActions?: pulumi.Input<pulumi.Input<string>[]>; /** * The name of the application */ name?: pulumi.Input<string>; /** * The opt-in mode is enabled (`true`) or disabled (`false`) */ optInMode?: pulumi.Input<boolean>; /** * User Action and Session Properties */ properties?: pulumi.Input<inputs.MobileApplicationProperties>; /** * (Field has overlap with `dynatrace.MobileAppEnablement`) The session replay is enabled (`true`) or disabled (`false`). */ sessionReplay?: pulumi.Input<boolean>; /** * The session replay on crash is enabled (`true`) or disabled (`false`). Enabling requires both **sessionReplayEnabled** * and **optInModeEnabled** values set to `true`. */ sessionReplayOnCrash?: pulumi.Input<boolean>; /** * (Field has overlap with `dynatrace.MobileAppEnablement` for mobile and `dynatrace.CustomAppEnablement` for custom apps) * The percentage of user sessions to be analyzed */ userSessionPercentage?: pulumi.Input<number>; }