InternetGatewayRules Class

Definition

Rules for the InternetGateways.

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

Constructors

Name Description
InternetGatewayRules(InternetGatewayRuleAction)

Initializes a new instance of InternetGatewayRules.

Properties

Name Description
Action

Specify action.

AddressList

List of Addresses to be allowed or denied.

Condition

Specify rule condition.

DestinationAddressList

List of Addresses to be allowed or denied.

HeaderAddressList

List of header Name and source addresses associated with the header.

SourceAddressList

List of source IPv4 and IPv6 address to be allowed or denied.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<InternetGatewayRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<InternetGatewayRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<InternetGatewayRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InternetGatewayRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<InternetGatewayRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to