Class V1AzureDiskVolumeSource

java.lang.Object
io.kubernetes.client.openapi.models.V1AzureDiskVolumeSource

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1AzureDiskVolumeSource extends Object
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
  • Field Details

  • Constructor Details

    • V1AzureDiskVolumeSource

      public V1AzureDiskVolumeSource()
  • Method Details

    • cachingMode

      public V1AzureDiskVolumeSource cachingMode(String cachingMode)
    • getCachingMode

      @Nullable public String getCachingMode()
      cachingMode is the Host Caching mode: None, Read Only, Read Write.
      Returns:
      cachingMode
    • setCachingMode

      public void setCachingMode(String cachingMode)
    • diskName

      public V1AzureDiskVolumeSource diskName(String diskName)
    • getDiskName

      public String getDiskName()
      diskName is the Name of the data disk in the blob storage
      Returns:
      diskName
    • setDiskName

      public void setDiskName(String diskName)
    • diskURI

      public V1AzureDiskVolumeSource diskURI(String diskURI)
    • getDiskURI

      public String getDiskURI()
      diskURI is the URI of data disk in the blob storage
      Returns:
      diskURI
    • setDiskURI

      public void setDiskURI(String diskURI)
    • fsType

      public V1AzureDiskVolumeSource fsType(String fsType)
    • getFsType

      @Nullable public String 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:
      fsType
    • setFsType

      public void setFsType(String fsType)
    • kind

      public V1AzureDiskVolumeSource kind(String kind)
    • getKind

      @Nullable public String 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:
      kind
    • setKind

      public void setKind(String kind)
    • readOnly

      public V1AzureDiskVolumeSource readOnly(Boolean readOnly)
    • getReadOnly

      @Nullable public Boolean getReadOnly()
      readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      Returns:
      readOnly
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object