Share via


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

InternetGatewayRules(InternetGatewayRuleAction, IEnumerable<String>)

Initializes a new instance of InternetGatewayRules.

Properties

Action

Specify action.

AddressList

List of Addresses to be allowed or denied.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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