EncryptionImages Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. EncryptionImages
- com.
Implements
public final class EncryptionImages
implements JsonSerializable<EncryptionImages>
Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
Constructor Summary
Constructor | Description |
---|---|
EncryptionImages() |
Creates an instance of Encryption |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Data |
dataDiskImages()
Get the data |
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
OSDisk |
osDiskImage()
Get the os |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Encryption |
withDataDiskImages(List<DataDiskImageEncryption> dataDiskImages)
Set the data |
Encryption |
withOsDiskImage(OSDiskImageEncryption osDiskImage)
Set the os |
Methods inherited from java.lang.Object
Constructor Details
EncryptionImages
public EncryptionImages()
Creates an instance of EncryptionImages class.
Method Details
dataDiskImages
public List
Get the dataDiskImages property: A list of encryption specifications for data disk images.
Returns:
fromJson
public static EncryptionImages fromJson(JsonReader jsonReader)
Reads an instance of EncryptionImages from the JsonReader.
Parameters:
Returns:
Throws:
osDiskImage
public OSDiskImageEncryption osDiskImage()
Get the osDiskImage property: Contains encryption settings for an OS disk image.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDataDiskImages
public EncryptionImages withDataDiskImages(List
Set the dataDiskImages property: A list of encryption specifications for data disk images.
Parameters:
Returns:
withOsDiskImage
public EncryptionImages withOsDiskImage(OSDiskImageEncryption osDiskImage)
Set the osDiskImage property: Contains encryption settings for an OS disk image.
Parameters:
Returns:
Applies to
Azure SDK for Java