Partager via


@azure-rest/load-testing package

Interfaces

AppComponent

Objet de ressource Azure (reportez-vous au modèle de ressource générique Azure : https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id#genericresource)

AppComponentOutput

Objet de ressource Azure (reportez-vous au modèle de ressource générique Azure : https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id#genericresource)

CertificateMetadata

Métadonnées de certificats

CertificateMetadataOutput

Métadonnées de certificats

DimensionFilter

Nom et valeurs de dimension à filtrer

DimensionValueListOutput

Valeurs de dimension des métriques.

DimensionValueOutput

Représente une valeur de dimension de métrique.

ErrorDetails

Détails de l’erreur en cas d’échec dans l’exécution du test de charge

ErrorDetailsOutput

Détails de l’erreur en cas d’échec dans l’exécution du test de charge

ErrorModelOutput

Erreur à partir d’une requête REST.

ErrorResponseBodyOutput

Définition d’un objet d’erreur.

FileInfo

Informations sur le fichier

FileInfoListOutput

Collection de fichiers.

FileInfoOutput

Informations sur le fichier

LoadTestConfiguration

Configuration du test de charge.

LoadTestConfigurationOutput

Configuration du test de charge.

MetricAvailabilityOutput

La disponibilité des métriques spécifie le grain de temps (intervalle d’agrégation ou fréquence)

MetricDefinitionCollectionOutput

Représente la collection de définitions de métriques.

MetricDefinitionOutput

Définition de métrique

MetricNamespaceCollectionOutput

Représente la collection d’espaces de noms de métriques.

MetricNamespaceOutput

La classe d’espace de noms de métrique spécifie les métadonnées d’un espace de noms de métrique.

MetricRequestPayload

Filtres pour extraire l’ensemble de métriques

MetricValueOutput

Représente une valeur de métrique.

MetricsOutput

Réponse à une requête de métriques.

NameAndDescOutput

Nom et description

OptionalLoadTestConfig

Configuration facultative du test de charge

OptionalLoadTestConfigOutput

Configuration facultative du test de charge

PagingOptions

Options de l’assistance de pagination

PassFailCriteria

Réussir les critères d’échec d’un test.

PassFailCriteriaOutput

Réussir les critères d’échec d’un test.

PassFailMetric

Métrique d’échec pass

PassFailMetricOutput

Métrique d’échec pass

PolledOperationOptions
ResourceMetric

Définition de métrique associée pour des métriques particulières de la ressource Azure (reportez-vous à : https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition).

ResourceMetricOutput

Définition de métrique associée pour des métriques particulières de la ressource Azure (reportez-vous à : https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition).

Routes
Secret

Secret

SecretOutput

Secret

Test

Modèle de test de charge

TestAppComponents

Composant d’application de test

TestAppComponentsOutput

Composant d’application de test

TestCreateOrUpdate
TestCreateOrUpdate200Response

Créez un test ou mettez à jour un test existant.

TestCreateOrUpdate201Response

Créez un test ou mettez à jour un test existant.

TestCreateOrUpdateAppComponents
TestCreateOrUpdateAppComponents200Response

Associer un composant d’application (collection de ressources Azure) à un test

TestCreateOrUpdateAppComponents201Response

Associer un composant d’application (collection de ressources Azure) à un test

TestCreateOrUpdateAppComponentsBodyParam
TestCreateOrUpdateAppComponentsDefaultHeaders
TestCreateOrUpdateAppComponentsDefaultResponse

Associer un composant d’application (collection de ressources Azure) à un test

TestCreateOrUpdateAppComponentsMediaTypesParam
TestCreateOrUpdateBodyParam
TestCreateOrUpdateDefaultHeaders
TestCreateOrUpdateDefaultResponse

Créez un test ou mettez à jour un test existant.

TestCreateOrUpdateMediaTypesParam
TestCreateOrUpdateServerMetricsConfig
TestCreateOrUpdateServerMetricsConfig200Response

Configurer les métriques de serveur pour un test

TestCreateOrUpdateServerMetricsConfig201Response

Configurer les métriques de serveur pour un test

TestCreateOrUpdateServerMetricsConfigBodyParam
TestCreateOrUpdateServerMetricsConfigDefaultHeaders
TestCreateOrUpdateServerMetricsConfigDefaultResponse

Configurer les métriques de serveur pour un test

TestCreateOrUpdateServerMetricsConfigMediaTypesParam
TestDelete204Response

Supprimez un test par son nom.

TestDeleteDefaultHeaders
TestDeleteDefaultResponse

Supprimez un test par son nom.

TestDeleteFile204Response

Supprimer le fichier par le nom de fichier d’un test

TestDeleteFileDefaultHeaders
TestDeleteFileDefaultResponse

Supprimer le fichier par le nom de fichier d’un test

TestGet200Response

Obtenir les détails du test de charge par nom de test

TestGetDefaultHeaders
TestGetDefaultResponse

Obtenir les détails du test de charge par nom de test

TestGetFile200Response

Obtenez le fichier de test par le nom du fichier.

TestGetFileDefaultHeaders
TestGetFileDefaultResponse

Obtenez le fichier de test par le nom du fichier.

TestInputArtifacts

Artefacts d’entrée pour le test.

TestInputArtifactsOutput

Artefacts d’entrée pour le test.

TestList
TestList200Response

Obtenez tous les tests de charge par l’ID de ressource complet, par exemple les abonnements/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}.

TestListAppComponents200Response

Obtenez le composant d’application associé (collection de ressources Azure) pour le test donné.

TestListAppComponentsDefaultHeaders
TestListAppComponentsDefaultResponse

Obtenez le composant d’application associé (collection de ressources Azure) pour le test donné.

TestListDefaultHeaders
TestListDefaultResponse

Obtenez tous les tests de charge par l’ID de ressource complet, par exemple les abonnements/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}.

