Condividi tramite


WebTests interface

Interfaccia che rappresenta un oggetto WebTests.

Metodi

createOrUpdate(string, string, WebTest, WebTestsCreateOrUpdateOptionalParams)

Crea o aggiorna una definizione di test Web di Application Insights.

delete(string, string, WebTestsDeleteOptionalParams)

Elimina un test Web di Application Insights.

get(string, string, WebTestsGetOptionalParams)

Ottenere una definizione specifica di test Web di Application Insights.

list(WebTestsListOptionalParams)

Ottenere tutte le definizioni di test Web di Application Insights per la sottoscrizione specificata.

listByComponent(string, string, WebTestsListByComponentOptionalParams)

Ottenere tutti i test Web di Application Insights definiti per il componente specificato.

listByResourceGroup(string, WebTestsListByResourceGroupOptionalParams)

Ottenere tutti i test Web di Application Insights definiti per il gruppo di risorse specificato.

updateTags(string, string, TagsResource, WebTestsUpdateTagsOptionalParams)

Aggiorna i tag associati a un test Web di Application Insights.

Dettagli metodo

createOrUpdate(string, string, WebTest, WebTestsCreateOrUpdateOptionalParams)

Crea o aggiorna una definizione di test Web di Application Insights.

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

Parametri

resourceGroupName

string

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

webTestName

string

Nome della risorsa WebTest di Application Insights.

webTestDefinition
WebTest

Proprietà che devono essere specificate per creare o aggiornare una definizione di test Web di Application Insights.

options
WebTestsCreateOrUpdateOptionalParams

Parametri delle opzioni.

Restituisce

Promise<WebTest>

delete(string, string, WebTestsDeleteOptionalParams)

Elimina un test Web di Application Insights.

function delete(resourceGroupName: string, webTestName: string, options?: WebTestsDeleteOptionalParams): Promise<void>

Parametri

resourceGroupName

string

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

webTestName

string

Nome della risorsa WebTest di Application Insights.

options
WebTestsDeleteOptionalParams

Parametri delle opzioni.

Restituisce

Promise<void>

get(string, string, WebTestsGetOptionalParams)

Ottenere una definizione specifica di test Web di Application Insights.

function get(resourceGroupName: string, webTestName: string, options?: WebTestsGetOptionalParams): Promise<WebTest>

Parametri

resourceGroupName

string

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

webTestName

string

Nome della risorsa WebTest di Application Insights.

options
WebTestsGetOptionalParams

Parametri delle opzioni.

Restituisce

Promise<WebTest>

list(WebTestsListOptionalParams)

Ottenere tutte le definizioni di test Web di Application Insights per la sottoscrizione specificata.

function list(options?: WebTestsListOptionalParams): PagedAsyncIterableIterator<WebTest, WebTest[], PageSettings>

Parametri

options
WebTestsListOptionalParams

Parametri delle opzioni.

Restituisce

listByComponent(string, string, WebTestsListByComponentOptionalParams)

Ottenere tutti i test Web di Application Insights definiti per il componente specificato.

function listByComponent(componentName: string, resourceGroupName: string, options?: WebTestsListByComponentOptionalParams): PagedAsyncIterableIterator<WebTest, WebTest[], PageSettings>

Parametri

componentName

string

Nome della risorsa componente di Application Insights.

resourceGroupName

string

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

options
WebTestsListByComponentOptionalParams

Parametri delle opzioni.

Restituisce

listByResourceGroup(string, WebTestsListByResourceGroupOptionalParams)

Ottenere tutti i test Web di Application Insights definiti per il gruppo di risorse specificato.

function listByResourceGroup(resourceGroupName: string, options?: WebTestsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WebTest, WebTest[], PageSettings>

Parametri

resourceGroupName

string

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

options
WebTestsListByResourceGroupOptionalParams

Parametri delle opzioni.

Restituisce

updateTags(string, string, TagsResource, WebTestsUpdateTagsOptionalParams)

Aggiorna i tag associati a un test Web di Application Insights.

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

Parametri

resourceGroupName

string

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

webTestName

string

Nome della risorsa WebTest di Application Insights.

webTestTags
TagsResource

Aggiornamento delle informazioni sui tag da associare alla risorsa di test Web.

options
WebTestsUpdateTagsOptionalParams

Parametri delle opzioni.

Restituisce

Promise<WebTest>