Freigeben über


APIKeys class

Klasse, die einen APIKeys darstellt.

Konstruktoren

APIKeys(ApplicationInsightsManagementClientContext)

Erstellen Sie einen APIKeys.

Methoden

create(string, string, APIKeyRequest, RequestOptionsBase)

Erstellen Sie einen API-Schlüssel einer Application Insights-Komponente.

create(string, string, APIKeyRequest, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
create(string, string, APIKeyRequest, ServiceCallback<ApplicationInsightsComponentAPIKey>)
deleteMethod(string, string, string, RequestOptionsBase)

Löschen Eines API-Schlüssels einer Application Insights-Komponente.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
deleteMethod(string, string, string, ServiceCallback<ApplicationInsightsComponentAPIKey>)
get(string, string, string, RequestOptionsBase)

Rufen Sie den API-Schlüssel für diese Schlüssel-ID ab.

get(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
get(string, string, string, ServiceCallback<ApplicationInsightsComponentAPIKey>)
list(string, string, RequestOptionsBase)

Ruft eine Liste der API-Schlüssel einer Application Insights -Komponente ab.

list(string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)
list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

Details zum Konstruktor

APIKeys(ApplicationInsightsManagementClientContext)

Erstellen Sie einen APIKeys.

new APIKeys(client: ApplicationInsightsManagementClientContext)

Parameter

client
ApplicationInsightsManagementClientContext

Verweisen auf den Dienstclient.

Details zur Methode

create(string, string, APIKeyRequest, RequestOptionsBase)

Erstellen Sie einen API-Schlüssel einer Application Insights-Komponente.

function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options?: RequestOptionsBase): Promise<APIKeysCreateResponse>

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
RequestOptionsBase

Die optionalen Parameter

Gibt zurück

Promise-Modelle.APIKeysCreateResponse<>

create(string, string, APIKeyRequest, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)

function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

Die optionalen Parameter

create(string, string, APIKeyRequest, ServiceCallback<ApplicationInsightsComponentAPIKey>)

function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, callback: ServiceCallback<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.

deleteMethod(string, string, string, RequestOptionsBase)

Löschen Eines API-Schlüssels einer Application Insights-Komponente.

function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options?: RequestOptionsBase): Promise<APIKeysDeleteMethodResponse>

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
RequestOptionsBase

Die optionalen Parameter

Gibt zurück

Promise<Models.APIKeysDeleteMethodResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)

function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

Die optionalen Parameter

deleteMethod(string, string, string, ServiceCallback<ApplicationInsightsComponentAPIKey>)

function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<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.

get(string, string, string, RequestOptionsBase)

Rufen Sie den API-Schlüssel für diese Schlüssel-ID ab.

function get(resourceGroupName: string, resourceName: string, keyId: string, options?: RequestOptionsBase): Promise<APIKeysGetResponse>

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
RequestOptionsBase

Die optionalen Parameter

Gibt zurück

Promise<Models.APIKeysGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)

function get(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

Die optionalen Parameter

get(string, string, string, ServiceCallback<ApplicationInsightsComponentAPIKey>)

function get(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<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.

list(string, string, RequestOptionsBase)

Ruft eine Liste der API-Schlüssel einer Application Insights -Komponente ab.

function list(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<APIKeysListResponse>

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
RequestOptionsBase

Die optionalen Parameter

Gibt zurück

Promise-Modelle.APIKeysListResponse<>

list(string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

function list(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

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
RequestOptionsBase

Die optionalen Parameter

list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

function list(resourceGroupName: string, resourceName: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

Parameter

resourceGroupName

string

Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.

resourceName

string

Der Name der Application Insights-Komponentenressource.