TestListFiles
TestListFiles200Response

Obtenez tous les fichiers de test.

TestListFilesDefaultHeaders
TestListFilesDefaultResponse

Obtenez tous les fichiers de test.

TestListFilesQueryParam
TestListFilesQueryParamProperties
TestListQueryParam
TestListQueryParamProperties
TestListServerMetricsConfig200Response

Répertorier la configuration des métriques du serveur pour le test donné.

TestListServerMetricsConfigDefaultHeaders
TestListServerMetricsConfigDefaultResponse

Répertorier la configuration des métriques du serveur pour le test donné.

TestOutput

Modèle de test de charge

TestRun

Modèle d’exécution de test de charge

TestRunAppComponents

Composant d’application d’exécution de test

TestRunAppComponentsOutput

Composant d’application d’exécution de test

TestRunArtifacts

Collection d’artefacts d’exécution de test

TestRunArtifactsOutput

Collection d’artefacts d’exécution de test

TestRunCreateOrUpdate200Response

Créez et démarrez une nouvelle exécution de test avec le nom donné.

TestRunCreateOrUpdate201Response

Créez et démarrez une nouvelle exécution de test avec le nom donné.

TestRunCreateOrUpdateAppComponents
TestRunCreateOrUpdateAppComponents200Response

Associer un composant d’application (collection de ressources Azure) à une exécution de test

TestRunCreateOrUpdateAppComponents201Response

Associer un composant d’application (collection de ressources Azure) à une exécution de test

TestRunCreateOrUpdateAppComponentsBodyParam
TestRunCreateOrUpdateAppComponentsDefaultHeaders
TestRunCreateOrUpdateAppComponentsDefaultResponse

Associer un composant d’application (collection de ressources Azure) à une exécution de test

TestRunCreateOrUpdateAppComponentsMediaTypesParam
TestRunCreateOrUpdateBodyParam
TestRunCreateOrUpdateDefaultHeaders
TestRunCreateOrUpdateDefaultResponse

Créez et démarrez une nouvelle exécution de test avec le nom donné.

TestRunCreateOrUpdateMediaTypesParam
TestRunCreateOrUpdateQueryParam
TestRunCreateOrUpdateQueryParamProperties
TestRunCreateOrUpdateServerMetricsConfig
TestRunCreateOrUpdateServerMetricsConfig200Response

Configurer les métriques de serveur pour une exécution de test

TestRunCreateOrUpdateServerMetricsConfig201Response

Configurer les métriques de serveur pour une exécution de test

TestRunCreateOrUpdateServerMetricsConfigBodyParam
TestRunCreateOrUpdateServerMetricsConfigDefaultHeaders
TestRunCreateOrUpdateServerMetricsConfigDefaultResponse

Configurer les métriques de serveur pour une exécution de test

TestRunCreateOrUpdateServerMetricsConfigMediaTypesParam
TestRunDelete
TestRunDelete204Response

Supprimez une exécution de test par son nom.

TestRunDeleteDefaultHeaders
TestRunDeleteDefaultResponse

Supprimez une exécution de test par son nom.

TestRunGet200Response

Obtenir les détails de l’exécution de test par nom.

TestRunGetDefaultHeaders
TestRunGetDefaultResponse

Obtenir les détails de l’exécution de test par nom.

TestRunGetFile
TestRunGetFile200Response

Obtenir le fichier d’exécution de test par nom de fichier.

TestRunGetFileDefaultHeaders
TestRunGetFileDefaultResponse

Obtenir le fichier d’exécution de test par nom de fichier.

TestRunInputArtifacts

Artefacts d’entrée pour l’exécution de test.

TestRunInputArtifactsOutput

Artefacts d’entrée pour l’exécution de test.

TestRunList
TestRunList200Response

Obtenir toutes les exécutions de test avec des filtres donnés

TestRunListAppComponents200Response

Obtenez le composant d’application associé (collection de ressources Azure) pour l’exécution de test donnée.

TestRunListAppComponentsDefaultHeaders
TestRunListAppComponentsDefaultResponse

Obtenez le composant d’application associé (collection de ressources Azure) pour l’exécution de test donnée.

TestRunListDefaultHeaders
TestRunListDefaultResponse

Obtenir toutes les exécutions de test avec des filtres donnés

TestRunListMetricDefinitions
TestRunListMetricDefinitions200Response

Répertoriez les définitions de métriques d’une exécution de test de charge.

TestRunListMetricDefinitionsDefaultHeaders
TestRunListMetricDefinitionsDefaultResponse

Répertoriez les définitions de métriques d’une exécution de test de charge.

TestRunListMetricDefinitionsQueryParam
TestRunListMetricDefinitionsQueryParamProperties
TestRunListMetricDimensionValues
TestRunListMetricDimensionValues200Response

Répertoriez les valeurs de dimension pour le nom de dimension de métrique donné.

TestRunListMetricDimensionValuesDefaultHeaders
TestRunListMetricDimensionValuesDefaultResponse

Répertoriez les valeurs de dimension pour le nom de dimension de métrique donné.

TestRunListMetricDimensionValuesQueryParam
TestRunListMetricDimensionValuesQueryParamProperties
TestRunListMetricNamespaces
TestRunListMetricNamespaces200Response

Répertoriez les espaces de noms de métriques pour une exécution de test de charge.

TestRunListMetricNamespacesDefaultHeaders
TestRunListMetricNamespacesDefaultResponse

Répertoriez les espaces de noms de métriques pour une exécution de test de charge.

TestRunListMetrics
TestRunListMetrics200Response

Répertoriez les valeurs de métriques d’une exécution de test de charge.

TestRunListMetricsBodyParam
TestRunListMetricsDefaultHeaders
TestRunListMetricsDefaultResponse

Répertoriez les valeurs de métriques d’une exécution de test de charge.

TestRunListMetricsMediaTypesParam
TestRunListMetricsQueryParam
TestRunListMetricsQueryParamProperties
TestRunListQueryParam
TestRunListQueryParamProperties
TestRunListServerMetricsConfig200Response

Répertoriez la configuration des métriques du serveur pour l’exécution de test donnée.

TestRunListServerMetricsConfigDefaultHeaders
TestRunListServerMetricsConfigDefaultResponse

Répertoriez la configuration des métriques du serveur pour l’exécution de test donnée.

TestRunOutput

Modèle d’exécution de test de charge

TestRunOutputArtifacts

Artefacts de sortie pour l’exécution de test.

TestRunOutputArtifactsOutput

Artefacts de sortie pour l’exécution de test.

TestRunServerMetricConfig

Configuration des métriques du serveur de test

TestRunServerMetricConfigOutput

Configuration des métriques du serveur de test

TestRunStatistics

Statistiques d’exécution de test.

TestRunStatisticsOutput

Statistiques d’exécution de test.

TestRunStop
TestRunStop200Response

Arrêtez l’exécution du test par nom.

