Compartilhar via


DiskEncryptionSetPatch Class

Definition

disk encryption set update resource.

public class DiskEncryptionSetPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.DiskEncryptionSetPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.DiskEncryptionSetPatch>
type DiskEncryptionSetPatch = class
    interface IJsonModel<DiskEncryptionSetPatch>
    interface IPersistableModel<DiskEncryptionSetPatch>
Public Class DiskEncryptionSetPatch
Implements IJsonModel(Of DiskEncryptionSetPatch), IPersistableModel(Of DiskEncryptionSetPatch)
Inheritance
DiskEncryptionSetPatch
Implements

Constructors

DiskEncryptionSetPatch()

Initializes a new instance of DiskEncryptionSetPatch.

Properties

ActiveKey

Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots.

EncryptionType

The type of key used to encrypt the data of the disk.

FederatedClientId

Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property.

Identity

The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.

RotationToLatestKeyVersionEnabled

Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.

Tags

Resource tags.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DiskEncryptionSetPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DiskEncryptionSetPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiskEncryptionSetPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiskEncryptionSetPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DiskEncryptionSetPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to