dynatrace.PgAnomalies
Explore with Pulumi AI
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.
Constructor 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={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PgAnomalies resource accepts the following input properties:
- Pg
Id string - The ID of the process group
- Availability
Pulumiverse.
Dynatrace. Inputs. Pg Anomalies Availability - Configuration of the availability monitoring for the process group.
- Pg
Id string - The ID of the process group
- Availability
Pg
Anomalies Availability Args - Configuration of the availability monitoring for the process group.
- pg
Id String - The ID of the process group
- availability
Pg
Anomalies Availability - Configuration of the availability monitoring for the process group.
- pg
Id string - The ID of the process group
- availability
Pg
Anomalies Availability - Configuration of the availability monitoring for the process group.
- pg_
id str - The ID of the process group
- availability
Pg
Anomalies Availability Args - Configuration of the availability monitoring for the process group.
- pg
Id 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.
- Availability
Pulumiverse.
Dynatrace. Inputs. Pg Anomalies Availability - Configuration of the availability monitoring for the process group.
- Pg
Id string - The ID of the process group
- Availability
Pg
Anomalies Availability Args - Configuration of the availability monitoring for the process group.
- Pg
Id string - The ID of the process group
- availability
Pg
Anomalies Availability - Configuration of the availability monitoring for the process group.
- pg
Id String - The ID of the process group
- availability
Pg
Anomalies Availability - Configuration of the availability monitoring for the process group.
- pg
Id string - The ID of the process group
- availability
Pg
Anomalies Availability Args - 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.
- pg
Id 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. - 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. - 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. - minimum
Threshold 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. - minimum
Threshold 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. - minimum
Threshold Number - Alert if the number of active processes in the group is lower than this value.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.