OSDiskImageSecurityProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. OSDiskImageSecurityProfile
- com.
Implements
public final class OSDiskImageSecurityProfile
implements JsonSerializable<OSDiskImageSecurityProfile>
Contains security profile for an OS disk image.
Constructor Summary
| Constructor | Description |
|---|---|
| OSDiskImageSecurityProfile() |
Creates an instance of OSDisk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Confidential |
confidentialVMEncryptionType()
Get the confidential |
|
static
OSDisk |
fromJson(JsonReader jsonReader)
Reads an instance of OSDisk |
| String |
secureVMDiskEncryptionSetId()
Get the secure |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
OSDisk |
withConfidentialVMEncryptionType(ConfidentialVMEncryptionType confidentialVMEncryptionType)
Set the confidential |
|
OSDisk |
withSecureVMDiskEncryptionSetId(String secureVMDiskEncryptionSetId)
Set the secure |
Methods inherited from java.lang.Object
Constructor Details
OSDiskImageSecurityProfile
public OSDiskImageSecurityProfile()
Creates an instance of OSDiskImageSecurityProfile class.
Method Details
confidentialVMEncryptionType
public ConfidentialVMEncryptionType confidentialVMEncryptionType()
Get the confidentialVMEncryptionType property: confidential VM encryption types.
Returns:
fromJson
public static OSDiskImageSecurityProfile fromJson(JsonReader jsonReader)
Reads an instance of OSDiskImageSecurityProfile from the JsonReader.
Parameters:
Returns:
Throws:
secureVMDiskEncryptionSetId
public String secureVMDiskEncryptionSetId()
Get the secureVMDiskEncryptionSetId property: secure VM disk encryption set id.
Returns:
toJson
validate
public void validate()
Validates the instance.
withConfidentialVMEncryptionType
public OSDiskImageSecurityProfile withConfidentialVMEncryptionType(ConfidentialVMEncryptionType confidentialVMEncryptionType)
Set the confidentialVMEncryptionType property: confidential VM encryption types.
Parameters:
Returns:
withSecureVMDiskEncryptionSetId
public OSDiskImageSecurityProfile withSecureVMDiskEncryptionSetId(String secureVMDiskEncryptionSetId)
Set the secureVMDiskEncryptionSetId property: secure VM disk encryption set id.
Parameters:
Returns: