@azure-rest/load-testing package
Interfaces
Type Aliases
Functions
Function Details
default(string, TokenCredential, ClientOptions)
Initialize a new instance of the class AzureLoadTestingClient class.
function default(Endpoint: string, credentials: TokenCredential, options?: ClientOptions): AzureLoadTestingClient
Parameters
- Endpoint
-
string
type: string URL to perform data plane API operations on the resource.
- credentials
- TokenCredential
type: TokenCredential
- options
- ClientOptions
Returns
getLongRunningPoller(AzureLoadTestingClient, TestUploadFile201Response)
function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFile201Response): Promise<FileUploadAndValidatePoller>
Parameters
- client
- AzureLoadTestingClient
- initialResponse
- TestUploadFile201Response
Returns
Promise<FileUploadAndValidatePoller>
getLongRunningPoller(AzureLoadTestingClient, TestRunCreateOrUpdateSuccessResponse)
function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>
Parameters
- client
- AzureLoadTestingClient
- initialResponse
- TestRunCreateOrUpdateSuccessResponse
Returns
Promise<TestRunCompletionPoller>
isUnexpected(TestCreateOrUpdate200Response | TestCreateOrUpdate201Response | TestCreateOrUpdateDefaultResponse)
function isUnexpected(response: TestCreateOrUpdate200Response | TestCreateOrUpdate201Response | TestCreateOrUpdateDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestDelete204Response | TestDeleteDefaultResponse)
function isUnexpected(response: TestDelete204Response | TestDeleteDefaultResponse): response
Parameters
- response
Returns
response
isUnexpected(TestGet200Response | TestGetDefaultResponse)
function isUnexpected(response: TestGet200Response | TestGetDefaultResponse): response
Parameters
- response
Returns
response
isUnexpected(TestList200Response | TestListDefaultResponse)
function isUnexpected(response: TestList200Response | TestListDefaultResponse): response
Parameters
- response
Returns
response
isUnexpected(TestUploadFile201Response | TestUploadFileDefaultResponse)
function isUnexpected(response: TestUploadFile201Response | TestUploadFileDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestGetFile200Response | TestGetFileDefaultResponse)
function isUnexpected(response: TestGetFile200Response | TestGetFileDefaultResponse): response
Parameters
- response
Returns
response
isUnexpected(TestDeleteFile204Response | TestDeleteFileDefaultResponse)
function isUnexpected(response: TestDeleteFile204Response | TestDeleteFileDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestListFiles200Response | TestListFilesDefaultResponse)
function isUnexpected(response: TestListFiles200Response | TestListFilesDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestCreateOrUpdateAppComponents200Response | TestCreateOrUpdateAppComponents201Response | TestCreateOrUpdateAppComponentsDefaultResponse)
function isUnexpected(response: TestCreateOrUpdateAppComponents200Response | TestCreateOrUpdateAppComponents201Response | TestCreateOrUpdateAppComponentsDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestListAppComponents200Response | TestListAppComponentsDefaultResponse)
function isUnexpected(response: TestListAppComponents200Response | TestListAppComponentsDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestCreateOrUpdateServerMetricsConfig200Response | TestCreateOrUpdateServerMetricsConfig201Response | TestCreateOrUpdateServerMetricsConfigDefaultResponse)
function isUnexpected(response: TestCreateOrUpdateServerMetricsConfig200Response | TestCreateOrUpdateServerMetricsConfig201Response | TestCreateOrUpdateServerMetricsConfigDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestListServerMetricsConfig200Response | TestListServerMetricsConfigDefaultResponse)
function isUnexpected(response: TestListServerMetricsConfig200Response | TestListServerMetricsConfigDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunDelete204Response | TestRunDeleteDefaultResponse)
function isUnexpected(response: TestRunDelete204Response | TestRunDeleteDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response | TestRunCreateOrUpdateDefaultResponse)
function isUnexpected(response: TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response | TestRunCreateOrUpdateDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunGet200Response | TestRunGetDefaultResponse)
function isUnexpected(response: TestRunGet200Response | TestRunGetDefaultResponse): response
Parameters
- response
Returns
response
isUnexpected(TestRunGetFile200Response | TestRunGetFileDefaultResponse)
function isUnexpected(response: TestRunGetFile200Response | TestRunGetFileDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunList200Response | TestRunListDefaultResponse)
function isUnexpected(response: TestRunList200Response | TestRunListDefaultResponse): response
Parameters
- response
Returns
response
isUnexpected(TestRunStop200Response | TestRunStopDefaultResponse)
function isUnexpected(response: TestRunStop200Response | TestRunStopDefaultResponse): response
Parameters
- response
Returns
response
isUnexpected(TestRunListMetricNamespaces200Response | TestRunListMetricNamespacesDefaultResponse)
function isUnexpected(response: TestRunListMetricNamespaces200Response | TestRunListMetricNamespacesDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunListMetricDefinitions200Response | TestRunListMetricDefinitionsDefaultResponse)
function isUnexpected(response: TestRunListMetricDefinitions200Response | TestRunListMetricDefinitionsDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunListMetrics200Response | TestRunListMetricsDefaultResponse)
function isUnexpected(response: TestRunListMetrics200Response | TestRunListMetricsDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunListMetricDimensionValues200Response | TestRunListMetricDimensionValuesDefaultResponse)
function isUnexpected(response: TestRunListMetricDimensionValues200Response | TestRunListMetricDimensionValuesDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunCreateOrUpdateAppComponents200Response | TestRunCreateOrUpdateAppComponents201Response | TestRunCreateOrUpdateAppComponentsDefaultResponse)
function isUnexpected(response: TestRunCreateOrUpdateAppComponents200Response | TestRunCreateOrUpdateAppComponents201Response | TestRunCreateOrUpdateAppComponentsDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunListAppComponents200Response | TestRunListAppComponentsDefaultResponse)
function isUnexpected(response: TestRunListAppComponents200Response | TestRunListAppComponentsDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunCreateOrUpdateServerMetricsConfig200Response | TestRunCreateOrUpdateServerMetricsConfig201Response | TestRunCreateOrUpdateServerMetricsConfigDefaultResponse)
function isUnexpected(response: TestRunCreateOrUpdateServerMetricsConfig200Response | TestRunCreateOrUpdateServerMetricsConfig201Response | TestRunCreateOrUpdateServerMetricsConfigDefaultResponse): response
Parameters
Returns
response
isUnexpected(TestRunListServerMetricsConfig200Response | TestRunListServerMetricsConfigDefaultResponse)
function isUnexpected(response: TestRunListServerMetricsConfig200Response | TestRunListServerMetricsConfigDefaultResponse): response
Parameters
Returns
response
paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)
Helper to paginate results from an initial response that follows the specification of Autorest x-ms-pageable extension
function paginate<TResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>
Parameters
- client
- Client
Client to use for sending the next page requests
- initialResponse
-
TResponse
Initial response containing the nextLink and current page of elements
- options
-
PagingOptions<TResponse>
Returns
PagedAsyncIterableIterator<PaginateReturn<TResponse>>
- PagedAsyncIterableIterator to iterate the elements