Condividi tramite


WebTests class

Classe che rappresenta un oggetto WebTests.

Costruttori

WebTests(ApplicationInsightsManagementClientContext)

Creare un test Web.

Metodi

createOrUpdate(string, string, WebTest, RequestOptionsBase)

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

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

Elimina un test Web di Application Insights.

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

Ottenere una definizione specifica di test Web di Application Insights.

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

Ottenere tutte le definizioni di avvisi di test Web di Application Insights all'interno di una sottoscrizione.

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

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

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

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

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

Ottenere tutti i test Web di Application Insights definiti all'interno di un gruppo di risorse specificato.

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

Ottenere tutti i test Web di Application Insights definiti all'interno di un gruppo di risorse specificato.

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

Ottenere tutte le definizioni di avvisi di test Web di Application Insights all'interno di una sottoscrizione.

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

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

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

Dettagli costruttore

WebTests(ApplicationInsightsManagementClientContext)

Creare un test Web.

new WebTests(client: ApplicationInsightsManagementClientContext)

Parametri

client
ApplicationInsightsManagementClientContext

Riferimento al client del servizio.

Dettagli metodo

createOrUpdate(string, string, WebTest, RequestOptionsBase)

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

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

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
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebTestsCreateOrUpdateResponse>

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

function createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<WebTest>

Callback

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

function createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, callback: ServiceCallback<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.

callback

ServiceCallback<WebTest>

Callback

deleteMethod(string, string, RequestOptionsBase)

Elimina un test Web di Application Insights.

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

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
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<RestResponse>

Prometti<msRest.RestResponse>

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

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

Parametri facoltativi

callback

ServiceCallback<void>

Callback

deleteMethod(string, string, ServiceCallback<void>)

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

callback

ServiceCallback<void>

Callback

get(string, string, RequestOptionsBase)

Ottenere una definizione specifica di test Web di Application Insights.

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

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
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebTestsGetResponse>

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

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

Parametri facoltativi

callback

ServiceCallback<WebTest>

Callback

get(string, string, ServiceCallback<WebTest>)

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

callback

ServiceCallback<WebTest>

Callback

list(RequestOptionsBase)

Ottenere tutte le definizioni di avvisi di test Web di Application Insights all'interno di una sottoscrizione.

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

Parametri

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebTestsListResponse>

list(RequestOptionsBase, ServiceCallback<WebTestListResult>)

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

Parametri

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<WebTestListResult>

Callback

list(ServiceCallback<WebTestListResult>)

function list(callback: ServiceCallback<WebTestListResult>)

Parametri

callback

ServiceCallback<WebTestListResult>

Callback

listByComponent(string, string, RequestOptionsBase)

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

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

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
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebTestsListByComponentResponse>

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

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

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
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<WebTestListResult>

Callback

listByComponent(string, string, ServiceCallback<WebTestListResult>)

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

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.

callback

ServiceCallback<WebTestListResult>

Callback

listByComponentNext(string, RequestOptionsBase)

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

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebTestsListByComponentNextResponse>

listByComponentNext(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<WebTestListResult>

Callback

listByComponentNext(string, ServiceCallback<WebTestListResult>)

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

callback

ServiceCallback<WebTestListResult>

Callback

listByResourceGroup(string, RequestOptionsBase)

Ottenere tutti i test Web di Application Insights definiti all'interno di un gruppo di risorse specificato.

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

Parametri

resourceGroupName

string

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

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebTestsListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)

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

Parametri

resourceGroupName

string

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

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<WebTestListResult>

Callback

listByResourceGroup(string, ServiceCallback<WebTestListResult>)

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

Parametri

resourceGroupName

string

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

callback

ServiceCallback<WebTestListResult>

Callback

listByResourceGroupNext(string, RequestOptionsBase)

Ottenere tutti i test Web di Application Insights definiti all'interno di un gruppo di risorse specificato.

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebTestsListByResourceGroupNextResponse>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<WebTestListResult>

Callback

listByResourceGroupNext(string, ServiceCallback<WebTestListResult>)

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

callback

ServiceCallback<WebTestListResult>

Callback

listNext(string, RequestOptionsBase)

Ottenere tutte le definizioni di avvisi di test Web di Application Insights all'interno di una sottoscrizione.

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebTestsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<WebTestListResult>)

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<WebTestListResult>

Callback

listNext(string, ServiceCallback<WebTestListResult>)

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

callback

ServiceCallback<WebTestListResult>

Callback

updateTags(string, string, TagsResource, RequestOptionsBase)

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

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

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 impostare nell'istanza di test Web.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebTestsUpdateTagsResponse>

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

function updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, options: RequestOptionsBase, callback: ServiceCallback<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 impostare nell'istanza di test Web.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<WebTest>

Callback

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

function updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, callback: ServiceCallback<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 impostare nell'istanza di test Web.

callback

ServiceCallback<WebTest>

Callback