public class DiskEncryptionSetUpdate extends Object
Constructor and Description |
---|
DiskEncryptionSetUpdate() |
Modifier and Type | Method and Description |
---|---|
KeyVaultAndKeyReference |
activeKey()
Get the activeKey property: Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to
unwrap the encryptionKey.
|
Map<String,String> |
tags()
Get the tags property: Resource tags.
|
void |
validate()
Validates the instance.
|
DiskEncryptionSetUpdate |
withActiveKey(KeyVaultAndKeyReference activeKey)
Set the activeKey property: Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to
unwrap the encryptionKey.
|
DiskEncryptionSetUpdate |
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
public Map<String,String> tags()
public DiskEncryptionSetUpdate withTags(Map<String,String> tags)
tags
- the tags value to set.public KeyVaultAndKeyReference activeKey()
public DiskEncryptionSetUpdate withActiveKey(KeyVaultAndKeyReference activeKey)
activeKey
- the activeKey value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.