import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * CustomResourcePatch represents an instance of a CustomResourceDefinition (CRD). For example, the * CoreOS Prometheus operator exposes a CRD `monitoring.coreos.com/ServiceMonitor`; to * instantiate this as a Pulumi resource, one could call `new CustomResourcePatch`, passing the * `ServiceMonitor` resource definition as an argument. */ export declare class CustomResourcePatch extends pulumi.CustomResource { /** * APIVersion defines the versioned schema of this representation of an object. Servers should * convert recognized schemas to the latest internal value, and may reject unrecognized * values. More info: * https://git.k8s.io/community/contributors/devel/api-conventions.md#resources */ readonly apiVersion: pulumi.Output; /** * Kind is a string value representing the REST resource this object represents. Servers may * infer this from the endpoint the client submits requests to. Cannot be updated. In * CamelCase. More info: * https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds */ readonly kind: pulumi.Output; /** * Standard object metadata; More info: * https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. */ readonly metadata: pulumi.Output; getInputs(): CustomResourcePatchArgs; private readonly __inputs; /** * Create a CustomResourcePatch 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: CustomResourcePatchArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a CustomResourcePatch resource. * * NOTE: This type is fairly loose, since other than `apiVersion` and `kind`, there are no * fields required across all CRDs. */ export interface CustomResourcePatchArgs { /** * APIVersion defines the versioned schema of this representation of an object. Servers should * convert recognized schemas to the latest internal value, and may reject unrecognized * values. More info: * https://git.k8s.io/community/contributors/devel/api-conventions.md#resources */ apiVersion: string; /** * Kind is a string value representing the REST resource this object represents. Servers may * infer this from the endpoint the client submits requests to. Cannot be updated. In * CamelCase. More info: * https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds */ kind: string; /** * Standard object metadata; More info: * https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. */ metadata?: pulumi.Input; [othersFields: string]: pulumi.Input; }