共用方式為


EncryptionSettingsGroup(Boolean) Constructor

Definition

Initializes a new instance of EncryptionSettingsGroup.

public EncryptionSettingsGroup (bool enabled);
new Azure.ResourceManager.Compute.Models.EncryptionSettingsGroup : bool -> Azure.ResourceManager.Compute.Models.EncryptionSettingsGroup
Public Sub New (enabled As Boolean)

Parameters

enabled
Boolean

Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

Applies to