共用方式為


SecurityPolicyProperties Class

Definition

The json object containing security policy parameters Please note SecurityPolicyProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SecurityPolicyWebApplicationFirewall.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Cdn.Models.UnknownSecurityPolicyProperties))]
public abstract class SecurityPolicyProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.SecurityPolicyProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.SecurityPolicyProperties>
public abstract class SecurityPolicyProperties
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Cdn.Models.UnknownSecurityPolicyProperties))>]
type SecurityPolicyProperties = class
    interface IJsonModel<SecurityPolicyProperties>
    interface IPersistableModel<SecurityPolicyProperties>
type SecurityPolicyProperties = class
Public MustInherit Class SecurityPolicyProperties
Implements IJsonModel(Of SecurityPolicyProperties), IPersistableModel(Of SecurityPolicyProperties)
Public MustInherit Class SecurityPolicyProperties
Inheritance
SecurityPolicyProperties
Derived
Attributes
Implements

Constructors

SecurityPolicyProperties()

Initializes a new instance of SecurityPolicyProperties.

Explicit Interface Implementations

IJsonModel<SecurityPolicyProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecurityPolicyProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityPolicyProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityPolicyProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecurityPolicyProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to