[][src]Struct k8s_openapi::api::core::v1::AzureDiskVolumeSource

pub struct AzureDiskVolumeSource {
    pub caching_mode: Option<String>,
    pub disk_name: String,
    pub disk_uri: String,
    pub fs_type: Option<String>,
    pub kind: Option<String>,
    pub read_only: Option<bool>,
}

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

Fields

caching_mode: Option<String>

Host Caching mode: None, Read Only, Read Write.

disk_name: String

The Name of the data disk in the blob storage

disk_uri: String

The URI the data disk in the blob storage

fs_type: Option<String>

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.

kind: Option<String>

Expected values 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

read_only: Option<bool>

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

Trait Implementations

impl PartialEq<AzureDiskVolumeSource> for AzureDiskVolumeSource[src]

impl Default for AzureDiskVolumeSource[src]

impl Clone for AzureDiskVolumeSource[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AzureDiskVolumeSource[src]

impl Serialize for AzureDiskVolumeSource[src]

impl<'de> Deserialize<'de> for AzureDiskVolumeSource[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]