EphemeralContainerV1.Ports Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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