Class 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 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)