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 Details

  • Constructor Details

    • V1AzureDiskVolumeSource

      public V1AzureDiskVolumeSource(String diskName, String diskURI)
  • Method Details

    • getDiskName

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

      public void setDiskName(String diskName)
      Set the diskName property value
      Parameters:
      diskName - property value to set
    • diskName

      public V1AzureDiskVolumeSource diskName(String diskName)
      Set diskName in a chainable fashion.
      Returns:
      The same instance of V1AzureDiskVolumeSource for chaining.
    • getDiskURI

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

      public void setDiskURI(String diskURI)
      Set the diskURI property value
      Parameters:
      diskURI - property value to set
    • diskURI

      public V1AzureDiskVolumeSource diskURI(String diskURI)
      Set diskURI in a chainable fashion.
      Returns:
      The same instance of V1AzureDiskVolumeSource for chaining.
    • getCachingMode

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

      public void setCachingMode(String cachingMode)
      Set the cachingMode property value
      Parameters:
      cachingMode - property value to set
    • cachingMode

      public V1AzureDiskVolumeSource cachingMode(String cachingMode)
      Set cachingMode in a chainable fashion.
      Returns:
      The same instance of V1AzureDiskVolumeSource for chaining.
    • getFsType

      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:
      the fsType property value
    • setFsType

      public void setFsType(String fsType)
      Set the fsType property value
      Parameters:
      fsType - property value to set
    • fsType

      public V1AzureDiskVolumeSource fsType(String fsType)
      Set fsType in a chainable fashion.
      Returns:
      The same instance of V1AzureDiskVolumeSource for chaining.
    • getKind

      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:
      the kind property value
    • setKind

      public void setKind(String kind)
      Set the kind property value
      Parameters:
      kind - property value to set
    • kind

      public V1AzureDiskVolumeSource kind(String kind)
      Set kind in a chainable fashion.
      Returns:
      The same instance of V1AzureDiskVolumeSource for chaining.
    • getReadOnly

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

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
      Parameters:
      readOnly - property value to set
    • readOnly

      public V1AzureDiskVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1AzureDiskVolumeSource for chaining.
    • 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