1. Packages
  2. Dynatrace
  3. API Docs
  4. BrowserMonitorPerformance
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.BrowserMonitorPerformance

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    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.

    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=dynatrace.BrowserMonitorPerformanceThresholdsArgs(
            thresholds=[dynatrace.BrowserMonitorPerformanceThresholdsThresholdArgs(
                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

    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 Lbrlabs.PulumiPackage.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 Lbrlabs.PulumiPackage.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
    Threshold double
    Event string
    Threshold float64
    event String
    threshold Double
    event string
    threshold number
    event str
    threshold float
    event String
    threshold Number

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs