共用方式為


DdosSettings Class

Definition

Contains the DDoS protection settings of the public IP.

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

Constructors

DdosSettings()

Initializes a new instance of DdosSettings.

Properties

DdosProtectionPlanId

Gets or sets Id.

ProtectionMode

The DDoS protection mode of the public IP.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DdosSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DdosSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DdosSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DdosSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DdosSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to