Partilhar via


WebTests class

Classe que representa um WebTests.

Construtores

WebTests(ApplicationInsightsManagementClientContext)

Crie um WebTests.

Métodos

createOrUpdate(string, string, WebTest, RequestOptionsBase)

Cria ou atualiza uma definição de teste da Web do Application Insights.

createOrUpdate(string, string, WebTest, RequestOptionsBase, ServiceCallback<WebTest>)
createOrUpdate(string, string, WebTest, ServiceCallback<WebTest>)
deleteMethod(string, string, RequestOptionsBase)

Exclui um teste da Web do Application Insights.

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

Obtenha uma definição específica de teste da Web do Application Insights.

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

Obtenha todas as definições de alertas de teste da Web do Application Insights em uma assinatura.

list(RequestOptionsBase, ServiceCallback<WebTestListResult>)
list(ServiceCallback<WebTestListResult>)
listByComponent(string, string, RequestOptionsBase)

Obtenha todos os testes da Web do Application Insights definidos para o componente especificado.

listByComponent(string, string, RequestOptionsBase, ServiceCallback<WebTestListResult>)
listByComponent(string, string, ServiceCallback<WebTestListResult>)
listByComponentNext(string, RequestOptionsBase)

Obtenha todos os testes da Web do Application Insights definidos para o componente especificado.

listByComponentNext(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)
listByComponentNext(string, ServiceCallback<WebTestListResult>)
listByResourceGroup(string, RequestOptionsBase)

Obtenha todos os testes da Web do Application Insights definidos dentro de um grupo de recursos especificado.

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)
listByResourceGroup(string, ServiceCallback<WebTestListResult>)
listByResourceGroupNext(string, RequestOptionsBase)

Obtenha todos os testes da Web do Application Insights definidos dentro de um grupo de recursos especificado.

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)
listByResourceGroupNext(string, ServiceCallback<WebTestListResult>)
listNext(string, RequestOptionsBase)

Obtenha todas as definições de alertas de teste da Web do Application Insights em uma assinatura.

listNext(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)
listNext(string, ServiceCallback<WebTestListResult>)
updateTags(string, string, TagsResource, RequestOptionsBase)

Cria ou atualiza uma definição de teste da Web do Application Insights.

updateTags(string, string, TagsResource, RequestOptionsBase, ServiceCallback<WebTest>)
updateTags(string, string, TagsResource, ServiceCallback<WebTest>)

Detalhes do Construtor

WebTests(ApplicationInsightsManagementClientContext)

Crie um WebTests.

new WebTests(client: ApplicationInsightsManagementClientContext)

Parâmetros

client
ApplicationInsightsManagementClientContext

Referência ao cliente do serviço.

Detalhes de Método

createOrUpdate(string, string, WebTest, RequestOptionsBase)

Cria ou atualiza uma definição de teste da Web do Application Insights.

function createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, options?: RequestOptionsBase): Promise<WebTestsCreateOrUpdateResponse>

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

webTestDefinition
WebTest

Propriedades que precisam ser especificadas para criar ou atualizar uma definição de teste da Web do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de promessa.WebTestsCreateOrUpdateResponse<>

createOrUpdate(string, string, WebTest, RequestOptionsBase, ServiceCallback<WebTest>)

function createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, options: RequestOptionsBase, callback: ServiceCallback<WebTest>)

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

webTestDefinition
WebTest

Propriedades que precisam ser especificadas para criar ou atualizar uma definição de teste da Web do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WebTest>

O retorno de chamada

createOrUpdate(string, string, WebTest, ServiceCallback<WebTest>)

function createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, callback: ServiceCallback<WebTest>)

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

webTestDefinition
WebTest

Propriedades que precisam ser especificadas para criar ou atualizar uma definição de teste da Web do Application Insights.

callback

ServiceCallback<WebTest>

O retorno de chamada

deleteMethod(string, string, RequestOptionsBase)

Exclui um teste da Web do Application Insights.

