你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DiskEncryptionSettings Class
- java.
lang. Object - com.
microsoft. azure. management. compute. DiskEncryptionSettings
- com.
public class DiskEncryptionSettings
Describes a Encryption Settings for a Disk.
Method Summary
Modifier and Type | Method and Description |
---|---|
Key |
diskEncryptionKey()
Get the diskEncryptionKey value. |
Boolean |
enabled()
Get the enabled value. |
Key |
keyEncryptionKey()
Get the keyEncryptionKey value. |
Disk |
withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)
Set the diskEncryptionKey value. |
Disk |
withEnabled(Boolean enabled)
Set the enabled value. |
Disk |
withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)
Set the keyEncryptionKey value. |
Method Details
diskEncryptionKey
public KeyVaultSecretReference diskEncryptionKey()
Get the diskEncryptionKey value.
Returns:
enabled
public Boolean enabled()
Get the enabled value.
Returns:
keyEncryptionKey
public KeyVaultKeyReference keyEncryptionKey()
Get the keyEncryptionKey value.
Returns:
withDiskEncryptionKey
public DiskEncryptionSettings withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)
Set the diskEncryptionKey value.
Parameters:
Returns:
withEnabled
public DiskEncryptionSettings withEnabled(Boolean enabled)
Set the enabled value.
Parameters:
Returns:
withKeyEncryptionKey
public DiskEncryptionSettings withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)
Set the keyEncryptionKey value.
Parameters:
Returns: