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

dynatrace.WebAppEnablement

Explore with Pulumi AI

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

    Create WebAppEnablement Resource

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

    Constructor syntax

    new WebAppEnablement(name: string, args: WebAppEnablementArgs, opts?: CustomResourceOptions);
    @overload
    def WebAppEnablement(resource_name: str,
                         args: WebAppEnablementArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebAppEnablement(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         rum: Optional[WebAppEnablementRumArgs] = None,
                         session_replay: Optional[WebAppEnablementSessionReplayArgs] = None,
                         application_id: Optional[str] = None)
    func NewWebAppEnablement(ctx *Context, name string, args WebAppEnablementArgs, opts ...ResourceOption) (*WebAppEnablement, error)
    public WebAppEnablement(string name, WebAppEnablementArgs args, CustomResourceOptions? opts = null)
    public WebAppEnablement(String name, WebAppEnablementArgs args)
    public WebAppEnablement(String name, WebAppEnablementArgs args, CustomResourceOptions options)
    
    type: dynatrace:WebAppEnablement
    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 WebAppEnablementArgs
    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 WebAppEnablementArgs
    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 WebAppEnablementArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebAppEnablementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebAppEnablementArgs
    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 webAppEnablementResource = new Dynatrace.WebAppEnablement("webAppEnablementResource", new()
    {
        Rum = new Dynatrace.Inputs.WebAppEnablementRumArgs
        {
            CostAndTrafficControl = 0,
            Enabled = false,
            EnabledOnGrail = false,
        },
        SessionReplay = new Dynatrace.Inputs.WebAppEnablementSessionReplayArgs
        {
            CostAndTrafficControl = 0,
            Enabled = false,
        },
        ApplicationId = "string",
    });
    
    example, err := dynatrace.NewWebAppEnablement(ctx, "webAppEnablementResource", &dynatrace.WebAppEnablementArgs{
    	Rum: &dynatrace.WebAppEnablementRumArgs{
    		CostAndTrafficControl: pulumi.Int(0),
    		Enabled:               pulumi.Bool(false),
    		EnabledOnGrail:        pulumi.Bool(false),
    	},
    	SessionReplay: &dynatrace.WebAppEnablementSessionReplayArgs{
    		CostAndTrafficControl: pulumi.Int(0),
    		Enabled:               pulumi.Bool(false),
    	},
    	ApplicationId: pulumi.String("string"),
    })
    
    var webAppEnablementResource = new WebAppEnablement("webAppEnablementResource", WebAppEnablementArgs.builder()
        .rum(WebAppEnablementRumArgs.builder()
            .costAndTrafficControl(0)
            .enabled(false)
            .enabledOnGrail(false)
            .build())
        .sessionReplay(WebAppEnablementSessionReplayArgs.builder()
            .costAndTrafficControl(0)
            .enabled(false)
            .build())
        .applicationId("string")
        .build());
    
    web_app_enablement_resource = dynatrace.WebAppEnablement("webAppEnablementResource",
        rum={
            "cost_and_traffic_control": 0,
            "enabled": False,
            "enabled_on_grail": False,
        },
        session_replay={
            "cost_and_traffic_control": 0,
            "enabled": False,
        },
        application_id="string")
    
    const webAppEnablementResource = new dynatrace.WebAppEnablement("webAppEnablementResource", {
        rum: {
            costAndTrafficControl: 0,
            enabled: false,
            enabledOnGrail: false,
        },
        sessionReplay: {
            costAndTrafficControl: 0,
            enabled: false,
        },
        applicationId: "string",
    });
    
    type: dynatrace:WebAppEnablement
    properties:
        applicationId: string
        rum:
            costAndTrafficControl: 0
            enabled: false
            enabledOnGrail: false
        sessionReplay:
            costAndTrafficControl: 0
            enabled: false
    

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

    Rum Pulumiverse.Dynatrace.Inputs.WebAppEnablementRum
    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.WebAppEnablementSessionReplay
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    ApplicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Rum WebAppEnablementRumArgs
    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 WebAppEnablementSessionReplayArgs
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    ApplicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    rum WebAppEnablementRum
    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 WebAppEnablementSessionReplay
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    applicationId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    rum WebAppEnablementRum
    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 WebAppEnablementSessionReplay
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    applicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    rum WebAppEnablementRumArgs
    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 WebAppEnablementSessionReplayArgs
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    application_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    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.
    sessionReplay Property Map
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    applicationId 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 WebAppEnablement 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 WebAppEnablement Resource

    Get an existing WebAppEnablement 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?: WebAppEnablementState, opts?: CustomResourceOptions): WebAppEnablement
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            rum: Optional[WebAppEnablementRumArgs] = None,
            session_replay: Optional[WebAppEnablementSessionReplayArgs] = None) -> WebAppEnablement
    func GetWebAppEnablement(ctx *Context, name string, id IDInput, state *WebAppEnablementState, opts ...ResourceOption) (*WebAppEnablement, error)
    public static WebAppEnablement Get(string name, Input<string> id, WebAppEnablementState? state, CustomResourceOptions? opts = null)
    public static WebAppEnablement get(String name, Output<String> id, WebAppEnablementState 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:
    ApplicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Rum Pulumiverse.Dynatrace.Inputs.WebAppEnablementRum
    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.WebAppEnablementSessionReplay
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    ApplicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Rum WebAppEnablementRumArgs
    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 WebAppEnablementSessionReplayArgs
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    applicationId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    rum WebAppEnablementRum
    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 WebAppEnablementSessionReplay
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    applicationId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    rum WebAppEnablementRum
    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 WebAppEnablementSessionReplay
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    application_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    rum WebAppEnablementRumArgs
    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 WebAppEnablementSessionReplayArgs
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.
    applicationId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    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.
    sessionReplay Property Map
    Session Replay captures all user interactions within your application and replays them in a movie-like experience while providing best-in-class security and data protection.

    Supporting Types

    WebAppEnablementRum, WebAppEnablementRumArgs

    CostAndTrafficControl int
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions captured and analyzed
    Enabled bool
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    EnabledOnGrail bool
    Enable Real User Monitoring powered by Grail
    CostAndTrafficControl int
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions captured and analyzed
    Enabled bool
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    EnabledOnGrail bool
    Enable Real User Monitoring powered by Grail
    costAndTrafficControl Integer
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions captured and analyzed
    enabled Boolean
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    enabledOnGrail Boolean
    Enable Real User Monitoring powered by Grail
    costAndTrafficControl number
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions captured and analyzed
    enabled boolean
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    enabledOnGrail boolean
    Enable Real User Monitoring powered by Grail
    cost_and_traffic_control int
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions captured and analyzed
    enabled bool
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    enabled_on_grail bool
    Enable Real User Monitoring powered by Grail
    costAndTrafficControl Number
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions captured and analyzed
    enabled Boolean
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    enabledOnGrail Boolean
    Enable Real User Monitoring powered by Grail

    WebAppEnablementSessionReplay, WebAppEnablementSessionReplayArgs

    CostAndTrafficControl int
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions recorded with Session Replay. For example, if you have 50% for RUM and 50% for Session Replay, it results in 25% of sessions recorded with Session Replay.
    Enabled bool
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    CostAndTrafficControl int
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions recorded with Session Replay. For example, if you have 50% for RUM and 50% for Session Replay, it results in 25% of sessions recorded with Session Replay.
    Enabled bool
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    costAndTrafficControl Integer
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions recorded with Session Replay. For example, if you have 50% for RUM and 50% for Session Replay, it results in 25% of sessions recorded with Session Replay.
    enabled Boolean
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    costAndTrafficControl number
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions recorded with Session Replay. For example, if you have 50% for RUM and 50% for Session Replay, it results in 25% of sessions recorded with Session Replay.
    enabled boolean
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    cost_and_traffic_control int
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions recorded with Session Replay. For example, if you have 50% for RUM and 50% for Session Replay, it results in 25% of sessions recorded with Session Replay.
    enabled bool
    (Field has overlap with dynatrace.WebApplication) This setting is enabled (true) or disabled (false)
    costAndTrafficControl Number
    (Field has overlap with dynatrace.WebApplication) Percentage of user sessions recorded with Session Replay. For example, if you have 50% for RUM and 50% for Session Replay, it results in 25% of sessions recorded with Session Replay.
    enabled Boolean
    (Field has overlap with dynatrace.WebApplication) 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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse