@azure-rest/load-testing package
Interfacce
| AppComponent |
Un oggetto risorsa di Azure (fare riferimento al modello di risorse generico di Azure: https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id#genericresource) |
| AppComponentOutput |
Un oggetto risorsa di Azure (fare riferimento al modello di risorse generico di Azure: https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id#genericresource) |
| CertificateMetadata |
Metadati dei certificati |
| CertificateMetadataOutput |
Metadati dei certificati |
| DimensionFilter |
Nome e valori della dimensione da filtrare |
| DimensionValueListOutput |
Valori delle dimensioni delle metriche. |
| DimensionValueOutput |
Rappresenta un valore della dimensione della metrica. |
| ErrorDetails |
Dettagli dell'errore se si verifica un errore nell'esecuzione del test di carico |
| ErrorDetailsOutput |
Dettagli dell'errore se si verifica un errore nell'esecuzione del test di carico |
| ErrorModelOutput |
Errore da una richiesta REST. |
| ErrorResponseBodyOutput |
Definizione di un oggetto errore. |
| FileInfo |
Informazioni sul file |
| FileInfoListOutput |
Raccolta di file. |
| FileInfoOutput |
Informazioni sul file |
| LoadTestConfiguration |
Configurazione del test di carico. |
| LoadTestConfigurationOutput |
Configurazione del test di carico. |
| MetricAvailabilityOutput |
La disponibilità della metrica specifica l'intervallo di tempo (intervallo di aggregazione o frequenza) |
| MetricDefinitionCollectionOutput |
Rappresenta la raccolta di definizioni delle metriche. |
| MetricDefinitionOutput |
Definizione della metrica |
| MetricNamespaceCollectionOutput |
Rappresenta la raccolta di spazi dei nomi delle metriche. |
| MetricNamespaceOutput |
La classe dello spazio dei nomi metrica specifica i metadati per uno spazio dei nomi delle metriche. |
| MetricRequestPayload |
Filtri per recuperare il set di metriche |
| MetricValueOutput |
Rappresenta un valore della metrica. |
| MetricsOutput |
Risposta a una query sulle metriche. |
| NameAndDescOutput |
Nome e descrizione |
| OptionalLoadTestConfig |
Configurazione del test di carico facoltativa |
| OptionalLoadTestConfigOutput |
Configurazione del test di carico facoltativa |
| PagingOptions |
Opzioni per l'helper di paging |
| PassFailCriteria |
Superare i criteri di esito negativo per un test. |
| PassFailCriteriaOutput |
Superare i criteri di esito negativo per un test. |
| PassFailMetric |
Metrica Pass fail (Superato errore) |
| PassFailMetricOutput |
Metrica Pass fail (Superato errore) |
| PolledOperationOptions | |
| ResourceMetric |
Definizione della metrica associata per metriche specifiche della risorsa di Azure ( vedere : https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition). |
| ResourceMetricOutput |
Definizione della metrica associata per metriche specifiche della risorsa di Azure ( vedere : https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition). |
| Routes | |
| Secret |
Segreto |
| SecretOutput |
Segreto |
| Test |
Modello di test di carico |
| TestAppComponents |
Testare il componente dell'app |
| TestAppComponentsOutput |
Testare il componente dell'app |
| TestCreateOrUpdate | |
| TestCreateOrUpdate200Response |
Creare un nuovo test o aggiornare un test esistente. |
| TestCreateOrUpdate201Response |
Creare un nuovo test o aggiornare un test esistente. |
| TestCreateOrUpdateAppComponents | |
| TestCreateOrUpdateAppComponents200Response |
Associare un componente dell'app (raccolta di risorse di Azure) a un test |
| TestCreateOrUpdateAppComponents201Response |
Associare un componente dell'app (raccolta di risorse di Azure) a un test |
| TestCreateOrUpdateAppComponentsBodyParam | |
| TestCreateOrUpdateAppComponentsDefaultHeaders | |
| TestCreateOrUpdateAppComponentsDefaultResponse |
Associare un componente dell'app (raccolta di risorse di Azure) a un test |
| TestCreateOrUpdateAppComponentsMediaTypesParam | |
| TestCreateOrUpdateBodyParam | |
| TestCreateOrUpdateDefaultHeaders | |
| TestCreateOrUpdateDefaultResponse |
Creare un nuovo test o aggiornare un test esistente. |
| TestCreateOrUpdateMediaTypesParam | |
| TestCreateOrUpdateServerMetricsConfig | |
| TestCreateOrUpdateServerMetricsConfig200Response |
Configurare le metriche del server per un test |
| TestCreateOrUpdateServerMetricsConfig201Response |
Configurare le metriche del server per un test |
| TestCreateOrUpdateServerMetricsConfigBodyParam | |
| TestCreateOrUpdateServerMetricsConfigDefaultHeaders | |
| TestCreateOrUpdateServerMetricsConfigDefaultResponse |
Configurare le metriche del server per un test |
| TestCreateOrUpdateServerMetricsConfigMediaTypesParam | |
| TestDelete204Response |
Eliminare un test in base al nome. |
| TestDeleteDefaultHeaders | |
| TestDeleteDefaultResponse |
Eliminare un test in base al nome. |
| TestDeleteFile204Response |
Eliminare il file in base al nome del file per un test |
| TestDeleteFileDefaultHeaders | |
| TestDeleteFileDefaultResponse |
Eliminare il file in base al nome del file per un test |
| TestGet200Response |
Ottenere i dettagli del test di carico in base al nome del test |
| TestGetDefaultHeaders | |
| TestGetDefaultResponse |
Ottenere i dettagli del test di carico in base al nome del test |
| TestGetFile200Response |
Ottenere il file di test in base al nome del file. |
| TestGetFileDefaultHeaders | |
| TestGetFileDefaultResponse |
Ottenere il file di test in base al nome del file. |
| TestInputArtifacts |
Artefatti di input per il test. |
| TestInputArtifactsOutput |
Artefatti di input per il test. |
| TestList | |
| TestList200Response |
Ottenere tutti i test di carico in base all'ID risorsa completo, ad esempio sottoscrizioni/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}. |
| TestListAppComponents200Response |
Ottenere il componente dell'app associato (raccolta di risorse di Azure) per il test specificato. |
| TestListAppComponentsDefaultHeaders | |
| TestListAppComponentsDefaultResponse |
Ottenere il componente dell'app associato (raccolta di risorse di Azure) per il test specificato. |
| TestListDefaultHeaders | |
| TestListDefaultResponse |
Ottenere tutti i test di carico in base all'ID risorsa completo, ad esempio sottoscrizioni/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}. |
| TestListFiles | |
| TestListFiles200Response |
Ottiene tutti i file di test. |
| TestListFilesDefaultHeaders | |
| TestListFilesDefaultResponse |
Ottiene tutti i file di test. |
| TestListFilesQueryParam | |
| TestListFilesQueryParamProperties | |
| TestListQueryParam | |
| TestListQueryParamProperties | |
| TestListServerMetricsConfig200Response |
Elencare la configurazione delle metriche del server per il test specificato. |
| TestListServerMetricsConfigDefaultHeaders | |
| TestListServerMetricsConfigDefaultResponse |
Elencare la configurazione delle metriche del server per il test specificato. |
| TestOutput |
Modello di test di carico |
| TestRun |
Modello di esecuzione test di carico |
| TestRunAppComponents |
Componente dell'app di esecuzione dei test |
| TestRunAppComponentsOutput |
Componente dell'app di esecuzione dei test |
| TestRunArtifacts |
Raccolta di artefatti di esecuzione dei test |
| TestRunArtifactsOutput |
Raccolta di artefatti di esecuzione dei test |
| TestRunCreateOrUpdate200Response |
Creare e avviare una nuova esecuzione di test con il nome specificato. |
| TestRunCreateOrUpdate201Response |
Creare e avviare una nuova esecuzione di test con il nome specificato. |
| TestRunCreateOrUpdateAppComponents | |
| TestRunCreateOrUpdateAppComponents200Response |
Associare un componente dell'app (raccolta di risorse di Azure) a un'esecuzione di test |
| TestRunCreateOrUpdateAppComponents201Response |
Associare un componente dell'app (raccolta di risorse di Azure) a un'esecuzione di test |
| TestRunCreateOrUpdateAppComponentsBodyParam | |
| TestRunCreateOrUpdateAppComponentsDefaultHeaders | |
| TestRunCreateOrUpdateAppComponentsDefaultResponse |
Associare un componente dell'app (raccolta di risorse di Azure) a un'esecuzione di test |
| TestRunCreateOrUpdateAppComponentsMediaTypesParam | |
| TestRunCreateOrUpdateBodyParam | |
| TestRunCreateOrUpdateDefaultHeaders | |
| TestRunCreateOrUpdateDefaultResponse |
Creare e avviare una nuova esecuzione di test con il nome specificato. |
| TestRunCreateOrUpdateMediaTypesParam | |
| TestRunCreateOrUpdateQueryParam | |
| TestRunCreateOrUpdateQueryParamProperties | |
| TestRunCreateOrUpdateServerMetricsConfig | |
| TestRunCreateOrUpdateServerMetricsConfig200Response |
Configurare le metriche del server per un'esecuzione di test |
| TestRunCreateOrUpdateServerMetricsConfig201Response |
Configurare le metriche del server per un'esecuzione di test |
| TestRunCreateOrUpdateServerMetricsConfigBodyParam | |
| TestRunCreateOrUpdateServerMetricsConfigDefaultHeaders | |
| TestRunCreateOrUpdateServerMetricsConfigDefaultResponse |
Configurare le metriche del server per un'esecuzione di test |
| TestRunCreateOrUpdateServerMetricsConfigMediaTypesParam | |
| TestRunDelete | |
| TestRunDelete204Response |
Eliminare un test eseguito in base al nome. |
| TestRunDeleteDefaultHeaders | |
| TestRunDeleteDefaultResponse |
Eliminare un test eseguito in base al nome. |
| TestRunGet200Response |
Ottenere i dettagli dell'esecuzione del test in base al nome. |
| TestRunGetDefaultHeaders | |
| TestRunGetDefaultResponse |
Ottenere i dettagli dell'esecuzione del test in base al nome. |
| TestRunGetFile | |
| TestRunGetFile200Response |
Ottenere il file di esecuzione del test in base al nome del file. |
| TestRunGetFileDefaultHeaders | |
| TestRunGetFileDefaultResponse |
Ottenere il file di esecuzione del test in base al nome del file. |
| TestRunInputArtifacts |
Artefatti di input per l'esecuzione del test. |
| TestRunInputArtifactsOutput |
Artefatti di input per l'esecuzione del test. |
| TestRunList | |
| TestRunList200Response |
Ottenere tutte le esecuzioni di test con i filtri specificati |
| TestRunListAppComponents200Response |
Ottiene il componente dell'app associato (raccolta di risorse di Azure) per l'esecuzione di test specificata. |
| TestRunListAppComponentsDefaultHeaders | |
| TestRunListAppComponentsDefaultResponse |
Ottiene il componente dell'app associato (raccolta di risorse di Azure) per l'esecuzione di test specificata. |
| TestRunListDefaultHeaders | |
| TestRunListDefaultResponse |
Ottenere tutte le esecuzioni di test con i filtri specificati |
| TestRunListMetricDefinitions | |
| TestRunListMetricDefinitions200Response |
Elencare le definizioni delle metriche per un'esecuzione di test di carico. |
| TestRunListMetricDefinitionsDefaultHeaders | |
| TestRunListMetricDefinitionsDefaultResponse |
Elencare le definizioni delle metriche per un'esecuzione di test di carico. |
| TestRunListMetricDefinitionsQueryParam | |
| TestRunListMetricDefinitionsQueryParamProperties | |
| TestRunListMetricDimensionValues | |
| TestRunListMetricDimensionValues200Response |
Elencare i valori della dimensione per il nome della dimensione metrica specificata. |
| TestRunListMetricDimensionValuesDefaultHeaders | |
| TestRunListMetricDimensionValuesDefaultResponse |
Elencare i valori della dimensione per il nome della dimensione metrica specificata. |
| TestRunListMetricDimensionValuesQueryParam | |
| TestRunListMetricDimensionValuesQueryParamProperties | |
| TestRunListMetricNamespaces | |
| TestRunListMetricNamespaces200Response |
Elencare gli spazi dei nomi delle metriche per un'esecuzione di test di carico. |
| TestRunListMetricNamespacesDefaultHeaders | |
| TestRunListMetricNamespacesDefaultResponse |
Elencare gli spazi dei nomi delle metriche per un'esecuzione di test di carico. |
| TestRunListMetrics | |
| TestRunListMetrics200Response |
Elencare i valori delle metriche per un'esecuzione di test di carico. |
| TestRunListMetricsBodyParam | |
| TestRunListMetricsDefaultHeaders | |
| TestRunListMetricsDefaultResponse |
Elencare i valori delle metriche per un'esecuzione di test di carico. |
| TestRunListMetricsMediaTypesParam | |
| TestRunListMetricsQueryParam | |
| TestRunListMetricsQueryParamProperties | |
| TestRunListQueryParam | |
| TestRunListQueryParamProperties | |
| TestRunListServerMetricsConfig200Response |
Elencare la configurazione delle metriche del server per l'esecuzione di test specificata. |
| TestRunListServerMetricsConfigDefaultHeaders | |
| TestRunListServerMetricsConfigDefaultResponse |
Elencare la configurazione delle metriche del server per l'esecuzione di test specificata. |
| TestRunOutput |
Modello di esecuzione test di carico |
| TestRunOutputArtifacts |
Artefatti di output per l'esecuzione del test. |
| TestRunOutputArtifactsOutput |
Artefatti di output per l'esecuzione del test. |
| TestRunServerMetricConfig |
Testare la configurazione delle metriche del server di esecuzione |
| TestRunServerMetricConfigOutput |
Testare la configurazione delle metriche del server di esecuzione |
| TestRunStatistics |
Statistiche di esecuzione dei test. |
| TestRunStatisticsOutput |
Statistiche di esecuzione dei test. |
| TestRunStop | |
| TestRunStop200Response |
Arrestare l'esecuzione del test in base al nome. |
| TestRunStopDefaultHeaders | |
| TestRunStopDefaultResponse |
Arrestare l'esecuzione del test in base al nome. |
| TestRunsListOutput |
Raccolta di esecuzioni di test |
| TestServerMetricConfig |
Testare la configurazione delle metriche del server |
| TestServerMetricConfigOutput |
Testare la configurazione delle metriche del server |
| TestUploadFile | |
| TestUploadFile201Response |
Caricare il file di input per un determinato nome di test. Le dimensioni del file non possono essere superiori a 50 MB. Il file esistente con lo stesso nome per il test specificato verrà sovrascritto. Il file deve essere fornito nel corpo della richiesta come application/octet-stream. |
| TestUploadFileBodyParam | |
| TestUploadFileDefaultHeaders | |
| TestUploadFileDefaultResponse |
Caricare il file di input per un determinato nome di test. Le dimensioni del file non possono essere superiori a 50 MB. Il file esistente con lo stesso nome per il test specificato verrà sovrascritto. Il file deve essere fornito nel corpo della richiesta come application/octet-stream. |
| TestUploadFileMediaTypesParam | |
| TestUploadFileQueryParam | |
| TestUploadFileQueryParamProperties | |
| TestsListOutput |
Raccolta di test |
| TimeSeriesElementOutput |
Serie temporale restituita quando viene eseguita una query di dati. |
Alias tipo
Funzioni
Dettagli funzione
default(string, TokenCredential, ClientOptions)
Inizializzare una nuova istanza della classe AzureLoadTestingClient.
function default(Endpoint: string, credentials: TokenCredential, options?: ClientOptions): AzureLoadTestingClient
Parametri
- Endpoint
-
string
type: URL stringa per eseguire operazioni API del piano dati sulla risorsa.
- credentials
- TokenCredential
tipo: TokenCredential
- options
- ClientOptions
Restituisce
getLongRunningPoller(AzureLoadTestingClient, TestUploadFile201Response)
function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFile201Response): Promise<FileUploadAndValidatePoller>
Parametri
- client
- AzureLoadTestingClient
- initialResponse
- TestUploadFile201Response
Restituisce
Promise<FileUploadAndValidatePoller>
getLongRunningPoller(AzureLoadTestingClient, TestRunCreateOrUpdateSuccessResponse)
function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>
Parametri
- client
- AzureLoadTestingClient
- initialResponse
- TestRunCreateOrUpdateSuccessResponse
Restituisce
Promise<TestRunCompletionPoller>
isUnexpected(TestCreateOrUpdate200Response | TestCreateOrUpdate201Response | TestCreateOrUpdateDefaultResponse)
function isUnexpected(response: TestCreateOrUpdate200Response | TestCreateOrUpdate201Response | TestCreateOrUpdateDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestDelete204Response | TestDeleteDefaultResponse)
function isUnexpected(response: TestDelete204Response | TestDeleteDefaultResponse): response
Parametri
- response
Restituisce
response
isUnexpected(TestGet200Response | TestGetDefaultResponse)
function isUnexpected(response: TestGet200Response | TestGetDefaultResponse): response
Parametri
- response
Restituisce
response
isUnexpected(TestList200Response | TestListDefaultResponse)
function isUnexpected(response: TestList200Response | TestListDefaultResponse): response
Parametri
- response
Restituisce
response
isUnexpected(TestUploadFile201Response | TestUploadFileDefaultResponse)
function isUnexpected(response: TestUploadFile201Response | TestUploadFileDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestGetFile200Response | TestGetFileDefaultResponse)
function isUnexpected(response: TestGetFile200Response | TestGetFileDefaultResponse): response
Parametri
- response
Restituisce
response
isUnexpected(TestDeleteFile204Response | TestDeleteFileDefaultResponse)
function isUnexpected(response: TestDeleteFile204Response | TestDeleteFileDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestListFiles200Response | TestListFilesDefaultResponse)
function isUnexpected(response: TestListFiles200Response | TestListFilesDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestCreateOrUpdateAppComponents200Response | TestCreateOrUpdateAppComponents201Response | TestCreateOrUpdateAppComponentsDefaultResponse)
function isUnexpected(response: TestCreateOrUpdateAppComponents200Response | TestCreateOrUpdateAppComponents201Response | TestCreateOrUpdateAppComponentsDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestListAppComponents200Response | TestListAppComponentsDefaultResponse)
function isUnexpected(response: TestListAppComponents200Response | TestListAppComponentsDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestCreateOrUpdateServerMetricsConfig200Response | TestCreateOrUpdateServerMetricsConfig201Response | TestCreateOrUpdateServerMetricsConfigDefaultResponse)
function isUnexpected(response: TestCreateOrUpdateServerMetricsConfig200Response | TestCreateOrUpdateServerMetricsConfig201Response | TestCreateOrUpdateServerMetricsConfigDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestListServerMetricsConfig200Response | TestListServerMetricsConfigDefaultResponse)
function isUnexpected(response: TestListServerMetricsConfig200Response | TestListServerMetricsConfigDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunDelete204Response | TestRunDeleteDefaultResponse)
function isUnexpected(response: TestRunDelete204Response | TestRunDeleteDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response | TestRunCreateOrUpdateDefaultResponse)
function isUnexpected(response: TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response | TestRunCreateOrUpdateDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunGet200Response | TestRunGetDefaultResponse)
function isUnexpected(response: TestRunGet200Response | TestRunGetDefaultResponse): response
Parametri
- response
Restituisce
response
isUnexpected(TestRunGetFile200Response | TestRunGetFileDefaultResponse)
function isUnexpected(response: TestRunGetFile200Response | TestRunGetFileDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunList200Response | TestRunListDefaultResponse)
function isUnexpected(response: TestRunList200Response | TestRunListDefaultResponse): response
Parametri
- response
Restituisce
response
isUnexpected(TestRunStop200Response | TestRunStopDefaultResponse)
function isUnexpected(response: TestRunStop200Response | TestRunStopDefaultResponse): response
Parametri
- response
Restituisce
response
isUnexpected(TestRunListMetricNamespaces200Response | TestRunListMetricNamespacesDefaultResponse)
function isUnexpected(response: TestRunListMetricNamespaces200Response | TestRunListMetricNamespacesDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunListMetricDefinitions200Response | TestRunListMetricDefinitionsDefaultResponse)
function isUnexpected(response: TestRunListMetricDefinitions200Response | TestRunListMetricDefinitionsDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunListMetrics200Response | TestRunListMetricsDefaultResponse)
function isUnexpected(response: TestRunListMetrics200Response | TestRunListMetricsDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunListMetricDimensionValues200Response | TestRunListMetricDimensionValuesDefaultResponse)
function isUnexpected(response: TestRunListMetricDimensionValues200Response | TestRunListMetricDimensionValuesDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunCreateOrUpdateAppComponents200Response | TestRunCreateOrUpdateAppComponents201Response | TestRunCreateOrUpdateAppComponentsDefaultResponse)
function isUnexpected(response: TestRunCreateOrUpdateAppComponents200Response | TestRunCreateOrUpdateAppComponents201Response | TestRunCreateOrUpdateAppComponentsDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunListAppComponents200Response | TestRunListAppComponentsDefaultResponse)
function isUnexpected(response: TestRunListAppComponents200Response | TestRunListAppComponentsDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunCreateOrUpdateServerMetricsConfig200Response | TestRunCreateOrUpdateServerMetricsConfig201Response | TestRunCreateOrUpdateServerMetricsConfigDefaultResponse)
function isUnexpected(response: TestRunCreateOrUpdateServerMetricsConfig200Response | TestRunCreateOrUpdateServerMetricsConfig201Response | TestRunCreateOrUpdateServerMetricsConfigDefaultResponse): response
Parametri
Restituisce
response
isUnexpected(TestRunListServerMetricsConfig200Response | TestRunListServerMetricsConfigDefaultResponse)
function isUnexpected(response: TestRunListServerMetricsConfig200Response | TestRunListServerMetricsConfigDefaultResponse): response
Parametri
Restituisce
response
paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)
Helper per impaginare i risultati da una risposta iniziale che segue la specifica dell'estensione autorest x-ms-pageable
function paginate<TResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>
Parametri
- client
- Client
Client da usare per l'invio delle richieste di pagina successiva
- initialResponse
-
TResponse
Risposta iniziale contenente il nextLink e la pagina corrente degli elementi
- options
-
PagingOptions<TResponse>
Restituisce
PagedAsyncIterableIterator<PaginateReturn<TResponse>>
- PagedAsyncIterableIterator per scorrere gli elementi