Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1AzureDiskVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1AzureDiskVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1AzureDiskVolumeSource extends Object
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CACHING_MODEstatic StringJSON_PROPERTY_DISK_NAMEstatic StringJSON_PROPERTY_DISK_U_R_Istatic StringJSON_PROPERTY_FS_TYPEstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_READ_ONLY
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1AzureDiskVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1AzureDiskVolumeSourcecachingMode(String cachingMode)IoK8sApiCoreV1AzureDiskVolumeSourcediskName(String diskName)IoK8sApiCoreV1AzureDiskVolumeSourcediskURI(String diskURI)booleanequals(Object o)IoK8sApiCoreV1AzureDiskVolumeSourcefsType(String fsType)StringgetCachingMode()Host Caching mode: None, Read Only, Read Write.StringgetDiskName()The Name of the data disk in the blob storageStringgetDiskURI()The URI the data disk in the blob storageStringgetFsType()Filesystem type to mount.StringgetKind()Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set).BooleangetReadOnly()Defaults to false (read/write).inthashCode()IoK8sApiCoreV1AzureDiskVolumeSourcekind(String kind)IoK8sApiCoreV1AzureDiskVolumeSourcereadOnly(Boolean readOnly)voidsetCachingMode(String cachingMode)voidsetDiskName(String diskName)voidsetDiskURI(String diskURI)voidsetFsType(String fsType)voidsetKind(String kind)voidsetReadOnly(Boolean readOnly)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CACHING_MODE
public static final String JSON_PROPERTY_CACHING_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISK_NAME
public static final String JSON_PROPERTY_DISK_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISK_U_R_I
public static final String JSON_PROPERTY_DISK_U_R_I
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FS_TYPE
public static final String JSON_PROPERTY_FS_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
cachingMode
public IoK8sApiCoreV1AzureDiskVolumeSource cachingMode(String cachingMode)
-
getCachingMode
@Nullable public String getCachingMode()
Host Caching mode: None, Read Only, Read Write.- Returns:
- cachingMode
-
setCachingMode
public void setCachingMode(String cachingMode)
-
diskName
public IoK8sApiCoreV1AzureDiskVolumeSource diskName(String diskName)
-
getDiskName
public String getDiskName()
The Name of the data disk in the blob storage- Returns:
- diskName
-
setDiskName
public void setDiskName(String diskName)
-
diskURI
public IoK8sApiCoreV1AzureDiskVolumeSource diskURI(String diskURI)
-
getDiskURI
public String getDiskURI()
The URI the data disk in the blob storage- Returns:
- diskURI
-
setDiskURI
public void setDiskURI(String diskURI)
-
fsType
public IoK8sApiCoreV1AzureDiskVolumeSource fsType(String fsType)
-
getFsType
@Nullable public String getFsType()
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 IoK8sApiCoreV1AzureDiskVolumeSource kind(String kind)
-
getKind
@Nullable public String getKind()
Expected values 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 IoK8sApiCoreV1AzureDiskVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
-