Partilhar via


ComputeBatchModelFactory.InboundEndpoint Method

Definition

Initializes a new instance of InboundEndpoint.

public static Azure.Compute.Batch.InboundEndpoint InboundEndpoint (string name = default, Azure.Compute.Batch.InboundEndpointProtocol protocol = default, string publicIpAddress = default, string publicFQDN = default, int frontendPort = 0, int backendPort = 0);
static member InboundEndpoint : string * Azure.Compute.Batch.InboundEndpointProtocol * string * string * int * int -> Azure.Compute.Batch.InboundEndpoint
Public Shared Function InboundEndpoint (Optional name As String = Nothing, Optional protocol As InboundEndpointProtocol = Nothing, Optional publicIpAddress As String = Nothing, Optional publicFQDN As String = Nothing, Optional frontendPort As Integer = 0, Optional backendPort As Integer = 0) As InboundEndpoint

Parameters

name
String

The name of the endpoint.

protocol
InboundEndpointProtocol

The protocol of the endpoint.

publicIpAddress
String

The public IP address of the Compute Node.

publicFQDN
String

The public fully qualified domain name for the Compute Node.

frontendPort
Int32

The public port number of the endpoint.

backendPort
Int32

The backend port number of the endpoint.

Returns

A new InboundEndpoint instance for mocking.

Applies to