Share via


EncryptionProtectorData Class

Definition

A class representing the EncryptionProtector data model. The server encryption protector.

public class EncryptionProtectorData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.EncryptionProtectorData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.EncryptionProtectorData>
type EncryptionProtectorData = class
    inherit ResourceData
    interface IJsonModel<EncryptionProtectorData>
    interface IPersistableModel<EncryptionProtectorData>
Public Class EncryptionProtectorData
Inherits ResourceData
Implements IJsonModel(Of EncryptionProtectorData), IPersistableModel(Of EncryptionProtectorData)
Inheritance
EncryptionProtectorData
Implements

Constructors

EncryptionProtectorData()

Initializes a new instance of EncryptionProtectorData.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsAutoRotationEnabled

Key auto rotation opt-in flag. Either true or false.

Kind

Kind of encryption protector. This is metadata used for the Azure portal experience.

Location

Resource location.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ServerKeyName

The name of the server key.

ServerKeyType

The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.

Subregion

Subregion of the encryption protector.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Thumbprint

Thumbprint of the server key.

Uri

The URI of the server key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<EncryptionProtectorData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EncryptionProtectorData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EncryptionProtectorData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EncryptionProtectorData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EncryptionProtectorData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to