ApplicationGatewayListener.DefinitionStages.WithFrontendPort<ParentT>.withFrontendPort 方法

定义

重载

withFrontendPort(int portNumber)

Enables the listener to listen on the specified frontend port number.

If a frontend port for this port number does not yet exist, a new will be created with an auto-generated name.

withFrontendPort(String name)

Enables the listener to listen on the specified existing frontend port.

withFrontendPort(int portNumber)

Enables the listener to listen on the specified frontend port number.

If a frontend port for this port number does not yet exist, a new will be created with an auto-generated name.

public WithAttach<ParentT> withFrontendPort(int portNumber)

参数

portNumber
int

a port number

返回

the next stage of the definition

withFrontendPort(String name)

Enables the listener to listen on the specified existing frontend port.

public WithAttach<ParentT> withFrontendPort(String name)

参数

name
String

the name of an existing frontend port

返回

the next stage of the definition

适用于