你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmMachineLearningModelFactory.MachineLearningBatchEndpointProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 MachineLearningBatchEndpointProperties 的新实例。
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchEndpointProperties MachineLearningBatchEndpointProperties (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, string defaultsDeploymentName = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProvisioningState? provisioningState = default);
static member MachineLearningBatchEndpointProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthMode * string * Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys * System.Collections.Generic.IDictionary<string, string> * Uri * Uri * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProvisioningState> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchEndpointProperties
Public Shared Function MachineLearningBatchEndpointProperties (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, Optional defaultsDeploymentName As String = Nothing, Optional provisioningState As Nullable(Of MachineLearningEndpointProvisioningState) = Nothing) As MachineLearningBatchEndpointProperties
参数
- authMode
- MachineLearningEndpointAuthMode
[必需]使用“密钥”进行基于密钥的身份验证,使用“AMLToken”进行基于 Azure 机器学习令牌的身份验证。 “密钥”不会过期,但“AMLToken”会过期。
- description
- String
推理终结点的说明。
EndpointAuthKeys 最初在终结点上设置。 此属性将始终返回为 null。 必须使用 ListKeys API 检索 AuthKey 值。
- properties
- IDictionary<String,String>
属性字典。 可以添加属性,但不能删除或更改属性。
- scoringUri
- Uri
终结点 URI。
- swaggerUri
- Uri
终结点 Swagger URI。
- defaultsDeploymentName
- String
Batch 终结点的默认值。
- provisioningState
- Nullable<MachineLearningEndpointProvisioningState>
终结点的预配状态。
返回
用于模拟的新 MachineLearningBatchEndpointProperties 实例。