Share via


SearchEncryptionWithCmk Class

Definition

Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys.

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

Constructors

SearchEncryptionWithCmk()

Initializes a new instance of SearchEncryptionWithCmk.

Properties

EncryptionComplianceStatus

Returns the status of search service compliance with respect to non-CMK-encrypted objects. If a service has more than one unencrypted object, and enforcement is enabled, the service is marked as noncompliant.

Enforcement

Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key.

Explicit Interface Implementations

IJsonModel<SearchEncryptionWithCmk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SearchEncryptionWithCmk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SearchEncryptionWithCmk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SearchEncryptionWithCmk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SearchEncryptionWithCmk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to