Share via


Container.Ports Property

Definition

Gets or sets the exposed ports on the container instance.

[Newtonsoft.Json.JsonProperty(PropertyName="properties.ports")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.ContainerPort> Ports { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.ports")>]
member this.Ports : System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.ContainerPort> with get, set
Public Property Ports As IList(Of ContainerPort)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to