Share via


ArmApplicationInsightsModelFactory.ApplicationInsightsComponentApiKey Method

Definition

Initializes a new instance of Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentApiKey.

public static Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentApiKey ApplicationInsightsComponentApiKey (string id = default, string apiKey = default, DateTimeOffset? createdOn = default, string name = default, System.Collections.Generic.IEnumerable<string> linkedReadProperties = default, System.Collections.Generic.IEnumerable<string> linkedWriteProperties = default);
static member ApplicationInsightsComponentApiKey : string * string * Nullable<DateTimeOffset> * 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 createdOn As Nullable(Of DateTimeOffset) = 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.

createdOn
Nullable<DateTimeOffset>

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

Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentApiKey

A new Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentApiKey instance for mocking.

Applies to