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

dynatrace.HostMonitoringMode

Explore with Pulumi AI

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

    Create HostMonitoringMode Resource

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

    Constructor syntax

    new HostMonitoringMode(name: string, args: HostMonitoringModeArgs, opts?: CustomResourceOptions);
    @overload
    def HostMonitoringMode(resource_name: str,
                           args: HostMonitoringModeArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def HostMonitoringMode(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           host_id: Optional[str] = None,
                           monitoring_mode: Optional[str] = None)
    func NewHostMonitoringMode(ctx *Context, name string, args HostMonitoringModeArgs, opts ...ResourceOption) (*HostMonitoringMode, error)
    public HostMonitoringMode(string name, HostMonitoringModeArgs args, CustomResourceOptions? opts = null)
    public HostMonitoringMode(String name, HostMonitoringModeArgs args)
    public HostMonitoringMode(String name, HostMonitoringModeArgs args, CustomResourceOptions options)
    
    type: dynatrace:HostMonitoringMode
    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 HostMonitoringModeArgs
    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 HostMonitoringModeArgs
    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 HostMonitoringModeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HostMonitoringModeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HostMonitoringModeArgs
    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 hostMonitoringModeResource = new Dynatrace.HostMonitoringMode("hostMonitoringModeResource", new()
    {
        HostId = "string",
        MonitoringMode = "string",
    });
    
    example, err := dynatrace.NewHostMonitoringMode(ctx, "hostMonitoringModeResource", &dynatrace.HostMonitoringModeArgs{
    	HostId:         pulumi.String("string"),
    	MonitoringMode: pulumi.String("string"),
    })
    
    var hostMonitoringModeResource = new HostMonitoringMode("hostMonitoringModeResource", HostMonitoringModeArgs.builder()
        .hostId("string")
        .monitoringMode("string")
        .build());
    
    host_monitoring_mode_resource = dynatrace.HostMonitoringMode("hostMonitoringModeResource",
        host_id="string",
        monitoring_mode="string")
    
    const hostMonitoringModeResource = new dynatrace.HostMonitoringMode("hostMonitoringModeResource", {
        hostId: "string",
        monitoringMode: "string",
    });
    
    type: dynatrace:HostMonitoringMode
    properties:
        hostId: string
        monitoringMode: string
    

    HostMonitoringMode 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 HostMonitoringMode 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.
    MonitoringMode string
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    MonitoringMode string
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    monitoringMode String
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    hostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    monitoringMode string
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    host_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    monitoring_mode str
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    monitoringMode String
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY

    Outputs

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

    Get an existing HostMonitoringMode 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?: HostMonitoringModeState, opts?: CustomResourceOptions): HostMonitoringMode
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            host_id: Optional[str] = None,
            monitoring_mode: Optional[str] = None) -> HostMonitoringMode
    func GetHostMonitoringMode(ctx *Context, name string, id IDInput, state *HostMonitoringModeState, opts ...ResourceOption) (*HostMonitoringMode, error)
    public static HostMonitoringMode Get(string name, Input<string> id, HostMonitoringModeState? state, CustomResourceOptions? opts = null)
    public static HostMonitoringMode get(String name, Output<String> id, HostMonitoringModeState 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:
    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    MonitoringMode string
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    HostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    MonitoringMode string
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    monitoringMode String
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    hostId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    monitoringMode string
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    host_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    monitoring_mode str
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY
    hostId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    monitoringMode String
    Possible Values: DISCOVERY, FULL_STACK, INFRA_ONLY

    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