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

dynatrace.PgAnomalies

Explore with Pulumi AI

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

    Create PgAnomalies Resource

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

    Constructor syntax

    new PgAnomalies(name: string, args: PgAnomaliesArgs, opts?: CustomResourceOptions);
    @overload
    def PgAnomalies(resource_name: str,
                    args: PgAnomaliesArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def PgAnomalies(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    pg_id: Optional[str] = None,
                    availability: Optional[PgAnomaliesAvailabilityArgs] = None)
    func NewPgAnomalies(ctx *Context, name string, args PgAnomaliesArgs, opts ...ResourceOption) (*PgAnomalies, error)
    public PgAnomalies(string name, PgAnomaliesArgs args, CustomResourceOptions? opts = null)
    public PgAnomalies(String name, PgAnomaliesArgs args)
    public PgAnomalies(String name, PgAnomaliesArgs args, CustomResourceOptions options)
    
    type: dynatrace:PgAnomalies
    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 PgAnomaliesArgs
    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 PgAnomaliesArgs
    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 PgAnomaliesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PgAnomaliesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PgAnomaliesArgs
    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 pgAnomaliesResource = new Dynatrace.PgAnomalies("pgAnomaliesResource", new()
    {
        PgId = "string",
        Availability = new Dynatrace.Inputs.PgAnomaliesAvailabilityArgs
        {
            Method = "string",
            MinimumThreshold = 0,
        },
    });
    
    example, err := dynatrace.NewPgAnomalies(ctx, "pgAnomaliesResource", &dynatrace.PgAnomaliesArgs{
    	PgId: pulumi.String("string"),
    	Availability: &dynatrace.PgAnomaliesAvailabilityArgs{
    		Method:           pulumi.String("string"),
    		MinimumThreshold: pulumi.Int(0),
    	},
    })
    
    var pgAnomaliesResource = new PgAnomalies("pgAnomaliesResource", PgAnomaliesArgs.builder()        
        .pgId("string")
        .availability(PgAnomaliesAvailabilityArgs.builder()
            .method("string")
            .minimumThreshold(0)
            .build())
        .build());
    
    pg_anomalies_resource = dynatrace.PgAnomalies("pgAnomaliesResource",
        pg_id="string",
        availability=dynatrace.PgAnomaliesAvailabilityArgs(
            method="string",
            minimum_threshold=0,
        ))
    
    const pgAnomaliesResource = new dynatrace.PgAnomalies("pgAnomaliesResource", {
        pgId: "string",
        availability: {
            method: "string",
            minimumThreshold: 0,
        },
    });
    
    type: dynatrace:PgAnomalies
    properties:
        availability:
            method: string
            minimumThreshold: 0
        pgId: string
    

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

    PgId string
    The ID of the process group
    Availability Lbrlabs.PulumiPackage.Dynatrace.Inputs.PgAnomaliesAvailability
    Configuration of the availability monitoring for the process group.
    PgId string
    The ID of the process group
    Availability PgAnomaliesAvailabilityArgs
    Configuration of the availability monitoring for the process group.
    pgId String
    The ID of the process group
    availability PgAnomaliesAvailability
    Configuration of the availability monitoring for the process group.
    pgId string
    The ID of the process group
    availability PgAnomaliesAvailability
    Configuration of the availability monitoring for the process group.
    pg_id str
    The ID of the process group
    availability PgAnomaliesAvailabilityArgs
    Configuration of the availability monitoring for the process group.
    pgId String
    The ID of the process group
    availability Property Map
    Configuration of the availability monitoring for the process group.

    Outputs

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

    Get an existing PgAnomalies 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?: PgAnomaliesState, opts?: CustomResourceOptions): PgAnomalies
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability: Optional[PgAnomaliesAvailabilityArgs] = None,
            pg_id: Optional[str] = None) -> PgAnomalies
    func GetPgAnomalies(ctx *Context, name string, id IDInput, state *PgAnomaliesState, opts ...ResourceOption) (*PgAnomalies, error)
    public static PgAnomalies Get(string name, Input<string> id, PgAnomaliesState? state, CustomResourceOptions? opts = null)
    public static PgAnomalies get(String name, Output<String> id, PgAnomaliesState 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:
    Availability Lbrlabs.PulumiPackage.Dynatrace.Inputs.PgAnomaliesAvailability
    Configuration of the availability monitoring for the process group.
    PgId string
    The ID of the process group
    Availability PgAnomaliesAvailabilityArgs
    Configuration of the availability monitoring for the process group.
    PgId string
    The ID of the process group
    availability PgAnomaliesAvailability
    Configuration of the availability monitoring for the process group.
    pgId String
    The ID of the process group
    availability PgAnomaliesAvailability
    Configuration of the availability monitoring for the process group.
    pgId string
    The ID of the process group
    availability PgAnomaliesAvailabilityArgs
    Configuration of the availability monitoring for the process group.
    pg_id str
    The ID of the process group
    availability Property Map
    Configuration of the availability monitoring for the process group.
    pgId String
    The ID of the process group

    Supporting Types

    PgAnomaliesAvailability, PgAnomaliesAvailabilityArgs

    Method string
    How to monitor the availability of the process group: * PROCESS_IMPACT: Alert if any process of the group becomes unavailable. * MINIMUM_THRESHOLD: Alert if the number of active processes in the group falls below the specified threshold. * OFF: Availability monitoring is disabled.
    MinimumThreshold int
    Alert if the number of active processes in the group is lower than this value.
    Method string
    How to monitor the availability of the process group: * PROCESS_IMPACT: Alert if any process of the group becomes unavailable. * MINIMUM_THRESHOLD: Alert if the number of active processes in the group falls below the specified threshold. * OFF: Availability monitoring is disabled.
    MinimumThreshold int
    Alert if the number of active processes in the group is lower than this value.
    method String
    How to monitor the availability of the process group: * PROCESS_IMPACT: Alert if any process of the group becomes unavailable. * MINIMUM_THRESHOLD: Alert if the number of active processes in the group falls below the specified threshold. * OFF: Availability monitoring is disabled.
    minimumThreshold Integer
    Alert if the number of active processes in the group is lower than this value.
    method string
    How to monitor the availability of the process group: * PROCESS_IMPACT: Alert if any process of the group becomes unavailable. * MINIMUM_THRESHOLD: Alert if the number of active processes in the group falls below the specified threshold. * OFF: Availability monitoring is disabled.
    minimumThreshold number
    Alert if the number of active processes in the group is lower than this value.
    method str
    How to monitor the availability of the process group: * PROCESS_IMPACT: Alert if any process of the group becomes unavailable. * MINIMUM_THRESHOLD: Alert if the number of active processes in the group falls below the specified threshold. * OFF: Availability monitoring is disabled.
    minimum_threshold int
    Alert if the number of active processes in the group is lower than this value.
    method String
    How to monitor the availability of the process group: * PROCESS_IMPACT: Alert if any process of the group becomes unavailable. * MINIMUM_THRESHOLD: Alert if the number of active processes in the group falls below the specified threshold. * OFF: Availability monitoring is disabled.
    minimumThreshold Number
    Alert if the number of active processes in the group is lower than this value.

    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