struct Kubernetes::AzureDiskVolumeSource

Overview

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

Included Modules

Defined in:

generated/models/io_k8s_api_core_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def caching_mode : String | Nil #

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


def caching_mode=(caching_mode : String | Nil) #

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


def disk_name : String | Nil #

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


def disk_name=(disk_name : String | Nil) #

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


def disk_uri : String | Nil #

diskURI is the URI of data disk in the blob storage


def disk_uri=(disk_uri : String | Nil) #

diskURI is the URI of data disk in the blob storage


def 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.


def 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.


def 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


def 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


def read_only : Bool | Nil #

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


def read_only=(read_only : Bool | Nil) #

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