Sdílet prostřednictvím


ArmMachineLearningModelFactory.MachineLearningEndpointProperties Method

Definition

Initializes a new instance of MachineLearningEndpointProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProperties MachineLearningEndpointProperties (Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthMode authMode = default, string description = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys keys = default, System.Collections.Generic.IDictionary<string,string> properties = default, Uri scoringUri = default, Uri swaggerUri = default);
static member MachineLearningEndpointProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthMode * string * Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys * System.Collections.Generic.IDictionary<string, string> * Uri * Uri -> Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProperties
Public Shared Function MachineLearningEndpointProperties (Optional authMode As MachineLearningEndpointAuthMode = Nothing, Optional description As String = Nothing, Optional keys As MachineLearningEndpointAuthKeys = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional scoringUri As Uri = Nothing, Optional swaggerUri As Uri = Nothing) As MachineLearningEndpointProperties

Parameters

authMode
MachineLearningEndpointAuthMode

[Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does.

description
String

Description of the inference endpoint.

keys
MachineLearningEndpointAuthKeys

EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.

properties
IDictionary<String,String>

Property dictionary. Properties can be added, but not removed or altered.

scoringUri
Uri

Endpoint URI.

swaggerUri
Uri

Endpoint Swagger URI.

Returns

A new MachineLearningEndpointProperties instance for mocking.

Applies to