ArmMachineLearningComputeModelFactory.AppInsightsCredentials Method

Definition

Initializes a new instance of 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

Parameters

appId
String

The AppInsights application ID.

instrumentationKey
String

The AppInsights instrumentation key. This is not returned in response of GET/PUT on the resource. To see this please call listKeys API.

Returns

A new AppInsightsCredentials instance for mocking.

Applies to