次の方法で共有


IWithPorts<ParentT>.WithInternalUdpPort(Int32) メソッド

定義

コンテナーの UDP ポートを内部クライアント (コンテナー グループ内の他のコンテナー インスタンス) のみが使用できるように指定します。 グループ内のコンテナーは、ポートの localhost 経由で相互にアクセスできます。これは、これらのポートがグループの IP アドレスで外部的に公開されていない場合でも同じです。

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPortsOrContainerInstanceAttach<ParentT> WithInternalUdpPort (int port);
abstract member WithInternalUdpPort : int -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPortsOrContainerInstanceAttach<'ParentT>
Public Function WithInternalUdpPort (port As Integer) As IWithPortsOrContainerInstanceAttach(Of ParentT)

パラメーター

port
Int32

内部で公開される UDP ポート。

戻り値

適用対象