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

dynatrace.PgAlerting

Explore with Pulumi AI

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

    Create PgAlerting Resource

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

    Constructor syntax

    new PgAlerting(name: string, args: PgAlertingArgs, opts?: CustomResourceOptions);
    @overload
    def PgAlerting(resource_name: str,
                   args: PgAlertingArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def PgAlerting(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   enabled: Optional[bool] = None,
                   process_group: Optional[str] = None,
                   alerting_mode: Optional[str] = None,
                   minimum_instance_threshold: Optional[int] = None)
    func NewPgAlerting(ctx *Context, name string, args PgAlertingArgs, opts ...ResourceOption) (*PgAlerting, error)
    public PgAlerting(string name, PgAlertingArgs args, CustomResourceOptions? opts = null)
    public PgAlerting(String name, PgAlertingArgs args)
    public PgAlerting(String name, PgAlertingArgs args, CustomResourceOptions options)
    
    type: dynatrace:PgAlerting
    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 PgAlertingArgs
    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 PgAlertingArgs
    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 PgAlertingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PgAlertingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PgAlertingArgs
    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 pgAlertingResource = new Dynatrace.PgAlerting("pgAlertingResource", new()
    {
        Enabled = false,
        ProcessGroup = "string",
        AlertingMode = "string",
        MinimumInstanceThreshold = 0,
    });
    
    example, err := dynatrace.NewPgAlerting(ctx, "pgAlertingResource", &dynatrace.PgAlertingArgs{
    	Enabled:                  pulumi.Bool(false),
    	ProcessGroup:             pulumi.String("string"),
    	AlertingMode:             pulumi.String("string"),
    	MinimumInstanceThreshold: pulumi.Int(0),
    })
    
    var pgAlertingResource = new PgAlerting("pgAlertingResource", PgAlertingArgs.builder()        
        .enabled(false)
        .processGroup("string")
        .alertingMode("string")
        .minimumInstanceThreshold(0)
        .build());
    
    pg_alerting_resource = dynatrace.PgAlerting("pgAlertingResource",
        enabled=False,
        process_group="string",
        alerting_mode="string",
        minimum_instance_threshold=0)
    
    const pgAlertingResource = new dynatrace.PgAlerting("pgAlertingResource", {
        enabled: false,
        processGroup: "string",
        alertingMode: "string",
        minimumInstanceThreshold: 0,
    });
    
    type: dynatrace:PgAlerting
    properties:
        alertingMode: string
        enabled: false
        minimumInstanceThreshold: 0
        processGroup: string
    

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

    Enabled bool
    Enable process group availability monitoring
    ProcessGroup string
    The process group ID for availability monitoring
    AlertingMode string
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    MinimumInstanceThreshold int
    Open a new problem if the number of active process instances in the group is fewer than:
    Enabled bool
    Enable process group availability monitoring
    ProcessGroup string
    The process group ID for availability monitoring
    AlertingMode string
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    MinimumInstanceThreshold int
    Open a new problem if the number of active process instances in the group is fewer than:
    enabled Boolean
    Enable process group availability monitoring
    processGroup String
    The process group ID for availability monitoring
    alertingMode String
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    minimumInstanceThreshold Integer
    Open a new problem if the number of active process instances in the group is fewer than:
    enabled boolean
    Enable process group availability monitoring
    processGroup string
    The process group ID for availability monitoring
    alertingMode string
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    minimumInstanceThreshold number
    Open a new problem if the number of active process instances in the group is fewer than:
    enabled bool
    Enable process group availability monitoring
    process_group str
    The process group ID for availability monitoring
    alerting_mode str
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    minimum_instance_threshold int
    Open a new problem if the number of active process instances in the group is fewer than:
    enabled Boolean
    Enable process group availability monitoring
    processGroup String
    The process group ID for availability monitoring
    alertingMode String
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    minimumInstanceThreshold Number
    Open a new problem if the number of active process instances in the group is fewer than:

    Outputs

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

    Get an existing PgAlerting 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?: PgAlertingState, opts?: CustomResourceOptions): PgAlerting
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alerting_mode: Optional[str] = None,
            enabled: Optional[bool] = None,
            minimum_instance_threshold: Optional[int] = None,
            process_group: Optional[str] = None) -> PgAlerting
    func GetPgAlerting(ctx *Context, name string, id IDInput, state *PgAlertingState, opts ...ResourceOption) (*PgAlerting, error)
    public static PgAlerting Get(string name, Input<string> id, PgAlertingState? state, CustomResourceOptions? opts = null)
    public static PgAlerting get(String name, Output<String> id, PgAlertingState 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:
    AlertingMode string
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    Enabled bool
    Enable process group availability monitoring
    MinimumInstanceThreshold int
    Open a new problem if the number of active process instances in the group is fewer than:
    ProcessGroup string
    The process group ID for availability monitoring
    AlertingMode string
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    Enabled bool
    Enable process group availability monitoring
    MinimumInstanceThreshold int
    Open a new problem if the number of active process instances in the group is fewer than:
    ProcessGroup string
    The process group ID for availability monitoring
    alertingMode String
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    enabled Boolean
    Enable process group availability monitoring
    minimumInstanceThreshold Integer
    Open a new problem if the number of active process instances in the group is fewer than:
    processGroup String
    The process group ID for availability monitoring
    alertingMode string
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    enabled boolean
    Enable process group availability monitoring
    minimumInstanceThreshold number
    Open a new problem if the number of active process instances in the group is fewer than:
    processGroup string
    The process group ID for availability monitoring
    alerting_mode str
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    enabled bool
    Enable process group availability monitoring
    minimum_instance_threshold int
    Open a new problem if the number of active process instances in the group is fewer than:
    process_group str
    The process group ID for availability monitoring
    alertingMode String
    if any process becomes unavailable: Dynatrace will open a new problem if a single process in this group shuts down or crashes.
    enabled Boolean
    Enable process group availability monitoring
    minimumInstanceThreshold Number
    Open a new problem if the number of active process instances in the group is fewer than:
    processGroup String
    The process group ID for availability monitoring

    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