DiskSecurityProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DiskSecurityProfile
- com.
Implements
public final class DiskSecurityProfile
implements JsonSerializable<DiskSecurityProfile>
Contains the security related information for the resource.
Constructor Summary
| Constructor | Description |
|---|---|
| DiskSecurityProfile() |
Creates an instance of Disk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Confidential |
confidentialVMVersion()
Get the confidential |
|
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
| String |
secureVMDiskEncryptionSetId()
Get the secure |
|
Disk |
securityType()
Get the security |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Disk |
withSecureVMDiskEncryptionSetId(String secureVMDiskEncryptionSetId)
Set the secure |
|
Disk |
withSecurityType(DiskSecurityTypes securityType)
Set the security |
Methods inherited from java.lang.Object
Constructor Details
DiskSecurityProfile
public DiskSecurityProfile()
Creates an instance of DiskSecurityProfile class.
Method Details
confidentialVMVersion
public ConfidentialVMVersion confidentialVMVersion()
Get the confidentialVMVersion property: Indicates the version of Confidential VM for the resource.
Returns:
fromJson
public static DiskSecurityProfile fromJson(JsonReader jsonReader)
Reads an instance of DiskSecurityProfile from the JsonReader.
Parameters:
Returns:
Throws:
secureVMDiskEncryptionSetId
public String secureVMDiskEncryptionSetId()
Get the secureVMDiskEncryptionSetId property: ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key.
Returns:
securityType
public DiskSecurityTypes securityType()
Get the securityType property: Specifies the SecurityType of the VM. Applicable for OS disks only.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSecureVMDiskEncryptionSetId
public DiskSecurityProfile withSecureVMDiskEncryptionSetId(String secureVMDiskEncryptionSetId)
Set the secureVMDiskEncryptionSetId property: ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key.
Parameters:
Returns:
withSecurityType
public DiskSecurityProfile withSecurityType(DiskSecurityTypes securityType)
Set the securityType property: Specifies the SecurityType of the VM. Applicable for OS disks only.
Parameters:
Returns: