你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DiskEncryptionSet.UpdateStages.WithAutomaticKeyRotation Interface

public static interface DiskEncryptionSet.UpdateStages.WithAutomaticKeyRotation

The stage of a disk encryption set update allowing to enable automatic key rotation.

Method Summary

Modifier and Type Method and Description
abstract Update withAutomaticKeyRotation()

Enable automatic key rotation.

abstract Update withoutAutomaticKeyRotation()

Disable automatic key rotation.

Method Details

withAutomaticKeyRotation

public abstract DiskEncryptionSet.Update withAutomaticKeyRotation()

Enable automatic key rotation.

If enabled, the system will automatically update all managed disks, snapshots, and images referencing the disk encryption set to use the new version of the key within one hour.

Returns:

the next stage of the update

withoutAutomaticKeyRotation

public abstract DiskEncryptionSet.Update withoutAutomaticKeyRotation()

Disable automatic key rotation.

Returns:

the next stage of the update

Applies to