Class CustomResource
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 CustomResource, passing the
ServiceMonitor resource definition as an argument.
Inherited Members
Namespace: Pulumi.Kubernetes.ApiExtensions
Assembly: Pulumi.Kubernetes.dll
Syntax
public class CustomResource : KubernetesResource
Constructors
View SourceCustomResource(String, CustomResourceArgs, CustomResourceOptions)
Declaration
public CustomResource(string name, CustomResourceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| CustomResourceArgs | args | |
| CustomResourceOptions | options |
Properties
View SourceApiVersion
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/sig-architecture/api-conventions.md#resources
Declaration
public Output<string> ApiVersion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Kind
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/sig-architecture/api-conventions.md#types-kinds
Declaration
public Output<string> Kind { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Metadata
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
Declaration
public Output<ObjectMeta> Metadata { get; }
Property Value
| Type | Description |
|---|---|
| Output<ObjectMeta> |