Language

ArmMachineLearningModelFactory.ContainerEndpoint Method

Definition

The ContainerEndpoint.

public static Azure.ResourceManager.MachineLearning.Models.ContainerEndpoint ContainerEndpoint(Azure.ResourceManager.MachineLearning.Models.ContainerCommunicationProtocol? protocol = default, string name = default, int? target = default, int? published = default, string hostIP = default);
static member ContainerEndpoint : Nullable<Azure.ResourceManager.MachineLearning.Models.ContainerCommunicationProtocol> * string * Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.MachineLearning.Models.ContainerEndpoint
Public Shared Function ContainerEndpoint (Optional protocol As Nullable(Of ContainerCommunicationProtocol) = Nothing, Optional name As String = Nothing, Optional target As Nullable(Of Integer) = Nothing, Optional published As Nullable(Of Integer) = Nothing, Optional hostIP As String = Nothing) As ContainerEndpoint

Parameters

protocol
Nullable<ContainerCommunicationProtocol>

Protocol over which communication will happen over this endpoint.

name
String

Name of the Endpoint.

target
Nullable<Int32>

Application port inside the container.

published
Nullable<Int32>

Port over which the application is exposed from container.

hostIP
String

Host IP over which the application is exposed from the container.

Returns

A new ContainerEndpoint instance for mocking.

Applies to