ContainerPortV1.HostPort 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 or sets the port number on the host machine that is mapped to the container's port. This enables external access to the container's service.
[YamlDotNet.Serialization.YamlMember(Alias="hostPort")]
public Aspire.Hosting.Kubernetes.Resources.Int32OrStringV1? HostPort { get; set; }[<YamlDotNet.Serialization.YamlMember(Alias="hostPort")>]
member this.HostPort : Aspire.Hosting.Kubernetes.Resources.Int32OrStringV1 with get, setPublic Property HostPort As Int32OrStringV1Property Value
- Attributes
- 
			YamlDotNet.Serialization.YamlMemberAttribute