ManagedDisk Class
- java.
lang. Object - com.
azure. compute. batch. models. ManagedDisk
- com.
Implements
public final class ManagedDisk
implements JsonSerializable<ManagedDisk>
The managed disk parameters.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedDisk() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
|
Batch |
getSecurityProfile()
Get the security |
|
Storage |
getStorageAccountType()
Get the storage |
|
Managed |
setSecurityProfile(BatchVmDiskSecurityProfile securityProfile)
Set the security |
|
Managed |
setStorageAccountType(StorageAccountType storageAccountType)
Set the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ManagedDisk
public ManagedDisk()
Creates an instance of ManagedDisk class.
Method Details
fromJson
public static ManagedDisk fromJson(JsonReader jsonReader)
Reads an instance of ManagedDisk from the JsonReader.
Parameters:
Returns:
Throws:
getSecurityProfile
public BatchVmDiskSecurityProfile getSecurityProfile()
Get the securityProfile property: Specifies the security profile settings for the managed disk.
Returns:
getStorageAccountType
public StorageAccountType getStorageAccountType()
Get the storageAccountType property: The storage account type for managed disk.
Returns:
setSecurityProfile
public ManagedDisk setSecurityProfile(BatchVmDiskSecurityProfile securityProfile)
Set the securityProfile property: Specifies the security profile settings for the managed disk.
Parameters:
Returns:
setStorageAccountType
public ManagedDisk setStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType property: The storage account type for managed disk.
Parameters:
Returns: