public final class ManagedDiskParameters
extends com.azure.core.management.SubResource
Constructor and Description |
---|
ManagedDiskParameters() |
Modifier and Type | Method and Description |
---|---|
com.azure.core.management.SubResource |
diskEncryptionSet()
Get the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the
managed disk.
|
StorageAccountTypes |
storageAccountType()
Get the storageAccountType property: Specifies the storage account type for the managed disk.
|
void |
validate()
Validates the instance.
|
ManagedDiskParameters |
withDiskEncryptionSet(com.azure.core.management.SubResource diskEncryptionSet)
Set the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the
managed disk.
|
ManagedDiskParameters |
withStorageAccountType(StorageAccountTypes storageAccountType)
Set the storageAccountType property: Specifies the storage account type for the managed disk.
|
public StorageAccountTypes storageAccountType()
public ManagedDiskParameters withStorageAccountType(StorageAccountTypes storageAccountType)
storageAccountType
- the storageAccountType value to set.public com.azure.core.management.SubResource diskEncryptionSet()
public ManagedDiskParameters withDiskEncryptionSet(com.azure.core.management.SubResource diskEncryptionSet)
diskEncryptionSet
- the diskEncryptionSet value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.