Compartilhar via


ArmMachineLearningModelFactory.ServerlessInferenceEndpoint Method

Definition

Initializes a new instance of ServerlessInferenceEndpoint.

public static Azure.ResourceManager.MachineLearning.Models.ServerlessInferenceEndpoint ServerlessInferenceEndpoint (Uri uri = default, System.Collections.Generic.IReadOnlyDictionary<string,string> headers = default);
static member ServerlessInferenceEndpoint : Uri * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.MachineLearning.Models.ServerlessInferenceEndpoint
Public Shared Function ServerlessInferenceEndpoint (Optional uri As Uri = Nothing, Optional headers As IReadOnlyDictionary(Of String, String) = Nothing) As ServerlessInferenceEndpoint

Parameters

uri
Uri

[Required] The inference uri to target when making requests against the Serverless Endpoint.

headers
IReadOnlyDictionary<String,String>

Specifies any required headers to target this serverless endpoint.

Returns

A new ServerlessInferenceEndpoint instance for mocking.

Applies to