你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithPorts<ParentT>.WithPorts(Int32[]) 方法

定义

要在此代理池上公开的端口。 默认公开的端口根据你选择的业务流程协调程序而异。

public Microsoft.Azure.Management.ContainerService.Fluent.ContainerServiceAgentPool.Definition.IWithAttach<ParentT> WithPorts (params int[] ports);
abstract member WithPorts : int[] -> Microsoft.Azure.Management.ContainerService.Fluent.ContainerServiceAgentPool.Definition.IWithAttach<'ParentT>
Public Function WithPorts (ParamArray ports As Integer()) As IWithAttach(Of ParentT)

参数

ports
Int32[]

将在此代理池中公开的端口号。

返回

适用于