Compartilhar via


APIKeys class

Classe que representa uma APIKeys.

Construtores

APIKeys(ApplicationInsightsManagementClientContext)

Crie uma APIKeys.

Métodos

create(string, string, APIKeyRequest, RequestOptionsBase)

Crie uma chave de API de um componente do Application Insights.

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

Exclua uma chave de API de um componente do Application Insights.

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

Obtenha a chave de API para essa ID de chave.

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

Obtém uma lista de chaves de API de um componente do Application Insights.

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

Detalhes do construtor

APIKeys(ApplicationInsightsManagementClientContext)

Crie uma APIKeys.

new APIKeys(client: ApplicationInsightsManagementClientContext)

Parâmetros

client
ApplicationInsightsManagementClientContext

Referência ao cliente de serviço.

Detalhes do método

create(string, string, APIKeyRequest, RequestOptionsBase)

Crie uma chave de API de um componente do Application Insights.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

aPIKeyProperties
APIKeyRequest

Propriedades que precisam ser especificadas para criar uma chave de API de um componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

> Promise<Models.APIKeysCreateResponse

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

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

aPIKeyProperties
APIKeyRequest

Propriedades que precisam ser especificadas para criar uma chave de API de um componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

O retorno de chamada

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

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

aPIKeyProperties
APIKeyRequest

Propriedades que precisam ser especificadas para criar uma chave de API de um componente do Application Insights.

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

O retorno de chamada

deleteMethod(string, string, string, RequestOptionsBase)

Exclua uma chave de API de um componente do Application Insights.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

keyId

string

A ID da chave de API. Isso é exclusivo em um componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.APIKeysDeleteMethodResponse>

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

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

keyId

string

A ID da chave de API. Isso é exclusivo em um componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

O retorno de chamada

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

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

keyId

string

A ID da chave de API. Isso é exclusivo em um componente do Application Insights.

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

O retorno de chamada

get(string, string, string, RequestOptionsBase)

Obtenha a chave de API para essa ID de chave.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

keyId

string

A ID da chave de API. Isso é exclusivo em um componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

> Promise<Models.APIKeysGetResponse

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

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

keyId

string

A ID da chave de API. Isso é exclusivo em um componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

O retorno de chamada

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

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

keyId

string

A ID da chave de API. Isso é exclusivo em um componente do Application Insights.

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

O retorno de chamada

list(string, string, RequestOptionsBase)

Obtém uma lista de chaves de API de um componente do Application Insights.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

> Promise<Models.APIKeysListResponse

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

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.