pub struct IoK8sApiCoreV1AzureDiskVolumeSource {
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>,
}
Expand description
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§
Source§impl Clone for IoK8sApiCoreV1AzureDiskVolumeSource
impl Clone for IoK8sApiCoreV1AzureDiskVolumeSource
Source§fn clone(&self) -> IoK8sApiCoreV1AzureDiskVolumeSource
fn clone(&self) -> IoK8sApiCoreV1AzureDiskVolumeSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for IoK8sApiCoreV1AzureDiskVolumeSource
impl<'de> Deserialize<'de> for IoK8sApiCoreV1AzureDiskVolumeSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&IoK8sApiCoreV1AzureDiskVolumeSource> for IoK8sApiCoreV1AzureDiskVolumeSource
impl From<&IoK8sApiCoreV1AzureDiskVolumeSource> for IoK8sApiCoreV1AzureDiskVolumeSource
Source§fn from(value: &IoK8sApiCoreV1AzureDiskVolumeSource) -> Self
fn from(value: &IoK8sApiCoreV1AzureDiskVolumeSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1AzureDiskVolumeSource
impl RefUnwindSafe for IoK8sApiCoreV1AzureDiskVolumeSource
impl Send for IoK8sApiCoreV1AzureDiskVolumeSource
impl Sync for IoK8sApiCoreV1AzureDiskVolumeSource
impl Unpin for IoK8sApiCoreV1AzureDiskVolumeSource
impl UnwindSafe for IoK8sApiCoreV1AzureDiskVolumeSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more