Class OSDisk
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.azure.v1.OSDisk
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<OSDiskBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class OSDisk extends Object implements io.fabric8.kubernetes.api.builder.Editable<OSDiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
OSDisk defines the disk for machines on Azure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OSDisk()No args constructor for use in serializationOSDisk(DiskEncryptionSet diskEncryptionSet, Integer diskSizeGB, String diskType, VMDiskSecurityProfile securityProfile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OSDiskBuilderedit()Map<String,Object>getAdditionalProperties()DiskEncryptionSetgetDiskEncryptionSet()OSDisk defines the disk for machines on Azure.IntegergetDiskSizeGB()DiskSizeGB defines the size of disk in GB.StringgetDiskType()DiskType defines the type of disk.VMDiskSecurityProfilegetSecurityProfile()OSDisk defines the disk for machines on Azure.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDiskEncryptionSet(DiskEncryptionSet diskEncryptionSet)OSDisk defines the disk for machines on Azure.voidsetDiskSizeGB(Integer diskSizeGB)DiskSizeGB defines the size of disk in GB.voidsetDiskType(String diskType)DiskType defines the type of disk.voidsetSecurityProfile(VMDiskSecurityProfile securityProfile)OSDisk defines the disk for machines on Azure.OSDiskBuildertoBuilder()
-
-
-
Constructor Detail
-
OSDisk
public OSDisk()
No args constructor for use in serialization
-
OSDisk
public OSDisk(DiskEncryptionSet diskEncryptionSet, Integer diskSizeGB, String diskType, VMDiskSecurityProfile securityProfile)
-
-
Method Detail
-
getDiskEncryptionSet
public DiskEncryptionSet getDiskEncryptionSet()
OSDisk defines the disk for machines on Azure.
-
setDiskEncryptionSet
public void setDiskEncryptionSet(DiskEncryptionSet diskEncryptionSet)
OSDisk defines the disk for machines on Azure.
-
getDiskSizeGB
public Integer getDiskSizeGB()
DiskSizeGB defines the size of disk in GB.
-
setDiskSizeGB
public void setDiskSizeGB(Integer diskSizeGB)
DiskSizeGB defines the size of disk in GB.
-
getDiskType
public String getDiskType()
DiskType defines the type of disk. For control plane nodes, the valid values are Premium_LRS and StandardSSD_LRS. Default is Premium_LRS.
-
setDiskType
public void setDiskType(String diskType)
DiskType defines the type of disk. For control plane nodes, the valid values are Premium_LRS and StandardSSD_LRS. Default is Premium_LRS.
-
getSecurityProfile
public VMDiskSecurityProfile getSecurityProfile()
OSDisk defines the disk for machines on Azure.
-
setSecurityProfile
public void setSecurityProfile(VMDiskSecurityProfile securityProfile)
OSDisk defines the disk for machines on Azure.
-
edit
public OSDiskBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OSDiskBuilder>
-
toBuilder
public OSDiskBuilder toBuilder()
-
-