Show / Hide Table of Contents

Namespace Pulumi.Kubernetes.ApiExtensions

Classes

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.

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.

Back to top Copyright 2016-2020, Pulumi Corporation.