Class V1AzureDiskVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1AzureDiskVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1AzureDiskVolumeSource
extends Object
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncachingMode
(String cachingMode) Set cachingMode in a chainable fashion.Set diskName in a chainable fashion.Set diskURI in a chainable fashion.boolean
Set fsType in a chainable fashion.cachingMode is the Host Caching mode: None, Read Only, Read Write.diskName is the Name of the data disk in the blob storagediskURI is the URI of data disk in the blob storagefsType is Filesystem type to mount.getKind()
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).readOnly Defaults to false (read/write).int
hashCode()
Set kind in a chainable fashion.Set readOnly in a chainable fashion.void
setCachingMode
(String cachingMode) Set the cachingMode property valuevoid
setDiskName
(String diskName) Set the diskName property valuevoid
setDiskURI
(String diskURI) Set the diskURI property valuevoid
Set the fsType property valuevoid
Set the kind property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuetoString()
-
Field Details
-
JSON_PROPERTY_DISK_NAME
- See Also:
-
JSON_PROPERTY_DISK_U_R_I
- See Also:
-
JSON_PROPERTY_CACHING_MODE
- See Also:
-
JSON_PROPERTY_FS_TYPE
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
-
Constructor Details
-
V1AzureDiskVolumeSource
-
-
Method Details
-
getDiskName
diskName is the Name of the data disk in the blob storage- Returns:
- the diskName property value
-
setDiskName
Set the diskName property value- Parameters:
diskName
- property value to set
-
diskName
Set diskName in a chainable fashion.- Returns:
- The same instance of V1AzureDiskVolumeSource for chaining.
-
getDiskURI
diskURI is the URI of data disk in the blob storage- Returns:
- the diskURI property value
-
setDiskURI
Set the diskURI property value- Parameters:
diskURI
- property value to set
-
diskURI
Set diskURI in a chainable fashion.- Returns:
- The same instance of V1AzureDiskVolumeSource for chaining.
-
getCachingMode
cachingMode is the Host Caching mode: None, Read Only, Read Write.- Returns:
- the cachingMode property value
-
setCachingMode
Set the cachingMode property value- Parameters:
cachingMode
- property value to set
-
cachingMode
Set cachingMode in a chainable fashion.- Returns:
- The same instance of V1AzureDiskVolumeSource for chaining.
-
getFsType
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.- Returns:
- the fsType property value
-
setFsType
Set the fsType property value- Parameters:
fsType
- property value to set
-
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1AzureDiskVolumeSource for chaining.
-
getKind
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- Returns:
- the kind property value
-
setKind
Set the kind property value- Parameters:
kind
- property value to set
-
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1AzureDiskVolumeSource for chaining.
-
getReadOnly
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- the readOnly property value
-
setReadOnly
Set the readOnly property value- Parameters:
readOnly
- property value to set
-
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1AzureDiskVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-