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

dynatrace.LogAgentFeatureFlags

Explore with Pulumi AI

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

    Create LogAgentFeatureFlags Resource

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

    Constructor syntax

    new LogAgentFeatureFlags(name: string, args: LogAgentFeatureFlagsArgs, opts?: CustomResourceOptions);
    @overload
    def LogAgentFeatureFlags(resource_name: str,
                             args: LogAgentFeatureFlagsArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogAgentFeatureFlags(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             new_container_log_detector: Optional[bool] = None,
                             scope: Optional[str] = None)
    func NewLogAgentFeatureFlags(ctx *Context, name string, args LogAgentFeatureFlagsArgs, opts ...ResourceOption) (*LogAgentFeatureFlags, error)
    public LogAgentFeatureFlags(string name, LogAgentFeatureFlagsArgs args, CustomResourceOptions? opts = null)
    public LogAgentFeatureFlags(String name, LogAgentFeatureFlagsArgs args)
    public LogAgentFeatureFlags(String name, LogAgentFeatureFlagsArgs args, CustomResourceOptions options)
    
    type: dynatrace:LogAgentFeatureFlags
    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 LogAgentFeatureFlagsArgs
    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 LogAgentFeatureFlagsArgs
    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 LogAgentFeatureFlagsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogAgentFeatureFlagsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogAgentFeatureFlagsArgs
    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 logAgentFeatureFlagsResource = new Dynatrace.LogAgentFeatureFlags("logAgentFeatureFlagsResource", new()
    {
        NewContainerLogDetector = false,
        Scope = "string",
    });
    
    example, err := dynatrace.NewLogAgentFeatureFlags(ctx, "logAgentFeatureFlagsResource", &dynatrace.LogAgentFeatureFlagsArgs{
    	NewContainerLogDetector: pulumi.Bool(false),
    	Scope:                   pulumi.String("string"),
    })
    
    var logAgentFeatureFlagsResource = new LogAgentFeatureFlags("logAgentFeatureFlagsResource", LogAgentFeatureFlagsArgs.builder()
        .newContainerLogDetector(false)
        .scope("string")
        .build());
    
    log_agent_feature_flags_resource = dynatrace.LogAgentFeatureFlags("logAgentFeatureFlagsResource",
        new_container_log_detector=False,
        scope="string")
    
    const logAgentFeatureFlagsResource = new dynatrace.LogAgentFeatureFlags("logAgentFeatureFlagsResource", {
        newContainerLogDetector: false,
        scope: "string",
    });
    
    type: dynatrace:LogAgentFeatureFlags
    properties:
        newContainerLogDetector: false
        scope: string
    

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

    NewContainerLogDetector bool
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    Scope string
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    NewContainerLogDetector bool
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    Scope string
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    newContainerLogDetector Boolean
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    scope String
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    newContainerLogDetector boolean
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    scope string
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    new_container_log_detector bool
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    scope str
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    newContainerLogDetector Boolean
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    scope String
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.

    Outputs

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

    Get an existing LogAgentFeatureFlags 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?: LogAgentFeatureFlagsState, opts?: CustomResourceOptions): LogAgentFeatureFlags
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            new_container_log_detector: Optional[bool] = None,
            scope: Optional[str] = None) -> LogAgentFeatureFlags
    func GetLogAgentFeatureFlags(ctx *Context, name string, id IDInput, state *LogAgentFeatureFlagsState, opts ...ResourceOption) (*LogAgentFeatureFlags, error)
    public static LogAgentFeatureFlags Get(string name, Input<string> id, LogAgentFeatureFlagsState? state, CustomResourceOptions? opts = null)
    public static LogAgentFeatureFlags get(String name, Output<String> id, LogAgentFeatureFlagsState 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:
    NewContainerLogDetector bool
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    Scope string
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    NewContainerLogDetector bool
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    Scope string
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    newContainerLogDetector Boolean
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    scope String
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    newContainerLogDetector boolean
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    scope string
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    new_container_log_detector bool
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    scope str
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
    newContainerLogDetector Boolean
    Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our documentation.
    scope String
    The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.

    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