Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs
dynatrace.ProcessAvailability
Explore with Pulumi AI
Create ProcessAvailability Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProcessAvailability(name: string, args: ProcessAvailabilityArgs, opts?: CustomResourceOptions);
@overload
def ProcessAvailability(resource_name: str,
args: ProcessAvailabilityArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProcessAvailability(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
metadata: Optional[ProcessAvailabilityMetadataArgs] = None,
name: Optional[str] = None,
rules: Optional[ProcessAvailabilityRulesArgs] = None,
scope: Optional[str] = None)
func NewProcessAvailability(ctx *Context, name string, args ProcessAvailabilityArgs, opts ...ResourceOption) (*ProcessAvailability, error)
public ProcessAvailability(string name, ProcessAvailabilityArgs args, CustomResourceOptions? opts = null)
public ProcessAvailability(String name, ProcessAvailabilityArgs args)
public ProcessAvailability(String name, ProcessAvailabilityArgs args, CustomResourceOptions options)
type: dynatrace:ProcessAvailability
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 ProcessAvailabilityArgs
- 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 ProcessAvailabilityArgs
- 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 ProcessAvailabilityArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProcessAvailabilityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProcessAvailabilityArgs
- 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 processAvailabilityResource = new Dynatrace.ProcessAvailability("processAvailabilityResource", new()
{
Enabled = false,
Metadata = new Dynatrace.Inputs.ProcessAvailabilityMetadataArgs
{
Items = new[]
{
new Dynatrace.Inputs.ProcessAvailabilityMetadataItemArgs
{
Key = "string",
Value = "string",
},
},
},
Name = "string",
Rules = new Dynatrace.Inputs.ProcessAvailabilityRulesArgs
{
Rules = new[]
{
new Dynatrace.Inputs.ProcessAvailabilityRulesRuleArgs
{
Condition = "string",
Property = "string",
},
},
},
Scope = "string",
});
example, err := dynatrace.NewProcessAvailability(ctx, "processAvailabilityResource", &dynatrace.ProcessAvailabilityArgs{
Enabled: pulumi.Bool(false),
Metadata: &dynatrace.ProcessAvailabilityMetadataArgs{
Items: dynatrace.ProcessAvailabilityMetadataItemArray{
&dynatrace.ProcessAvailabilityMetadataItemArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
Rules: &dynatrace.ProcessAvailabilityRulesArgs{
Rules: dynatrace.ProcessAvailabilityRulesRuleArray{
&dynatrace.ProcessAvailabilityRulesRuleArgs{
Condition: pulumi.String("string"),
Property: pulumi.String("string"),
},
},
},
Scope: pulumi.String("string"),
})
var processAvailabilityResource = new ProcessAvailability("processAvailabilityResource", ProcessAvailabilityArgs.builder()
.enabled(false)
.metadata(ProcessAvailabilityMetadataArgs.builder()
.items(ProcessAvailabilityMetadataItemArgs.builder()
.key("string")
.value("string")
.build())
.build())
.name("string")
.rules(ProcessAvailabilityRulesArgs.builder()
.rules(ProcessAvailabilityRulesRuleArgs.builder()
.condition("string")
.property("string")
.build())
.build())
.scope("string")
.build());
process_availability_resource = dynatrace.ProcessAvailability("processAvailabilityResource",
enabled=False,
metadata=dynatrace.ProcessAvailabilityMetadataArgs(
items=[dynatrace.ProcessAvailabilityMetadataItemArgs(
key="string",
value="string",
)],
),
name="string",
rules=dynatrace.ProcessAvailabilityRulesArgs(
rules=[dynatrace.ProcessAvailabilityRulesRuleArgs(
condition="string",
property="string",
)],
),
scope="string")
const processAvailabilityResource = new dynatrace.ProcessAvailability("processAvailabilityResource", {
enabled: false,
metadata: {
items: [{
key: "string",
value: "string",
}],
},
name: "string",
rules: {
rules: [{
condition: "string",
property: "string",
}],
},
scope: "string",
});
type: dynatrace:ProcessAvailability
properties:
enabled: false
metadata:
items:
- key: string
value: string
name: string
rules:
rules:
- condition: string
property: string
scope: string
ProcessAvailability 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 ProcessAvailability resource accepts the following input properties:
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Metadata
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Process Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- Name string
- Monitored rule name
- Rules
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Process Availability Rules - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Metadata
Process
Availability Metadata Args - Set of additional key-value properties to be attached to the triggered event.
- Name string
- Monitored rule name
- Rules
Process
Availability Rules Args - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - metadata
Process
Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- name String
- Monitored rule name
- rules
Process
Availability Rules - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - metadata
Process
Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- name string
- Monitored rule name
- rules
Process
Availability Rules - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - metadata
Process
Availability Metadata Args - Set of additional key-value properties to be attached to the triggered event.
- name str
- Monitored rule name
- rules
Process
Availability Rules Args - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- scope str
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - metadata Property Map
- Set of additional key-value properties to be attached to the triggered event.
- name String
- Monitored rule name
- rules Property Map
- Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProcessAvailability 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 ProcessAvailability Resource
Get an existing ProcessAvailability 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?: ProcessAvailabilityState, opts?: CustomResourceOptions): ProcessAvailability
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
metadata: Optional[ProcessAvailabilityMetadataArgs] = None,
name: Optional[str] = None,
rules: Optional[ProcessAvailabilityRulesArgs] = None,
scope: Optional[str] = None) -> ProcessAvailability
func GetProcessAvailability(ctx *Context, name string, id IDInput, state *ProcessAvailabilityState, opts ...ResourceOption) (*ProcessAvailability, error)
public static ProcessAvailability Get(string name, Input<string> id, ProcessAvailabilityState? state, CustomResourceOptions? opts = null)
public static ProcessAvailability get(String name, Output<String> id, ProcessAvailabilityState 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.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Metadata
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Process Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- Name string
- Monitored rule name
- Rules
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Process Availability Rules - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Metadata
Process
Availability Metadata Args - Set of additional key-value properties to be attached to the triggered event.
- Name string
- Monitored rule name
- Rules
Process
Availability Rules Args - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - metadata
Process
Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- name String
- Monitored rule name
- rules
Process
Availability Rules - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - metadata
Process
Availability Metadata - Set of additional key-value properties to be attached to the triggered event.
- name string
- Monitored rule name
- rules
Process
Availability Rules - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - metadata
Process
Availability Metadata Args - Set of additional key-value properties to be attached to the triggered event.
- name str
- Monitored rule name
- rules
Process
Availability Rules Args - Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- scope str
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - metadata Property Map
- Set of additional key-value properties to be attached to the triggered event.
- name String
- Monitored rule name
- rules Property Map
- Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
Supporting Types
ProcessAvailabilityMetadata, ProcessAvailabilityMetadataArgs
ProcessAvailabilityMetadataItem, ProcessAvailabilityMetadataItemArgs
ProcessAvailabilityRules, ProcessAvailabilityRulesArgs
ProcessAvailabilityRulesRule, ProcessAvailabilityRulesRuleArgs
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.