Class V1CStorBlockDevice
Describes an OpenEBS cStor block device.
Namespace: Neon.Kube.Resources.OpenEBS
Assembly: Neon.Kube.Resources.dll
Syntax
[KubernetesEntity(Group = "openebs.io", Kind = "BlockDevice", ApiVersion = "v1alpha1", PluralName = "blockdevices")]
[Ignore]
public class V1CStorBlockDevice
Constructors
V1CStorBlockDevice()
Initializes a new instance of the V1CStorBlockDevice class.
Declaration
public V1CStorBlockDevice()
Fields
KubeApiVersion
The API version this Kubernetes type belongs to.
Declaration
public const string KubeApiVersion = "v1alpha1"
Field Value
Type | Description |
---|---|
string |
KubeGroup
The Group this Kubernetes type belongs to.
Declaration
public const string KubeGroup = "openebs.io"
Field Value
Type | Description |
---|---|
string |
KubeKind
The Kubernetes named schema this object is based on.
Declaration
public const string KubeKind = "BlockDevice"
Field Value
Type | Description |
---|---|
string |
KubePlural
The plural name of the entity.
Declaration
public const string KubePlural = "blockdevices"
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
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
public string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Gets or sets standard object metadata.
Declaration
public V1ObjectMeta Metadata { get; set; }
Property Value
Type | Description |
---|---|
V1ObjectMeta |
Spec
Gets or sets specification of the desired behavior of the Block device.
Declaration
public V1CStorBlockDeviceSpec Spec { get; set; }
Property Value
Type | Description |
---|---|
V1CStorBlockDeviceSpec |
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate()
Exceptions
Type | Condition |
---|---|
ValidationException | Thrown if validation fails. |