dynatrace.NetworkMonitorOutage
Explore with Pulumi AI
Create NetworkMonitorOutage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkMonitorOutage(name: string, args: NetworkMonitorOutageArgs, opts?: CustomResourceOptions);
@overload
def NetworkMonitorOutage(resource_name: str,
args: NetworkMonitorOutageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkMonitorOutage(resource_name: str,
opts: Optional[ResourceOptions] = None,
global_outages: Optional[bool] = None,
local_outages: 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 NewNetworkMonitorOutage(ctx *Context, name string, args NetworkMonitorOutageArgs, opts ...ResourceOption) (*NetworkMonitorOutage, error)
public NetworkMonitorOutage(string name, NetworkMonitorOutageArgs args, CustomResourceOptions? opts = null)
public NetworkMonitorOutage(String name, NetworkMonitorOutageArgs args)
public NetworkMonitorOutage(String name, NetworkMonitorOutageArgs args, CustomResourceOptions options)
type: dynatrace:NetworkMonitorOutage
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 NetworkMonitorOutageArgs
- 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 NetworkMonitorOutageArgs
- 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 NetworkMonitorOutageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkMonitorOutageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkMonitorOutageArgs
- 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 networkMonitorOutageResource = new Dynatrace.NetworkMonitorOutage("networkMonitorOutageResource", new()
{
GlobalOutages = false,
LocalOutages = false,
GlobalConsecutiveOutageCountThreshold = 0,
LocalConsecutiveOutageCountThreshold = 0,
LocalLocationOutageCountThreshold = 0,
Scope = "string",
});
example, err := dynatrace.NewNetworkMonitorOutage(ctx, "networkMonitorOutageResource", &dynatrace.NetworkMonitorOutageArgs{
GlobalOutages: pulumi.Bool(false),
LocalOutages: pulumi.Bool(false),
GlobalConsecutiveOutageCountThreshold: pulumi.Int(0),
LocalConsecutiveOutageCountThreshold: pulumi.Int(0),
LocalLocationOutageCountThreshold: pulumi.Int(0),
Scope: pulumi.String("string"),
})
var networkMonitorOutageResource = new NetworkMonitorOutage("networkMonitorOutageResource", NetworkMonitorOutageArgs.builder()
.globalOutages(false)
.localOutages(false)
.globalConsecutiveOutageCountThreshold(0)
.localConsecutiveOutageCountThreshold(0)
.localLocationOutageCountThreshold(0)
.scope("string")
.build());
network_monitor_outage_resource = dynatrace.NetworkMonitorOutage("networkMonitorOutageResource",
global_outages=False,
local_outages=False,
global_consecutive_outage_count_threshold=0,
local_consecutive_outage_count_threshold=0,
local_location_outage_count_threshold=0,
scope="string")
const networkMonitorOutageResource = new dynatrace.NetworkMonitorOutage("networkMonitorOutageResource", {
globalOutages: false,
localOutages: false,
globalConsecutiveOutageCountThreshold: 0,
localConsecutiveOutageCountThreshold: 0,
localLocationOutageCountThreshold: 0,
scope: "string",
});
type: dynatrace:NetworkMonitorOutage
properties:
globalConsecutiveOutageCountThreshold: 0
globalOutages: false
localConsecutiveOutageCountThreshold: 0
localLocationOutageCountThreshold: 0
localOutages: false
scope: string
NetworkMonitorOutage 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 NetworkMonitorOutage resource accepts the following input properties:
- Global
Outages bool - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- Local
Outages bool - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- Global
Consecutive intOutage Count Threshold - Alert if all locations are unable to access my target address
- Local
Consecutive intOutage Count Threshold - are unable to access my target address
- Local
Location intOutage Count Threshold - Alert if at least
- Scope string
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- Global
Outages bool - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- Local
Outages bool - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- Global
Consecutive intOutage Count Threshold - Alert if all locations are unable to access my target address
- Local
Consecutive intOutage Count Threshold - are unable to access my target address
- Local
Location intOutage Count Threshold - Alert if at least
- Scope string
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- global
Outages Boolean - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- local
Outages Boolean - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- global
Consecutive IntegerOutage Count Threshold - Alert if all locations are unable to access my target address
- local
Consecutive IntegerOutage Count Threshold - are unable to access my target address
- local
Location IntegerOutage Count Threshold - Alert if at least
- scope String
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- global
Outages boolean - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- local
Outages boolean - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- global
Consecutive numberOutage Count Threshold - Alert if all locations are unable to access my target address
- local
Consecutive numberOutage Count Threshold - are unable to access my target address
- local
Location numberOutage Count Threshold - Alert if at least
- scope string
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- global_
outages bool - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- local_
outages bool - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- global_
consecutive_ intoutage_ count_ threshold - Alert if all locations are unable to access my target address
- local_
consecutive_ intoutage_ count_ threshold - are unable to access my target address
- local_
location_ intoutage_ count_ threshold - Alert if at least
- scope str
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- global
Outages Boolean - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- local
Outages Boolean - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- global
Consecutive NumberOutage Count Threshold - Alert if all locations are unable to access my target address
- local
Consecutive NumberOutage Count Threshold - are unable to access my target address
- local
Location NumberOutage Count Threshold - Alert if at least
- scope String
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkMonitorOutage 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 NetworkMonitorOutage Resource
Get an existing NetworkMonitorOutage 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?: NetworkMonitorOutageState, opts?: CustomResourceOptions): NetworkMonitorOutage
@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,
scope: Optional[str] = None) -> NetworkMonitorOutage
func GetNetworkMonitorOutage(ctx *Context, name string, id IDInput, state *NetworkMonitorOutageState, opts ...ResourceOption) (*NetworkMonitorOutage, error)
public static NetworkMonitorOutage Get(string name, Input<string> id, NetworkMonitorOutageState? state, CustomResourceOptions? opts = null)
public static NetworkMonitorOutage get(String name, Output<String> id, NetworkMonitorOutageState 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.
- Global
Consecutive intOutage Count Threshold - Alert if all locations are unable to access my target address
- Global
Outages bool - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- Local
Consecutive intOutage Count Threshold - are unable to access my target address
- Local
Location intOutage Count Threshold - Alert if at least
- Local
Outages bool - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- Scope string
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- Global
Consecutive intOutage Count Threshold - Alert if all locations are unable to access my target address
- Global
Outages bool - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- Local
Consecutive intOutage Count Threshold - are unable to access my target address
- Local
Location intOutage Count Threshold - Alert if at least
- Local
Outages bool - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- Scope string
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- global
Consecutive IntegerOutage Count Threshold - Alert if all locations are unable to access my target address
- global
Outages Boolean - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- local
Consecutive IntegerOutage Count Threshold - are unable to access my target address
- local
Location IntegerOutage Count Threshold - Alert if at least
- local
Outages Boolean - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- scope String
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- global
Consecutive numberOutage Count Threshold - Alert if all locations are unable to access my target address
- global
Outages boolean - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- local
Consecutive numberOutage Count Threshold - are unable to access my target address
- local
Location numberOutage Count Threshold - Alert if at least
- local
Outages boolean - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- scope string
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- global_
consecutive_ intoutage_ count_ threshold - Alert if all locations are unable to access my target address
- global_
outages bool - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- local_
consecutive_ intoutage_ count_ threshold - are unable to access my target address
- local_
location_ intoutage_ count_ threshold - Alert if at least
- local_
outages bool - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- scope str
- The scope of this setting (MULTIPROTOCOL_MONITOR). Omit this property if you want to cover the whole environment.
- global
Consecutive NumberOutage Count Threshold - Alert if all locations are unable to access my target address
- global
Outages Boolean - Generate a problem and send an alert when the monitor is unavailable at all configured locations.
- local
Consecutive NumberOutage Count Threshold - are unable to access my target address
- local
Location NumberOutage Count Threshold - Alert if at least
- local
Outages Boolean - Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
- scope String
- The scope of this setting (MULTIPROTOCOL_MONITOR). 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.