APIKeys interface
Schnittstelle, die einen APIKeys darstellt.
Methoden
| create(string, string, APIKey |
Erstellen Sie einen API-Schlüssel einer Application Insights-Komponente. |
| delete(string, string, string, APIKeys |
Löschen Eines API-Schlüssels einer Application Insights-Komponente. |
| get(string, string, string, APIKeys |
Rufen Sie den API-Schlüssel für diese Schlüssel-ID ab. |
| list(string, string, APIKeys |
Ruft eine Liste der API-Schlüssel einer Application Insights -Komponente ab. |
Details zur Methode
create(string, string, APIKeyRequest, APIKeysCreateOptionalParams)
Erstellen Sie einen API-Schlüssel einer Application Insights-Komponente.
function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options?: APIKeysCreateOptionalParams): Promise<ApplicationInsightsComponentAPIKey>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.
- resourceName
-
string
Der Name der Application Insights-Komponentenressource.
- aPIKeyProperties
- APIKeyRequest
Eigenschaften, die angegeben werden müssen, um einen API-Schlüssel einer Application Insights-Komponente zu erstellen.
- options
- APIKeysCreateOptionalParams
Die Optionsparameter.
Gibt zurück
Promise<ApplicationInsightsComponentAPIKey>
delete(string, string, string, APIKeysDeleteOptionalParams)
Löschen Eines API-Schlüssels einer Application Insights-Komponente.
function delete(resourceGroupName: string, resourceName: string, keyId: string, options?: APIKeysDeleteOptionalParams): Promise<ApplicationInsightsComponentAPIKey>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.
- resourceName
-
string
Der Name der Application Insights-Komponentenressource.
- keyId
-
string
Die API-Schlüssel-ID. Dies ist innerhalb einer Application Insights-Komponente einzigartig.
- options
- APIKeysDeleteOptionalParams
Die Optionsparameter.
Gibt zurück
Promise<ApplicationInsightsComponentAPIKey>
get(string, string, string, APIKeysGetOptionalParams)
Rufen Sie den API-Schlüssel für diese Schlüssel-ID ab.
function get(resourceGroupName: string, resourceName: string, keyId: string, options?: APIKeysGetOptionalParams): Promise<ApplicationInsightsComponentAPIKey>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.
- resourceName
-
string
Der Name der Application Insights-Komponentenressource.
- keyId
-
string
Die API-Schlüssel-ID. Dies ist innerhalb einer Application Insights-Komponente einzigartig.
- options
- APIKeysGetOptionalParams
Die Optionsparameter.
Gibt zurück
Promise<ApplicationInsightsComponentAPIKey>
list(string, string, APIKeysListOptionalParams)
Ruft eine Liste der API-Schlüssel einer Application Insights -Komponente ab.
function list(resourceGroupName: string, resourceName: string, options?: APIKeysListOptionalParams): PagedAsyncIterableIterator<ApplicationInsightsComponentAPIKey, ApplicationInsightsComponentAPIKey[], PageSettings>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.
- resourceName
-
string
Der Name der Application Insights-Komponentenressource.
- options
- APIKeysListOptionalParams
Die Optionsparameter.