Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse
dynatrace.HostMonitoring
Explore with Pulumi AI
Create HostMonitoring Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HostMonitoring(name: string, args: HostMonitoringArgs, opts?: CustomResourceOptions);
@overload
def HostMonitoring(resource_name: str,
args: HostMonitoringArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HostMonitoring(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
host_id: Optional[str] = None,
auto_injection: Optional[bool] = None,
full_stack: Optional[bool] = None)
func NewHostMonitoring(ctx *Context, name string, args HostMonitoringArgs, opts ...ResourceOption) (*HostMonitoring, error)
public HostMonitoring(string name, HostMonitoringArgs args, CustomResourceOptions? opts = null)
public HostMonitoring(String name, HostMonitoringArgs args)
public HostMonitoring(String name, HostMonitoringArgs args, CustomResourceOptions options)
type: dynatrace:HostMonitoring
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 HostMonitoringArgs
- 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 HostMonitoringArgs
- 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 HostMonitoringArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HostMonitoringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HostMonitoringArgs
- 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 hostMonitoringResource = new Dynatrace.HostMonitoring("hostMonitoringResource", new()
{
Enabled = false,
HostId = "string",
});
example, err := dynatrace.NewHostMonitoring(ctx, "hostMonitoringResource", &dynatrace.HostMonitoringArgs{
Enabled: pulumi.Bool(false),
HostId: pulumi.String("string"),
})
var hostMonitoringResource = new HostMonitoring("hostMonitoringResource", HostMonitoringArgs.builder()
.enabled(false)
.hostId("string")
.build());
host_monitoring_resource = dynatrace.HostMonitoring("hostMonitoringResource",
enabled=False,
host_id="string")
const hostMonitoringResource = new dynatrace.HostMonitoring("hostMonitoringResource", {
enabled: false,
hostId: "string",
});
type: dynatrace:HostMonitoring
properties:
enabled: false
hostId: string
HostMonitoring 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 HostMonitoring resource accepts the following input properties:
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Auto
Injection bool - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- Full
Stack bool - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Auto
Injection bool - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- Full
Stack bool - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - host
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- auto
Injection Boolean - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- full
Stack Boolean - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- auto
Injection boolean - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- full
Stack boolean - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - host_
id str - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- auto_
injection bool - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- full_
stack bool - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - host
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- auto
Injection Boolean - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- full
Stack Boolean - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
Outputs
All input properties are implicitly available as output properties. Additionally, the HostMonitoring 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 HostMonitoring Resource
Get an existing HostMonitoring 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?: HostMonitoringState, opts?: CustomResourceOptions): HostMonitoring
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_injection: Optional[bool] = None,
enabled: Optional[bool] = None,
full_stack: Optional[bool] = None,
host_id: Optional[str] = None) -> HostMonitoring
func GetHostMonitoring(ctx *Context, name string, id IDInput, state *HostMonitoringState, opts ...ResourceOption) (*HostMonitoring, error)
public static HostMonitoring Get(string name, Input<string> id, HostMonitoringState? state, CustomResourceOptions? opts = null)
public static HostMonitoring get(String name, Output<String> id, HostMonitoringState 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.
- Auto
Injection bool - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Full
Stack bool - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- Host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Auto
Injection bool - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Full
Stack bool - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- Host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- auto
Injection Boolean - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - full
Stack Boolean - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- host
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- auto
Injection boolean - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - full
Stack boolean - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- auto_
injection bool - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - full_
stack bool - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- host_
id str - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- auto
Injection Boolean - An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - full
Stack Boolean - Dynatrace uses full-stack monitoring by default, to monitor every aspect of your environment, including all processes, services, and applications detected on your hosts.
- host
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.