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

ApplicationGateway.DefinitionStages.WithFrontendPort 接口

public interface WithFrontendPort

允许添加前端端口的应用程序网关定义的阶段。

方法摘要

修饰符和类型 方法和描述
ApplicationGateway.DefinitionStages.WithCreate withFrontendPort(int portNumber)

创建具有自动生成名称和指定端口号的前端端口,除非已存在。

ApplicationGateway.DefinitionStages.WithCreate withFrontendPort(int portNumber, String name)

创建具有指定名称和端口号的前端端口,除非已存在匹配此名称和/或编号的端口。

方法详细信息

withFrontendPort

public WithCreate withFrontendPort(int portNumber)

创建具有自动生成名称和指定端口号的前端端口,除非已存在。

Parameters:

portNumber - 端口号

Returns:

定义的下一阶段

withFrontendPort

public WithCreate withFrontendPort(int portNumber, String name)

创建具有指定名称和端口号的前端端口,除非已存在匹配此名称和/或编号的端口。

Parameters:

portNumber - 端口号
name - 要分配给端口的名称

Returns:

定义下一阶段;如果已存在与名称或数字匹配但不是两者匹配的端口,则为 null。

适用于