Share via


EphemeralContainerV1.Ports Property

Definition

Gets the list of ports associated with the ephemeral container. Each port is defined as an instance of the ContainerPortV1 class, which specifies the configuration options such as the container port number, host port number, protocol, and associated host IP address.

[YamlDotNet.Serialization.YamlMember(Alias="ports")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.ContainerPortV1> Ports { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="ports")>]
member this.Ports : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.ContainerPortV1>
Public ReadOnly Property Ports As List(Of ContainerPortV1)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to