cdktf-crd
Version:
61 lines (60 loc) • 3.46 kB
TypeScript
import { Manifest, type ManifestConfig } from "@cdktf/provider-kubernetes/lib/manifest";
import { Construct } from "constructs";
export declare class MonitoringCnrmCloudGoogleComMonitoringServiceV1beta1 extends Manifest {
constructor(scope: Construct, id: string, config: MonitoringCnrmCloudGoogleComMonitoringServiceV1beta1Config);
}
export interface MonitoringCnrmCloudGoogleComMonitoringServiceV1beta1Config extends ManifestConfig {
manifest: {
apiVersion: "monitoring.cnrm.cloud.google.com/v1beta1";
kind: "MonitoringService";
metadata: {
annotations?: {
[key: string]: string;
};
labels?: {
[key: string]: string;
};
name: string;
namespace?: string;
};
spec: {
/** @description Name used for UI elements listing this Service. */
displayName?: string;
/** @description Immutable. The Project that this resource belongs to. */
projectRef: {
/** @description The project for the resource
*
* Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`). */
external?: string;
/** @description Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
name?: string;
/** @description Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ */
namespace?: string;
} & (unknown | unknown);
/** @description Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
resourceID?: string;
/** @description Configuration for how to query telemetry on a Service. */
telemetry?: {
/** @description The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names. */
resourceName?: string;
};
};
status?: {
/** @description Conditions represent the latest available observation of the resource's current state. */
conditions?: {
/** @description Last time the condition transitioned from one status to another. */
lastTransitionTime?: string;
/** @description Human-readable message indicating details about last transition. */
message?: string;
/** @description Unique, one-word, CamelCase reason for the condition's last transition. */
reason?: string;
/** @description Status is the status of the condition. Can be True, False, Unknown. */
status?: string;
/** @description Type is the type of the condition. */
type?: string;
}[];
/** @description ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
observedGeneration?: number;
};
};
}