Class CustomResourceDefinitionVersionArgs
CustomResourceDefinitionVersion describes a version for CRD.
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Inputs.ApiExtensions.V1Beta1
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. 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 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 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 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. 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 Input<CustomResourceSubresourcesArgs> Subresources { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<CustomResourceSubresourcesArgs> |