Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs
dynatrace.DeclarativeGrouping
Explore with Pulumi AI
Create DeclarativeGrouping Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeclarativeGrouping(name: string, args: DeclarativeGroupingArgs, opts?: CustomResourceOptions);
@overload
def DeclarativeGrouping(resource_name: str,
args: DeclarativeGroupingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DeclarativeGrouping(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
detection: Optional[DeclarativeGroupingDetectionArgs] = None,
name: Optional[str] = None,
scope: Optional[str] = None)
func NewDeclarativeGrouping(ctx *Context, name string, args DeclarativeGroupingArgs, opts ...ResourceOption) (*DeclarativeGrouping, error)
public DeclarativeGrouping(string name, DeclarativeGroupingArgs args, CustomResourceOptions? opts = null)
public DeclarativeGrouping(String name, DeclarativeGroupingArgs args)
public DeclarativeGrouping(String name, DeclarativeGroupingArgs args, CustomResourceOptions options)
type: dynatrace:DeclarativeGrouping
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 DeclarativeGroupingArgs
- 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 DeclarativeGroupingArgs
- 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 DeclarativeGroupingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeclarativeGroupingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeclarativeGroupingArgs
- 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 declarativeGroupingResource = new Dynatrace.DeclarativeGrouping("declarativeGroupingResource", new()
{
Enabled = false,
Detection = new Dynatrace.Inputs.DeclarativeGroupingDetectionArgs
{
ProcessDefinitions = new[]
{
new Dynatrace.Inputs.DeclarativeGroupingDetectionProcessDefinitionArgs
{
Id = "string",
ProcessGroupName = "string",
Report = "string",
Rules = new Dynatrace.Inputs.DeclarativeGroupingDetectionProcessDefinitionRulesArgs
{
Rules = new[]
{
new Dynatrace.Inputs.DeclarativeGroupingDetectionProcessDefinitionRulesRuleArgs
{
Condition = "string",
Property = "string",
},
},
},
},
},
},
Name = "string",
Scope = "string",
});
example, err := dynatrace.NewDeclarativeGrouping(ctx, "declarativeGroupingResource", &dynatrace.DeclarativeGroupingArgs{
Enabled: pulumi.Bool(false),
Detection: &dynatrace.DeclarativeGroupingDetectionArgs{
ProcessDefinitions: dynatrace.DeclarativeGroupingDetectionProcessDefinitionArray{
&dynatrace.DeclarativeGroupingDetectionProcessDefinitionArgs{
Id: pulumi.String("string"),
ProcessGroupName: pulumi.String("string"),
Report: pulumi.String("string"),
Rules: &dynatrace.DeclarativeGroupingDetectionProcessDefinitionRulesArgs{
Rules: dynatrace.DeclarativeGroupingDetectionProcessDefinitionRulesRuleArray{
&dynatrace.DeclarativeGroupingDetectionProcessDefinitionRulesRuleArgs{
Condition: pulumi.String("string"),
Property: pulumi.String("string"),
},
},
},
},
},
},
Name: pulumi.String("string"),
Scope: pulumi.String("string"),
})
var declarativeGroupingResource = new DeclarativeGrouping("declarativeGroupingResource", DeclarativeGroupingArgs.builder()
.enabled(false)
.detection(DeclarativeGroupingDetectionArgs.builder()
.processDefinitions(DeclarativeGroupingDetectionProcessDefinitionArgs.builder()
.id("string")
.processGroupName("string")
.report("string")
.rules(DeclarativeGroupingDetectionProcessDefinitionRulesArgs.builder()
.rules(DeclarativeGroupingDetectionProcessDefinitionRulesRuleArgs.builder()
.condition("string")
.property("string")
.build())
.build())
.build())
.build())
.name("string")
.scope("string")
.build());
declarative_grouping_resource = dynatrace.DeclarativeGrouping("declarativeGroupingResource",
enabled=False,
detection=dynatrace.DeclarativeGroupingDetectionArgs(
process_definitions=[dynatrace.DeclarativeGroupingDetectionProcessDefinitionArgs(
id="string",
process_group_name="string",
report="string",
rules=dynatrace.DeclarativeGroupingDetectionProcessDefinitionRulesArgs(
rules=[dynatrace.DeclarativeGroupingDetectionProcessDefinitionRulesRuleArgs(
condition="string",
property="string",
)],
),
)],
),
name="string",
scope="string")
const declarativeGroupingResource = new dynatrace.DeclarativeGrouping("declarativeGroupingResource", {
enabled: false,
detection: {
processDefinitions: [{
id: "string",
processGroupName: "string",
report: "string",
rules: {
rules: [{
condition: "string",
property: "string",
}],
},
}],
},
name: "string",
scope: "string",
});
type: dynatrace:DeclarativeGrouping
properties:
detection:
processDefinitions:
- id: string
processGroupName: string
report: string
rules:
rules:
- condition: string
property: string
enabled: false
name: string
scope: string
DeclarativeGrouping 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 DeclarativeGrouping resource accepts the following input properties:
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Detection
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Declarative Grouping Detection - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- Name string
- Monitored technology name
- 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
) - Detection
Declarative
Grouping Detection Args - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- Name string
- Monitored technology name
- 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
) - detection
Declarative
Grouping Detection - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- name String
- Monitored technology name
- 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
) - detection
Declarative
Grouping Detection - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- name string
- Monitored technology name
- 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
) - detection
Declarative
Grouping Detection Args - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- name str
- Monitored technology name
- 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
) - detection Property Map
- Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- name String
- Monitored technology name
- 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 DeclarativeGrouping 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 DeclarativeGrouping Resource
Get an existing DeclarativeGrouping 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?: DeclarativeGroupingState, opts?: CustomResourceOptions): DeclarativeGrouping
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
detection: Optional[DeclarativeGroupingDetectionArgs] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
scope: Optional[str] = None) -> DeclarativeGrouping
func GetDeclarativeGrouping(ctx *Context, name string, id IDInput, state *DeclarativeGroupingState, opts ...ResourceOption) (*DeclarativeGrouping, error)
public static DeclarativeGrouping Get(string name, Input<string> id, DeclarativeGroupingState? state, CustomResourceOptions? opts = null)
public static DeclarativeGrouping get(String name, Output<String> id, DeclarativeGroupingState 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.
- Detection
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Declarative Grouping Detection - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Name string
- Monitored technology name
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Detection
Declarative
Grouping Detection Args - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Name string
- Monitored technology name
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- detection
Declarative
Grouping Detection - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - name String
- Monitored technology name
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- detection
Declarative
Grouping Detection - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - name string
- Monitored technology name
- scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- detection
Declarative
Grouping Detection Args - Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - name str
- Monitored technology name
- scope str
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- detection Property Map
- Enter a descriptive process group display name and a unique identifier that Dynatrace can use to recognize this process group.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - name String
- Monitored technology name
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
Supporting Types
DeclarativeGroupingDetection, DeclarativeGroupingDetectionArgs
DeclarativeGroupingDetectionProcessDefinition, DeclarativeGroupingDetectionProcessDefinitionArgs
- Id string
- Process
Group stringName - Report string
- Rules
Declarative
Grouping Detection Process Definition Rules
- id String
- process
Group StringName - report String
- rules
Declarative
Grouping Detection Process Definition Rules
- id string
- process
Group stringName - report string
- rules
Declarative
Grouping Detection Process Definition Rules
- id String
- process
Group StringName - report String
- rules Property Map
DeclarativeGroupingDetectionProcessDefinitionRules, DeclarativeGroupingDetectionProcessDefinitionRulesArgs
DeclarativeGroupingDetectionProcessDefinitionRulesRule, DeclarativeGroupingDetectionProcessDefinitionRulesRuleArgs
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.