Package io.fabric8.kubernetes.api.model
Class AzureDiskVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.AzureDiskVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AzureDiskVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AzureDiskVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<AzureDiskVolumeSourceBuilder>, KubernetesResource
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AzureDiskVolumeSource()No args constructor for use in serializationAzureDiskVolumeSource(String cachingMode, String diskName, String diskURI, String fsType, String kind, Boolean readOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureDiskVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetCachingMode()cachingMode is the Host Caching mode: None, Read Only, Read Write.StringgetDiskName()diskName is the Name of the data disk in the blob storageStringgetDiskURI()diskURI is the URI of data disk in the blob storageStringgetFsType()fsType is Filesystem type to mount.StringgetKind()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 sharedBooleangetReadOnly()readOnly Defaults to false (read/write).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCachingMode(String cachingMode)cachingMode is the Host Caching mode: None, Read Only, Read Write.voidsetDiskName(String diskName)diskName is the Name of the data disk in the blob storagevoidsetDiskURI(String diskURI)diskURI is the URI of data disk in the blob storagevoidsetFsType(String fsType)fsType is Filesystem type to mount.voidsetKind(String kind)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 sharedvoidsetReadOnly(Boolean readOnly)readOnly Defaults to false (read/write).AzureDiskVolumeSourceBuildertoBuilder()
-
-
-
Method Detail
-
getCachingMode
public String getCachingMode()
cachingMode is the Host Caching mode: None, Read Only, Read Write.
-
setCachingMode
public void setCachingMode(String cachingMode)
cachingMode is the Host Caching mode: None, Read Only, Read Write.
-
getDiskName
public String getDiskName()
diskName is the Name of the data disk in the blob storage
-
setDiskName
public void setDiskName(String diskName)
diskName is the Name of the data disk in the blob storage
-
getDiskURI
public String getDiskURI()
diskURI is the URI of data disk in the blob storage
-
setDiskURI
public void setDiskURI(String diskURI)
diskURI is the URI of data disk in the blob storage
-
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.
-
setFsType
public void setFsType(String fsType)
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.
-
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
-
setKind
public void setKind(String kind)
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
-
getReadOnly
public Boolean getReadOnly()
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
edit
public AzureDiskVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AzureDiskVolumeSourceBuilder>
-
toBuilder
public AzureDiskVolumeSourceBuilder toBuilder()
-
-