共用方式為


ActiveSecurityAdminRule Class

Definition

Network admin rule.

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

Properties

Access

Indicates the access allowed for this particular rule.

CommitOn

Deployment time string.

(Inherited from ActiveBaseSecurityAdminRule)
ConfigurationDescription

A description of the security admin configuration.

(Inherited from ActiveBaseSecurityAdminRule)
Description

A description for this rule. Restricted to 140 chars.

DestinationPortRanges

The destination port ranges.

Destinations

The destination address prefixes. CIDR or destination IP ranges.

Direction

Indicates if the traffic matched against the rule in inbound or outbound.

Id

Resource ID.

(Inherited from ActiveBaseSecurityAdminRule)
Priority

The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.

Protocol

Network protocol this rule applies to.

ProvisioningState

The provisioning state of the resource.

Region

Deployment region.

(Inherited from ActiveBaseSecurityAdminRule)
ResourceGuid

Unique identifier for this resource.

RuleCollectionAppliesToGroups

Groups for rule collection.

(Inherited from ActiveBaseSecurityAdminRule)
RuleCollectionDescription

A description of the rule collection.

(Inherited from ActiveBaseSecurityAdminRule)
RuleGroups

Effective configuration groups.

(Inherited from ActiveBaseSecurityAdminRule)
SourcePortRanges

The source port ranges.

Sources

The CIDR or source IP ranges.

Methods

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

Explicit Interface Implementations

IJsonModel<ActiveBaseSecurityAdminRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ActiveBaseSecurityAdminRule)
IJsonModel<ActiveSecurityAdminRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ActiveSecurityAdminRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ActiveBaseSecurityAdminRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ActiveBaseSecurityAdminRule)
IPersistableModel<ActiveSecurityAdminRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ActiveSecurityAdminRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ActiveSecurityAdminRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to