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 |
|
Disk |
getDiskEncryptionSet()
Get the disk |
|
Batch |
getSecurityProfile()
Get the security |
|
Storage |
getStorageAccountType()
Get the storage |
|
Managed |
setDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)
Set the disk |
|
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:
getDiskEncryptionSet
public DiskEncryptionSetParameters getDiskEncryptionSet()
Get the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the managed disk. It can be set only in UserSubscription mode.
Returns:
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:
setDiskEncryptionSet
public ManagedDisk setDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)
Set the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the managed disk. It can be set only in UserSubscription mode.
Parameters:
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: