@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
306 lines (305 loc) • 14.4 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class Kubernetes extends pulumi.CustomResource {
/**
* Get an existing Kubernetes resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KubernetesState, opts?: pulumi.CustomResourceOptions): Kubernetes;
/**
* Returns true if the given object is an instance of Kubernetes. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Kubernetes;
/**
* ActiveGate Group
*/
readonly activeGateGroup: pulumi.Output<string | undefined>;
/**
* Create a bearer token for [Kubernetes](https://dt-url.net/og43szq) or [OpenShift](https://dt-url.net/7l43xtp).
*/
readonly authToken: pulumi.Output<string | undefined>;
/**
* Require valid certificates for communication with API server (recommended)
*/
readonly certificateCheckEnabled: pulumi.Output<boolean | undefined>;
/**
* Monitor Kubernetes namespaces, services, workloads, and pods
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
readonly cloudApplicationPipelineEnabled: pulumi.Output<boolean | undefined>;
/**
* Unique ID of the cluster, the containerized ActiveGate is deployed to. Defaults to the UUID of the kube-system namespace. The cluster ID of containerized ActiveGates is shown on the Deployment status screen.
*/
readonly clusterId: pulumi.Output<string | undefined>;
/**
* For more information on local Kubernetes API monitoring, see the [documentation](https://dt-url.net/6q62uep).
*/
readonly clusterIdEnabled: pulumi.Output<boolean>;
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
readonly enabled: pulumi.Output<boolean>;
/**
* Get the API URL for [Kubernetes](https://dt-url.net/kz23snj) or [OpenShift](https://dt-url.net/d623xgw).
*/
readonly endpointUrl: pulumi.Output<string | undefined>;
/**
* Define Kubernetes event filters to ingest events into your environment. For more details, see the [documentation](https://dt-url.net/2201p0u).
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
readonly eventPatterns: pulumi.Output<outputs.KubernetesEventPatterns | undefined>;
/**
* All events are monitored by default unless event filters are specified.
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
readonly eventProcessingActive: pulumi.Output<boolean | undefined>;
/**
* Include only events specified by Events Field Selectors
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
readonly filterEvents: pulumi.Output<boolean | undefined>;
/**
* Verify hostname in certificate against Kubernetes API URL
*/
readonly hostnameVerificationEnabled: pulumi.Output<boolean | undefined>;
/**
* For a list of included events, see the [documentation](https://dt-url.net/l61d02no).
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
readonly includeAllFdiEvents: pulumi.Output<boolean | undefined>;
/**
* Renaming the cluster breaks configurations that are based on its name (e.g., management zones, and alerting).
*/
readonly label: pulumi.Output<string>;
/**
* The workload 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.
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
readonly openMetricsBuiltinEnabled: pulumi.Output<boolean | undefined>;
/**
* For annotation guidance, see the [documentation](https://dt-url.net/g42i0ppw).
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
readonly openMetricsPipelineEnabled: pulumi.Output<boolean | undefined>;
/**
* To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
readonly pvcMonitoringEnabled: pulumi.Output<boolean | undefined>;
/**
* The scope of this setting (KUBERNETES_CLUSTER)
*/
readonly scope: pulumi.Output<string | undefined>;
/**
* Create a Kubernetes resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: KubernetesArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Kubernetes resources.
*/
export interface KubernetesState {
/**
* ActiveGate Group
*/
activeGateGroup?: pulumi.Input<string>;
/**
* Create a bearer token for [Kubernetes](https://dt-url.net/og43szq) or [OpenShift](https://dt-url.net/7l43xtp).
*/
authToken?: pulumi.Input<string>;
/**
* Require valid certificates for communication with API server (recommended)
*/
certificateCheckEnabled?: pulumi.Input<boolean>;
/**
* Monitor Kubernetes namespaces, services, workloads, and pods
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
cloudApplicationPipelineEnabled?: pulumi.Input<boolean>;
/**
* Unique ID of the cluster, the containerized ActiveGate is deployed to. Defaults to the UUID of the kube-system namespace. The cluster ID of containerized ActiveGates is shown on the Deployment status screen.
*/
clusterId?: pulumi.Input<string>;
/**
* For more information on local Kubernetes API monitoring, see the [documentation](https://dt-url.net/6q62uep).
*/
clusterIdEnabled?: pulumi.Input<boolean>;
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
enabled?: pulumi.Input<boolean>;
/**
* Get the API URL for [Kubernetes](https://dt-url.net/kz23snj) or [OpenShift](https://dt-url.net/d623xgw).
*/
endpointUrl?: pulumi.Input<string>;
/**
* Define Kubernetes event filters to ingest events into your environment. For more details, see the [documentation](https://dt-url.net/2201p0u).
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
eventPatterns?: pulumi.Input<inputs.KubernetesEventPatterns>;
/**
* All events are monitored by default unless event filters are specified.
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
eventProcessingActive?: pulumi.Input<boolean>;
/**
* Include only events specified by Events Field Selectors
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
filterEvents?: pulumi.Input<boolean>;
/**
* Verify hostname in certificate against Kubernetes API URL
*/
hostnameVerificationEnabled?: pulumi.Input<boolean>;
/**
* For a list of included events, see the [documentation](https://dt-url.net/l61d02no).
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
includeAllFdiEvents?: pulumi.Input<boolean>;
/**
* Renaming the cluster breaks configurations that are based on its name (e.g., management zones, and alerting).
*/
label?: pulumi.Input<string>;
/**
* The workload 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.
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
openMetricsBuiltinEnabled?: pulumi.Input<boolean>;
/**
* For annotation guidance, see the [documentation](https://dt-url.net/g42i0ppw).
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
openMetricsPipelineEnabled?: pulumi.Input<boolean>;
/**
* To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
pvcMonitoringEnabled?: pulumi.Input<boolean>;
/**
* The scope of this setting (KUBERNETES_CLUSTER)
*/
scope?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Kubernetes resource.
*/
export interface KubernetesArgs {
/**
* ActiveGate Group
*/
activeGateGroup?: pulumi.Input<string>;
/**
* Create a bearer token for [Kubernetes](https://dt-url.net/og43szq) or [OpenShift](https://dt-url.net/7l43xtp).
*/
authToken?: pulumi.Input<string>;
/**
* Require valid certificates for communication with API server (recommended)
*/
certificateCheckEnabled?: pulumi.Input<boolean>;
/**
* Monitor Kubernetes namespaces, services, workloads, and pods
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
cloudApplicationPipelineEnabled?: pulumi.Input<boolean>;
/**
* Unique ID of the cluster, the containerized ActiveGate is deployed to. Defaults to the UUID of the kube-system namespace. The cluster ID of containerized ActiveGates is shown on the Deployment status screen.
*/
clusterId?: pulumi.Input<string>;
/**
* For more information on local Kubernetes API monitoring, see the [documentation](https://dt-url.net/6q62uep).
*/
clusterIdEnabled: pulumi.Input<boolean>;
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
enabled: pulumi.Input<boolean>;
/**
* Get the API URL for [Kubernetes](https://dt-url.net/kz23snj) or [OpenShift](https://dt-url.net/d623xgw).
*/
endpointUrl?: pulumi.Input<string>;
/**
* Define Kubernetes event filters to ingest events into your environment. For more details, see the [documentation](https://dt-url.net/2201p0u).
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
eventPatterns?: pulumi.Input<inputs.KubernetesEventPatterns>;
/**
* All events are monitored by default unless event filters are specified.
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
eventProcessingActive?: pulumi.Input<boolean>;
/**
* Include only events specified by Events Field Selectors
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
filterEvents?: pulumi.Input<boolean>;
/**
* Verify hostname in certificate against Kubernetes API URL
*/
hostnameVerificationEnabled?: pulumi.Input<boolean>;
/**
* For a list of included events, see the [documentation](https://dt-url.net/l61d02no).
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
includeAllFdiEvents?: pulumi.Input<boolean>;
/**
* Renaming the cluster breaks configurations that are based on its name (e.g., management zones, and alerting).
*/
label: pulumi.Input<string>;
/**
* The workload 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.
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
openMetricsBuiltinEnabled?: pulumi.Input<boolean>;
/**
* For annotation guidance, see the [documentation](https://dt-url.net/g42i0ppw).
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
openMetricsPipelineEnabled?: pulumi.Input<boolean>;
/**
* To enable dashboards and alerts, add the Kubernetes persistent volume claims extension to your environment.
*
* @deprecated This field has been moved to a new schema, please utilize the resource `dynatrace.K8sMonitoring` to configure this field.
*/
pvcMonitoringEnabled?: pulumi.Input<boolean>;
/**
* The scope of this setting (KUBERNETES_CLUSTER)
*/
scope?: pulumi.Input<string>;
}