Freigeben über


ArmApplicationInsightsModelFactory.ApplicationInsightsComponentAPIKey Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
String

Die eindeutige ID des API-Schlüssels in einer Application Insights-Komponente. Er wird automatisch generiert, wenn der API-Schlüssel erstellt wird.

apiKey
String

Der API-Schlüsselwert. Es wird nur einmal zurückgegeben, wenn der API-Schlüssel erstellt wurde.

createdDate
String

Das Erstellungsdatum dieses API-Schlüssels.

name
String

Der Name des API-Schlüssels.

linkedReadProperties
IEnumerable<String>

Die Lesezugriffsrechte dieses API-Schlüssels.

linkedWriteProperties
IEnumerable<String>

Die Schreibzugriffsrechte dieses API-Schlüssels.

Gibt zurück

Eine neue ApplicationInsightsComponentAPIKey instance zum Mocking.

Gilt für: