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

ArmMachineLearningModelFactory.MachineLearningContainerRegistryCredentials 方法

定义

初始化 MachineLearningContainerRegistryCredentials 的新实例。

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningContainerRegistryCredentials MachineLearningContainerRegistryCredentials (Azure.Core.AzureLocation? location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.MachineLearningPasswordDetail> passwords = default, string username = default);
static member MachineLearningContainerRegistryCredentials : Nullable<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.MachineLearning.Models.MachineLearningPasswordDetail> * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningContainerRegistryCredentials
Public Shared Function MachineLearningContainerRegistryCredentials (Optional location As Nullable(Of AzureLocation) = Nothing, Optional passwords As IEnumerable(Of MachineLearningPasswordDetail) = Nothing, Optional username As String = Nothing) As MachineLearningContainerRegistryCredentials

参数

location
Nullable<AzureLocation>

工作区 ACR 的位置。

username
String

工作区 ACR 的用户名。

返回

用于模拟的新 MachineLearningContainerRegistryCredentials 实例。

适用于