Class CustomResourceDefinitionVersion
CustomResourceDefinitionVersion describes a version for CRD.
Inheritance
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class CustomResourceDefinitionVersion
Fields
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 readonly ImmutableArray<CustomResourceColumnDefinition> AdditionalPrinterColumns
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<CustomResourceColumnDefinition> |
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 readonly string Name
Field Value
| Type | Description |
|---|---|
| System.String |
Schema
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
Declaration
public readonly CustomResourceValidation Schema
Field Value
| Type | Description |
|---|---|
| CustomResourceValidation |
Served
served is a flag enabling/disabling this version from being served via REST APIs
Declaration
public readonly bool Served
Field Value
| Type | Description |
|---|---|
| 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 readonly bool Storage
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Subresources
subresources specify what subresources this version of the defined custom resource have.
Declaration
public readonly CustomResourceSubresources Subresources
Field Value
| Type | Description |
|---|---|
| CustomResourceSubresources |