Condividi tramite


ApplicationRule Class

Definition

Rule of type application.

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

Constructors

ApplicationRule()

Initializes a new instance of ApplicationRule.

Properties

Description

Description of the rule.

(Inherited from FirewallPolicyRule)
DestinationAddresses

List of destination IP addresses or Service Tags.

FqdnTags

List of FQDN Tags for this rule.

HttpHeadersToInsert

List of HTTP/S headers to insert.

Name

Name of the rule.

(Inherited from FirewallPolicyRule)
Protocols

Array of Application Protocols.

SourceAddresses

List of source IP addresses for this rule.

SourceIPGroups

List of source IpGroups for this rule.

TargetFqdns

List of FQDNs for this rule.

TargetUrls

List of Urls for this rule condition.

TerminateTLS

Terminate TLS connections for this rule.

WebCategories

List of destination azure web categories.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from FirewallPolicyRule)

Explicit Interface Implementations

IJsonModel<ApplicationRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApplicationRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<FirewallPolicyRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from FirewallPolicyRule)
IPersistableModel<ApplicationRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApplicationRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApplicationRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<FirewallPolicyRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from FirewallPolicyRule)

Applies to