다음을 통해 공유


AgentPoolNetworkPortRange Class

Definition

The port range.

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

Constructors

AgentPoolNetworkPortRange()

Initializes a new instance of AgentPoolNetworkPortRange.

Properties

PortEnd

The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.

PortStart

The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.

Protocol

The network protocol of the port.

Explicit Interface Implementations

IJsonModel<AgentPoolNetworkPortRange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AgentPoolNetworkPortRange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AgentPoolNetworkPortRange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AgentPoolNetworkPortRange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AgentPoolNetworkPortRange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to