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

ApplicationGateway.UpdateStages.WithListener 接口

public interface WithListener

允许修改前端侦听器的应用程序网关更新阶段。

方法摘要

修饰符和类型 方法和描述
ApplicationGatewayListener.UpdateDefinitionStages.Blank<ApplicationGateway.Update> defineListener(String name)

开始定义要附加到网关的新应用程序网关侦听器。

ApplicationGatewayListener.Update updateListener(String name)

开始更新侦听器。

ApplicationGateway.Update withoutListener(String name)

从应用程序网关中删除前端侦听器。

请注意,删除由其他设置引用的侦听器可能会中断应用程序网关。

方法详细信息

defineListener

public ApplicationGatewayListener.UpdateDefinitionStages.Blank defineListener(String name)

开始定义要附加到网关的新应用程序网关侦听器。

参数:

name - 侦听器的唯一名称

返回:

侦听器定义的第一阶段

updateListener

public ApplicationGatewayListener.Update updateListener(String name)

开始更新侦听器。

参数:

name - 要更新的现有侦听器的名称

返回:

定义的下一阶段;如果请求的侦听器不存在,则为 null

withoutListener

public Update withoutListener(String name)

从应用程序网关中删除前端侦听器。

请注意,删除由其他设置引用的侦听器可能会中断应用程序网关。

参数:

name - 要删除的侦听器的名称

返回:

更新的下一阶段

适用于