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

dynatrace.BrowserMonitorPerformance

Explore with Pulumi AI

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

    Create BrowserMonitorPerformance Resource

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

    Constructor syntax

    new BrowserMonitorPerformance(name: string, args: BrowserMonitorPerformanceArgs, opts?: CustomResourceOptions);
    @overload
    def BrowserMonitorPerformance(resource_name: str,
                                  args: BrowserMonitorPerformanceArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def BrowserMonitorPerformance(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  enabled: Optional[bool] = None,
                                  scope: Optional[str] = None,
                                  thresholds: Optional[BrowserMonitorPerformanceThresholdsArgs] = None)
    func NewBrowserMonitorPerformance(ctx *Context, name string, args BrowserMonitorPerformanceArgs, opts ...ResourceOption) (*BrowserMonitorPerformance, error)
    public BrowserMonitorPerformance(string name, BrowserMonitorPerformanceArgs args, CustomResourceOptions? opts = null)
    public BrowserMonitorPerformance(String name, BrowserMonitorPerformanceArgs args)
    public BrowserMonitorPerformance(String name, BrowserMonitorPerformanceArgs args, CustomResourceOptions options)
    
    type: dynatrace:BrowserMonitorPerformance
    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 BrowserMonitorPerformanceArgs
    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 BrowserMonitorPerformanceArgs
    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 BrowserMonitorPerformanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BrowserMonitorPerformanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BrowserMonitorPerformanceArgs
    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 browserMonitorPerformanceResource = new Dynatrace.BrowserMonitorPerformance("browserMonitorPerformanceResource", new()
    {
        Enabled = false,
        Scope = "string",
        Thresholds = new Dynatrace.Inputs.BrowserMonitorPerformanceThresholdsArgs
        {
            Thresholds = new[]
            {
                new Dynatrace.Inputs.BrowserMonitorPerformanceThresholdsThresholdArgs
                {
                    Event = "string",
                    Threshold = 0,
                },
            },
        },
    });
    
    example, err := dynatrace.NewBrowserMonitorPerformance(ctx, "browserMonitorPerformanceResource", &dynatrace.BrowserMonitorPerformanceArgs{
    	Enabled: pulumi.Bool(false),
    	Scope:   pulumi.String("string"),
    	Thresholds: &dynatrace.BrowserMonitorPerformanceThresholdsArgs{
    		Thresholds: dynatrace.BrowserMonitorPerformanceThresholdsThresholdArray{
    			&dynatrace.BrowserMonitorPerformanceThresholdsThresholdArgs{
    				Event:     pulumi.String("string"),
    				Threshold: pulumi.Float64(0),
    			},
    		},
    	},
    })
    
    var browserMonitorPerformanceResource = new BrowserMonitorPerformance("browserMonitorPerformanceResource", BrowserMonitorPerformanceArgs.builder()
        .enabled(false)
        .scope("string")
        .thresholds(BrowserMonitorPerformanceThresholdsArgs.builder()
            .thresholds(BrowserMonitorPerformanceThresholdsThresholdArgs.builder()
                .event("string")
                .threshold(0)
                .build())
            .build())
        .build());
    
    browser_monitor_performance_resource = dynatrace.BrowserMonitorPerformance("browserMonitorPerformanceResource",
        enabled=False,
        scope="string",
        thresholds={
            "thresholds": [{
                "event": "string",
                "threshold": 0,
            }],
        })
    
    const browserMonitorPerformanceResource = new dynatrace.BrowserMonitorPerformance("browserMonitorPerformanceResource", {
        enabled: false,
        scope: "string",
        thresholds: {
            thresholds: [{
                event: "string",
                threshold: 0,
            }],
        },
    });
    
    type: dynatrace:BrowserMonitorPerformance
    properties:
        enabled: false
        scope: string
        thresholds:
            thresholds:
                - event: string
                  threshold: 0
    

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

    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (SYNTHETIC_TEST)
    Thresholds Pulumiverse.Dynatrace.Inputs.BrowserMonitorPerformanceThresholds
    Performance thresholds
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (SYNTHETIC_TEST)
    Thresholds BrowserMonitorPerformanceThresholdsArgs
    Performance thresholds
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholds
    Performance thresholds
    enabled boolean
    This setting is enabled (true) or disabled (false)
    scope string
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholds
    Performance thresholds
    enabled bool
    This setting is enabled (true) or disabled (false)
    scope str
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholdsArgs
    Performance thresholds
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (SYNTHETIC_TEST)
    thresholds Property Map
    Performance thresholds

    Outputs

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

    Get an existing BrowserMonitorPerformance 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?: BrowserMonitorPerformanceState, opts?: CustomResourceOptions): BrowserMonitorPerformance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            scope: Optional[str] = None,
            thresholds: Optional[BrowserMonitorPerformanceThresholdsArgs] = None) -> BrowserMonitorPerformance
    func GetBrowserMonitorPerformance(ctx *Context, name string, id IDInput, state *BrowserMonitorPerformanceState, opts ...ResourceOption) (*BrowserMonitorPerformance, error)
    public static BrowserMonitorPerformance Get(string name, Input<string> id, BrowserMonitorPerformanceState? state, CustomResourceOptions? opts = null)
    public static BrowserMonitorPerformance get(String name, Output<String> id, BrowserMonitorPerformanceState 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:
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (SYNTHETIC_TEST)
    Thresholds Pulumiverse.Dynatrace.Inputs.BrowserMonitorPerformanceThresholds
    Performance thresholds
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (SYNTHETIC_TEST)
    Thresholds BrowserMonitorPerformanceThresholdsArgs
    Performance thresholds
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholds
    Performance thresholds
    enabled boolean
    This setting is enabled (true) or disabled (false)
    scope string
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholds
    Performance thresholds
    enabled bool
    This setting is enabled (true) or disabled (false)
    scope str
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholdsArgs
    Performance thresholds
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (SYNTHETIC_TEST)
    thresholds Property Map
    Performance thresholds

    Supporting Types

    BrowserMonitorPerformanceThresholds, BrowserMonitorPerformanceThresholdsArgs

    BrowserMonitorPerformanceThresholdsThreshold, BrowserMonitorPerformanceThresholdsThresholdArgs

    Event string
    Synthetic event
    Threshold double
    Threshold (in seconds)
    Event string
    Synthetic event
    Threshold float64
    Threshold (in seconds)
    event String
    Synthetic event
    threshold Double
    Threshold (in seconds)
    event string
    Synthetic event
    threshold number
    Threshold (in seconds)
    event str
    Synthetic event
    threshold float
    Threshold (in seconds)
    event String
    Synthetic event
    threshold Number
    Threshold (in seconds)

    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