Class CustomResourceDefinitionVersionArgs
CustomResourceDefinitionVersion describes a version for CRD.
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Inputs.ApiExtensions.V1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class CustomResourceDefinitionVersionArgs : ResourceArgs
Properties
View SourceAdditionalPrinterColumns
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.
Declaration
public InputList<CustomResourceColumnDefinitionArgs> AdditionalPrinterColumns { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<CustomResourceColumnDefinitionArgs> |
Name
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are
served under this version at /apis/&lt;group&gt;/&lt;version&gt;/...
if served is true.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Schema
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
Declaration
public Input<CustomResourceValidationArgs> Schema { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<CustomResourceValidationArgs> |
Served
served is a flag enabling/disabling this version from being served via REST APIs
Declaration
public Input<bool> Served { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Storage
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
Declaration
public Input<bool> Storage { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Subresources
subresources specify what subresources this version of the defined custom resource have.
Declaration
public Input<CustomResourceSubresourcesArgs> Subresources { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<CustomResourceSubresourcesArgs> |