function deleteMethod(resourceGroupName: string, webTestName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<RestResponse>

Prometa<> msRest.RestResponse

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

function deleteMethod(resourceGroupName: string, webTestName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

O retorno de chamada

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, webTestName: string, callback: ServiceCallback<void>)

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

callback

ServiceCallback<void>

O retorno de chamada

get(string, string, RequestOptionsBase)

Obtenha uma definição específica de teste da Web do Application Insights.

function get(resourceGroupName: string, webTestName: string, options?: RequestOptionsBase): Promise<WebTestsGetResponse>

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de promessa.WebTestsGetResponse<>

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

function get(resourceGroupName: string, webTestName: string, options: RequestOptionsBase, callback: ServiceCallback<WebTest>)

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WebTest>

O retorno de chamada

get(string, string, ServiceCallback<WebTest>)

function get(resourceGroupName: string, webTestName: string, callback: ServiceCallback<WebTest>)

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

callback

ServiceCallback<WebTest>

O retorno de chamada

list(RequestOptionsBase)

Obtenha todas as definições de alertas de teste da Web do Application Insights em uma assinatura.

function list(options?: RequestOptionsBase): Promise<WebTestsListResponse>

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de Promessa.WebTestsListResponse<>

list(RequestOptionsBase, ServiceCallback<WebTestListResult>)

function list(options: RequestOptionsBase, callback: ServiceCallback<WebTestListResult>)

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

list(ServiceCallback<WebTestListResult>)

function list(callback: ServiceCallback<WebTestListResult>)

Parâmetros

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listByComponent(string, string, RequestOptionsBase)

Obtenha todos os testes da Web do Application Insights definidos para o componente especificado.

function listByComponent(componentName: string, resourceGroupName: string, options?: RequestOptionsBase): Promise<WebTestsListByComponentResponse>

Parâmetros

componentName

string

O nome do recurso do componente Application Insights.

resourceGroupName

string

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

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<Models.WebTestsListByComponentResponse>

listByComponent(string, string, RequestOptionsBase, ServiceCallback<WebTestListResult>)

function listByComponent(componentName: string, resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<WebTestListResult>)

Parâmetros

componentName

string

O nome do recurso do componente Application Insights.

resourceGroupName

string

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

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listByComponent(string, string, ServiceCallback<WebTestListResult>)

function listByComponent(componentName: string, resourceGroupName: string, callback: ServiceCallback<WebTestListResult>)

Parâmetros

componentName

string

O nome do recurso do componente Application Insights.

resourceGroupName

string

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

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listByComponentNext(string, RequestOptionsBase)

Obtenha todos os testes da Web do Application Insights definidos para o componente especificado.

function listByComponentNext(nextPageLink: string, options?: RequestOptionsBase): Promise<WebTestsListByComponentNextResponse>

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de promessa.WebTestsListByComponentNextResponse<>

listByComponentNext(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)

function listByComponentNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<WebTestListResult>)

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listByComponentNext(string, ServiceCallback<WebTestListResult>)

function listByComponentNext(nextPageLink: string, callback: ServiceCallback<WebTestListResult>)

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listByResourceGroup(string, RequestOptionsBase)

Obtenha todos os testes da Web do Application Insights definidos dentro de um grupo de recursos especificado.

function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<WebTestsListByResourceGroupResponse>

Parâmetros

resourceGroupName

string

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

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de Promessa.WebTestsListByResourceGroupResponse<>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)

function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<WebTestListResult>)

Parâmetros

resourceGroupName

string

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

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listByResourceGroup(string, ServiceCallback<WebTestListResult>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<WebTestListResult>)

Parâmetros

resourceGroupName

string

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

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listByResourceGroupNext(string, RequestOptionsBase)

Obtenha todos os testes da Web do Application Insights definidos dentro de um grupo de recursos especificado.

function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<WebTestsListByResourceGroupNextResponse>

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de Promessa.WebTestsListByResourceGroupNextResponse<>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)

function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<WebTestListResult>)

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listByResourceGroupNext(string, ServiceCallback<WebTestListResult>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<WebTestListResult>)

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listNext(string, RequestOptionsBase)

Obtenha todas as definições de alertas de teste da Web do Application Insights em uma assinatura.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<WebTestsListNextResponse>

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de Promessa.WebTestsListNextResponse<>

listNext(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<WebTestListResult>)

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

listNext(string, ServiceCallback<WebTestListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<WebTestListResult>)

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

callback

ServiceCallback<WebTestListResult>

O retorno de chamada

updateTags(string, string, TagsResource, RequestOptionsBase)

Cria ou atualiza uma definição de teste da Web do Application Insights.

function updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, options?: RequestOptionsBase): Promise<WebTestsUpdateTagsResponse>

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

webTestTags
TagsResource

Informações de tag atualizadas para definir na instância de teste da Web.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de Promessa.WebTestesAtualizaçãoTagsResposta<>

updateTags(string, string, TagsResource, RequestOptionsBase, ServiceCallback<WebTest>)

function updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, options: RequestOptionsBase, callback: ServiceCallback<WebTest>)

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

webTestTags
TagsResource

Informações de tag atualizadas para definir na instância de teste da Web.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WebTest>

O retorno de chamada

updateTags(string, string, TagsResource, ServiceCallback<WebTest>)

function updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, callback: ServiceCallback<WebTest>)

Parâmetros

resourceGroupName

string

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

webTestName

string

O nome do recurso webtest do Application Insights.

webTestTags
TagsResource

Informações de tag atualizadas para definir na instância de teste da Web.

callback

ServiceCallback<WebTest>

O retorno de chamada