1. Packages
  2. Dynatrace
  3. API Docs
  4. ContainerBuiltinRule
Dynatrace v0.21.1 published on Monday, Nov 25, 2024 by Pulumiverse

dynatrace.ContainerBuiltinRule

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.1 published on Monday, Nov 25, 2024 by Pulumiverse

    Create ContainerBuiltinRule Resource

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

    Constructor syntax

    new ContainerBuiltinRule(name: string, args: ContainerBuiltinRuleArgs, opts?: CustomResourceOptions);
    @overload
    def ContainerBuiltinRule(resource_name: str,
                             args: ContainerBuiltinRuleArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContainerBuiltinRule(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             ignore_docker_pause_container: Optional[bool] = None,
                             ignore_kubernetes_pause_container: Optional[bool] = None,
                             ignore_open_shift_build_pod_name: Optional[bool] = None,
                             ignore_open_shift_sdn_namespace: Optional[bool] = None)
    func NewContainerBuiltinRule(ctx *Context, name string, args ContainerBuiltinRuleArgs, opts ...ResourceOption) (*ContainerBuiltinRule, error)
    public ContainerBuiltinRule(string name, ContainerBuiltinRuleArgs args, CustomResourceOptions? opts = null)
    public ContainerBuiltinRule(String name, ContainerBuiltinRuleArgs args)
    public ContainerBuiltinRule(String name, ContainerBuiltinRuleArgs args, CustomResourceOptions options)
    
    type: dynatrace:ContainerBuiltinRule
    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 ContainerBuiltinRuleArgs
    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 ContainerBuiltinRuleArgs
    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 ContainerBuiltinRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContainerBuiltinRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerBuiltinRuleArgs
    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 containerBuiltinRuleResource = new Dynatrace.ContainerBuiltinRule("containerBuiltinRuleResource", new()
    {
        IgnoreDockerPauseContainer = false,
        IgnoreKubernetesPauseContainer = false,
        IgnoreOpenShiftBuildPodName = false,
        IgnoreOpenShiftSdnNamespace = false,
    });
    
    example, err := dynatrace.NewContainerBuiltinRule(ctx, "containerBuiltinRuleResource", &dynatrace.ContainerBuiltinRuleArgs{
    	IgnoreDockerPauseContainer:     pulumi.Bool(false),
    	IgnoreKubernetesPauseContainer: pulumi.Bool(false),
    	IgnoreOpenShiftBuildPodName:    pulumi.Bool(false),
    	IgnoreOpenShiftSdnNamespace:    pulumi.Bool(false),
    })
    
    var containerBuiltinRuleResource = new ContainerBuiltinRule("containerBuiltinRuleResource", ContainerBuiltinRuleArgs.builder()
        .ignoreDockerPauseContainer(false)
        .ignoreKubernetesPauseContainer(false)
        .ignoreOpenShiftBuildPodName(false)
        .ignoreOpenShiftSdnNamespace(false)
        .build());
    
    container_builtin_rule_resource = dynatrace.ContainerBuiltinRule("containerBuiltinRuleResource",
        ignore_docker_pause_container=False,
        ignore_kubernetes_pause_container=False,
        ignore_open_shift_build_pod_name=False,
        ignore_open_shift_sdn_namespace=False)
    
    const containerBuiltinRuleResource = new dynatrace.ContainerBuiltinRule("containerBuiltinRuleResource", {
        ignoreDockerPauseContainer: false,
        ignoreKubernetesPauseContainer: false,
        ignoreOpenShiftBuildPodName: false,
        ignoreOpenShiftSdnNamespace: false,
    });
    
    type: dynatrace:ContainerBuiltinRule
    properties:
        ignoreDockerPauseContainer: false
        ignoreKubernetesPauseContainer: false
        ignoreOpenShiftBuildPodName: false
        ignoreOpenShiftSdnNamespace: false
    

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

    IgnoreDockerPauseContainer bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    IgnoreKubernetesPauseContainer bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    IgnoreOpenShiftBuildPodName bool
    Disable monitoring of intermediate containers created during image build.
    IgnoreOpenShiftSdnNamespace bool
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    IgnoreDockerPauseContainer bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    IgnoreKubernetesPauseContainer bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    IgnoreOpenShiftBuildPodName bool
    Disable monitoring of intermediate containers created during image build.
    IgnoreOpenShiftSdnNamespace bool
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    ignoreDockerPauseContainer Boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreKubernetesPauseContainer Boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreOpenShiftBuildPodName Boolean
    Disable monitoring of intermediate containers created during image build.
    ignoreOpenShiftSdnNamespace Boolean
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    ignoreDockerPauseContainer boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreKubernetesPauseContainer boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreOpenShiftBuildPodName boolean
    Disable monitoring of intermediate containers created during image build.
    ignoreOpenShiftSdnNamespace boolean
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    ignore_docker_pause_container bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignore_kubernetes_pause_container bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignore_open_shift_build_pod_name bool
    Disable monitoring of intermediate containers created during image build.
    ignore_open_shift_sdn_namespace bool
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    ignoreDockerPauseContainer Boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreKubernetesPauseContainer Boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreOpenShiftBuildPodName Boolean
    Disable monitoring of intermediate containers created during image build.
    ignoreOpenShiftSdnNamespace Boolean
    Disable monitoring of platform internal containers in the openshift-sdn namespace.

    Outputs

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

    Get an existing ContainerBuiltinRule 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?: ContainerBuiltinRuleState, opts?: CustomResourceOptions): ContainerBuiltinRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ignore_docker_pause_container: Optional[bool] = None,
            ignore_kubernetes_pause_container: Optional[bool] = None,
            ignore_open_shift_build_pod_name: Optional[bool] = None,
            ignore_open_shift_sdn_namespace: Optional[bool] = None) -> ContainerBuiltinRule
    func GetContainerBuiltinRule(ctx *Context, name string, id IDInput, state *ContainerBuiltinRuleState, opts ...ResourceOption) (*ContainerBuiltinRule, error)
    public static ContainerBuiltinRule Get(string name, Input<string> id, ContainerBuiltinRuleState? state, CustomResourceOptions? opts = null)
    public static ContainerBuiltinRule get(String name, Output<String> id, ContainerBuiltinRuleState 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:
    IgnoreDockerPauseContainer bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    IgnoreKubernetesPauseContainer bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    IgnoreOpenShiftBuildPodName bool
    Disable monitoring of intermediate containers created during image build.
    IgnoreOpenShiftSdnNamespace bool
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    IgnoreDockerPauseContainer bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    IgnoreKubernetesPauseContainer bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    IgnoreOpenShiftBuildPodName bool
    Disable monitoring of intermediate containers created during image build.
    IgnoreOpenShiftSdnNamespace bool
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    ignoreDockerPauseContainer Boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreKubernetesPauseContainer Boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreOpenShiftBuildPodName Boolean
    Disable monitoring of intermediate containers created during image build.
    ignoreOpenShiftSdnNamespace Boolean
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    ignoreDockerPauseContainer boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreKubernetesPauseContainer boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreOpenShiftBuildPodName boolean
    Disable monitoring of intermediate containers created during image build.
    ignoreOpenShiftSdnNamespace boolean
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    ignore_docker_pause_container bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignore_kubernetes_pause_container bool
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignore_open_shift_build_pod_name bool
    Disable monitoring of intermediate containers created during image build.
    ignore_open_shift_sdn_namespace bool
    Disable monitoring of platform internal containers in the openshift-sdn namespace.
    ignoreDockerPauseContainer Boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreKubernetesPauseContainer Boolean
    Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
    ignoreOpenShiftBuildPodName Boolean
    Disable monitoring of intermediate containers created during image build.
    ignoreOpenShiftSdnNamespace Boolean
    Disable monitoring of platform internal containers in the openshift-sdn namespace.

    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.1 published on Monday, Nov 25, 2024 by Pulumiverse