共用方式為


InboundSecurityRules Class

Definition

Properties of the Inbound Security Rules resource.

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

Constructors

InboundSecurityRules()

Initializes a new instance of InboundSecurityRules.

Properties

AppliesOn

Public IP name in case of Permanent Rule type & Interface Name in case of Auto Expire Rule type.

DestinationPortRange

NVA port ranges to be opened up. One needs to provide specific ports.

DestinationPortRanges

NVA port ranges to be opened up. One can provide a range of ports. Allowed port value between 0 and 65535.

Name

Name of the rule.

Protocol

Protocol. This should be either TCP or UDP.

SourceAddressPrefix

The CIDR or source IP range.

Explicit Interface Implementations

IJsonModel<InboundSecurityRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<InboundSecurityRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<InboundSecurityRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InboundSecurityRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<InboundSecurityRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to