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 AzureDiskVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getCachingMode()
cachingMode is the Host Caching mode: None, Read Only, Read Write.String
getDiskName()
diskName is the Name of the data disk in the blob storageString
getDiskURI()
diskURI is the URI of data disk in the blob storageString
getFsType()
fsType is Filesystem type to mount.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 sharedBoolean
getReadOnly()
readOnly Defaults to false (read/write).void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setCachingMode(String cachingMode)
cachingMode is the Host Caching mode: None, Read Only, Read Write.void
setDiskName(String diskName)
diskName is the Name of the data disk in the blob storagevoid
setDiskURI(String diskURI)
diskURI is the URI of data disk in the blob storagevoid
setFsType(String fsType)
fsType is Filesystem type to mount.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 sharedvoid
setReadOnly(Boolean readOnly)
readOnly Defaults to false (read/write).AzureDiskVolumeSourceBuilder
toBuilder()
-
-
-
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:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<AzureDiskVolumeSourceBuilder>
-
toBuilder
public AzureDiskVolumeSourceBuilder toBuilder()
-
-