public class DiskEncryptionSetInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
DiskEncryptionSetInner() |
Modifier and Type | Method and Description |
---|---|
KeyVaultAndKeyReference |
activeKey()
Get the activeKey property: The key vault key which is currently used by this disk encryption set.
|
EncryptionSetIdentity |
identity()
Get the identity property: The managed identity for the disk encryption set.
|
List<KeyVaultAndKeyReference> |
previousKeys()
Get the previousKeys property: A readonly collection of key vault keys previously used by this disk encryption
set while a key rotation is in progress.
|
String |
provisioningState()
Get the provisioningState property: The disk encryption set provisioning state.
|
void |
validate()
Validates the instance.
|
DiskEncryptionSetInner |
withActiveKey(KeyVaultAndKeyReference activeKey)
Set the activeKey property: The key vault key which is currently used by this disk encryption set.
|
DiskEncryptionSetInner |
withIdentity(EncryptionSetIdentity identity)
Set the identity property: The managed identity for the disk encryption set.
|
public EncryptionSetIdentity identity()
public DiskEncryptionSetInner withIdentity(EncryptionSetIdentity identity)
identity
- the identity value to set.public KeyVaultAndKeyReference activeKey()
public DiskEncryptionSetInner withActiveKey(KeyVaultAndKeyReference activeKey)
activeKey
- the activeKey value to set.public List<KeyVaultAndKeyReference> previousKeys()
public String provisioningState()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.