Share via


IngressPortMapping(Boolean, Int32) Constructor

Definition

Initializes a new instance of IngressPortMapping.

public IngressPortMapping (bool external, int targetPort);
new Azure.ResourceManager.AppContainers.Models.IngressPortMapping : bool * int -> Azure.ResourceManager.AppContainers.Models.IngressPortMapping
Public Sub New (external As Boolean, targetPort As Integer)

Parameters

external
Boolean

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

targetPort
Int32

Specifies the port user's container listens on.

Applies to