VMDiskSecurityProfile Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.VMDiskSecurityProfile

public class VMDiskSecurityProfile

Specifies the security profile settings for the managed disk. **Note**: It can only be set for Confidential VMs and required when using Confidential VMs.

Constructor Summary

Constructor Description
VMDiskSecurityProfile()

Method Summary

Modifier and Type Method and Description
SecurityEncryptionTypes securityEncryptionType()

Get possible values include: 'NonPersistedTPM', 'VMGuestStateOnly'.

VMDiskSecurityProfile withSecurityEncryptionType(SecurityEncryptionTypes securityEncryptionType)

Set possible values include: 'NonPersistedTPM', 'VMGuestStateOnly'.

Methods inherited from java.lang.Object

Constructor Details

VMDiskSecurityProfile

public VMDiskSecurityProfile()

Method Details

securityEncryptionType

public SecurityEncryptionTypes securityEncryptionType()

Get possible values include: 'NonPersistedTPM', 'VMGuestStateOnly'.

Returns:

the securityEncryptionType value

withSecurityEncryptionType

public VMDiskSecurityProfile withSecurityEncryptionType(SecurityEncryptionTypes securityEncryptionType)

Set possible values include: 'NonPersistedTPM', 'VMGuestStateOnly'.

Parameters:

securityEncryptionType - the securityEncryptionType value to set

Returns:

the VMDiskSecurityProfile object itself.

Applies to