dynatrace.ContainerRule
Explore with Pulumi AI
Create ContainerRule Resource
new ContainerRule(name: string, args: ContainerRuleArgs, opts?: CustomResourceOptions);
@overload
def ContainerRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
mode: Optional[str] = None,
operator: Optional[str] = None,
property: Optional[str] = None,
value: Optional[str] = None)
@overload
def ContainerRule(resource_name: str,
args: ContainerRuleArgs,
opts: Optional[ResourceOptions] = None)
func NewContainerRule(ctx *Context, name string, args ContainerRuleArgs, opts ...ResourceOption) (*ContainerRule, error)
public ContainerRule(string name, ContainerRuleArgs args, CustomResourceOptions? opts = null)
public ContainerRule(String name, ContainerRuleArgs args)
public ContainerRule(String name, ContainerRuleArgs args, CustomResourceOptions options)
type: dynatrace:ContainerRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerRuleArgs
- 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 ContainerRuleArgs
- 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 ContainerRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ContainerRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ContainerRule resource accepts the following input properties:
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- Mode string
Possible Values:
MONITORING_OFF
,MONITORING_ON
- Operator string
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- Property string
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- Value string
Condition value
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- Mode string
Possible Values:
MONITORING_OFF
,MONITORING_ON
- Operator string
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- Property string
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- Value string
Condition value
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- mode String
Possible Values:
MONITORING_OFF
,MONITORING_ON
- operator String
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- property String
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- value String
Condition value
- enabled boolean
This setting is enabled (
true
) or disabled (false
)- mode string
Possible Values:
MONITORING_OFF
,MONITORING_ON
- operator string
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- property string
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- value string
Condition value
- enabled bool
This setting is enabled (
true
) or disabled (false
)- mode str
Possible Values:
MONITORING_OFF
,MONITORING_ON
- operator str
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- property str
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- value str
Condition value
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- mode String
Possible Values:
MONITORING_OFF
,MONITORING_ON
- operator String
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- property String
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- value String
Condition value
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerRule 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 ContainerRule Resource
Get an existing ContainerRule 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?: ContainerRuleState, opts?: CustomResourceOptions): ContainerRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
mode: Optional[str] = None,
operator: Optional[str] = None,
property: Optional[str] = None,
value: Optional[str] = None) -> ContainerRule
func GetContainerRule(ctx *Context, name string, id IDInput, state *ContainerRuleState, opts ...ResourceOption) (*ContainerRule, error)
public static ContainerRule Get(string name, Input<string> id, ContainerRuleState? state, CustomResourceOptions? opts = null)
public static ContainerRule get(String name, Output<String> id, ContainerRuleState 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.
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- Mode string
Possible Values:
MONITORING_OFF
,MONITORING_ON
- Operator string
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- Property string
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- Value string
Condition value
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- Mode string
Possible Values:
MONITORING_OFF
,MONITORING_ON
- Operator string
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- Property string
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- Value string
Condition value
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- mode String
Possible Values:
MONITORING_OFF
,MONITORING_ON
- operator String
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- property String
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- value String
Condition value
- enabled boolean
This setting is enabled (
true
) or disabled (false
)- mode string
Possible Values:
MONITORING_OFF
,MONITORING_ON
- operator string
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- property string
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- value string
Condition value
- enabled bool
This setting is enabled (
true
) or disabled (false
)- mode str
Possible Values:
MONITORING_OFF
,MONITORING_ON
- operator str
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- property str
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- value str
Condition value
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- mode String
Possible Values:
MONITORING_OFF
,MONITORING_ON
- operator String
Possible Values:
CONTAINS
,ENDS
,EQUALS
,EXISTS
,NOT_CONTAINS
,NOT_ENDS
,NOT_EQUALS
,NOT_EXISTS
,NOT_STARTS
,STARTS
- property String
Possible Values:
CONTAINER_NAME
,IMAGE_NAME
,KUBERNETES_BASEPODNAME
,KUBERNETES_CONTAINERNAME
,KUBERNETES_FULLPODNAME
,KUBERNETES_NAMESPACE
,KUBERNETES_PODUID
- value String
Condition value
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
dynatrace
Terraform Provider.