TestRunStopDefaultHeaders
TestRunStopDefaultResponse

Arrêtez l’exécution du test par nom.

TestRunsListOutput

Collection d’exécutions de test

TestServerMetricConfig

Configuration des métriques du serveur de test

TestServerMetricConfigOutput

Configuration des métriques du serveur de test

TestUploadFile
TestUploadFile201Response

Chargez le fichier d’entrée pour un nom de test donné. La taille du fichier ne peut pas dépasser 50 Mo. Le fichier existant portant le même nom pour le test donné sera remplacé. Le fichier doit être fourni dans le corps de la requête en tant qu’application/octet-stream.

TestUploadFileBodyParam
TestUploadFileDefaultHeaders
TestUploadFileDefaultResponse

Chargez le fichier d’entrée pour un nom de test donné. La taille du fichier ne peut pas dépasser 50 Mo. Le fichier existant portant le même nom pour le test donné sera remplacé. Le fichier doit être fourni dans le corps de la requête en tant qu’application/octet-stream.

TestUploadFileMediaTypesParam
TestUploadFileQueryParam
TestUploadFileQueryParamProperties
TestsListOutput

Collection de tests

TimeSeriesElementOutput

Série chronologique retournée lorsqu’une requête de données est effectuée.

Alias de type

AzureLoadTestingClient
FileUploadAndValidatePoller

Décrit un polleur pour les types NotificationHubJob.

GetArrayType

Type d’assistance pour extraire le type d’un tableau

GetPage

Type d’une fonction personnalisée qui définit comment obtenir une page et un lien vers le suivant, le cas échéant.

PaginateReturn

Type d’assistance pour déduire le type des éléments paginés à partir du type de réponse Ce type est généré en fonction des informations swagger pour x-ms-pageable spécifiquement sur la propriété itemName qui indique la propriété de la réponse où les éléments de page sont trouvés. La valeur par défaut est value. Ce type nous permettra de fournir un itérateur fortement typé en fonction de la réponse que nous obtenons en tant que deuxième paramètre

TestCreateOrUpdateAppComponentsParameters
TestCreateOrUpdateParameters
TestCreateOrUpdateServerMetricsConfigParameters
TestDeleteFileParameters
TestDeleteParameters
TestGetFileParameters
TestGetParameters
TestListAppComponentsParameters
TestListFilesParameters
TestListParameters
TestListServerMetricsConfigParameters
TestRunCompletionPoller
TestRunCreateOrUpdateAppComponentsParameters
TestRunCreateOrUpdateParameters
TestRunCreateOrUpdateServerMetricsConfigParameters
TestRunCreateOrUpdateSuccessResponse
TestRunDeleteParameters
TestRunGetFileParameters
TestRunGetParameters
TestRunListAppComponentsParameters
TestRunListMetricDefinitionsParameters
TestRunListMetricDimensionValuesParameters
TestRunListMetricNamespacesParameters
TestRunListMetricsParameters
TestRunListParameters
TestRunListServerMetricsConfigParameters
TestRunStopParameters
TestUploadFileParameters
TestUploadFileSuccessResponse

Functions

default(string, TokenCredential, ClientOptions)

Initialisez une nouvelle instance de la classe AzureLoadTestingClient.

