Dela via


IngressPortMapping Class

Definition

Port mappings of container app ingress.

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

Constructors

IngressPortMapping(Boolean, Int32)

Initializes a new instance of IngressPortMapping.

Properties

ExposedPort

Specifies the exposed port for the target port. If not specified, it defaults to target port.

External

Specifies whether the app port is accessible outside of the environment.

TargetPort

Specifies the port user's container listens on.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IngressPortMapping>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IngressPortMapping>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IngressPortMapping>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IngressPortMapping>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IngressPortMapping>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to