1. Packages
  2. Dynatrace
  3. API Docs
  4. HostMonitoring
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.HostMonitoring

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The HostMonitoring resource accepts the following input properties:

    Enabled bool
    This setting is enabled (true) or disabled (false)
    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    AutoInjection bool
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    FullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    Enabled bool
    This setting is enabled (true) or disabled (false)
    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    AutoInjection bool
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    FullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    enabled Boolean
    This setting is enabled (true) or disabled (false)
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    autoInjection Boolean
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    fullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    enabled boolean
    This setting is enabled (true) or disabled (false)
    hostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    autoInjection boolean
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    fullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    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.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    enabled Boolean
    This setting is enabled (true) or disabled (false)
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    autoInjection Boolean
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    fullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    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.
    The following state arguments are supported:
    AutoInjection bool
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    Enabled bool
    This setting is enabled (true) or disabled (false)
    FullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    AutoInjection bool
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    Enabled bool
    This setting is enabled (true) or disabled (false)
    FullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    autoInjection Boolean
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    enabled Boolean
    This setting is enabled (true) or disabled (false)
    fullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    autoInjection boolean
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    enabled boolean
    This setting is enabled (true) or disabled (false)
    fullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    hostId 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.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    host_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    autoInjection Boolean
    An auto-injection disabled with oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    Deprecated: This field has been moved to a new schema, please utilize the resource dynatrace.HostMonitoringAdvanced to configure this field.

    enabled Boolean
    This setting is enabled (true) or disabled (false)
    fullStack 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.

    Deprecated: This attribute is not supported anymore by the Dynatrace API

    hostId 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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse