Class V1Certificate
A Certificate resource should be created to ensure an up to date and signed x509 certificate is stored in the Kubernetes
Secret resource named in spec.secretName. \n The stored certificate will be renewed before it expires
(as configured by spec.renewBefore)."
Namespace: Neon.Kube.Resources.CertManager
Assembly: Neon.Kube.Resources.dll
Syntax
[KubernetesEntity(Group = "cert-manager.io", Kind = "Certificate", ApiVersion = "v1", PluralName = "certificates")]
[Ignore]
public class V1Certificate
Constructors
V1Certificate()
Initializes a new instance of the Certificate class.
Declaration
public V1Certificate()
Fields
KubeApiVersion
The API version this Kubernetes type belongs to.
Declaration
public const string KubeApiVersion = "v1"
Field Value
| Type | Description |
|---|---|
| string |
KubeGroup
The Group this Kubernetes type belongs to.
Declaration
public const string KubeGroup = "cert-manager.io"
Field Value
| Type | Description |
|---|---|
| string |
KubeKind
The Kubernetes named schema this object is based on.
Declaration
public const string KubeKind = "Certificate"
Field Value
| Type | Description |
|---|---|
| string |
KubePlural
The plural name of the entity.
Declaration
public const string KubePlural = "certificates"
Field Value
| Type | Description |
|---|---|
| string |
Properties
ApiVersion
Gets or sets 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/sig-architecture/api-conventions.md#resources
Declaration
[JsonProperty(PropertyName = "apiVersion")]
public string ApiVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Kind
Gets or sets 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/sig-architecture/api-conventions.md#types-kinds
Declaration
[JsonProperty(PropertyName = "kind")]
public string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
Gets or sets standard object metadata.
Declaration
[JsonProperty(PropertyName = "metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| V1ObjectMeta |
Spec
Gets or sets specification of the desired behavior of the Certificate.
Declaration
[JsonProperty(PropertyName = "spec")]
public V1CertificateSpec Spec { get; set; }
Property Value
| Type | Description |
|---|---|
| V1CertificateSpec |
Status
Status of the Certificate. This is set and managed automatically.
Declaration
[JsonProperty(PropertyName = "status")]
public V1CertificateStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| V1CertificateStatus |
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate()
Exceptions
| Type | Condition |
|---|---|
| ValidationException | Thrown if validation fails. |