Language

DdosMitigationRule Class

Definition

A DDoS mitigation rule resource.

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

Constructors

Name Description
DdosMitigationRule(String, DdosMitigationRulePropertiesFormat)

Initializes a new instance of DdosMitigationRule.

Properties

Name Description
ETag

A unique read-only string that changes whenever the resource is updated.

Id

Resource ID.

(Inherited from NetworkSubResource)
Name

The name of the DDoS mitigation rule.

Properties

Properties of the DDoS mitigation rule.

Type

The resource type.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DdosMitigationRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<DdosMitigationRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<NetworkSubResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from NetworkSubResource)
IJsonModel<NetworkSubResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkSubResource)
IPersistableModel<DdosMitigationRule>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<DdosMitigationRule>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<DdosMitigationRule>.Write(ModelReaderWriterOptions)
IPersistableModel<NetworkSubResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkSubResource)
IPersistableModel<NetworkSubResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from NetworkSubResource)
IPersistableModel<NetworkSubResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkSubResource)

Applies to