DiskEncryptionConfiguration Class
- java.
lang. Object - com.
azure. compute. batch. models. DiskEncryptionConfiguration
- com.
Implements
public final class DiskEncryptionConfiguration
implements JsonSerializable<DiskEncryptionConfiguration>
The disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Azure Compute Gallery Image.
Constructor Summary
| Constructor | Description |
|---|---|
| DiskEncryptionConfiguration() |
Creates an instance of Disk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
|
List<Disk |
getTargets()
Get the targets property: The list of disk targets Batch Service will encrypt on the compute node. |
|
Disk |
setTargets(List<DiskEncryptionTarget> targets)
Set the targets property: The list of disk targets Batch Service will encrypt on the compute node. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
DiskEncryptionConfiguration
public DiskEncryptionConfiguration()
Creates an instance of DiskEncryptionConfiguration class.
Method Details
fromJson
public static DiskEncryptionConfiguration fromJson(JsonReader jsonReader)
Reads an instance of DiskEncryptionConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
getTargets
public List<DiskEncryptionTarget> getTargets()
Get the targets property: The list of disk targets Batch Service will encrypt on the compute node. The list of disk targets Batch Service will encrypt on the compute node.
Returns:
setTargets
public DiskEncryptionConfiguration setTargets(List<DiskEncryptionTarget> targets)
Set the targets property: The list of disk targets Batch Service will encrypt on the compute node. The list of disk targets Batch Service will encrypt on the compute node.
Parameters:
Returns: