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

ArmAppServiceModelFactory.InboundEnvironmentEndpoint Method

Definition

Initializes a new instance of InboundEnvironmentEndpoint.

public static Azure.ResourceManager.AppService.Models.InboundEnvironmentEndpoint InboundEnvironmentEndpoint (string description = default, System.Collections.Generic.IEnumerable<string> endpoints = default, System.Collections.Generic.IEnumerable<string> ports = default);
static member InboundEnvironmentEndpoint : string * seq<string> * seq<string> -> Azure.ResourceManager.AppService.Models.InboundEnvironmentEndpoint
Public Shared Function InboundEnvironmentEndpoint (Optional description As String = Nothing, Optional endpoints As IEnumerable(Of String) = Nothing, Optional ports As IEnumerable(Of String) = Nothing) As InboundEnvironmentEndpoint

Parameters

description
String

Short text describing the purpose of the network traffic.

endpoints
IEnumerable<String>

The IP addresses that network traffic will originate from in cidr notation.

ports
IEnumerable<String>

The ports that network traffic will arrive to the App Service Environment at.

Returns

A new InboundEnvironmentEndpoint instance for mocking.

Applies to