getLongRunningPoller(AzureLoadTestingClient, TestUploadFile201Response)
getLongRunningPoller(AzureLoadTestingClient, TestRunCreateOrUpdateSuccessResponse)
isUnexpected(TestCreateOrUpdate200Response | TestCreateOrUpdate201Response | TestCreateOrUpdateDefaultResponse)
isUnexpected(TestDelete204Response | TestDeleteDefaultResponse)
isUnexpected(TestGet200Response | TestGetDefaultResponse)
isUnexpected(TestList200Response | TestListDefaultResponse)
isUnexpected(TestUploadFile201Response | TestUploadFileDefaultResponse)
isUnexpected(TestGetFile200Response | TestGetFileDefaultResponse)
isUnexpected(TestDeleteFile204Response | TestDeleteFileDefaultResponse)
isUnexpected(TestListFiles200Response | TestListFilesDefaultResponse)
isUnexpected(TestCreateOrUpdateAppComponents200Response | TestCreateOrUpdateAppComponents201Response | TestCreateOrUpdateAppComponentsDefaultResponse)
isUnexpected(TestListAppComponents200Response | TestListAppComponentsDefaultResponse)
isUnexpected(TestCreateOrUpdateServerMetricsConfig200Response | TestCreateOrUpdateServerMetricsConfig201Response | TestCreateOrUpdateServerMetricsConfigDefaultResponse)
isUnexpected(TestListServerMetricsConfig200Response | TestListServerMetricsConfigDefaultResponse)
isUnexpected(TestRunDelete204Response | TestRunDeleteDefaultResponse)
isUnexpected(TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response | TestRunCreateOrUpdateDefaultResponse)
isUnexpected(TestRunGet200Response | TestRunGetDefaultResponse)
isUnexpected(TestRunGetFile200Response | TestRunGetFileDefaultResponse)
isUnexpected(TestRunList200Response | TestRunListDefaultResponse)
isUnexpected(TestRunStop200Response | TestRunStopDefaultResponse)
isUnexpected(TestRunListMetricNamespaces200Response | TestRunListMetricNamespacesDefaultResponse)
isUnexpected(TestRunListMetricDefinitions200Response | TestRunListMetricDefinitionsDefaultResponse)
isUnexpected(TestRunListMetrics200Response | TestRunListMetricsDefaultResponse)
isUnexpected(TestRunListMetricDimensionValues200Response | TestRunListMetricDimensionValuesDefaultResponse)
isUnexpected(TestRunCreateOrUpdateAppComponents200Response | TestRunCreateOrUpdateAppComponents201Response | TestRunCreateOrUpdateAppComponentsDefaultResponse)
isUnexpected(TestRunListAppComponents200Response | TestRunListAppComponentsDefaultResponse)
isUnexpected(TestRunCreateOrUpdateServerMetricsConfig200Response | TestRunCreateOrUpdateServerMetricsConfig201Response | TestRunCreateOrUpdateServerMetricsConfigDefaultResponse)
isUnexpected(TestRunListServerMetricsConfig200Response | TestRunListServerMetricsConfigDefaultResponse)
paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)

Assistance pour paginer les résultats d’une réponse initiale qui suit la spécification de l’extension autorest x-ms-pageable

Informations relatives à la fonction

default(string, TokenCredential, ClientOptions)

Initialisez une nouvelle instance de la classe AzureLoadTestingClient.

function default(Endpoint: string, credentials: TokenCredential, options?: ClientOptions): AzureLoadTestingClient

Paramètres

Endpoint

string

type : URL de chaîne pour effectuer des opérations d’API de plan de données sur la ressource.

credentials
TokenCredential

type : TokenCredential

options
ClientOptions

Retours

getLongRunningPoller(AzureLoadTestingClient, TestUploadFile201Response)

function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFile201Response): Promise<FileUploadAndValidatePoller>

Paramètres

initialResponse
TestUploadFile201Response

Retours

getLongRunningPoller(AzureLoadTestingClient, TestRunCreateOrUpdateSuccessResponse)

function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>

Paramètres

Retours

isUnexpected(TestCreateOrUpdate200Response | TestCreateOrUpdate201Response | TestCreateOrUpdateDefaultResponse)

function isUnexpected(response: TestCreateOrUpdate200Response | TestCreateOrUpdate201Response | TestCreateOrUpdateDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestDelete204Response | TestDeleteDefaultResponse)

function isUnexpected(response: TestDelete204Response | TestDeleteDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestGet200Response | TestGetDefaultResponse)

function isUnexpected(response: TestGet200Response | TestGetDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestList200Response | TestListDefaultResponse)

function isUnexpected(response: TestList200Response | TestListDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestUploadFile201Response | TestUploadFileDefaultResponse)

function isUnexpected(response: TestUploadFile201Response | TestUploadFileDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestGetFile200Response | TestGetFileDefaultResponse)

function isUnexpected(response: TestGetFile200Response | TestGetFileDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestDeleteFile204Response | TestDeleteFileDefaultResponse)

function isUnexpected(response: TestDeleteFile204Response | TestDeleteFileDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestListFiles200Response | TestListFilesDefaultResponse)

function isUnexpected(response: TestListFiles200Response | TestListFilesDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestCreateOrUpdateAppComponents200Response | TestCreateOrUpdateAppComponents201Response | TestCreateOrUpdateAppComponentsDefaultResponse)

