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

dynatrace.BrowserMonitorOutage

Explore with Pulumi AI

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

    Create BrowserMonitorOutage Resource

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

    Constructor syntax

    new BrowserMonitorOutage(name: string, args: BrowserMonitorOutageArgs, opts?: CustomResourceOptions);
    @overload
    def BrowserMonitorOutage(resource_name: str,
                             args: BrowserMonitorOutageArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def BrowserMonitorOutage(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             global_outages: Optional[bool] = None,
                             local_outages: Optional[bool] = None,
                             retry_on_error: Optional[bool] = None,
                             global_consecutive_outage_count_threshold: Optional[int] = None,
                             local_consecutive_outage_count_threshold: Optional[int] = None,
                             local_location_outage_count_threshold: Optional[int] = None,
                             scope: Optional[str] = None)
    func NewBrowserMonitorOutage(ctx *Context, name string, args BrowserMonitorOutageArgs, opts ...ResourceOption) (*BrowserMonitorOutage, error)
    public BrowserMonitorOutage(string name, BrowserMonitorOutageArgs args, CustomResourceOptions? opts = null)
    public BrowserMonitorOutage(String name, BrowserMonitorOutageArgs args)
    public BrowserMonitorOutage(String name, BrowserMonitorOutageArgs args, CustomResourceOptions options)
    
    type: dynatrace:BrowserMonitorOutage
    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 BrowserMonitorOutageArgs
    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 BrowserMonitorOutageArgs
    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 BrowserMonitorOutageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BrowserMonitorOutageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BrowserMonitorOutageArgs
    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 browserMonitorOutageResource = new Dynatrace.BrowserMonitorOutage("browserMonitorOutageResource", new()
    {
        GlobalOutages = false,
        LocalOutages = false,
        RetryOnError = false,
        GlobalConsecutiveOutageCountThreshold = 0,
        LocalConsecutiveOutageCountThreshold = 0,
        LocalLocationOutageCountThreshold = 0,
        Scope = "string",
    });
    
    example, err := dynatrace.NewBrowserMonitorOutage(ctx, "browserMonitorOutageResource", &dynatrace.BrowserMonitorOutageArgs{
    	GlobalOutages:                         pulumi.Bool(false),
    	LocalOutages:                          pulumi.Bool(false),
    	RetryOnError:                          pulumi.Bool(false),
    	GlobalConsecutiveOutageCountThreshold: pulumi.Int(0),
    	LocalConsecutiveOutageCountThreshold:  pulumi.Int(0),
    	LocalLocationOutageCountThreshold:     pulumi.Int(0),
    	Scope:                                 pulumi.String("string"),
    })
    
    var browserMonitorOutageResource = new BrowserMonitorOutage("browserMonitorOutageResource", BrowserMonitorOutageArgs.builder()
        .globalOutages(false)
        .localOutages(false)
        .retryOnError(false)
        .globalConsecutiveOutageCountThreshold(0)
        .localConsecutiveOutageCountThreshold(0)
        .localLocationOutageCountThreshold(0)
        .scope("string")
        .build());
    
    browser_monitor_outage_resource = dynatrace.BrowserMonitorOutage("browserMonitorOutageResource",
        global_outages=False,
        local_outages=False,
        retry_on_error=False,
        global_consecutive_outage_count_threshold=0,
        local_consecutive_outage_count_threshold=0,
        local_location_outage_count_threshold=0,
        scope="string")
    
    const browserMonitorOutageResource = new dynatrace.BrowserMonitorOutage("browserMonitorOutageResource", {
        globalOutages: false,
        localOutages: false,
        retryOnError: false,
        globalConsecutiveOutageCountThreshold: 0,
        localConsecutiveOutageCountThreshold: 0,
        localLocationOutageCountThreshold: 0,
        scope: "string",
    });
    
    type: dynatrace:BrowserMonitorOutage
    properties:
        globalConsecutiveOutageCountThreshold: 0
        globalOutages: false
        localConsecutiveOutageCountThreshold: 0
        localLocationOutageCountThreshold: 0
        localOutages: false
        retryOnError: false
        scope: string
    

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

    GlobalOutages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    LocalOutages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    RetryOnError bool
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    GlobalConsecutiveOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    LocalConsecutiveOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    LocalLocationOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    Scope string
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    GlobalOutages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    LocalOutages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    RetryOnError bool
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    GlobalConsecutiveOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    LocalConsecutiveOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    LocalLocationOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    Scope string
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    globalOutages Boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    localOutages Boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    retryOnError Boolean
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    globalConsecutiveOutageCountThreshold Integer
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    localConsecutiveOutageCountThreshold Integer
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    localLocationOutageCountThreshold Integer
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    scope String
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    globalOutages boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    localOutages boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    retryOnError boolean
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    globalConsecutiveOutageCountThreshold number
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    localConsecutiveOutageCountThreshold number
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    localLocationOutageCountThreshold number
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    scope string
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    global_outages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    local_outages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    retry_on_error bool
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    global_consecutive_outage_count_threshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    local_consecutive_outage_count_threshold int
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    local_location_outage_count_threshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    scope str
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    globalOutages Boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    localOutages Boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    retryOnError Boolean
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    globalConsecutiveOutageCountThreshold Number
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    localConsecutiveOutageCountThreshold Number
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    localLocationOutageCountThreshold Number
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    scope String
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.

    Outputs

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

    Get an existing BrowserMonitorOutage 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?: BrowserMonitorOutageState, opts?: CustomResourceOptions): BrowserMonitorOutage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            global_consecutive_outage_count_threshold: Optional[int] = None,
            global_outages: Optional[bool] = None,
            local_consecutive_outage_count_threshold: Optional[int] = None,
            local_location_outage_count_threshold: Optional[int] = None,
            local_outages: Optional[bool] = None,
            retry_on_error: Optional[bool] = None,
            scope: Optional[str] = None) -> BrowserMonitorOutage
    func GetBrowserMonitorOutage(ctx *Context, name string, id IDInput, state *BrowserMonitorOutageState, opts ...ResourceOption) (*BrowserMonitorOutage, error)
    public static BrowserMonitorOutage Get(string name, Input<string> id, BrowserMonitorOutageState? state, CustomResourceOptions? opts = null)
    public static BrowserMonitorOutage get(String name, Output<String> id, BrowserMonitorOutageState 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:
    GlobalConsecutiveOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    GlobalOutages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    LocalConsecutiveOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    LocalLocationOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    LocalOutages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    RetryOnError bool
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    Scope string
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    GlobalConsecutiveOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    GlobalOutages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    LocalConsecutiveOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    LocalLocationOutageCountThreshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    LocalOutages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    RetryOnError bool
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    Scope string
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    globalConsecutiveOutageCountThreshold Integer
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    globalOutages Boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    localConsecutiveOutageCountThreshold Integer
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    localLocationOutageCountThreshold Integer
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    localOutages Boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    retryOnError Boolean
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    scope String
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    globalConsecutiveOutageCountThreshold number
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    globalOutages boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    localConsecutiveOutageCountThreshold number
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    localLocationOutageCountThreshold number
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    localOutages boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    retryOnError boolean
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    scope string
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    global_consecutive_outage_count_threshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    global_outages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    local_consecutive_outage_count_threshold int
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    local_location_outage_count_threshold int
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    local_outages bool
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    retry_on_error bool
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    scope str
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.
    globalConsecutiveOutageCountThreshold Number
    (Field has overlap with dynatrace.BrowserMonitor) Alert if all locations are unable to access my web application
    globalOutages Boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable at all configured locations.
    localConsecutiveOutageCountThreshold Number
    (Field has overlap with dynatrace.BrowserMonitor) are unable to access my web application
    localLocationOutageCountThreshold Number
    (Field has overlap with dynatrace.BrowserMonitor) Alert if at least
    localOutages Boolean
    (Field has overlap with dynatrace.BrowserMonitor) Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
    retryOnError Boolean
    (Field has overlap with dynatrace.BrowserMonitor) When enabled, which is the default, failing monitor executions are retried immediately one time to avoid false positives and only the second result is used. When disabled, we use the first result right away. Requires ActiveGate version 1.207+ for private locations.
    scope String
    The scope of this setting (SYNTHETIC_TEST). Omit this property if you want to cover the whole environment.

    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