DiskSecret Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. DiskSecret
- com.
Implements
public final class DiskSecret
implements JsonSerializable<DiskSecret>
Contains all the secrets of a Disk.
Constructor Summary
| Constructor | Description |
|---|---|
| DiskSecret() |
Creates an instance of Disk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
bitLockerKey()
Get the bit |
| String |
diskSerialNumber()
Get the disk |
|
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DiskSecret
public DiskSecret()
Creates an instance of DiskSecret class.
Method Details
bitLockerKey
public String bitLockerKey()
Get the bitLockerKey property: Bit Locker key of the disk which can be used to unlock the disk to copy data.
Returns:
diskSerialNumber
public String diskSerialNumber()
Get the diskSerialNumber property: Serial number of the assigned disk.
Returns:
fromJson
public static DiskSecret fromJson(JsonReader jsonReader)
Reads an instance of DiskSecret from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.