WebTests class
Classe che rappresenta un oggetto WebTests.
Costruttori
| Web |
Creare un test Web. |
Metodi
Dettagli costruttore
WebTests(ApplicationInsightsManagementClientContext)
Creare un test Web.
new WebTests(client: ApplicationInsightsManagementClientContext)
Parametri
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<WebTestsCreateOrUpdateResponse>
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
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
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<WebTestsGetResponse>
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
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
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<WebTestsListResponse>
Promise<Models.WebTestsListResponse>
list(RequestOptionsBase, ServiceCallback<WebTestListResult>)
function list(options: RequestOptionsBase, callback: ServiceCallback<WebTestListResult>)
Parametri
- options
- RequestOptionsBase
Parametri facoltativi
- callback
Callback
list(ServiceCallback<WebTestListResult>)
function list(callback: ServiceCallback<WebTestListResult>)
Parametri
- callback
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<WebTestsListByComponentResponse>
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
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
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<WebTestsListByComponentNextResponse>
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
Callback
listByComponentNext(string, ServiceCallback<WebTestListResult>)
function listByComponentNext(nextPageLink: string, callback: ServiceCallback<WebTestListResult>)
Parametri
- nextPageLink
-
string
NextLink della precedente chiamata riuscita all'operazione List.
- callback
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<WebTestsListByResourceGroupResponse>
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
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
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
Callback
listByResourceGroupNext(string, ServiceCallback<WebTestListResult>)
function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<WebTestListResult>)
Parametri
- nextPageLink
-
string
NextLink della precedente chiamata riuscita all'operazione List.
- callback
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<WebTestsListNextResponse>
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
Callback
listNext(string, ServiceCallback<WebTestListResult>)
function listNext(nextPageLink: string, callback: ServiceCallback<WebTestListResult>)
Parametri
- nextPageLink
-
string
NextLink della precedente chiamata riuscita all'operazione List.
- callback
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<WebTestsUpdateTagsResponse>
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
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
Callback