Class CustomResourceDefinitionVersion
CustomResourceDefinitionVersion describes a version for CRD.
Inheritance
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1Beta1
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. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version 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 and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead).
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. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead).
Declaration
public readonly CustomResourceSubresources Subresources
Field Value
| Type | Description |
|---|---|
| CustomResourceSubresources |