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

dynatrace.HostMonitoringAdvanced

Explore with Pulumi AI

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

    Create HostMonitoringAdvanced Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new HostMonitoringAdvanced(name: string, args: HostMonitoringAdvancedArgs, opts?: CustomResourceOptions);
    @overload
    def HostMonitoringAdvanced(resource_name: str,
                               args: HostMonitoringAdvancedArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def HostMonitoringAdvanced(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               host_id: Optional[str] = None,
                               process_agent_injection: Optional[bool] = None,
                               code_module_injection: Optional[bool] = None)
    func NewHostMonitoringAdvanced(ctx *Context, name string, args HostMonitoringAdvancedArgs, opts ...ResourceOption) (*HostMonitoringAdvanced, error)
    public HostMonitoringAdvanced(string name, HostMonitoringAdvancedArgs args, CustomResourceOptions? opts = null)
    public HostMonitoringAdvanced(String name, HostMonitoringAdvancedArgs args)
    public HostMonitoringAdvanced(String name, HostMonitoringAdvancedArgs args, CustomResourceOptions options)
    
    type: dynatrace:HostMonitoringAdvanced
    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 HostMonitoringAdvancedArgs
    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 HostMonitoringAdvancedArgs
    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 HostMonitoringAdvancedArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HostMonitoringAdvancedArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HostMonitoringAdvancedArgs
    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 hostMonitoringAdvancedResource = new Dynatrace.HostMonitoringAdvanced("hostMonitoringAdvancedResource", new()
    {
        HostId = "string",
        ProcessAgentInjection = false,
        CodeModuleInjection = false,
    });
    
    example, err := dynatrace.NewHostMonitoringAdvanced(ctx, "hostMonitoringAdvancedResource", &dynatrace.HostMonitoringAdvancedArgs{
    	HostId:                pulumi.String("string"),
    	ProcessAgentInjection: pulumi.Bool(false),
    	CodeModuleInjection:   pulumi.Bool(false),
    })
    
    var hostMonitoringAdvancedResource = new HostMonitoringAdvanced("hostMonitoringAdvancedResource", HostMonitoringAdvancedArgs.builder()
        .hostId("string")
        .processAgentInjection(false)
        .codeModuleInjection(false)
        .build());
    
    host_monitoring_advanced_resource = dynatrace.HostMonitoringAdvanced("hostMonitoringAdvancedResource",
        host_id="string",
        process_agent_injection=False,
        code_module_injection=False)
    
    const hostMonitoringAdvancedResource = new dynatrace.HostMonitoringAdvanced("hostMonitoringAdvancedResource", {
        hostId: "string",
        processAgentInjection: false,
        codeModuleInjection: false,
    });
    
    type: dynatrace:HostMonitoringAdvanced
    properties:
        codeModuleInjection: false
        hostId: string
        processAgentInjection: false
    

    HostMonitoringAdvanced 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 HostMonitoringAdvanced resource accepts the following input properties:

    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    ProcessAgentInjection bool
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    CodeModuleInjection bool
    Inject CodeModules in Discovery mode.
    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    ProcessAgentInjection bool
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    CodeModuleInjection bool
    Inject CodeModules in Discovery mode.
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    processAgentInjection Boolean
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    codeModuleInjection Boolean
    Inject CodeModules in Discovery mode.
    hostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    processAgentInjection boolean
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    codeModuleInjection boolean
    Inject CodeModules in Discovery mode.
    host_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    process_agent_injection bool
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    code_module_injection bool
    Inject CodeModules in Discovery mode.
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    processAgentInjection Boolean
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    codeModuleInjection Boolean
    Inject CodeModules in Discovery mode.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HostMonitoringAdvanced 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 HostMonitoringAdvanced Resource

    Get an existing HostMonitoringAdvanced 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?: HostMonitoringAdvancedState, opts?: CustomResourceOptions): HostMonitoringAdvanced
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            code_module_injection: Optional[bool] = None,
            host_id: Optional[str] = None,
            process_agent_injection: Optional[bool] = None) -> HostMonitoringAdvanced
    func GetHostMonitoringAdvanced(ctx *Context, name string, id IDInput, state *HostMonitoringAdvancedState, opts ...ResourceOption) (*HostMonitoringAdvanced, error)
    public static HostMonitoringAdvanced Get(string name, Input<string> id, HostMonitoringAdvancedState? state, CustomResourceOptions? opts = null)
    public static HostMonitoringAdvanced get(String name, Output<String> id, HostMonitoringAdvancedState 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:
    CodeModuleInjection bool
    Inject CodeModules in Discovery mode.
    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    ProcessAgentInjection bool
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    CodeModuleInjection bool
    Inject CodeModules in Discovery mode.
    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    ProcessAgentInjection bool
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    codeModuleInjection Boolean
    Inject CodeModules in Discovery mode.
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    processAgentInjection Boolean
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    codeModuleInjection boolean
    Inject CodeModules in Discovery mode.
    hostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    processAgentInjection boolean
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    code_module_injection bool
    Inject CodeModules in Discovery mode.
    host_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    process_agent_injection bool
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.
    codeModuleInjection Boolean
    Inject CodeModules in Discovery mode.
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    processAgentInjection Boolean
    Disabling this via oneagentctl takes precedence over this setting and cannot be changed from the Dynatrace web UI.

    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