Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelistoverlay
PATCH/appcomponents/{name}Link Azure resources to a load test or test run · Microsoft Azure Associate App Component A Azure Resource Model To A Test Model…#
Ask an LLM
“How do I associate the Azure resources under test with a load test so I can monitor them?”
“Can I attach app components to a specific test run instead of the whole test?”
Tell an agent
Associate app components {value} with test {test_id} under name {name}.
Attach app components {value} to test run {test_run_id} as {name}.
DELETE/appcomponents/{name}Delete an app component mapping · Microsoft Azure Delete App Component#
Ask an LLM
“How do I remove an app component mapping from a load test?”
“Can I delete an app component set by name?”
Tell an agentdestructive · confirm first
Delete app component {name}.
Remove the app component mapping called {name}.
GET/appcomponents/{name}Get an app component mapping by name · Microsoft Azure Get App Components For A Given Appcomponentname In Query Param#
Ask an LLM
“How do I look up an Azure Load Testing app component mapping by its name?”
“Which Azure resources are captured in a named app component set?”
Tell an agent
Get app component {name}.
Show the Azure resources recorded under app component {name}.
GET/appcomponentsGet app components for a test or test run · Microsoft Azure Get App Components For A Test Model Or A Test Run Of Given Name…#
Ask an LLM
“Which Azure resources are linked to a given load test?”
“How do I see the app components attached to one particular test run?”
Tell an agent
Get the app components for test {test_id}.
Show the app components linked to test run {test_run_id}.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Microsoft Azure CloudNativeTest App Component API
version: 2021-07-01-preview
security:
- Bearer: []
tags:
- name: AppComponent
paths:
/appcomponents/{name}:
patch:
tags:
- AppComponent
summary: Microsoft Azure Associate App Component A Azure Resource Model To A Test Model…
operationId: microsoftAzureAppcomponentCreateorupdateappcomponents
parameters:
- in: path
name: name
description: Unique identifier for app component name, must be a valid URL character ^[a-z0-9_-]*$
required: true
schema:
type: string
maxLength: 50
minLength: 2
pattern: ^[a-z0-9_-]*$
- in: query
name: api-version
description: Api version
required: true
schema:
type: string
responses:
'200':
description: The app component were updated
content:
application/json:
schema:
$ref: '#/components/schemas/AppComponentsMap'
'201':
description: The app component were created
content:
application/json:
schema:
$ref: '#/components/schemas/AppComponentsMap'
default:
description: "***Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\" .\n\n * \"400\", \"RequiredAppComponentName\", \"name field is required\"\n\n * \"400\", \"RequiredTestOrTestRun\", \"Either test name or test run name is required\"\n\n * \"400\", \"InvalidAppComponentName\", \"name field should be valid\"\n\n * \"400\", \"InvalidValue\", \"value field is either null or not a valid map\".\n\n * \"404\", \"TestRunNotFound\", \"test run not found with given name\"\n\n * \"404\", \"TestNotFound\", \"Test not found with given name\"\n\n* \"500\", \"InternalServerError\", \"Unable to process the request, please retry\""
headers:
x-ms-error-code:
description: The error code for specific error that occurred.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultErrorResponseBody'
x-ms-examples:
AppComponent_CreateOrUpdateAppComponents_MaximumSet_Gen:
$ref: ./examples/AppComponent_CreateOrUpdateAppComponents_MaximumSet_Gen.json
AppComponent_CreateOrUpdateAppComponents_MinimumSet_Gen:
$ref: ./examples/AppComponent_CreateOrUpdateAppComponents_MinimumSet_Gen.json
description: Needs a more full description created.
requestBody:
content:
application/merge-patch+json:
schema:
$ref: '#/components/schemas/AppComponentsMap'
description: App component model
required: true
delete:
tags:
- AppComponent
summary: Microsoft Azure Delete App Component
operationId: microsoftAzureAppcomponentDeleteappcomponent
parameters:
- in: path
name: name
description: Unique identifier for app component name, must be a valid URL character ^[a-z0-9_-]*$
required: true
schema:
type: string
maxLength: 50
minLength: 2
pattern: ^[a-z0-9_-]*$
- in: query
name: api-version
description: Api version
required: true
schema:
type: string
responses:
'204':
description: The app component is deleted
default:
description: "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredAppComponentName\", \"name field is required\"\n\n * \"400\", \"InvalidAppComponentName\", \"name field should be valid\"\n\n * \"404\", \"AppComponentNotFound\", \"AppComponent not found with given name\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\""
headers:
x-ms-error-code:
description: The error code for specific error that occurred.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultErrorResponseBody'
x-ms-examples:
AppComponent_DeleteAppComponent_MaximumSet_Gen:
$ref: ./examples/AppComponent_DeleteAppComponent_MaximumSet_Gen.json
AppComponent_DeleteAppComponent_MinimumSet_Gen:
$ref: ./examples/AppComponent_DeleteAppComponent_MinimumSet_Gen.json
description: Needs a more full description created.
get:
tags:
- AppComponent
summary: Microsoft Azure Get App Components For A Given Appcomponentname In Query Param
operationId: microsoftAzureAppcomponentGetappcomponentbyname
parameters:
- in: path
name: name
description: Unique identifier for app component name, must be a valid URL character ^[a-z0-9_-]*$
required: true
schema:
type: string
maxLength: 50
minLength: 2
pattern: ^[a-z0-9_-]*$
- in: query
name: api-version
description: Api version
required: true
schema:
type: string
responses:
'200':
description: The requested app components
content:
application/json:
schema:
$ref: '#/components/schemas/AppComponentsMap'
default:
description: "***Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\" .\n\n * \"400\", \"RequiredAppComponentName\", \"name field is required\"\n\n * \"400\", \"InvalidAppComponentName\", \"name field should be valid\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\""
headers:
x-ms-error-code:
description: The error code for specific error that occurred.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultErrorResponseBody'
x-ms-examples:
AppComponent_GetAppComponentByName_MaximumSet_Gen:
$ref: ./examples/AppComponent_GetAppComponentByName_MaximumSet_Gen.json
AppComponent_GetAppComponentByName_MinimumSet_Gen:
$ref: ./examples/AppComponent_GetAppComponentByName_MinimumSet_Gen.json
description: Needs a more full description created.
/appcomponents:
get:
tags:
- AppComponent
summary: Microsoft Azure Get App Components For A Test Model Or A Test Run Of Given Name…
operationId: microsoftAzureAppcomponentGetappcomponent
parameters:
- in: query
name: testId
description: Required testId, if testRunId name is not provided
schema:
type: string
maxLength: 50
minLength: 2
pattern: ^[a-z0-9_-]*$
- in: query
name: testRunId
description: Required testRunId, if testId is not provided
schema:
type: string
maxLength: 50
minLength: 2
pattern: ^[a-z0-9_-]*$
- in: query
name: api-version
description: Api version
required: true
schema:
type: string
responses:
'200':
description: The requested app components
content:
application/json:
schema:
$ref: '#/components/schemas/AppComponentsMap'
default:
description: "***Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\" .\n\n * \"400\", \"RequiredTestOrTestRun\", \"Either test name or test run name is required\"\n\n * \"404\", \"TestRunNotFound\", \"test run not found with given name\"\n\n * \"404\", \"TestNotFound\", \"Test not found with given name\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\""
headers:
x-ms-error-code:
description: The error code for specific error that occurred.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultErrorResponseBody'
x-ms-examples:
AppComponent_GetAppComponent_MaximumSet_Gen:
$ref: ./examples/AppComponent_GetAppComponent_MaximumSet_Gen.json
AppComponent_GetAppComponent_MinimumSet_Gen:
$ref: ./examples/AppComponent_GetAppComponent_MinimumSet_Gen.json
description: Needs a more full description created.
components:
schemas:
DefaultErrorResponseBody:
description: The definition of an error object.
type: object
properties:
error:
$ref: '#/components/schemas/ErrorResponseBody'
AppComponentsMap:
description: App components model
required:
- value
type: object
properties:
resourceId:
description: '[ReadOnly] Load test resource id'
type: string
testId:
description: '[Required if testRunId is not given] Load test unique identifier'
type: string
testRunId:
description: '[Required if testId is not given] Load test run unique identifier'
type: string
name:
description: '[ReadOnly] AppComponent name'
type: string
value:
description: 'AppComponents Map { resource id (Fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}) : resource object } '
type: object
additionalProperties:
$ref: '#/components/schemas/AppComponent'
AppComponent:
description: 'The Azure resource object (Refer azure generic resource model : https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id#genericresource)'
type: object
properties:
resourceId:
description: '[ReadOnly] Fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}'
type: string
resourceName:
description: Azure resource name
type: string
resourceType:
description: Azure resource type
type: string
displayName:
description: '[ReadOnly] Azure resource display name'
type: string
resourceGroup:
description: '[ReadOnly] Resource group name of Azure resource'
type: string
subscriptionId:
description: '[ReadOnly] Subscription Id of Azure resource'
type: string
kind:
description: Kind of Azure resource type
type: string
ErrorResponseBody:
description: The error response object.
type: object
properties:
code:
description: The error code.
type: string
message:
description: The error message.
type: string
target:
description: The error target.
type: string
details:
description: Additional details and inner errors.
type: array
items:
$ref: '#/components/schemas/ErrorResponseBody'
securitySchemes:
Bearer:
type: apiKey
name: Authorization
in: header
description: JWT Authorization header using the Bearer scheme.