Show / Hide Table of Contents

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.

Inheritance
System.Object
InputArgs
ResourceArgs
CustomResourceArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.ApiExtensions
Assembly: Pulumi.Kubernetes.dll
Syntax
public abstract class CustomResourceArgs : ResourceArgs

Constructors

View Source

CustomResourceArgs(String, String)

Declaration
protected CustomResourceArgs(string apiVersion, string kind)
Parameters
Type Name Description
System.String apiVersion
System.String kind

Properties

View Source

ApiVersion

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.