com.coralogix.zio.k8s.model.core.v1
AzureDiskVolumeSource
Companion object AzureDiskVolumeSource
case class AzureDiskVolumeSource(cachingMode: Optional[String] = Optional.Absent, diskName: String, diskURI: String, fsType: Optional[String] = Optional.Absent, kind: Optional[String] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent) extends Product with Serializable
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
- cachingMode
Host Caching mode: None, Read Only, Read Write.
- diskName
The Name of the data disk in the blob storage
- diskURI
The URI the data disk in the blob storage
- fsType
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
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
- readOnly
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- Alphabetic
- By Inheritance
- AzureDiskVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AzureDiskVolumeSource(cachingMode: Optional[String] = Optional.Absent, diskName: String, diskURI: String, fsType: Optional[String] = Optional.Absent, kind: Optional[String] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent)
- cachingMode
Host Caching mode: None, Read Only, Read Write.
- diskName
The Name of the data disk in the blob storage
- diskURI
The URI the data disk in the blob storage
- fsType
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
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
- readOnly
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
Value Members
- val cachingMode: Optional[String]
- val diskName: String
- val diskURI: String
- val fsType: Optional[String]
-
def
getCachingMode: IO[K8sFailure, String]
Host Caching mode: None, Read Only, Read Write.
Host Caching mode: None, Read Only, Read Write.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getDiskName: IO[K8sFailure, String]
The Name of the data disk in the blob storage
The Name of the data disk in the blob storage
This effect always succeeds, it is safe to use the field diskName directly.
-
def
getDiskURI: IO[K8sFailure, String]
The URI the data disk in the blob storage
The URI the data disk in the blob storage
This effect always succeeds, it is safe to use the field diskURI directly.
-
def
getFsType: IO[K8sFailure, String]
Filesystem type to mount.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getKind: IO[K8sFailure, 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).
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
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReadOnly: IO[K8sFailure, Boolean]
Defaults to false (read/write).
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val kind: Optional[String]
- val readOnly: Optional[Boolean]