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

ArmMachineLearningModelFactory.MachineLearningEndpointProperties 方法

定义

初始化 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

参数

authMode
MachineLearningEndpointAuthMode

[必需]使用“密钥”进行基于密钥的身份验证,使用“AMLToken”进行基于 Azure 机器学习令牌的身份验证。 “密钥”不会过期,但“AMLToken”会过期。

description
String

推理终结点的说明。

keys
MachineLearningEndpointAuthKeys

EndpointAuthKeys 最初在终结点上设置。 此属性将始终返回为 null。 必须使用 ListKeys API 检索 AuthKey 值。

properties
IDictionary<String,String>

属性字典。 可以添加属性,但不能删除或更改属性。

scoringUri
Uri

终结点 URI。

swaggerUri
Uri

终结点 Swagger URI。

返回

用于模拟的新 MachineLearningEndpointProperties 实例。

适用于