dynatrace.ContainerBuiltinRule
Explore with Pulumi AI
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:
- Ignore
Docker boolPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- Ignore
Kubernetes boolPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- Ignore
Open boolShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- Ignore
Open boolShift Sdn Namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- Ignore
Docker boolPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- Ignore
Kubernetes boolPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- Ignore
Open boolShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- Ignore
Open boolShift Sdn Namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- ignore
Docker BooleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Kubernetes BooleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Open BooleanShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- ignore
Open BooleanShift Sdn Namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- ignore
Docker booleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Kubernetes booleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Open booleanShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- ignore
Open booleanShift Sdn Namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- ignore_
docker_ boolpause_ container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore_
kubernetes_ boolpause_ container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore_
open_ boolshift_ build_ pod_ name - Disable monitoring of intermediate containers created during image build.
- ignore_
open_ boolshift_ sdn_ namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- ignore
Docker BooleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Kubernetes BooleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Open BooleanShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- ignore
Open BooleanShift Sdn Namespace - 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.
- Ignore
Docker boolPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- Ignore
Kubernetes boolPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- Ignore
Open boolShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- Ignore
Open boolShift Sdn Namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- Ignore
Docker boolPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- Ignore
Kubernetes boolPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- Ignore
Open boolShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- Ignore
Open boolShift Sdn Namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- ignore
Docker BooleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Kubernetes BooleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Open BooleanShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- ignore
Open BooleanShift Sdn Namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- ignore
Docker booleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Kubernetes booleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Open booleanShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- ignore
Open booleanShift Sdn Namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- ignore_
docker_ boolpause_ container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore_
kubernetes_ boolpause_ container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore_
open_ boolshift_ build_ pod_ name - Disable monitoring of intermediate containers created during image build.
- ignore_
open_ boolshift_ sdn_ namespace - Disable monitoring of platform internal containers in the openshift-sdn namespace.
- ignore
Docker BooleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Kubernetes BooleanPause Container - Disable monitoring of platform internal pause containers in Kubernetes and OpenShift.
- ignore
Open BooleanShift Build Pod Name - Disable monitoring of intermediate containers created during image build.
- ignore
Open BooleanShift Sdn Namespace - 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.