Share via


ArmApplicationInsightsModelFactory.ApplicationInsightsComponentAPIKey Method

Definition

Initializes a new instance of ApplicationInsightsComponentAPIKey.

public static Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAPIKey ApplicationInsightsComponentAPIKey (string id = default, string apiKey = default, string createdDate = default, string name = default, System.Collections.Generic.IEnumerable<string> linkedReadProperties = default, System.Collections.Generic.IEnumerable<string> linkedWriteProperties = default);
static member ApplicationInsightsComponentAPIKey : string * string * string * string * seq<string> * seq<string> -> Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAPIKey
Public Shared Function ApplicationInsightsComponentAPIKey (Optional id As String = Nothing, Optional apiKey As String = Nothing, Optional createdDate As String = Nothing, Optional name As String = Nothing, Optional linkedReadProperties As IEnumerable(Of String) = Nothing, Optional linkedWriteProperties As IEnumerable(Of String) = Nothing) As ApplicationInsightsComponentAPIKey

Parameters

id
String

The unique ID of the API key inside an Application Insights component. It is auto generated when the API key is created.

apiKey
String

The API key value. It will be only return once when the API Key was created.

createdDate
String

The create date of this API key.

name
String

The name of the API key.

linkedReadProperties
IEnumerable<String>

The read access rights of this API Key.

linkedWriteProperties
IEnumerable<String>

The write access rights of this API Key.

Returns

A new ApplicationInsightsComponentAPIKey instance for mocking.

Applies to