Share via


ServicePortV1.Port Property

Definition

Represents the port number that the service will expose. This value specifies the port on which the service is accessible.

[YamlDotNet.Serialization.YamlMember(Alias="port")]
public Aspire.Hosting.Kubernetes.Resources.Int32OrStringV1 Port { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="port")>]
member this.Port : Aspire.Hosting.Kubernetes.Resources.Int32OrStringV1 with get, set
Public Property Port As Int32OrStringV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to