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

ArmMachineLearningComputeModelFactory.AppInsightsCredentials 方法

定义

初始化 AppInsightsCredentials 的新实例。

public static Azure.ResourceManager.MachineLearningCompute.Models.AppInsightsCredentials AppInsightsCredentials (string appId = default, string instrumentationKey = default);
static member AppInsightsCredentials : string * string -> Azure.ResourceManager.MachineLearningCompute.Models.AppInsightsCredentials
Public Shared Function AppInsightsCredentials (Optional appId As String = Nothing, Optional instrumentationKey As String = Nothing) As AppInsightsCredentials

参数

appId
String

AppInsights 应用程序 ID。

instrumentationKey
String

AppInsights 检测密钥。 这不会在响应资源上的 GET/PUT 时返回。 若要查看此情况,请调用 listKeys API。

返回

用于模拟的新 AppInsightsCredentials 实例。

适用于