Class CustomResourceArgs
Represents a resource definition we'd use to create an instance of a Kubernetes
CustomResourceDefinition (CRD). For example, the CoreOS Prometheus operator
exposes a CRD monitoring.coreos.com/ServiceMonitor; to create a ServiceMonitor, we'd
pass a CustomResourceArgs containing the ServiceMonitor definition to
CustomResource.
NOTE: This type is abstract. You need to inherit from it and define all the properties of a specific custom resource in the derived class.
Inherited Members
Namespace: Pulumi.Kubernetes.ApiExtensions
Assembly: Pulumi.Kubernetes.dll
Syntax
public abstract class CustomResourceArgs : ResourceArgs
Constructors
View SourceCustomResourceArgs(String, String)
Declaration
protected CustomResourceArgs(string apiVersion, string kind)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | apiVersion | |
| System.String | kind |
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/api-conventions.md#resources
Declaration
public Input<string> ApiVersion { get; }
Property Value
| Type | Description |
|---|---|
| Input<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/api-conventions.md#types-kinds
Declaration
public Input<string> Kind { get; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Metadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Declaration
public Input<ObjectMetaArgs> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ObjectMetaArgs> |