Class VMDiskSecurityProfile
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.azure.v1.VMDiskSecurityProfile
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VMDiskSecurityProfileBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VMDiskSecurityProfile extends Object implements io.fabric8.kubernetes.api.builder.Editable<VMDiskSecurityProfileBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
VMDiskSecurityProfile specifies the security profile settings for the managed disk. It can be set only for Confidential VMs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VMDiskSecurityProfile()No args constructor for use in serializationVMDiskSecurityProfile(DiskEncryptionSet diskEncryptionSet, String securityEncryptionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VMDiskSecurityProfileBuilderedit()Map<String,Object>getAdditionalProperties()DiskEncryptionSetgetDiskEncryptionSet()VMDiskSecurityProfile specifies the security profile settings for the managed disk.StringgetSecurityEncryptionType()SecurityEncryptionType specifies the encryption type of the managed disk.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDiskEncryptionSet(DiskEncryptionSet diskEncryptionSet)VMDiskSecurityProfile specifies the security profile settings for the managed disk.voidsetSecurityEncryptionType(String securityEncryptionType)SecurityEncryptionType specifies the encryption type of the managed disk.VMDiskSecurityProfileBuildertoBuilder()
-
-
-
Constructor Detail
-
VMDiskSecurityProfile
public VMDiskSecurityProfile()
No args constructor for use in serialization
-
VMDiskSecurityProfile
public VMDiskSecurityProfile(DiskEncryptionSet diskEncryptionSet, String securityEncryptionType)
-
-
Method Detail
-
getDiskEncryptionSet
public DiskEncryptionSet getDiskEncryptionSet()
VMDiskSecurityProfile specifies the security profile settings for the managed disk. It can be set only for Confidential VMs.
-
setDiskEncryptionSet
public void setDiskEncryptionSet(DiskEncryptionSet diskEncryptionSet)
VMDiskSecurityProfile specifies the security profile settings for the managed disk. It can be set only for Confidential VMs.
-
getSecurityEncryptionType
public String getSecurityEncryptionType()
SecurityEncryptionType specifies the encryption type of the managed disk. It is set to DiskWithVMGuestState to encrypt the managed disk along with the VMGuestState blob, and to VMGuestStateOnly to encrypt the VMGuestState blob only. When set to VMGuestStateOnly, the VTpmEnabled should be set to true. When set to DiskWithVMGuestState, both SecureBootEnabled and VTpmEnabled should be set to true. It can be set only for Confidential VMs.
-
setSecurityEncryptionType
public void setSecurityEncryptionType(String securityEncryptionType)
SecurityEncryptionType specifies the encryption type of the managed disk. It is set to DiskWithVMGuestState to encrypt the managed disk along with the VMGuestState blob, and to VMGuestStateOnly to encrypt the VMGuestState blob only. When set to VMGuestStateOnly, the VTpmEnabled should be set to true. When set to DiskWithVMGuestState, both SecureBootEnabled and VTpmEnabled should be set to true. It can be set only for Confidential VMs.
-
edit
public VMDiskSecurityProfileBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VMDiskSecurityProfileBuilder>
-
toBuilder
public VMDiskSecurityProfileBuilder toBuilder()
-
-