struct

Kubernetes::AzureDiskVolumeSource

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

caching_mode

cachingMode is the Host Caching mode: None, Read Only, Read Write.

Source
caching_mode=(caching_mode : String | Nil)

cachingMode is the Host Caching mode: None, Read Only, Read Write.

Source
disk_name

diskName is the Name of the data disk in the blob storage

Source
disk_name=(disk_name : String | Nil)

diskName is the Name of the data disk in the blob storage

Source
disk_uri

diskURI is the URI of data disk in the blob storage

Source
disk_uri=(disk_uri : String | Nil)

diskURI is the URI of data disk in the blob storage

Source
fs_type

fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

Source
fs_type=(fs_type : String | Nil)

fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

Source
kind

kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared

Source
kind=(kind : String | Nil)

kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared

Source
read_only

readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

Source
read_only=(read_only : Bool | Nil)

readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source