dynatrace.K8sMonitoring
Explore with Pulumi AI
Create K8sMonitoring Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new K8sMonitoring(name: string, args: K8sMonitoringArgs, opts?: CustomResourceOptions);
@overload
def K8sMonitoring(resource_name: str,
args: K8sMonitoringArgs,
opts: Optional[ResourceOptions] = None)
@overload
def K8sMonitoring(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_application_pipeline_enabled: Optional[bool] = None,
event_processing_active: Optional[bool] = None,
open_metrics_builtin_enabled: Optional[bool] = None,
open_metrics_pipeline_enabled: Optional[bool] = None,
event_patterns: Optional[K8sMonitoringEventPatternsArgs] = None,
filter_events: Optional[bool] = None,
include_all_fdi_events: Optional[bool] = None,
pvc_monitoring_enabled: Optional[bool] = None,
scope: Optional[str] = None)
func NewK8sMonitoring(ctx *Context, name string, args K8sMonitoringArgs, opts ...ResourceOption) (*K8sMonitoring, error)
public K8sMonitoring(string name, K8sMonitoringArgs args, CustomResourceOptions? opts = null)
public K8sMonitoring(String name, K8sMonitoringArgs args)
public K8sMonitoring(String name, K8sMonitoringArgs args, CustomResourceOptions options)
type: dynatrace:K8sMonitoring
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 K8sMonitoringArgs
- 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 K8sMonitoringArgs
- 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 K8sMonitoringArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args K8sMonitoringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args K8sMonitoringArgs
- 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 k8sMonitoringResource = new Dynatrace.K8sMonitoring("k8sMonitoringResource", new()
{
CloudApplicationPipelineEnabled = false,
EventProcessingActive = false,
OpenMetricsBuiltinEnabled = false,
OpenMetricsPipelineEnabled = false,
EventPatterns = new Dynatrace.Inputs.K8sMonitoringEventPatternsArgs
{
EventPatterns = new[]
{
new Dynatrace.Inputs.K8sMonitoringEventPatternsEventPatternArgs
{
Active = false,
Label = "string",
Pattern = "string",
},
},
},
FilterEvents = false,
IncludeAllFdiEvents = false,
Scope = "string",
});
example, err := dynatrace.NewK8sMonitoring(ctx, "k8sMonitoringResource", &dynatrace.K8sMonitoringArgs{
CloudApplicationPipelineEnabled: pulumi.Bool(false),
EventProcessingActive: pulumi.Bool(false),
OpenMetricsBuiltinEnabled: pulumi.Bool(false),
OpenMetricsPipelineEnabled: pulumi.Bool(false),
EventPatterns: &dynatrace.K8sMonitoringEventPatternsArgs{
EventPatterns: dynatrace.K8sMonitoringEventPatternsEventPatternArray{
&dynatrace.K8sMonitoringEventPatternsEventPatternArgs{
Active: pulumi.Bool(false),
Label: pulumi.String("string"),
Pattern: pulumi.String("string"),
},
},
},
FilterEvents: pulumi.Bool(false),
IncludeAllFdiEvents: pulumi.Bool(false),
Scope: pulumi.String("string"),
})
var k8sMonitoringResource = new K8sMonitoring("k8sMonitoringResource", K8sMonitoringArgs.builder()
.cloudApplicationPipelineEnabled(false)
.eventProcessingActive(false)
.openMetricsBuiltinEnabled(false)
.openMetricsPipelineEnabled(false)
.eventPatterns(K8sMonitoringEventPatternsArgs.builder()
.eventPatterns(K8sMonitoringEventPatternsEventPatternArgs.builder()
.active(false)
.label("string")
.pattern("string")
.build())
.build())
.filterEvents(false)
.includeAllFdiEvents(false)
.scope("string")
.build());
k8s_monitoring_resource = dynatrace.K8sMonitoring("k8sMonitoringResource",
cloud_application_pipeline_enabled=False,
event_processing_active=False,
open_metrics_builtin_enabled=False,
open_metrics_pipeline_enabled=False,
event_patterns={
"event_patterns": [{
"active": False,
"label": "string",
"pattern": "string",
}],
},
filter_events=False,
include_all_fdi_events=False,
scope="string")
const k8sMonitoringResource = new dynatrace.K8sMonitoring("k8sMonitoringResource", {
cloudApplicationPipelineEnabled: false,
eventProcessingActive: false,
openMetricsBuiltinEnabled: false,
openMetricsPipelineEnabled: false,
eventPatterns: {
eventPatterns: [{
active: false,
label: "string",
pattern: "string",
}],
},
filterEvents: false,
includeAllFdiEvents: false,
scope: "string",
});
type: dynatrace:K8sMonitoring
properties:
cloudApplicationPipelineEnabled: false
eventPatterns:
eventPatterns:
- active: false
label: string
pattern: string
eventProcessingActive: false
filterEvents: false
includeAllFdiEvents: false
openMetricsBuiltinEnabled: false
openMetricsPipelineEnabled: false
scope: string
K8sMonitoring 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 K8sMonitoring resource accepts the following input properties:
- Cloud
Application boolPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- Event
Processing boolActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- Open
Metrics boolBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- Open
Metrics boolPipeline Enabled - For annotation guidance, see the documentation.
- Event
Patterns Pulumiverse.Dynatrace. Inputs. K8s Monitoring Event Patterns - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- Filter
Events bool - Include only events specified by Events Field Selectors
- Include
All boolFdi Events - For a list of included events, see the documentation.
- Pvc
Monitoring boolEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- Scope string
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- Cloud
Application boolPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- Event
Processing boolActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- Open
Metrics boolBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- Open
Metrics boolPipeline Enabled - For annotation guidance, see the documentation.
- Event
Patterns K8sMonitoring Event Patterns Args - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- Filter
Events bool - Include only events specified by Events Field Selectors
- Include
All boolFdi Events - For a list of included events, see the documentation.
- Pvc
Monitoring boolEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- Scope string
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- cloud
Application BooleanPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- event
Processing BooleanActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- open
Metrics BooleanBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- open
Metrics BooleanPipeline Enabled - For annotation guidance, see the documentation.
- event
Patterns K8sMonitoring Event Patterns - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- filter
Events Boolean - Include only events specified by Events Field Selectors
- include
All BooleanFdi Events - For a list of included events, see the documentation.
- pvc
Monitoring BooleanEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- scope String
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- cloud
Application booleanPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- event
Processing booleanActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- open
Metrics booleanBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- open
Metrics booleanPipeline Enabled - For annotation guidance, see the documentation.
- event
Patterns K8sMonitoring Event Patterns - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- filter
Events boolean - Include only events specified by Events Field Selectors
- include
All booleanFdi Events - For a list of included events, see the documentation.
- pvc
Monitoring booleanEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- scope string
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- cloud_
application_ boolpipeline_ enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- event_
processing_ boolactive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- open_
metrics_ boolbuiltin_ enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- open_
metrics_ boolpipeline_ enabled - For annotation guidance, see the documentation.
- event_
patterns K8sMonitoring Event Patterns Args - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- filter_
events bool - Include only events specified by Events Field Selectors
- include_
all_ boolfdi_ events - For a list of included events, see the documentation.
- pvc_
monitoring_ boolenabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- scope str
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- cloud
Application BooleanPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- event
Processing BooleanActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- open
Metrics BooleanBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- open
Metrics BooleanPipeline Enabled - For annotation guidance, see the documentation.
- event
Patterns Property Map - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- filter
Events Boolean - Include only events specified by Events Field Selectors
- include
All BooleanFdi Events - For a list of included events, see the documentation.
- pvc
Monitoring BooleanEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- scope String
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
Outputs
All input properties are implicitly available as output properties. Additionally, the K8sMonitoring 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 K8sMonitoring Resource
Get an existing K8sMonitoring 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?: K8sMonitoringState, opts?: CustomResourceOptions): K8sMonitoring
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cloud_application_pipeline_enabled: Optional[bool] = None,
event_patterns: Optional[K8sMonitoringEventPatternsArgs] = None,
event_processing_active: Optional[bool] = None,
filter_events: Optional[bool] = None,
include_all_fdi_events: Optional[bool] = None,
open_metrics_builtin_enabled: Optional[bool] = None,
open_metrics_pipeline_enabled: Optional[bool] = None,
pvc_monitoring_enabled: Optional[bool] = None,
scope: Optional[str] = None) -> K8sMonitoring
func GetK8sMonitoring(ctx *Context, name string, id IDInput, state *K8sMonitoringState, opts ...ResourceOption) (*K8sMonitoring, error)
public static K8sMonitoring Get(string name, Input<string> id, K8sMonitoringState? state, CustomResourceOptions? opts = null)
public static K8sMonitoring get(String name, Output<String> id, K8sMonitoringState 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.
- Cloud
Application boolPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- Event
Patterns Pulumiverse.Dynatrace. Inputs. K8s Monitoring Event Patterns - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- Event
Processing boolActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- Filter
Events bool - Include only events specified by Events Field Selectors
- Include
All boolFdi Events - For a list of included events, see the documentation.
- Open
Metrics boolBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- Open
Metrics boolPipeline Enabled - For annotation guidance, see the documentation.
- Pvc
Monitoring boolEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- Scope string
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- Cloud
Application boolPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- Event
Patterns K8sMonitoring Event Patterns Args - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- Event
Processing boolActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- Filter
Events bool - Include only events specified by Events Field Selectors
- Include
All boolFdi Events - For a list of included events, see the documentation.
- Open
Metrics boolBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- Open
Metrics boolPipeline Enabled - For annotation guidance, see the documentation.
- Pvc
Monitoring boolEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- Scope string
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- cloud
Application BooleanPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- event
Patterns K8sMonitoring Event Patterns - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- event
Processing BooleanActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- filter
Events Boolean - Include only events specified by Events Field Selectors
- include
All BooleanFdi Events - For a list of included events, see the documentation.
- open
Metrics BooleanBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- open
Metrics BooleanPipeline Enabled - For annotation guidance, see the documentation.
- pvc
Monitoring BooleanEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- scope String
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- cloud
Application booleanPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- event
Patterns K8sMonitoring Event Patterns - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- event
Processing booleanActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- filter
Events boolean - Include only events specified by Events Field Selectors
- include
All booleanFdi Events - For a list of included events, see the documentation.
- open
Metrics booleanBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- open
Metrics booleanPipeline Enabled - For annotation guidance, see the documentation.
- pvc
Monitoring booleanEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- scope string
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- cloud_
application_ boolpipeline_ enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- event_
patterns K8sMonitoring Event Patterns Args - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- event_
processing_ boolactive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- filter_
events bool - Include only events specified by Events Field Selectors
- include_
all_ boolfdi_ events - For a list of included events, see the documentation.
- open_
metrics_ boolbuiltin_ enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- open_
metrics_ boolpipeline_ enabled - For annotation guidance, see the documentation.
- pvc_
monitoring_ boolenabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- scope str
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
- cloud
Application BooleanPipeline Enabled - Monitor Kubernetes namespaces, services, workloads, and pods
- event
Patterns Property Map - Define Kubernetes event filters to ingest events into your environment. For more details, see the documentation.
- event
Processing BooleanActive - All events are monitored unless event filters are specified. All ingested events are subject to licensing by default.
- filter
Events Boolean - Include only events specified by Events Field Selectors
- include
All BooleanFdi Events - For a list of included events, see the documentation.
- open
Metrics BooleanBuiltin Enabled - Workload and node resource metrics are based on a subset of cAdvisor metrics. Depending on your Kubernetes cluster size, this may increase the CPU/memory resource consumption of your ActiveGate.
- open
Metrics BooleanPipeline Enabled - For annotation guidance, see the documentation.
- pvc
Monitoring BooleanEnabled - To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
- scope String
- The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
Supporting Types
K8sMonitoringEventPatterns, K8sMonitoringEventPatternsArgs
K8sMonitoringEventPatternsEventPattern, K8sMonitoringEventPatternsEventPatternArgs
- Active bool
- Activate
- Label string
- Field selector name
- Pattern string
- The set of allowed characters for this field has been extended with ActiveGate version 1.259. For more details, see the documentation.
- Active bool
- Activate
- Label string
- Field selector name
- Pattern string
- The set of allowed characters for this field has been extended with ActiveGate version 1.259. For more details, see the documentation.
- active Boolean
- Activate
- label String
- Field selector name
- pattern String
- The set of allowed characters for this field has been extended with ActiveGate version 1.259. For more details, see the documentation.
- active boolean
- Activate
- label string
- Field selector name
- pattern string
- The set of allowed characters for this field has been extended with ActiveGate version 1.259. For more details, see the documentation.
- active bool
- Activate
- label str
- Field selector name
- pattern str
- The set of allowed characters for this field has been extended with ActiveGate version 1.259. For more details, see the documentation.
- active Boolean
- Activate
- label String
- Field selector name
- pattern String
- The set of allowed characters for this field has been extended with ActiveGate version 1.259. For more details, see the documentation.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.