Share via


ContainerGroupPort Class

Definition

The port exposed on the container group.

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

Constructors

ContainerGroupPort(Int32)

Initializes a new instance of ContainerGroupPort.

Properties

Port

The port number.

Protocol

The protocol associated with the port.

Explicit Interface Implementations

IJsonModel<ContainerGroupPort>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerGroupPort>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerGroupPort>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerGroupPort>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerGroupPort>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to