Condividi tramite


APIKeys class

Classe che rappresenta un APIKeys.

Costruttori

APIKeys(ApplicationInsightsManagementClientContext)

Creare un APIKeys.

Metodi

create(string, string, APIKeyRequest, RequestOptionsBase)

Creare una chiave API di un componente di Application Insights.

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

Eliminare una chiave API di un componente di Application Insights.

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

Ottenere la chiave API per questo ID chiave.

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

Ottiene un elenco di chiavi API di un componente di Application Insights.

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

Dettagli costruttore

APIKeys(ApplicationInsightsManagementClientContext)

Creare un APIKeys.

new APIKeys(client: ApplicationInsightsManagementClientContext)

Parametri

client
ApplicationInsightsManagementClientContext

Riferimento al client del servizio.

Dettagli metodo

create(string, string, APIKeyRequest, RequestOptionsBase)

Creare una chiave API di un componente di Application Insights.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

aPIKeyProperties
APIKeyRequest

Proprietà che devono essere specificate per creare una chiave API di un componente di Application Insights.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Modelli di promessa.APIKeysCreateResponse<>

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

function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

aPIKeyProperties
APIKeyRequest

Proprietà che devono essere specificate per creare una chiave API di un componente di Application Insights.

options
RequestOptionsBase

Parametri facoltativi

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

function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

aPIKeyProperties
APIKeyRequest

Proprietà che devono essere specificate per creare una chiave API di un componente di Application Insights.

deleteMethod(string, string, string, RequestOptionsBase)

Eliminare una chiave API di un componente di Application Insights.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

keyId

string

ID chiave API. Questo è univoco all'interno di un componente di Application Insights.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.APIKeysDeleteMethodResponse>

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

function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

keyId

string

ID chiave API. Questo è univoco all'interno di un componente di Application Insights.

options
RequestOptionsBase

Parametri facoltativi

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

function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

keyId

string

ID chiave API. Questo è univoco all'interno di un componente di Application Insights.

get(string, string, string, RequestOptionsBase)

Ottenere la chiave API per questo ID chiave.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

keyId

string

ID chiave API. Questo è univoco all'interno di un componente di Application Insights.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.APIKeysGetResponse>

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

function get(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

keyId

string

ID chiave API. Questo è univoco all'interno di un componente di Application Insights.

options
RequestOptionsBase

Parametri facoltativi

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

function get(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

keyId

string

ID chiave API. Questo è univoco all'interno di un componente di Application Insights.

list(string, string, RequestOptionsBase)

Ottiene un elenco di chiavi API di un componente di Application Insights.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.APIKeysListResponse>

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

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.

options
RequestOptionsBase

Parametri facoltativi

list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

resourceName

string

Nome della risorsa componente di Application Insights.