Freigeben über


AdvancedThreatProtectionPatch Class

Definition

Parameters allowed to update advanced threat protection for a server.

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

Constructors

AdvancedThreatProtectionPatch()

Initializes a new instance of AdvancedThreatProtectionPatch.

Properties

State

Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server.

Explicit Interface Implementations

IJsonModel<AdvancedThreatProtectionPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AdvancedThreatProtectionPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AdvancedThreatProtectionPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AdvancedThreatProtectionPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AdvancedThreatProtectionPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to