다음을 통해 공유


IWithPorts<ParentT>.WithInternalUdpPorts(Int32[]) Method

Definition

Specifies the container's Udp ports are available to internal clients only (other container instances within the container group). Containers within a group can reach each other via localhost on the ports that they have exposed, even if those ports are not exposed externally on the group's IP address.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPortsOrContainerInstanceAttach<ParentT> WithInternalUdpPorts (params int[] ports);
abstract member WithInternalUdpPorts : int[] -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPortsOrContainerInstanceAttach<'ParentT>
Public Function WithInternalUdpPorts (ParamArray ports As Integer()) As IWithPortsOrContainerInstanceAttach(Of ParentT)

Parameters

ports
Int32[]

Array of UDP ports to be exposed internally.

Returns

Applies to