Share via


JitNetworkAccessRequestPort Class

Definition

The JitNetworkAccessRequestPort.

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

Constructors

JitNetworkAccessRequestPort(Int32, DateTimeOffset, JitNetworkAccessPortStatus, JitNetworkAccessPortStatusReason)

Initializes a new instance of JitNetworkAccessRequestPort.

Properties

AllowedSourceAddressPrefix

Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".

AllowedSourceAddressPrefixes

Mutually exclusive with the "allowedSourceAddressPrefix" parameter.

EndOn

The date & time at which the request ends in UTC.

MappedPort

The port which is mapped to this port's number in the Azure Firewall, if applicable.

Number

Gets or sets the number.

Status

The status of the port.

StatusReason

A description of why the status has its value.

Explicit Interface Implementations

IJsonModel<JitNetworkAccessRequestPort>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<JitNetworkAccessRequestPort>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<JitNetworkAccessRequestPort>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<JitNetworkAccessRequestPort>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<JitNetworkAccessRequestPort>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to