你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmMachineLearningModelFactory.MachineLearningContainerRegistryCredentials 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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 的位置。
- passwords
- IEnumerable<MachineLearningPasswordDetail>
- username
- String
工作区 ACR 的用户名。
返回
用于模拟的新 MachineLearningContainerRegistryCredentials 实例。