function isUnexpected(response: TestCreateOrUpdateAppComponents200Response | TestCreateOrUpdateAppComponents201Response | TestCreateOrUpdateAppComponentsDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestListAppComponents200Response | TestListAppComponentsDefaultResponse)

function isUnexpected(response: TestListAppComponents200Response | TestListAppComponentsDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestCreateOrUpdateServerMetricsConfig200Response | TestCreateOrUpdateServerMetricsConfig201Response | TestCreateOrUpdateServerMetricsConfigDefaultResponse)

function isUnexpected(response: TestCreateOrUpdateServerMetricsConfig200Response | TestCreateOrUpdateServerMetricsConfig201Response | TestCreateOrUpdateServerMetricsConfigDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestListServerMetricsConfig200Response | TestListServerMetricsConfigDefaultResponse)

function isUnexpected(response: TestListServerMetricsConfig200Response | TestListServerMetricsConfigDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunDelete204Response | TestRunDeleteDefaultResponse)

function isUnexpected(response: TestRunDelete204Response | TestRunDeleteDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response | TestRunCreateOrUpdateDefaultResponse)

function isUnexpected(response: TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response | TestRunCreateOrUpdateDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunGet200Response | TestRunGetDefaultResponse)

function isUnexpected(response: TestRunGet200Response | TestRunGetDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunGetFile200Response | TestRunGetFileDefaultResponse)

function isUnexpected(response: TestRunGetFile200Response | TestRunGetFileDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunList200Response | TestRunListDefaultResponse)

function isUnexpected(response: TestRunList200Response | TestRunListDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunStop200Response | TestRunStopDefaultResponse)

function isUnexpected(response: TestRunStop200Response | TestRunStopDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunListMetricNamespaces200Response | TestRunListMetricNamespacesDefaultResponse)

function isUnexpected(response: TestRunListMetricNamespaces200Response | TestRunListMetricNamespacesDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunListMetricDefinitions200Response | TestRunListMetricDefinitionsDefaultResponse)

function isUnexpected(response: TestRunListMetricDefinitions200Response | TestRunListMetricDefinitionsDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunListMetrics200Response | TestRunListMetricsDefaultResponse)

function isUnexpected(response: TestRunListMetrics200Response | TestRunListMetricsDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunListMetricDimensionValues200Response | TestRunListMetricDimensionValuesDefaultResponse)

function isUnexpected(response: TestRunListMetricDimensionValues200Response | TestRunListMetricDimensionValuesDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunCreateOrUpdateAppComponents200Response | TestRunCreateOrUpdateAppComponents201Response | TestRunCreateOrUpdateAppComponentsDefaultResponse)

function isUnexpected(response: TestRunCreateOrUpdateAppComponents200Response | TestRunCreateOrUpdateAppComponents201Response | TestRunCreateOrUpdateAppComponentsDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunListAppComponents200Response | TestRunListAppComponentsDefaultResponse)

function isUnexpected(response: TestRunListAppComponents200Response | TestRunListAppComponentsDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunCreateOrUpdateServerMetricsConfig200Response | TestRunCreateOrUpdateServerMetricsConfig201Response | TestRunCreateOrUpdateServerMetricsConfigDefaultResponse)

function isUnexpected(response: TestRunCreateOrUpdateServerMetricsConfig200Response | TestRunCreateOrUpdateServerMetricsConfig201Response | TestRunCreateOrUpdateServerMetricsConfigDefaultResponse): response

Paramètres

Retours

response

isUnexpected(TestRunListServerMetricsConfig200Response | TestRunListServerMetricsConfigDefaultResponse)

function isUnexpected(response: TestRunListServerMetricsConfig200Response | TestRunListServerMetricsConfigDefaultResponse): response

Paramètres

Retours

response

paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)

Assistance pour paginer les résultats d’une réponse initiale qui suit la spécification de l’extension autorest x-ms-pageable

function paginate<TResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>

Paramètres

client
Client

Client à utiliser pour envoyer les demandes de page suivantes

initialResponse

TResponse

Réponse initiale contenant la page nextLink et active des éléments

options

PagingOptions<TResponse>

Retours

  • PagedAsyncIterableIterator pour itérer les éléments