diff --git a/specification/loadtestservice/LoadTestService/tspconfig.yaml b/specification/loadtestservice/LoadTestService/tspconfig.yaml index 0e3206af40f3..cf69d1bb8a02 100644 --- a/specification/loadtestservice/LoadTestService/tspconfig.yaml +++ b/specification/loadtestservice/LoadTestService/tspconfig.yaml @@ -1,6 +1,8 @@ parameters: service-dir: default: "sdk/loadtesting" + "service-name": + default: "loadtesting" emit: - "@azure-tools/typespec-autorest" # Uncomment this line and add "@azure-tools/typespec-python" to your package.json to generate Python code @@ -37,7 +39,8 @@ options: package-dir: "load-testing-rest" title: Azure Load Testing description: Azure Load Testing Client - generate-metadata: false + generate-metadata: true + generate-test: false package-details: name: "@azure-rest/load-testing" description: "This package contains Microsoft Azure LoadTestingClient client library." @@ -57,5 +60,5 @@ options: partial-update: true generate-tests: false generate-samples: false - service-name: Load Testing + service-name: Load Test flavor: azure diff --git a/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_CreateOrReplace.json b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_CreateOrReplace.json new file mode 100644 index 000000000000..e3a84634f3b9 --- /dev/null +++ b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_CreateOrReplace.json @@ -0,0 +1,35 @@ +{ + "title": "AccessTokens_CreateOrReplace", + "operationId": "AccessTokens_CreateOrReplace", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "accessTokenId": "00000000-0000-0000-0000-000000000000", + "resource": { + "name": "sampleAccessToken", + "expiryAt": "2022-09-28T12:32:33Z" + } + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "name": "sampleAccessToken", + "jwtToken": "sampleJwtToken", + "createdAt": "2021-09-28T12:32:33Z", + "expiryAt": "2022-09-28T12:32:33Z", + "state": "Active" + } + }, + "201": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "name": "sampleAccessToken", + "jwtToken": "sampleJwtToken", + "createdAt": "2021-09-28T12:32:33Z", + "expiryAt": "2022-09-28T12:32:33Z", + "state": "Active" + } + } + } +} diff --git a/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_Delete.json b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_Delete.json new file mode 100644 index 000000000000..7d0538a603f0 --- /dev/null +++ b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_Delete.json @@ -0,0 +1,12 @@ +{ + "title": "AccessTokens_Delete", + "operationId": "AccessTokens_Delete", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "accessTokenId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + } +} diff --git a/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_Get.json b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_Get.json new file mode 100644 index 000000000000..a21f147320b1 --- /dev/null +++ b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_Get.json @@ -0,0 +1,20 @@ +{ + "title": "AccessTokens_Get", + "operationId": "AccessTokens_Get", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "accessTokenId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "name": "sampleAccessToken", + "createdAt": "2021-09-28T12:32:33Z", + "expiryAt": "2022-09-28T12:32:33Z", + "state": "Active" + } + } + } +} diff --git a/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_List.json b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_List.json new file mode 100644 index 000000000000..cac2848c194d --- /dev/null +++ b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/AccessTokens_List.json @@ -0,0 +1,24 @@ +{ + "title": "AccessTokens_List", + "operationId": "AccessTokens_List", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "00000000-0000-0000-0000-000000000000", + "name": "sampleAccessToken", + "createdAt": "2021-09-28T12:32:33Z", + "expiryAt": "2022-09-28T12:32:33Z", + "state": "Active" + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/loadtestservice/Playwright/examples/2025-07-01-preview/TestRuns_CreateOrUpdate.json b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/TestRuns_CreateOrUpdate.json new file mode 100644 index 000000000000..ce57a833c4b3 --- /dev/null +++ b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/TestRuns_CreateOrUpdate.json @@ -0,0 +1,86 @@ +{ + "title": "TestRuns_CreateOrUpdate", + "operationId": "TestRuns_CreateOrUpdate", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "runId": "00000000-0000-0000-0000-000000000000", + "resource": { + "displayName": "sampleTestRun" + } + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "displayName": "sampleTestRun", + "creatorId": "string", + "creatorName": "string", + "config": { + "framework": { + "name": "string", + "version": "string", + "runnerName": "string" + }, + "sdkLanguage": "JAVASCRIPT", + "maxWorkers": 10 + }, + "ciConfig": { + "providerName": "string", + "branch": "string", + "author": "string", + "commitId": "string", + "revisionUrl": "string" + }, + "summary": { + "status": "RUNNING", + "billableTime": 0, + "numBrowserSessions": 1, + "maxConcurrentBrowserSessions": 10, + "startTime": "2025-06-06T11:43:28.954Z", + "endTime": "2025-06-06T11:43:28.954Z", + "duration": 0, + "errorMessages": [ + "string" + ] + } + } + }, + "201": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "displayName": "sampleTestRun", + "creatorId": "string", + "creatorName": "string", + "config": { + "framework": { + "name": "string", + "version": "string", + "runnerName": "string" + }, + "sdkLanguage": "JAVASCRIPT", + "maxWorkers": 10 + }, + "ciConfig": { + "providerName": "string", + "branch": "string", + "author": "string", + "commitId": "string", + "revisionUrl": "string" + }, + "summary": { + "status": "RUNNING", + "billableTime": 0, + "numBrowserSessions": 1, + "maxConcurrentBrowserSessions": 10, + "startTime": "2025-06-06T11:43:28.954Z", + "endTime": "2025-06-06T11:43:28.954Z", + "duration": 0, + "errorMessages": [ + "string" + ] + } + } + } + } +} diff --git a/specification/loadtestservice/Playwright/examples/2025-07-01-preview/TestRuns_List.json b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/TestRuns_List.json new file mode 100644 index 000000000000..c2bd72d8000a --- /dev/null +++ b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/TestRuns_List.json @@ -0,0 +1,51 @@ +{ + "title": "TestRuns_List", + "operationId": "TestRuns_List", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "00000000-0000-0000-0000-000000000000", + "displayName": "string", + "creatorId": "string", + "creatorName": "string", + "config": { + "framework": { + "name": "string", + "version": "string", + "runnerName": "string" + }, + "sdkLanguage": "JAVASCRIPT", + "maxWorkers": 10 + }, + "ciConfig": { + "providerName": "string", + "branch": "string", + "author": "string", + "commitId": "string", + "revisionUrl": "string" + }, + "summary": { + "status": "RUNNING", + "billableTime": 0, + "numBrowserSessions": 1, + "maxConcurrentBrowserSessions": 10, + "startTime": "2025-06-06T11:43:28.954Z", + "endTime": "2025-06-06T11:43:28.954Z", + "duration": 0, + "errorMessages": [ + "string" + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/loadtestservice/Playwright/examples/2025-07-01-preview/Workspaces_GetBrowsers.json b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/Workspaces_GetBrowsers.json new file mode 100644 index 000000000000..9f379401aa8f --- /dev/null +++ b/specification/loadtestservice/Playwright/examples/2025-07-01-preview/Workspaces_GetBrowsers.json @@ -0,0 +1,16 @@ +{ + "title": "Workspaces_GetBrowsers", + "operationId": "Workspaces_GetBrowsers", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "os": "Linux" + }, + "responses": { + "302": { + "headers": { + "location": "wss://{region}.api.playwright.microsoft.com/redirectURL?api-version=2025-07-01-preview&os=Linux" + } + } + } +} diff --git a/specification/loadtestservice/Playwright/main.tsp b/specification/loadtestservice/Playwright/main.tsp new file mode 100644 index 000000000000..3c6860913b0f --- /dev/null +++ b/specification/loadtestservice/Playwright/main.tsp @@ -0,0 +1,52 @@ +// cheat-sheet - https://microsoft.github.io/typespec/standard-library/http/cheat-sheet +// tsp compile main.tsp --emit @azure-tools/typespec-autorest + +import "@typespec/http"; +import "@typespec/versioning"; +import "./routes.tsp"; + +using TypeSpec.Http; +using TypeSpec.Versioning; + +@server( + "{endpoint}", + "Playwright Service API Endpoint", + { + @doc(""" + Supported Playwright Service API Endpoints (protocol and hostname) formatted as https://{region}.api.playwright.microsoft.com. + You can also find this value in the Azure Playwright Workspace property, such as `dataplaneUri`. + """) + endpoint: string, + } +) +@useAuth( + [ + OAuth2Auth<[ + { + type: OAuth2FlowType.implicit, + description: "We can use OAuth2 Implicit flow to get the auth token for calling the APIs.", + authorizationUrl: "https://login.microsoftonline.com/common/oauth2/authorize", + scopes: ["https://playwright.microsoft.com/.default"], + } + ]>, + OAuth2Auth<[ + { + type: OAuth2FlowType.authorizationCode, + description: "We can use OAuth2 Authorization Code flow to get the auth token for calling the APIs.", + authorizationUrl: "https://login.microsoftonline.com/common/oauth2/authorize", + tokenUrl: "https://login.microsoftonline.com/common/v2.0/oauth2/token", + scopes: ["https://playwright.microsoft.com/.default"], + } + ]> + ] +) +@service(#{ title: "Playwright Service API" }) +@versioned(Playwright.Versions) +namespace Playwright; + +@doc("Playwright Service API Versions.") +enum Versions { + @doc("Version 2025-07-01-preview") + @useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2025_07_01_preview: "2025-07-01-preview", +} diff --git a/specification/loadtestservice/Playwright/models.tsp b/specification/loadtestservice/Playwright/models.tsp new file mode 100644 index 000000000000..af41e94ad974 --- /dev/null +++ b/specification/loadtestservice/Playwright/models.tsp @@ -0,0 +1,235 @@ +import "@typespec/rest"; + +using TypeSpec.Rest; + +namespace Playwright; + +// Models //////////////////// + +@doc("Model of an access-token linked to a workspace.") +@resource("access-tokens") +@parentResource(Workspace) +model AccessToken { + @key("accessTokenId") + @doc("The access-token id in GUID format.") + @minLength(3) + @maxLength(36) + @pattern("[A-Za-z0-9]+(-[A-Za-z0-9]+)+") + @visibility(Lifecycle.Read) + id: string; + + // Standard Azure Resource Name parameter regex pattern - https://azure.github.io/typespec-azure/docs/libraries/azure-resource-manager/reference/data-types/#Azure.ResourceManager.ResourceNameParameter + @minLength(3) + @maxLength(24) + @pattern("^[a-zA-Z0-9-]{3,24}$") + @doc("The access-token name.") + @visibility(Lifecycle.Read, Lifecycle.Create) + name: string; + + @doc("The access-token value in JWT format.") + @visibility(Lifecycle.Read) + jwtToken?: string; + + @doc("The access-token createdAt utcDateTime.") + @visibility(Lifecycle.Read) + createdAt: utcDateTime; + + @doc("The access-token expiryAt utcDateTime.") + @visibility(Lifecycle.Read, Lifecycle.Create) + expiryAt: utcDateTime; + + @doc("The access-token state - Active | Expired.") + @visibility(Lifecycle.Read) + state: AccessTokenState; +} + +@doc("The access-token state.") +union AccessTokenState { + string, + + @doc("The access-token is Active.") + Active: "Active", + + @doc("The access-token is Expired.") + Expired: "Expired", +} + +@doc("The os to configure for remote script runs.") +union OS { + string, + + @doc("Linux OS.") + Linux: "Linux", + + @doc("Windows OS.") + Windows: "Windows", +} + +@doc("Playwright workspace is the parent resource for most of the other service resources.") +@resource("playwrightworkspaces") +model Workspace { + @key("workspaceId") + @doc("The workspace id in GUID format.") + @maxLength(36) + @minLength(3) + @pattern("[A-Za-z0-9]+(-[A-Za-z0-9]+)+") + @visibility(Lifecycle.Read) + id: string; +} + +@doc("Model of a test-run used for tracking purpose.") +@resource("test-runs") +@parentResource(Workspace) +model TestRun { + @key("runId") + @doc("The test-run id in GUID format.") + @minLength(3) + @maxLength(36) + @pattern("[A-Za-z0-9]+(-[A-Za-z0-9]+)+") + @visibility(Lifecycle.Read) + id: string; + + @doc("The test-run display name.") + @minLength(1) + @maxLength(200) + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + displayName: string; + + @doc("The test-run creator's id.") + @visibility(Lifecycle.Read) + creatorId: string; + + @doc("The test-run creator's name.") + @visibility(Lifecycle.Read) + creatorName?: string; + + @doc("The test-run config.") + @visibility(Lifecycle.Read, Lifecycle.Create) + config?: RunConfig; + + @doc("The test-run CI Config.") + @visibility(Lifecycle.Read, Lifecycle.Create) + ciConfig?: CiConfig; + + @doc("The test-run summary.") + @visibility(Lifecycle.Read) + summary: RunSummary; +} + +@doc("The run config.") +model RunConfig { + @doc("The framework used for run.") + @visibility(Lifecycle.Read, Lifecycle.Create) + framework?: RunFramework; + + @doc("The SDK Language used for run.") + @visibility(Lifecycle.Read, Lifecycle.Create) + sdkLanguage?: SDKLanguage; + + @doc("The maximum number of workers required for the run.") + @visibility(Lifecycle.Read, Lifecycle.Create) + @minValue(1) + @maxValue(500) + maxWorkers?: int64; +} + +@doc("The SDK Language used for run.") +union SDKLanguage { + string, + + @doc("JAVASCRIPT SDK") + JAVASCRIPT: "JAVASCRIPT", + + @doc("TYPESCRIPT SDK") + TYPESCRIPT: "TYPESCRIPT", + + @doc("CSHARP SDK") + CSHARP: "CSHARP", +} + +@doc("The run framework.") +model RunFramework { + @doc("The framework name.") + @visibility(Lifecycle.Read, Lifecycle.Create) + name?: string; + + @doc("The framework version.") + @visibility(Lifecycle.Read, Lifecycle.Create) + version?: string; + + @doc("The framework runner name.") + @visibility(Lifecycle.Read, Lifecycle.Create) + runnerName?: string; +} + +@doc("The run CI config.") +model CiConfig { + @doc("The CI provider name.") + @visibility(Lifecycle.Read, Lifecycle.Create) + providerName?: string; + + @doc("The CI branch.") + @visibility(Lifecycle.Read, Lifecycle.Create) + branch?: string; + + @doc("The CI author.") + @visibility(Lifecycle.Read, Lifecycle.Create) + author?: string; + + @doc("The CI commit id.") + @visibility(Lifecycle.Read, Lifecycle.Create) + commitId?: string; + + @doc("The CI revision URL.") + @visibility(Lifecycle.Read, Lifecycle.Create) + revisionUrl?: string; +} + +@doc("The run summary.") +model RunSummary { + @doc("The run status.") + @visibility(Lifecycle.Read) + status: RunStatus; + + @doc("The run billable time.") + @visibility(Lifecycle.Read) + billableTime?: int64; + + @doc("The total number of browser sessions allocated to the run.") + @visibility(Lifecycle.Read) + numBrowserSessions?: int64; + + @doc("The highest number of browser sessions that were running at the same time during the run.") + @visibility(Lifecycle.Read) + maxConcurrentBrowserSessions?: int64; + + @doc("The run start time as utcDateTime.") + @visibility(Lifecycle.Read) + startTime: utcDateTime; + + @doc("The run end time as utcDateTime.") + @visibility(Lifecycle.Read) + endTime?: utcDateTime; + + @doc("The run duration.") + @visibility(Lifecycle.Read) + duration?: int64; + + @doc("The list of error messages corresponding to the run.") + @visibility(Lifecycle.Read) + errorMessages?: Array; +} + +@doc("The run status.") +union RunStatus { + string, + + @doc("The run status is RUNNING") + RUNNING: "RUNNING", + + @doc("The run status is CLIENT_COMPLETE") + CLIENT_COMPLETE: "CLIENT_COMPLETE", + + @doc("The run status is SERVER_COMPLETE") + SERVER_COMPLETE: "SERVER_COMPLETE", +} diff --git a/specification/loadtestservice/Playwright/routes.tsp b/specification/loadtestservice/Playwright/routes.tsp new file mode 100644 index 000000000000..499bdec3dad8 --- /dev/null +++ b/specification/loadtestservice/Playwright/routes.tsp @@ -0,0 +1,82 @@ +import "@azure-tools/typespec-azure-core"; +import "@typespec/http"; +import "./models.tsp"; + +using Azure.Core; +using Azure.Core.Traits; +using TypeSpec.Http; + +namespace Playwright; + +// Operations //////////////////// + +alias ServiceTraits = NoRepeatableRequests & + NoConditionalRequests & + SupportsClientRequestId; + +alias Operations = Azure.Core.ResourceOperations; + +interface AccessTokens { + // AccessToken Operations + @doc("Creates an access-token for the workspace with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.") + createOrReplace is Operations.ResourceCreateOrReplace; + + @doc("Gets an access-token for the workspace with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.") + get is Operations.ResourceRead; + + @doc("Deletes an access-token for the workspace with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.") + delete is Operations.ResourceDelete; + + @doc("Lists access-tokens for the given workspace id. It can use OData query params like $select, $filter, $orderby, $top and $skip. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID.") + list is Operations.ResourceList; +} + +alias GetBrowsersParams = { + @path + @maxLength(36) + @minLength(3) + @pattern("[A-Za-z0-9]+(-[A-Za-z0-9]+)+") + @doc("The workspace id in GUID format.") + workspaceId: string; + + @query + @doc("The os provided by client for remote script runs.") + os: OS; + + @query + @maxLength(36) + @minLength(3) + @pattern("[A-Za-z0-9]+(-[A-Za-z0-9]+)+") + @doc("The runId provided by client in GUID format.") + runId?: string; +}; + +alias GetBrowsersResponse = { + @statusCode + _: 302; + + @header + @doc("The redirect target URL to run script on remote browsers.") + location: url; +}; + +interface Workspaces { + // Workspaces Operations + #suppress "@azure-tools/typespec-azure-core/no-rpc-path-params" "Operations defined using RpcOperation should not have path parameters. Consider using ResourceAction or ResourceCollectionAction instead." + @doc("Gets remote browsers corresponding to given workspace id and redirects the client for executing Playwright scripts. Authorization required is Bearer JWT Access token provided by EntraID or Playwright Service.") + @route("/playwrightworkspaces/{workspaceId}/browsers") + getBrowsers is RpcOperation< + GetBrowsersParams, + GetBrowsersResponse, + ServiceTraits + >; +} + +interface TestRuns { + // TestRun Operations + @doc("Creates/Updates a test-run for the workspace with given test-run id. Authorization required is Bearer JWT Access token provided by EntraID or Playwright Service.") + createOrUpdate is Operations.ResourceCreateOrUpdate; + + @doc("Lists test-runs for the given workspace id. It can use OData query params like $filter, $top etc. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID or Playwright Service.") + list is Operations.ResourceList; +} diff --git a/specification/loadtestservice/Playwright/suppressions.yaml b/specification/loadtestservice/Playwright/suppressions.yaml new file mode 100644 index 000000000000..d0276d7e1c52 --- /dev/null +++ b/specification/loadtestservice/Playwright/suppressions.yaml @@ -0,0 +1,12 @@ +- tool: TypeSpecValidation + paths: + - tspconfig.yaml + rules: + - SdkTspConfigValidation + sub-rules: + # Suppress validation for a Go emitter options + - options.@azure-tools/typespec-go.generate-fakes + - options.@azure-tools/typespec-go.inject-spans + - options.@azure-tools/typespec-go.service-dir + - options.@azure-tools/typespec-go.package-dir + reason: 'Playwright does not support a Go SDK currently' \ No newline at end of file diff --git a/specification/loadtestservice/Playwright/tspconfig.yaml b/specification/loadtestservice/Playwright/tspconfig.yaml new file mode 100644 index 000000000000..fb3513f7c642 --- /dev/null +++ b/specification/loadtestservice/Playwright/tspconfig.yaml @@ -0,0 +1,49 @@ +emit: + - "@azure-tools/typespec-autorest" +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/data-plane" +parameters: + "service-dir": + default: "sdk/playwright" + "service-name": + default: "playwright" + "dependencies": + default: "" +options: + "@azure-tools/typespec-autorest": + azure-resource-provider-folder: "data-plane" + emitter-output-dir: "{project-root}/.." + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/playwright.json" + omit-unreachable-types: true + "@azure-tools/typespec-python": + package-dir: "azure-developer-playwright" + namespace: "azure.developer.playwright" + generate-test: true + generate-sample: true + package-mode: azure-dataplane + flavor: azure + "@azure-tools/typespec-ts": + package-dir: "playwright-rest" + title: PlaywrightServiceClient + description: Microsoft Playwright Service Client + generate-metadata: true + generate-test: false + package-details: + name: "@azure-rest/playwright" + description: "This package contains Microsoft Playwright Service client library." + version: 1.0.0 + flavor: azure + "@azure-tools/typespec-csharp": + package-dir: "Azure.Developer.Playwright" + clear-output-folder: true + model-namespace: false + namespace: "{package-dir}" + flavor: azure + "@azure-tools/typespec-java": + package-dir: "azure-developer-playwright" + namespace: com.azure.developer.playwright + partial-update: true + generate-tests: false + service-name: Microsoft Playwright Service + flavor: azure diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_CreateOrUpdateAppComponents_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_CreateOrUpdateAppComponents_MaximumSet_Gen.json deleted file mode 100644 index 0f8cd03b2e34..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_CreateOrUpdateAppComponents_MaximumSet_Gen.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "parameters": { - "name": "-8b", - "api-version": "2021-07-01-preview", - "body": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "value": { - "key8748": { - "resourceId": "aaaaaaaaaaaaaaaaa", - "resourceName": "aaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceGroup": "aaaaaaaaaaaaa", - "subscriptionId": "aa", - "kind": "aaaaaaaaaa" - } - } - } - }, - "responses": { - "200": { - "body": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "value": { - "key8748": { - "resourceId": "aaaaaaaaaaaaaaaaa", - "resourceName": "aaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceGroup": "aaaaaaaaaaaaa", - "subscriptionId": "aa", - "kind": "aaaaaaaaaa" - } - } - } - }, - "201": { - "body": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "value": { - "key8748": { - "resourceId": "aaaaaaaaaaaaaaaaa", - "resourceName": "aaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceGroup": "aaaaaaaaaaaaa", - "subscriptionId": "aa", - "kind": "aaaaaaaaaa" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_CreateOrUpdateAppComponents_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_CreateOrUpdateAppComponents_MinimumSet_Gen.json deleted file mode 100644 index 6d80bcbeaa61..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_CreateOrUpdateAppComponents_MinimumSet_Gen.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "name": "j__-", - "api-version": "2021-07-01-preview", - "body": { - "value": {} - } - }, - "responses": { - "200": { - "body": { - "value": {} - } - }, - "201": { - "body": { - "value": {} - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_DeleteAppComponent_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_DeleteAppComponent_MaximumSet_Gen.json deleted file mode 100644 index 23e0778f48d6..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_DeleteAppComponent_MaximumSet_Gen.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "name": "___-", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_DeleteAppComponent_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_DeleteAppComponent_MinimumSet_Gen.json deleted file mode 100644 index dff61cc90bd5..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_DeleteAppComponent_MinimumSet_Gen.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "name": "r_qx", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponentByName_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponentByName_MaximumSet_Gen.json deleted file mode 100644 index 9a3ae91fa863..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponentByName_MaximumSet_Gen.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "name": "l2-_on", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "value": { - "key8748": { - "resourceId": "aaaaaaaaaaaaaaaaa", - "resourceName": "aaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceGroup": "aaaaaaaaaaaaa", - "subscriptionId": "aa", - "kind": "aaaaaaaaaa" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponentByName_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponentByName_MinimumSet_Gen.json deleted file mode 100644 index 6f5fe8c2481c..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponentByName_MinimumSet_Gen.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "name": "_--8", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": {} - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponent_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponent_MaximumSet_Gen.json deleted file mode 100644 index 2fcc84c4cb6f..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponent_MaximumSet_Gen.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "testId": "7s__", - "testRunId": "388", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "value": { - "key8748": { - "resourceId": "aaaaaaaaaaaaaaaaa", - "resourceName": "aaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceGroup": "aaaaaaaaaaaaa", - "subscriptionId": "aa", - "kind": "aaaaaaaaaa" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponent_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponent_MinimumSet_Gen.json deleted file mode 100644 index 07651b4a7948..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/AppComponent_GetAppComponent_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": {} - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/File_FileValidate_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/File_FileValidate_MaximumSet_Gen.json deleted file mode 100644 index 11a88a94b735..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/File_FileValidate_MaximumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "fileId": "86sp6", - "api-version": "2021-07-01-preview", - "file": "Adsda" - }, - "responses": { - "200": { - "body": { - "valid": true, - "error": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_CreateOrUpdateServerMetricsConfig_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_CreateOrUpdateServerMetricsConfig_MaximumSet_Gen.json deleted file mode 100644 index 28f282c927aa..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_CreateOrUpdateServerMetricsConfig_MaximumSet_Gen.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "name": "2f", - "api-version": "2021-07-01-preview", - "body": { - "name": "aaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaa", - "metrics": { - "key7260": { - "id": "a", - "resourceId": "a", - "metricnamespace": "aaaaaaaaaaaaaaaaaaaa", - "displayDescription": "aaaaaaaaaaaaaa", - "name": { - "value": "aaaaaaa", - "localizedValue": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "aggregation": "aaaa", - "unit": "aaaaaaaaaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaa" - } - } - } - }, - "responses": { - "200": { - "body": { - "name": "aaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaa", - "metrics": { - "key7260": { - "id": "a", - "resourceId": "a", - "metricnamespace": "aaaaaaaaaaaaaaaaaaaa", - "displayDescription": "aaaaaaaaaaaaaa", - "name": { - "value": "aaaaaaa", - "localizedValue": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "aggregation": "aaaa", - "unit": "aaaaaaaaaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaa" - } - } - } - }, - "201": { - "body": { - "name": "aaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaa", - "metrics": { - "key7260": { - "id": "a", - "resourceId": "a", - "metricnamespace": "aaaaaaaaaaaaaaaaaaaa", - "displayDescription": "aaaaaaaaaaaaaa", - "name": { - "value": "aaaaaaa", - "localizedValue": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "aggregation": "aaaa", - "unit": "aaaaaaaaaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaa" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_CreateOrUpdateServerMetricsConfig_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_CreateOrUpdateServerMetricsConfig_MinimumSet_Gen.json deleted file mode 100644 index e1364bc43a75..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_CreateOrUpdateServerMetricsConfig_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "name": "56_7", - "api-version": "2021-07-01-preview", - "body": {} - }, - "responses": { - "200": { - "body": {} - }, - "201": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_DeleteServerMetrics_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_DeleteServerMetrics_MaximumSet_Gen.json deleted file mode 100644 index ad76a14275da..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_DeleteServerMetrics_MaximumSet_Gen.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "name": "-260_", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_DeleteServerMetrics_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_DeleteServerMetrics_MinimumSet_Gen.json deleted file mode 100644 index a18dba8f468b..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_DeleteServerMetrics_MinimumSet_Gen.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "name": "--_--3", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerDefaultMetrics_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerDefaultMetrics_MaximumSet_Gen.json deleted file mode 100644 index c679b101bad6..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerDefaultMetrics_MaximumSet_Gen.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "defaultMetrics": { - "key5661": [ - { - "metricnamespace": "aaa", - "aggregation": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "name": { - "value": "aa", - "localizedValue": "aaaaaaaaaaaaaa" - }, - "unit": "aaaaaa", - "displayDescription": "aaaaaaaa" - } - ] - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerDefaultMetrics_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerDefaultMetrics_MinimumSet_Gen.json deleted file mode 100644 index 0c9bb87eb99c..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerDefaultMetrics_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetricsByName_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetricsByName_MaximumSet_Gen.json deleted file mode 100644 index 0928ce4a2623..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetricsByName_MaximumSet_Gen.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "name": "-_7", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "aaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaa", - "metrics": { - "key7260": { - "id": "a", - "resourceId": "a", - "metricnamespace": "aaaaaaaaaaaaaaaaaaaa", - "displayDescription": "aaaaaaaaaaaaaa", - "name": { - "value": "aaaaaaa", - "localizedValue": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "aggregation": "aaaa", - "unit": "aaaaaaaaaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaa" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetricsByName_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetricsByName_MinimumSet_Gen.json deleted file mode 100644 index 3ab27d88c0ec..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetricsByName_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "name": "1-41_", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetrics_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetrics_MaximumSet_Gen.json deleted file mode 100644 index e2f571a6eae5..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetrics_MaximumSet_Gen.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "testId": "__", - "testRunId": "__3", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "aaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "testRunId": "aaaaaaaaaaaaaa", - "metrics": { - "key7260": { - "id": "a", - "resourceId": "a", - "metricnamespace": "aaaaaaaaaaaaaaaaaaaa", - "displayDescription": "aaaaaaaaaaaaaa", - "name": { - "value": "aaaaaaa", - "localizedValue": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "aggregation": "aaaa", - "unit": "aaaaaaaaaaaaaaa", - "resourceType": "aaaaaaaaaaaaaaaaaaa" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetrics_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetrics_MinimumSet_Gen.json deleted file mode 100644 index 0c9bb87eb99c..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_GetServerMetrics_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_ListSupportedResourceType_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_ListSupportedResourceType_MaximumSet_Gen.json deleted file mode 100644 index 5f15f3b29ee6..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_ListSupportedResourceType_MaximumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - "aaaaaaaaaaa" - ] - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_ListSupportedResourceType_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_ListSupportedResourceType_MinimumSet_Gen.json deleted file mode 100644 index 0c9bb87eb99c..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/ServerMetrics_ListSupportedResourceType_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_CreateAndUpdateTest_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_CreateAndUpdateTest_MaximumSet_Gen.json deleted file mode 100644 index 0da5f21a2b55..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_CreateAndUpdateTest_MaximumSet_Gen.json +++ /dev/null @@ -1,223 +0,0 @@ -{ - "parameters": { - "testRunId": "-_", - "oldTestRunId": "aaaaaaaaaaaaaaa", - "api-version": "2021-07-01-preview", - "body": { - "testRunId": "a", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "status": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "startDateTime": "2021-12-05T16:43:48.125Z", - "endDateTime": "2021-12-05T16:43:48.125Z", - "loadTestConfig": { - "engineInstances": 6 - }, - "testResult": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "testArtifacts": { - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "outputArtifacts": { - "resultUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "logsUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - } - }, - "executedDateTime": "2021-12-05T16:43:48.125Z", - "vusers": 4, - "testRunStatistics": { - "key57": { - "transaction": "aaaaaaaaa", - "sampleCount": 18, - "errorCount": 19, - "errorPct": 17, - "meanResTime": 13, - "medianResTime": 10, - "maxResTime": 16, - "minResTime": 18, - "pct1ResTime": 27, - "pct2ResTime": 20, - "pct3ResTime": 3, - "throughput": 5, - "receivedKBytesPerSec": 13, - "sentKBytesPerSec": 4 - } - }, - "createdDateTime": "2021-12-05T16:43:48.125Z", - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:48.125Z", - "lastModifiedBy": "aaaaaaaaaaaa", - "portalUrl": "a", - "secrets": { - "key5119": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key1646": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "duration": 18 - } - }, - "responses": { - "200": { - "body": { - "testRunId": "a", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "status": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "startDateTime": "2021-12-05T16:43:48.125Z", - "endDateTime": "2021-12-05T16:43:48.125Z", - "loadTestConfig": { - "engineInstances": 6 - }, - "testResult": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "testArtifacts": { - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "outputArtifacts": { - "resultUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "logsUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - } - }, - "executedDateTime": "2021-12-05T16:43:48.125Z", - "vusers": 4, - "testRunStatistics": { - "key57": { - "transaction": "aaaaaaaaa", - "sampleCount": 18, - "errorCount": 19, - "errorPct": 17, - "meanResTime": 13, - "medianResTime": 10, - "maxResTime": 16, - "minResTime": 18, - "pct1ResTime": 27, - "pct2ResTime": 20, - "pct3ResTime": 3, - "throughput": 5, - "receivedKBytesPerSec": 13, - "sentKBytesPerSec": 4 - } - }, - "createdDateTime": "2021-12-05T16:43:48.125Z", - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:48.125Z", - "lastModifiedBy": "aaaaaaaaaaaa", - "portalUrl": "a", - "secrets": { - "key5119": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key1646": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "duration": 18 - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_CreateAndUpdateTest_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_CreateAndUpdateTest_MinimumSet_Gen.json deleted file mode 100644 index 639bfabcf66a..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_CreateAndUpdateTest_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "testRunId": "1_7-", - "api-version": "2021-07-01-preview", - "body": {} - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_DeleteTestRun_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_DeleteTestRun_MaximumSet_Gen.json deleted file mode 100644 index 071a8d82511d..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_DeleteTestRun_MaximumSet_Gen.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "testRunId": "4k-4", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_DeleteTestRun_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_DeleteTestRun_MinimumSet_Gen.json deleted file mode 100644 index 546dc1a5827c..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_DeleteTestRun_MinimumSet_Gen.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "testRunId": "798l0", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetAppTestRunsSearch_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetAppTestRunsSearch_MaximumSet_Gen.json deleted file mode 100644 index d551c99358a9..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetAppTestRunsSearch_MaximumSet_Gen.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "parameters": { - "orderBy": "aaaaaaaaaaaaaaaaaaaaaa", - "nextLink": "aaaaaaaaaaaaa", - "search": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "351o", - "executionFrom": "2021-12-05T16:43:48.805Z", - "executionTo": "2021-12-05T16:43:48.805Z", - "status": "a", - "maxPageSize": 6, - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "testRunId": "a", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "status": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "startDateTime": "2021-12-05T16:43:48.125Z", - "endDateTime": "2021-12-05T16:43:48.125Z", - "loadTestConfig": { - "engineInstances": 6 - }, - "testResult": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "testArtifacts": { - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "outputArtifacts": { - "resultUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "logsUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - } - }, - "executedDateTime": "2021-12-05T16:43:48.125Z", - "vusers": 4, - "testRunStatistics": { - "key57": { - "transaction": "aaaaaaaaa", - "sampleCount": 18, - "errorCount": 19, - "errorPct": 17, - "meanResTime": 13, - "medianResTime": 10, - "maxResTime": 16, - "minResTime": 18, - "pct1ResTime": 27, - "pct2ResTime": 20, - "pct3ResTime": 3, - "throughput": 5, - "receivedKBytesPerSec": 13, - "sentKBytesPerSec": 4 - } - }, - "createdDateTime": "2021-12-05T16:43:48.125Z", - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:48.125Z", - "lastModifiedBy": "aaaaaaaaaaaa", - "portalUrl": "a", - "secrets": { - "key5119": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key1646": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "duration": 18 - } - ], - "continuationToken": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetAppTestRunsSearch_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetAppTestRunsSearch_MinimumSet_Gen.json deleted file mode 100644 index 0c9bb87eb99c..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetAppTestRunsSearch_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetricsFilters_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetricsFilters_MaximumSet_Gen.json deleted file mode 100644 index e0b36e21a8c6..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetricsFilters_MaximumSet_Gen.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "testRunId": "__-8", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "testRunId": "aaaaaaaaaaaaaaaaaa", - "filters": { - "requestSamplerValues": [ - "aaaaaaa" - ], - "errorFiltersValues": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaa" - ] - }, - "timeRange": { - "startTime": "2021-12-05T16:43:49.590Z", - "endTime": "2021-12-05T16:43:49.590Z" - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetricsFilters_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetricsFilters_MinimumSet_Gen.json deleted file mode 100644 index 8201858e3ae6..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetricsFilters_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "testRunId": "44_7_", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetrics_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetrics_MaximumSet_Gen.json deleted file mode 100644 index 8a68f85eaa03..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetrics_MaximumSet_Gen.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "testRunId": "2-", - "filter": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "groupByInterval": "aaa", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "testRunId": "aaaaaaaaaa", - "timeSeries": { - "activeUsers": { - "key7399": [ - { - "timestamp": "2021-12-05T16:43:49.320Z", - "value": 25 - } - ] - }, - "responseTime": { - "key2977": [ - { - "timestamp": "2021-12-05T16:43:49.320Z", - "value": 25 - } - ] - }, - "throughput": { - "key1201": [ - { - "timestamp": "2021-12-05T16:43:49.320Z", - "value": 25 - } - ] - }, - "errors": { - "key3921": [ - { - "timestamp": "2021-12-05T16:43:49.320Z", - "value": 25 - } - ] - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetrics_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetrics_MinimumSet_Gen.json deleted file mode 100644 index 236537ba75a3..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunClientMetrics_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "testRunId": "__6o", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunFile_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunFile_MaximumSet_Gen.json deleted file mode 100644 index 8b3da5580907..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunFile_MaximumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "testRunId": "_v4", - "fileId": "-253_9", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "aaaaaaaaaaaaaaaaaaaaaaa", - "url": "aaaa", - "expireTime": "2021-12-05T16:43:47.120Z" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunFile_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunFile_MinimumSet_Gen.json deleted file mode 100644 index fb8e4001f8e0..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRunFile_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "testRunId": "43-_", - "fileId": "__b", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRun_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRun_MaximumSet_Gen.json deleted file mode 100644 index 3feb662fb206..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRun_MaximumSet_Gen.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "parameters": { - "testRunId": "__", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "testRunId": "a", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "status": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "startDateTime": "2021-12-05T16:43:48.125Z", - "endDateTime": "2021-12-05T16:43:48.125Z", - "loadTestConfig": { - "engineInstances": 6 - }, - "testResult": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "testArtifacts": { - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "outputArtifacts": { - "resultUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "logsUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - } - }, - "executedDateTime": "2021-12-05T16:43:48.125Z", - "vusers": 4, - "testRunStatistics": { - "key57": { - "transaction": "aaaaaaaaa", - "sampleCount": 18, - "errorCount": 19, - "errorPct": 17, - "meanResTime": 13, - "medianResTime": 10, - "maxResTime": 16, - "minResTime": 18, - "pct1ResTime": 27, - "pct2ResTime": 20, - "pct3ResTime": 3, - "throughput": 5, - "receivedKBytesPerSec": 13, - "sentKBytesPerSec": 4 - } - }, - "createdDateTime": "2021-12-05T16:43:48.125Z", - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:48.125Z", - "lastModifiedBy": "aaaaaaaaaaaa", - "portalUrl": "a", - "secrets": { - "key5119": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key1646": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "duration": 18 - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRun_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRun_MinimumSet_Gen.json deleted file mode 100644 index 88b49358ed3f..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_GetTestRun_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "testRunId": "x18-", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_StopTestRun_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_StopTestRun_MaximumSet_Gen.json deleted file mode 100644 index d47cdd5402db..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_StopTestRun_MaximumSet_Gen.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "parameters": { - "testRunId": "_5z", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "testRunId": "a", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "testId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "status": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "startDateTime": "2021-12-05T16:43:48.125Z", - "endDateTime": "2021-12-05T16:43:48.125Z", - "loadTestConfig": { - "engineInstances": 6 - }, - "testResult": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "testArtifacts": { - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "outputArtifacts": { - "resultUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "logsUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - } - }, - "executedDateTime": "2021-12-05T16:43:48.125Z", - "vusers": 4, - "testRunStatistics": { - "key57": { - "transaction": "aaaaaaaaa", - "sampleCount": 18, - "errorCount": 19, - "errorPct": 17, - "meanResTime": 13, - "medianResTime": 10, - "maxResTime": 16, - "minResTime": 18, - "pct1ResTime": 27, - "pct2ResTime": 20, - "pct3ResTime": 3, - "throughput": 5, - "receivedKBytesPerSec": 13, - "sentKBytesPerSec": 4 - } - }, - "createdDateTime": "2021-12-05T16:43:48.125Z", - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:48.125Z", - "lastModifiedBy": "aaaaaaaaaaaa", - "portalUrl": "a", - "secrets": { - "key5119": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key1646": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "duration": 18 - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_StopTestRun_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_StopTestRun_MinimumSet_Gen.json deleted file mode 100644 index 7d8419c962a6..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/TestRun_StopTestRun_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "testRunId": "--w-", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_CreateOrUpdateTest_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_CreateOrUpdateTest_MaximumSet_Gen.json deleted file mode 100644 index 43f10ee7a66d..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_CreateOrUpdateTest_MaximumSet_Gen.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "parameters": { - "testId": "99-", - "api-version": "2021-07-01-preview", - "body": { - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaa", - "loadTestConfig": { - "engineInstances": 6 - }, - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "aaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaa", - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "secrets": { - "key9927": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key2687": "aaaaa" - } - } - }, - "responses": { - "200": { - "body": { - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaa", - "loadTestConfig": { - "engineInstances": 6 - }, - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "aaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaa", - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "secrets": { - "key9927": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key2687": "aaaaa" - } - } - }, - "201": { - "body": { - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaa", - "loadTestConfig": { - "engineInstances": 6 - }, - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "aaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaa", - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "secrets": { - "key9927": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key2687": "aaaaa" - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_CreateOrUpdateTest_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_CreateOrUpdateTest_MinimumSet_Gen.json deleted file mode 100644 index 0813b9783b3e..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_CreateOrUpdateTest_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "testId": "__365-", - "api-version": "2021-07-01-preview", - "body": {} - }, - "responses": { - "200": { - "body": {} - }, - "201": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteLoadTest_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteLoadTest_MaximumSet_Gen.json deleted file mode 100644 index de220bf98164..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteLoadTest_MaximumSet_Gen.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "testId": "--i", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteLoadTest_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteLoadTest_MinimumSet_Gen.json deleted file mode 100644 index 7e0e5155127d..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteLoadTest_MinimumSet_Gen.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "testId": "_jy4_", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteTestFile_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteTestFile_MaximumSet_Gen.json deleted file mode 100644 index a336bc92873e..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteTestFile_MaximumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "testId": "-6", - "fileId": "3wx", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteTestFile_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteTestFile_MinimumSet_Gen.json deleted file mode 100644 index a2f519b40f3f..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_DeleteTestFile_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "testId": "k6_4", - "fileId": "_-ul_", - "api-version": "2021-07-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetAllTestFiles_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetAllTestFiles_MaximumSet_Gen.json deleted file mode 100644 index 4744f73c3376..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetAllTestFiles_MaximumSet_Gen.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "testId": "z6", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetAllTestFiles_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetAllTestFiles_MinimumSet_Gen.json deleted file mode 100644 index 1880856ac5f3..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetAllTestFiles_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "testId": "j___3_0", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetLoadTest_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetLoadTest_MaximumSet_Gen.json deleted file mode 100644 index c5aecd213b18..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetLoadTest_MaximumSet_Gen.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "parameters": { - "testId": "_n7__", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaa", - "loadTestConfig": { - "engineInstances": 6 - }, - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "aaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaa", - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "secrets": { - "key9927": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key2687": "aaaaa" - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetLoadTest_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetLoadTest_MinimumSet_Gen.json deleted file mode 100644 index cc796b1ed5bc..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetLoadTest_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "testId": "__", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetTestFile_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetTestFile_MaximumSet_Gen.json deleted file mode 100644 index 8cd9acba3a54..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetTestFile_MaximumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "testId": "__1-", - "fileId": "_-", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "aaaaaaaaaaaaaaaaaaaaaaa", - "url": "aaaa", - "expireTime": "2021-12-05T16:43:47.120Z" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetTestFile_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetTestFile_MinimumSet_Gen.json deleted file mode 100644 index 85ce2897027f..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_GetTestFile_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "testId": "_-p", - "fileId": "l_e", - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_ListLoadTestSearch_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_ListLoadTestSearch_MaximumSet_Gen.json deleted file mode 100644 index b60db99a5104..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_ListLoadTestSearch_MaximumSet_Gen.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "parameters": { - "orderBy": "aaaaaaaaaaaaaaaaaaaa", - "search": "aaaaaaaaaaaaaaaaaa", - "lastUpdatedStartTime": "2021-12-05T16:43:46.797Z", - "lastUpdatedEndTime": "2021-12-05T16:43:46.797Z", - "nextLink": "a", - "maxPageSize": 30, - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaa", - "loadTestConfig": { - "engineInstances": 6 - }, - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "aaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaa", - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "secrets": { - "key9927": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key2687": "aaaaa" - } - } - ], - "continuationToken": "aaaaaaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_ListLoadTestSearch_MinimumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_ListLoadTestSearch_MinimumSet_Gen.json deleted file mode 100644 index 0c9bb87eb99c..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_ListLoadTestSearch_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2021-07-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_UploadTestFile_MaximumSet_Gen.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_UploadTestFile_MaximumSet_Gen.json deleted file mode 100644 index ff383077125d..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/examples/Test_UploadTestFile_MaximumSet_Gen.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "parameters": { - "testId": "9-7_", - "fileId": "8_-", - "api-version": "2021-07-01-preview", - "file": "adsda" - }, - "responses": { - "201": { - "body": { - "testId": "aaaaaaaaaaaaaaaaaaaaaaa", - "description": "aaaaaaaaaaaaaaaaaaaaaaa", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "resourceId": "aaaaaaaaaaaaaaaaa", - "loadTestConfig": { - "engineInstances": 6 - }, - "passFailCriteria": { - "passFailMetrics": { - "key1348": { - "clientmetric": "aaaaaaaaaaaaaaaaaaaaaaa", - "aggregate": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "condition": "aaaaaaaaaaaa", - "value": 24, - "action": "aaaaaaaaaaaaaaaaaa", - "actualValue": 10, - "result": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "aaaaaaaaaa", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaa", - "inputArtifacts": { - "configUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "testScriptUrl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "inputArtifactsZipFileurl": { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - }, - "additionalUrls": [ - { - "url": "aaaaaaaaaaaaaaaaaaaaaaaa", - "fileId": "aaaaaaaaaaaaaaaaaa", - "filename": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "expireTime": "2021-12-05T16:43:46.072Z" - } - ] - }, - "secrets": { - "key9927": { - "value": "aaaaaaaaaaaaaaa", - "type": "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "environmentVariables": { - "key2687": "aaaaa" - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/loadtestservice.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/loadtestservice.json deleted file mode 100644 index 32e393cf1187..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2021-07-01-preview/loadtestservice.json +++ /dev/null @@ -1,2641 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "CloudNativeTest", - "version": "2021-07-01-preview" - }, - "paths": { - "/appcomponents/{name}": { - "patch": { - "tags": [ - "AppComponent" - ], - "summary": "Associate app component (a azure resource model) to a test model or test run", - "operationId": "AppComponent_CreateOrUpdateAppComponents", - "consumes": [ - "application/merge-patch+json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique identifier for app component name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "description": "App component model", - "required": true, - "schema": { - "$ref": "#/definitions/AppComponentsMap" - } - } - ], - "responses": { - "200": { - "description": "The app component were updated", - "schema": { - "$ref": "#/definitions/AppComponentsMap" - } - }, - "201": { - "description": "The app component were created", - "schema": { - "$ref": "#/definitions/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\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "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" - } - } - }, - "delete": { - "tags": [ - "AppComponent" - ], - "summary": "Delete app component", - "operationId": "AppComponent_DeleteAppComponent", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique identifier for app component name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "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\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "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" - } - } - }, - "get": { - "tags": [ - "AppComponent" - ], - "summary": "Get App components for a given appComponentName in query param.", - "operationId": "AppComponent_GetAppComponentByName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique identifier for app component name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested app components", - "schema": { - "$ref": "#/definitions/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\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "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" - } - } - } - }, - "/appcomponents": { - "get": { - "tags": [ - "AppComponent" - ], - "summary": "Get App components for a test model or a test run of given name in query param.", - "operationId": "AppComponent_GetAppComponent", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "testId", - "description": "Required testId, if testRunId name is not provided", - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "testRunId", - "description": "Required testRunId, if testId is not provided", - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested app components", - "schema": { - "$ref": "#/definitions/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\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "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" - } - } - } - }, - "/file/{fileId}:validate": { - "post": { - "tags": [ - "File" - ], - "summary": "Validate input file. File name must be a valid URL character ^[a-z0-9_-]*$. File size can't be more than 50 MB.", - "operationId": "File_FileValidate", - "consumes": [ - "multipart/form-data" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "fileId", - "description": "Unique identifier for test file, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - }, - { - "in": "formData", - "name": "file", - "description": "Input test file", - "required": true, - "type": "file" - } - ], - "responses": { - "200": { - "description": "The file is validated ", - "schema": { - "$ref": "#/definitions/FileValidateResponse" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", RequiredFileId - fileId is required\n\n * \"400\", \"InvalidFileId\", \"fileId field is not valid\" \n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "File_FileValidate_MaximumSet_Gen": { - "$ref": "./examples/File_FileValidate_MaximumSet_Gen.json" - } - } - } - }, - "/serverMetricsConfig/{name}": { - "patch": { - "tags": [ - "ServerMetrics" - ], - "summary": "Associate server metrics config to a test model or test run", - "operationId": "ServerMetrics_CreateOrUpdateServerMetricsConfig", - "consumes": [ - "application/merge-patch+json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique identifier for server metric name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "description": "Server metrics config model", - "required": true, - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - } - ], - "responses": { - "200": { - "description": "The server metrics were updated", - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - }, - "201": { - "description": "The server metrics were created", - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - }, - "default": { - "description": "***Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\" .\n\n * \"400\", \"RequiredServerMetricsName\", \"name is required\"\n\n * \"400\", \"RequiredTestOrTestRun\", \"Either test name or test run name is required\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ServerMetrics_CreateOrUpdateServerMetricsConfig_MaximumSet_Gen": { - "$ref": "./examples/ServerMetrics_CreateOrUpdateServerMetricsConfig_MaximumSet_Gen.json" - }, - "ServerMetrics_CreateOrUpdateServerMetricsConfig_MinimumSet_Gen": { - "$ref": "./examples/ServerMetrics_CreateOrUpdateServerMetricsConfig_MinimumSet_Gen.json" - } - } - }, - "get": { - "tags": [ - "ServerMetrics" - ], - "summary": "Get server metrics config for a given name in query param.", - "operationId": "ServerMetrics_GetServerMetricsByName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique identifier for server metric name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested server metrics", - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - }, - "default": { - "description": "***Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\".\n\n * \"400\", \"RequiredServerMetricsName\", \"name field is required\"\n\n * \"400\", \"InvalidServerMetricsConfigName\", \"name field should be valid\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ServerMetrics_GetServerMetricsByName_MaximumSet_Gen": { - "$ref": "./examples/ServerMetrics_GetServerMetricsByName_MaximumSet_Gen.json" - }, - "ServerMetrics_GetServerMetricsByName_MinimumSet_Gen": { - "$ref": "./examples/ServerMetrics_GetServerMetricsByName_MinimumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "ServerMetrics" - ], - "summary": "Delete server metrics config by given name", - "operationId": "ServerMetrics_DeleteServerMetrics", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique identifier for server metric name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "204": { - "description": "The server metrics config is deleted" - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredServerMetricsName\", \"name is required\"\n\n * \"404\", \"ServerMetricsNotFound\", \"No server metrics found with given name\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ServerMetrics_DeleteServerMetrics_MaximumSet_Gen": { - "$ref": "./examples/ServerMetrics_DeleteServerMetrics_MaximumSet_Gen.json" - }, - "ServerMetrics_DeleteServerMetrics_MinimumSet_Gen": { - "$ref": "./examples/ServerMetrics_DeleteServerMetrics_MinimumSet_Gen.json" - } - } - } - }, - "/serverMetricsConfig": { - "get": { - "tags": [ - "ServerMetrics" - ], - "summary": "Get server metrics config for a test model or test run of given name in query param.", - "operationId": "ServerMetrics_GetServerMetrics", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "testId", - "description": "Required testId, if testRunId name is not provided", - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "testRunId", - "description": "Required testRunId, if testId is not provided", - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested server metrics", - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - }, - "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 * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ServerMetrics_GetServerMetrics_MaximumSet_Gen": { - "$ref": "./examples/ServerMetrics_GetServerMetrics_MaximumSet_Gen.json" - }, - "ServerMetrics_GetServerMetrics_MinimumSet_Gen": { - "$ref": "./examples/ServerMetrics_GetServerMetrics_MinimumSet_Gen.json" - } - } - } - }, - "/serverMetricsConfig/default": { - "get": { - "tags": [ - "ServerMetrics" - ], - "summary": "Get all default server metrics config with supported resource type", - "operationId": "ServerMetrics_GetServerDefaultMetrics", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested server default metrics", - "schema": { - "$ref": "#/definitions/DefaultServerMetricsConfigListModel" - } - }, - "default": { - "description": "***Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\" .\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ServerMetrics_GetServerDefaultMetrics_MaximumSet_Gen": { - "$ref": "./examples/ServerMetrics_GetServerDefaultMetrics_MaximumSet_Gen.json" - }, - "ServerMetrics_GetServerDefaultMetrics_MinimumSet_Gen": { - "$ref": "./examples/ServerMetrics_GetServerDefaultMetrics_MinimumSet_Gen.json" - } - } - } - }, - "/serverMetricsConfig/supportedResourceTypes": { - "get": { - "tags": [ - "ServerMetrics" - ], - "summary": "Get all supported resource types for app components(azure resource types)", - "operationId": "ServerMetrics_ListSupportedResourceType", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The supported resource types and metrics for server side metrics", - "schema": { - "$ref": "#/definitions/SupportedResourceType" - } - }, - "default": { - "description": "***Error Responses: ***\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ServerMetrics_ListSupportedResourceType_MaximumSet_Gen": { - "$ref": "./examples/ServerMetrics_ListSupportedResourceType_MaximumSet_Gen.json" - }, - "ServerMetrics_ListSupportedResourceType_MinimumSet_Gen": { - "$ref": "./examples/ServerMetrics_ListSupportedResourceType_MinimumSet_Gen.json" - } - } - } - }, - "/loadtests/{testId}": { - "patch": { - "tags": [ - "Test" - ], - "summary": "Creates/Updates a new load test. Test name must be a valid URL character ^[a-z0-9_-]*$", - "operationId": "Test_CreateOrUpdateTest", - "consumes": [ - "application/merge-patch+json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testId", - "description": "Unique identifier for load test name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "description": "Load test model", - "required": true, - "schema": { - "$ref": "#/definitions/TestModel" - } - } - ], - "responses": { - "200": { - "description": "The loadtest was updated", - "schema": { - "$ref": "#/definitions/TestModel" - } - }, - "201": { - "description": "The loadtest was created", - "schema": { - "$ref": "#/definitions/TestModel" - } - }, - "default": { - "description": "***Error Responses: ***\n\n* \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n* \"400\", \"InvalidTestId\", \"testId field should be valid\"\n\n* \"400\", \"RequiredTestId\", \"testId field is required\"\n\n* \"400\", \"InvalidPassFailCriteria\", \"Invalid pass fail criteria \"\n\n* \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Test_CreateOrUpdateTest_MaximumSet_Gen": { - "$ref": "./examples/Test_CreateOrUpdateTest_MaximumSet_Gen.json" - }, - "Test_CreateOrUpdateTest_MinimumSet_Gen": { - "$ref": "./examples/Test_CreateOrUpdateTest_MinimumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "Test" - ], - "summary": "Delete a test with given name. Test name must be a valid URL character ^[a-z0-9_-]*$", - "operationId": "Test_DeleteLoadTest", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testId", - "description": "Unique identifier for load test name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "204": { - "description": "The test is deleted" - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestId\", \"testId field is required\"\n\n * \"400\", \"InvalidTestId\", \"testId field should be valid\"\n\n * \"404\", \"TestNotFound\", \"Test not found with given identifier\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Test_DeleteLoadTest_MaximumSet_Gen": { - "$ref": "./examples/Test_DeleteLoadTest_MaximumSet_Gen.json" - }, - "Test_DeleteLoadTest_MinimumSet_Gen": { - "$ref": "./examples/Test_DeleteLoadTest_MinimumSet_Gen.json" - } - } - }, - "get": { - "tags": [ - "Test" - ], - "summary": "Get load test model of given test name", - "operationId": "Test_GetLoadTest", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testId", - "description": "Unique identifier for load test name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested load test", - "schema": { - "$ref": "#/definitions/TestModel" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestId\", \"testId field is required\"\n\n * \"400\", \"InvalidTestId\", \"testId field should be valid\"\n\n * \"404\", \"TestNotFound\", \"Test not found with given identifier\"\n\n* \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Test_GetLoadTest_MaximumSet_Gen": { - "$ref": "./examples/Test_GetLoadTest_MaximumSet_Gen.json" - }, - "Test_GetLoadTest_MinimumSet_Gen": { - "$ref": "./examples/Test_GetLoadTest_MinimumSet_Gen.json" - } - } - } - }, - "/loadtests/sortAndFilter": { - "get": { - "tags": [ - "Test" - ], - "summary": "Get all load tests for a given Fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}", - "operationId": "Test_ListLoadTestSearch", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "orderBy", - "description": "Sort on one of the field - lastModifiedDateTime, displayName, createdBy in (field asc/desc) format. eg: displayName asc", - "type": "string" - }, - { - "in": "query", - "name": "search", - "description": "Filter search based on searchable fields- testId, createdBy.", - "type": "string" - }, - { - "in": "query", - "name": "lastUpdatedStartTime", - "description": "Start DateTime(Iso8601Literal format) of the last updated time range to filter tests.", - "type": "string", - "format": "date-time" - }, - { - "in": "query", - "name": "lastUpdatedEndTime", - "description": "End DateTime(Iso8601Literal format) of the last updated time range to filter tests.", - "type": "string", - "format": "date-time" - }, - { - "in": "query", - "name": "nextLink", - "description": "NextLink Token to get next page of response", - "type": "string" - }, - { - "in": "query", - "name": "maxPageSize", - "description": "No of results in response", - "type": "integer", - "format": "int32", - "default": 50 - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested loadtests", - "schema": { - "$ref": "#/definitions/TestModelResourceList" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n* \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Test_ListLoadTestSearch_MaximumSet_Gen": { - "$ref": "./examples/Test_ListLoadTestSearch_MaximumSet_Gen.json" - }, - "Test_ListLoadTestSearch_MinimumSet_Gen": { - "$ref": "./examples/Test_ListLoadTestSearch_MinimumSet_Gen.json" - } - } - } - }, - "/loadtests/{testId}/files/{fileId}": { - "put": { - "tags": [ - "Test" - ], - "summary": "Upload input file for a given test name. File name must be a valid URL character ^[a-z0-9_-]*$. File size can't be more than 50 MB. Existing file with same name for the given test will be overwritten.", - "operationId": "Test_UploadTestFile", - "consumes": [ - "multipart/form-data" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testId", - "description": "Unique identifier for load test name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "path", - "name": "fileId", - "description": "Unique identifier for test file, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - }, - { - "in": "formData", - "name": "file", - "description": "Artifact to upload as input for test", - "required": true, - "type": "file" - } - ], - "responses": { - "201": { - "description": "The test artifact was uploaded", - "schema": { - "$ref": "#/definitions/TestModel" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestId\", \"testId field is required\"\n\n * \"400\", \"InvalidTestId\", \"testId field should be valid\"\n\n * \"400\", \"RequiredFileId\", \"fileId field is required\"\n\n * \"400\", \"InvalidFileId\", \"fileId field is not valid\" \n\n * \"400\", \"InvalidFile\", \"File is not valid error -\"\n\n * \"404\", \"TestNotFound\", \"Test not found with given identifier\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Test_UploadTestFile_MaximumSet_Gen": { - "$ref": "./examples/Test_UploadTestFile_MaximumSet_Gen.json" - } - } - }, - "get": { - "tags": [ - "Test" - ], - "summary": "Get test file with given file name.", - "operationId": "Test_GetTestFile", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testId", - "description": "Unique identifier for load test name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "path", - "name": "fileId", - "description": "Unique identifier for test file, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested test file url", - "schema": { - "$ref": "#/definitions/FileUrlPath" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestId\", \"testId field is required\"\n\n * \"400\", \"InvalidTestId\", \"testId field should be valid\"\n\n * \"400\", \"RequiredFileId\", \"fileId field is required\"\n\n * \"400\", \"InvalidFileId\", \"fileId field is not valid\" \n\n * \"404\", \"TestNotFound\", \"Test not found with given identifier\"\n\n * \"404\", \"TestFileNotFound\", \"Test file not found with given name\"\n\n* \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Test_GetTestFile_MaximumSet_Gen": { - "$ref": "./examples/Test_GetTestFile_MaximumSet_Gen.json" - }, - "Test_GetTestFile_MinimumSet_Gen": { - "$ref": "./examples/Test_GetTestFile_MinimumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "Test" - ], - "summary": "Delete file of given file name for a test. File name must be a valid URL character ^[a-z0-9_-]*$", - "operationId": "Test_DeleteTestFile", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testId", - "description": "Unique identifier for load test name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "path", - "name": "fileId", - "description": "Unique identifier for test file, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "204": { - "description": "The requested artifact is deleted" - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestId\", \"testId field is required\"\n\n * \"400\", \"InvalidTestId\", \"testId field should be valid\"\n\n * \"400\", \"RequiredFileId\", \"fileId field is required\"\n\n* \"400\", \"InvalidFileId\", \"fileId field is not valid\" \n\n * \"404\", \"TestNotFound\", \"Test not found with given identifier\"\n\n * \"404\", \"TestFileNotFound\", \"Test file not found with given name\"\n\n* \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Test_DeleteTestFile_MaximumSet_Gen": { - "$ref": "./examples/Test_DeleteTestFile_MaximumSet_Gen.json" - }, - "Test_DeleteTestFile_MinimumSet_Gen": { - "$ref": "./examples/Test_DeleteTestFile_MinimumSet_Gen.json" - } - } - } - }, - "/loadtests/{testId}/files": { - "get": { - "tags": [ - "Test" - ], - "summary": "Get all test files.", - "operationId": "Test_GetAllTestFiles", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testId", - "description": "Unique identifier for load test name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested test files urls", - "schema": { - "$ref": "#/definitions/FileUrlList" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestId\", \"testId field is required\"\n\n * \"400\", \"InvalidTestId\", \"testId field should be valid\"\n\n* \"404\", \"TestNotFound\", \"Test not found with given identifier\"\n\n* \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Test_GetAllTestFiles_MaximumSet_Gen": { - "$ref": "./examples/Test_GetAllTestFiles_MaximumSet_Gen.json" - }, - "Test_GetAllTestFiles_MinimumSet_Gen": { - "$ref": "./examples/Test_GetAllTestFiles_MinimumSet_Gen.json" - } - } - } - }, - "/testruns/{testRunId}": { - "delete": { - "tags": [ - "TestRun" - ], - "summary": "Delete a test run with given name. Test run name must be a valid URL character ^[a-z0-9_-]*$", - "operationId": "TestRun_DeleteTestRun", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique identifier for load test run name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "204": { - "description": "The test run is deleted" - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestRunId\", \"testRunId field is required\"\n\n* \"400\", \"InvalidTestRunId\", \"testRunId field should be valid\"\n\n * \"404\", \"TestRunNotFound\", \"test run not found with given identifier\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "TestRun_DeleteTestRun_MaximumSet_Gen": { - "$ref": "./examples/TestRun_DeleteTestRun_MaximumSet_Gen.json" - }, - "TestRun_DeleteTestRun_MinimumSet_Gen": { - "$ref": "./examples/TestRun_DeleteTestRun_MinimumSet_Gen.json" - } - } - }, - "patch": { - "tags": [ - "TestRun" - ], - "summary": "Create and start new test run of the given name, test run name must be a valid URL character ^[a-z0-9_-]*$", - "operationId": "TestRun_CreateAndUpdateTest", - "consumes": [ - "application/merge-patch+json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique identifier for load test run name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "oldTestRunId", - "description": "Existing testRunId to re run new test", - "type": "string" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "description": "Load test run model", - "required": true, - "schema": { - "$ref": "#/definitions/TestRunModel" - } - } - ], - "responses": { - "200": { - "description": "The test run is updated", - "schema": { - "$ref": "#/definitions/TestRunModel" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestRunId\", \"testRunId field is required\"\n\n * \"400\", \"InvalidTestRunId\", \"testRunId field should be valid\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\" * \"400\", \"ResourceMetadataNotFound\", \"Resource metadata not found\"\n\n * \"400\", \"ManagedIdentityNotEnabled\", \"Managed identity is not enabled over resource\"\n\n * \"400\", \"SecretNotFound\", \"Unable to find the given secret\"\n\n ", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "TestRun_CreateAndUpdateTest_MaximumSet_Gen": { - "$ref": "./examples/TestRun_CreateAndUpdateTest_MaximumSet_Gen.json" - }, - "TestRun_CreateAndUpdateTest_MinimumSet_Gen": { - "$ref": "./examples/TestRun_CreateAndUpdateTest_MinimumSet_Gen.json" - } - } - }, - "get": { - "tags": [ - "TestRun" - ], - "summary": "Get test run of given name.", - "operationId": "TestRun_GetTestRun", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique identifier for load test run name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested test run", - "schema": { - "$ref": "#/definitions/TestRunModel" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestRunId\", \"testRunId field is required\"\n\n * \"400\", \"InvalidTestRunId\", \"testRunId field should be valid\"\n\n * \"404\", \"TestRunNotFound\", \"test run not found with given identifier\"\n\n* \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "TestRun_GetTestRun_MaximumSet_Gen": { - "$ref": "./examples/TestRun_GetTestRun_MaximumSet_Gen.json" - }, - "TestRun_GetTestRun_MinimumSet_Gen": { - "$ref": "./examples/TestRun_GetTestRun_MinimumSet_Gen.json" - } - } - } - }, - "/testruns/{testRunId}/files/{fileId}": { - "get": { - "tags": [ - "TestRun" - ], - "summary": "Get testrun file with given file name.", - "operationId": "TestRun_GetTestRunFile", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique identifier for load test run name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "path", - "name": "fileId", - "description": "Unique identifier for test run file, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested testrun file url", - "schema": { - "$ref": "#/definitions/FileUrlPath" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestRunId\", \"testRunId field is required\"\n\n* \"400\", \"InvalidTestRunId\", \"testRunId field should be valid\"\n\n * \"400\", \"RequiredFileId\", \"fileId field is required\"\n\n * \"400\", \"InvalidFileId\", \"fileId field is not valid\" \n\n * \"404\", \"TestRunNotFound\", \"test run not found with given identifier\"\n\n * \"404\", \"TestRunFileNotFound\", \"test run file not found\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "TestRun_GetTestRunFile_MaximumSet_Gen": { - "$ref": "./examples/TestRun_GetTestRunFile_MaximumSet_Gen.json" - }, - "TestRun_GetTestRunFile_MinimumSet_Gen": { - "$ref": "./examples/TestRun_GetTestRunFile_MinimumSet_Gen.json" - } - } - } - }, - "/testruns/sortAndFilter": { - "get": { - "tags": [ - "TestRun" - ], - "summary": "Get all test runs with given filters", - "operationId": "TestRun_GetAppTestRunsSearch", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "orderBy", - "description": "Sort on one of the field - status, displayName, executedDateTime in (field asc/desc) format. eg: displayName asc", - "type": "string" - }, - { - "in": "query", - "name": "nextLink", - "description": "NextLink Token to get next page of response", - "type": "string" - }, - { - "in": "query", - "name": "search", - "description": "Filter search based on searchable fields - description, executedUser.", - "type": "string" - }, - { - "in": "query", - "name": "testId", - "description": "Unique identifier for load test name, must be a valid URL character ^[a-z0-9_-]*$", - "type": "string", - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "executionFrom", - "description": "The end DateTime(Iso8601Literal format) of test-run execution time filter range.", - "type": "string", - "format": "date-time" - }, - { - "in": "query", - "name": "executionTo", - "description": "The start DateTime(Iso8601Literal format) of test-run execution time filter range.", - "type": "string", - "format": "date-time" - }, - { - "in": "query", - "name": "status", - "description": "Comma separated list of test run status, value can be - \"ACCEPTED\", \"NOTSTARTED\",\"PROVISIONING\",\"PROVISIONED\",\"CONFIGURING\",\n\"CONFIGURED\",\"EXECUTING\",\"EXECUTED\",\"DEPROVISIONING\",\"DEPROVISIONED\",\"DONE\",\"CANCELLED\",\"FAILED\"", - "type": "string" - }, - { - "in": "query", - "name": "maxPageSize", - "description": "No of results in response", - "type": "integer", - "format": "int32", - "default": 50 - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested test runs", - "schema": { - "$ref": "#/definitions/TestRunModelResourceList" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"404\", \"TestRunNotFound\", \"test run not found with given identifier\"\n\n* \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "TestRun_GetAppTestRunsSearch_MaximumSet_Gen": { - "$ref": "./examples/TestRun_GetAppTestRunsSearch_MaximumSet_Gen.json" - }, - "TestRun_GetAppTestRunsSearch_MinimumSet_Gen": { - "$ref": "./examples/TestRun_GetAppTestRunsSearch_MinimumSet_Gen.json" - } - } - } - }, - "/testruns/{testRunId}:stop": { - "post": { - "tags": [ - "TestRun" - ], - "summary": "Stop test run of given name.", - "operationId": "TestRun_StopTestRun", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique identifier for load test run name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested test run is stopped. Call GET /testruns/{testRunId} to check the status", - "schema": { - "$ref": "#/definitions/TestRunModel" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n* \"400\", \"TestRunAlreadyFinished\", \"Test run was already either finished or cancelled or failed\"\n\n* \"400\", \"RequiredTestRunId\", \"testRunId field is required\"\n\n * \"400\", \"InvalidTestRunId\", \"testRunId field should be valid\"\n\n * \"404\", \"TestRunNotFound\", \"test run not found with given identifier\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "TestRun_StopTestRun_MaximumSet_Gen": { - "$ref": "./examples/TestRun_StopTestRun_MaximumSet_Gen.json" - }, - "TestRun_StopTestRun_MinimumSet_Gen": { - "$ref": "./examples/TestRun_StopTestRun_MinimumSet_Gen.json" - } - } - } - }, - "/testruns/{testRunId}/clientMetrics": { - "get": { - "tags": [ - "TestRun" - ], - "summary": "Get all client metrics for a given load test run", - "operationId": "TestRun_GetTestRunClientMetrics", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique identifier for load test run name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "filter", - "description": "Filter to be used in metrics queries, filters can be applied on following fields : request, error, percentile( possible values : 90, 99, 95) or time (can be between start and end time). Request and error filter values can be get from /clientMetricsFilter API. Example of filter : (request eq 'HTTP Request1' or request eq 'total-4bec6d5b-c3c3-4f5f-be09-5c4abb28aedd') and (error eq 'Non HTTP response code: org.apache.http.conn.ConnectTimeoutException' or error eq 'total-4bec6d5b-c3c3-4f5f-be09-5c4abb28aedd') and (percentile eq 90) and (time ge 1626346535054 and time le 1626346924744)", - "type": "string" - }, - { - "in": "query", - "name": "groupByInterval", - "description": "Group by time interval, in which interval metrics needs to be retrieved, values can be 10s,20s,30s,1m,2m,5m,1h", - "type": "string" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested client metrics", - "schema": { - "$ref": "#/definitions/ClientMetricsResults" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"RequiredTestRunId\", \"testRunId field is required\"\n\n * \"400\", \"InvalidTestRunId\", \"testRunId field should be valid\"\n\n * \"404\", \"TestRunNotFound\", \"test run not found with given identifier\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "TestRun_GetTestRunClientMetrics_MaximumSet_Gen": { - "$ref": "./examples/TestRun_GetTestRunClientMetrics_MaximumSet_Gen.json" - }, - "TestRun_GetTestRunClientMetrics_MinimumSet_Gen": { - "$ref": "./examples/TestRun_GetTestRunClientMetrics_MinimumSet_Gen.json" - } - } - } - }, - "/testruns/{testRunId}/clientMetricsFilters": { - "get": { - "tags": [ - "TestRun" - ], - "summary": "Get all client metrics supported filters list for a given load test run", - "operationId": "TestRun_GetTestRunClientMetricsFilters", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique identifier for load test run name, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "api-version", - "description": "Api version", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The requested client metrics filters", - "schema": { - "$ref": "#/definitions/ClientMetricsFilters" - } - }, - "default": { - "description": "***Error Responses: ***\n\n* \"400\", \"InvalidHostOrResourceName\", \"Host name or domain is not valid\"\n\n * \"400\", \"InvalidTestRunId\", \"testRunId field should be valid\"\n\n * \"400\", \"RequiredTestRunId\", \"testRunId field is required\" * \"404\", \"TestRunNotFound\", \"test run not found with given identifier\"\n\n * \"500\", \"InternalServerError\", \"Unable to process the request, please retry\"", - "schema": { - "$ref": "#/definitions/DefaultErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "TestRun_GetTestRunClientMetricsFilters_MaximumSet_Gen": { - "$ref": "./examples/TestRun_GetTestRunClientMetricsFilters_MaximumSet_Gen.json" - }, - "TestRun_GetTestRunClientMetricsFilters_MinimumSet_Gen": { - "$ref": "./examples/TestRun_GetTestRunClientMetricsFilters_MinimumSet_Gen.json" - } - } - } - } - }, - "definitions": { - "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" - } - } - }, - "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": "#/definitions/AppComponent" - } - } - } - }, - "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": "#/definitions/ErrorResponseBody" - } - } - } - }, - "DefaultErrorResponseBody": { - "description": "The definition of an error object.", - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ErrorResponseBody" - } - } - }, - "FileValidateResponse": { - "description": "File validation response", - "type": "object", - "properties": { - "valid": { - "description": "File is valid or not", - "type": "boolean" - }, - "error": { - "description": "In case file is not valid then error message", - "type": "string" - } - } - }, - "ServerMetricName": { - "description": "Metric name object", - "required": [ - "localizedValue", - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Metric name value", - "type": "string" - }, - "localizedValue": { - "description": "Metric localized name", - "type": "string" - } - } - }, - "ResourceMetricModel": { - "description": "Associated metric definition for particular metrics of the azure resource ( Refer : https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition)", - "required": [ - "aggregation", - "metricnamespace", - "name", - "resourceId", - "resourceType" - ], - "type": "object", - "properties": { - "id": { - "description": "[ReadOnly] Unique identifier for metric", - "type": "string" - }, - "resourceId": { - "description": "Azure resource id", - "type": "string" - }, - "metricnamespace": { - "description": "Metric name space", - "type": "string" - }, - "displayDescription": { - "description": "Metric description", - "type": "string" - }, - "name": { - "$ref": "#/definitions/ServerMetricName" - }, - "aggregation": { - "description": "Metric aggregation", - "type": "string" - }, - "unit": { - "description": "Metric unit", - "type": "string" - }, - "resourceType": { - "description": "Azure resource type", - "type": "string" - } - } - }, - "ServerMetricsModel": { - "description": "Server metrics config model", - "type": "object", - "properties": { - "name": { - "description": "[ReadOnly] Server metrics config name", - "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" - }, - "metrics": { - "description": "Metrics map {metric id : metrics object} (Refer : https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition for metric id)", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ResourceMetricModel" - } - } - } - }, - "LocalizedName": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "localizedValue": { - "type": "string" - } - } - }, - "DefaultServerMetricsConfigModel": { - "description": "Metrics config model", - "type": "object", - "properties": { - "metricnamespace": { - "type": "string" - }, - "aggregation": { - "type": "string" - }, - "name": { - "$ref": "#/definitions/LocalizedName" - }, - "unit": { - "type": "string" - }, - "displayDescription": { - "type": "string" - } - } - }, - "DefaultServerMetricsConfigListModel": { - "description": "Default server metrics config", - "type": "object", - "properties": { - "defaultMetrics": { - "description": "Default metrics map {resourceType : list of metrics config} (Refer for metrics structure: https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition)", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/DefaultServerMetricsConfigModel" - } - } - } - } - }, - "SupportedResourceType": { - "description": "Supported azure resource types for app component like Microsoft.LoadTestService/loadtests, Microsoft.ClassicCompute, Microsoft.ClassicStorage etc. (Refer for full list of available resource types in azure : https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types, some of them we are supporting for server side metrics configuration)", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "LoadTestConfig": { - "description": "The load test configuration", - "type": "object", - "properties": { - "engineInstances": { - "format": "int32", - "description": "The number of engine instances to execute load test. Supported values are in range of 1-50. Required for creating a new Test.", - "type": "integer" - } - } - }, - "PassFailMetric": { - "type": "object", - "properties": { - "clientmetric": { - "description": "The client metric on which the criteria should be applied. Allowed values - ‘response_time_ms’ , ‘latency’, ‘error’ ", - "type": "string" - }, - "aggregate": { - "description": "The aggregation function to be applied on the client metric. Allowed functions - ‘percentage’ - for error metric , ‘avg’ - for response_time_ms and latency metric ", - "type": "string" - }, - "condition": { - "description": "The comparison operator. Supported types ‘>’ ", - "type": "string" - }, - "value": { - "format": "double", - "description": "The value to compare with the client metric. Allowed values - ‘error : [0.0 , 100.0] unit- % ’, response_time_ms and latency : any integer value unit- ms", - "type": "number" - }, - "action": { - "description": "Either ‘stop’ or ‘continue’ after the threshold is met. Default is ‘continue’", - "type": "string" - }, - "actualValue": { - "format": "double", - "description": "[ReadOnly] The actual value of the client metric for the test run ", - "type": "number" - }, - "result": { - "description": "[ReadOnly] Outcome of the testRun. possible outcome - ‘passed’ , ‘failed’ , ‘undetermined’ ", - "type": "string" - } - } - }, - "PassFailCriteria": { - "description": "Pass fail criteria for a test", - "type": "object", - "properties": { - "passFailMetrics": { - "description": "Map of id and pass fail metrics { id : pass fail metrics }", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/PassFailMetric" - } - } - } - }, - "FileUrl": { - "description": "FileUrl Model", - "type": "object", - "properties": { - "url": { - "description": "File url", - "type": "string" - }, - "fileId": { - "description": "File unique identifier", - "type": "string" - }, - "filename": { - "description": "Name of the file", - "type": "string" - }, - "expireTime": { - "format": "date-time", - "description": "Expiry time of the file", - "type": "string" - } - } - }, - "InputTestArtifacts": { - "description": "[ReadOnly]The input artifacts for the test", - "type": "object", - "properties": { - "configUrl": { - "$ref": "#/definitions/FileUrl" - }, - "testScriptUrl": { - "$ref": "#/definitions/FileUrl" - }, - "inputArtifactsZipFileurl": { - "$ref": "#/definitions/FileUrl" - }, - "additionalUrls": { - "description": "[ReadOnly]The input artifacts file { name : url } map for the test run", - "type": "array", - "items": { - "$ref": "#/definitions/FileUrl" - } - } - } - }, - "SecretMetadata": { - "type": "object", - "properties": { - "value": { - "description": "The value of the secret. of type== akv-secret-uri or secret-value", - "type": "string" - }, - "type": { - "description": "Type of secret. eg. AKV_SECRET_URI/SECRET_VALUE", - "type": "string" - } - } - }, - "TestModel": { - "description": "Load test model", - "type": "object", - "properties": { - "testId": { - "description": "[ReadOnly] Unique test name as identifier", - "maxLength": 50, - "minLength": 2, - "type": "string" - }, - "description": { - "description": "The test description", - "maxLength": 100, - "type": "string" - }, - "displayName": { - "description": "Display name of a test ", - "maxLength": 50, - "minLength": 2, - "type": "string" - }, - "resourceId": { - "description": "[ReadOnly] Fully qualified resource Id e.g /subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}", - "type": "string" - }, - "loadTestConfig": { - "$ref": "#/definitions/LoadTestConfig" - }, - "passFailCriteria": { - "$ref": "#/definitions/PassFailCriteria" - }, - "createdDateTime": { - "format": "date-time", - "description": "[ReadOnly] The created DateTime(Iso8601Literal format) of the test model", - "type": "string" - }, - "createdBy": { - "description": "[ReadOnly] The user that created the test model", - "type": "string" - }, - "lastModifiedDateTime": { - "format": "date-time", - "description": "[ReadOnly] The last Modified DateTime(Iso8601Literal format) of the test model", - "type": "string" - }, - "lastModifiedBy": { - "description": "[ReadOnly] The user that last modified the test model", - "type": "string" - }, - "inputArtifacts": { - "$ref": "#/definitions/InputTestArtifacts" - }, - "secrets": { - "description": "Secrets of higher importance , which are stored in a key-vault typically. Allowed secret type: AKV_SECRET_URI", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/SecretMetadata" - } - }, - "environmentVariables": { - "description": "Secrets of relatively lesser importance , which are defined as a set of pairs.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "TestModelResourceList": { - "description": "List of Resources", - "type": "object", - "properties": { - "value": { - "description": "List of Resources", - "type": "array", - "items": { - "$ref": "#/definitions/TestModel" - } - }, - "continuationToken": { - "description": "Continuation token for list of resources in case of paginated results, if applicable", - "type": "string" - } - } - }, - "FileUrlPath": { - "type": "object", - "properties": { - "id": { - "description": "Path of the file", - "type": "string" - }, - "url": { - "description": "url of the file", - "type": "string" - }, - "expireTime": { - "format": "date-time", - "description": "Expiry time of the file", - "type": "string" - } - } - }, - "FileUrlList": { - "type": "object", - "properties": { - "value": { - "description": "List of file urls", - "type": "array", - "items": { - "$ref": "#/definitions/FileUrl" - } - } - } - }, - "OutputTestArtifacts": { - "description": "The output artifacts for the test run", - "required": [ - "logsUrl", - "resultUrl" - ], - "type": "object", - "properties": { - "resultUrl": { - "$ref": "#/definitions/FileUrl" - }, - "logsUrl": { - "$ref": "#/definitions/FileUrl" - } - } - }, - "TestArtifacts": { - "required": [ - "inputArtifacts" - ], - "type": "object", - "properties": { - "inputArtifacts": { - "$ref": "#/definitions/InputTestArtifacts" - }, - "outputArtifacts": { - "$ref": "#/definitions/OutputTestArtifacts" - } - } - }, - "TestRunStatisticsModel": { - "description": "[Readonly] Test run statistics", - "type": "object", - "properties": { - "transaction": { - "description": "[Readonly] Transaction name", - "type": "string" - }, - "sampleCount": { - "format": "double", - "description": "[Readonly] Sampler count", - "type": "number" - }, - "errorCount": { - "format": "double", - "description": "[Readonly] Error count", - "type": "number" - }, - "errorPct": { - "format": "double", - "description": "[Readonly] Error percentage", - "type": "number" - }, - "meanResTime": { - "format": "double", - "description": "[Readonly] Mean response time", - "type": "number" - }, - "medianResTime": { - "format": "double", - "description": "[Readonly] Median response time", - "type": "number" - }, - "maxResTime": { - "format": "double", - "description": "[Readonly] Max response time", - "type": "number" - }, - "minResTime": { - "format": "double", - "description": "[Readonly] Minimum response time", - "type": "number" - }, - "pct1ResTime": { - "format": "double", - "description": "[Readonly] 90 percentile response time", - "type": "number" - }, - "pct2ResTime": { - "format": "double", - "description": "[Readonly] 95 percentile response time", - "type": "number" - }, - "pct3ResTime": { - "format": "double", - "description": "[Readonly] 99 percentile response time", - "type": "number" - }, - "throughput": { - "format": "double", - "description": "[Readonly] Throughput", - "type": "number" - }, - "receivedKBytesPerSec": { - "format": "double", - "description": "[Readonly] Received network bytes", - "type": "number" - }, - "sentKBytesPerSec": { - "format": "double", - "description": "[Readonly] Send network bytes", - "type": "number" - } - } - }, - "TestRunModel": { - "description": "Load test run model", - "type": "object", - "properties": { - "testRunId": { - "description": "[ReadOnly] Unique test run name as identifier", - "type": "string" - }, - "displayName": { - "description": "Display name of a testRun ", - "maxLength": 50, - "minLength": 2, - "type": "string" - }, - "testId": { - "description": "Associated testId", - "maxLength": 50, - "minLength": 2, - "type": "string" - }, - "resourceId": { - "description": "[ReadOnly] Load test resource Id", - "type": "string" - }, - "description": { - "description": "The test run description", - "maxLength": 100, - "type": "string" - }, - "status": { - "description": "[ReadOnly] The test run status", - "type": "string" - }, - "startDateTime": { - "format": "date-time", - "description": "[ReadOnly] The test run start DateTime(Iso8601Literal format)", - "type": "string" - }, - "endDateTime": { - "format": "date-time", - "description": "[ReadOnly] The test run end DateTime(Iso8601Literal format)", - "type": "string" - }, - "loadTestConfig": { - "$ref": "#/definitions/LoadTestConfig" - }, - "testResult": { - "description": "[ReadOnly] Test result for pass/Fail criteria used during the test run. possible outcome - ‘Passed’ , ‘Failed’ , ‘Not Applicable’", - "type": "string" - }, - "passFailCriteria": { - "$ref": "#/definitions/PassFailCriteria" - }, - "testArtifacts": { - "$ref": "#/definitions/TestArtifacts" - }, - "executedDateTime": { - "format": "date-time", - "description": "[ReadOnly] Test run initiated time", - "type": "string" - }, - "vusers": { - "format": "int32", - "description": "[ReadOnly] No of virtual users, for which test has been run", - "type": "integer" - }, - "testRunStatistics": { - "description": "[ReadOnly] Testrun statistics", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/TestRunStatisticsModel" - } - }, - "createdDateTime": { - "format": "date-time", - "description": "[ReadOnly] The created DateTime(Iso8601Literal format) of the test run", - "type": "string" - }, - "createdBy": { - "description": "[ReadOnly] The user that created the test run", - "type": "string" - }, - "lastModifiedDateTime": { - "format": "date-time", - "description": "[ReadOnly] The last updated DateTime(Iso8601Literal format) of the test run", - "type": "string" - }, - "lastModifiedBy": { - "description": "[ReadOnly] The user that updated the test run", - "type": "string" - }, - "portalUrl": { - "description": "[ReadOnly] Portal url ", - "type": "string" - }, - "secrets": { - "description": "Secrets of higher importance , which are stored in a key-vault typically. Allowed secret types: AKV_SECRET_URI/SECRET_VALUE", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/SecretMetadata" - } - }, - "environmentVariables": { - "description": "Secrets of relatively lesser importance , which are defined as a set of pairs.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "duration": { - "format": "int64", - "description": "[ReadOnly] Test run duration in milliseconds", - "type": "integer" - } - } - }, - "TestRunModelResourceList": { - "description": "List of Resources", - "type": "object", - "properties": { - "value": { - "description": "List of Resources", - "type": "array", - "items": { - "$ref": "#/definitions/TestRunModel" - } - }, - "continuationToken": { - "description": "Continuation token for list of resources in case of paginated results, if applicable", - "type": "string" - } - } - }, - "TimeSeries": { - "type": "object", - "properties": { - "timestamp": { - "format": "date-time", - "description": "Timestamp(Iso8601Literal format)", - "type": "string" - }, - "value": { - "format": "double", - "description": "Value at timestamp", - "type": "number" - } - } - }, - "Series": { - "type": "object", - "properties": { - "activeUsers": { - "description": "Active users time series data", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeries" - } - } - }, - "responseTime": { - "description": "Response time, time series data", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeries" - } - } - }, - "throughput": { - "description": "Throughput time series data", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeries" - } - } - }, - "errors": { - "description": "Errors time series data", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeries" - } - } - } - } - }, - "ClientMetricsResults": { - "type": "object", - "properties": { - "testRunId": { - "description": "Test run name for which client metrics results is required.", - "type": "string" - }, - "timeSeries": { - "$ref": "#/definitions/Series" - } - } - }, - "Filters": { - "type": "object", - "properties": { - "requestSamplerValues": { - "description": "List of request sampler for the test run, for which client metrics can be filtered", - "type": "array", - "items": { - "type": "string" - } - }, - "errorFiltersValues": { - "description": "List of errors occurred for the test run, for which client metrics can be filtered", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "TimeRange": { - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "start DateTime(Iso8601Literal format) for the requested client metrics filter", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "end DateTime(Iso8601Literal format) for the requested client metrics filter", - "type": "string" - } - } - }, - "ClientMetricsFilters": { - "type": "object", - "properties": { - "testRunId": { - "description": "Test run name for which client metrics filters is required.", - "type": "string" - }, - "filters": { - "$ref": "#/definitions/Filters" - }, - "timeRange": { - "$ref": "#/definitions/TimeRange" - } - } - } - }, - "securityDefinitions": { - "Bearer": { - "type": "apiKey", - "name": "Authorization", - "in": "header", - "description": "JWT Authorization header using the Bearer scheme." - } - }, - "security": [ - { - "Bearer": [] - } - ] -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateAndUpdateTestRun.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateAndUpdateTestRun.json deleted file mode 100644 index 5cea81cd91a1..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateAndUpdateTestRun.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "parameters": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "oldTestRunId": "12345678-1234-1234-1234-123456789012", - "api-version": "2022-06-01-preview", - "body": { - "displayName": "Performance_LoadTest_Run1", - "testId": "12345678-1234-1234-1234-123456789012", - "description": "sample description", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "passFailCriteria": { - "passFailMetrics": { - "fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 20, - "action": "continue" - } - } - }, - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - } - } - }, - "responses": { - "200": { - "body": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "displayName": "Performance_LoadTest_Run1", - "testId": "12345678-1234-1234-1234-123456789012", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "description": "sample description", - "status": "ACCEPTED", - "startDateTime": "2021-12-05T16:43:48.125Z", - "endDateTime": "2021-12-05T16:43:48.125Z", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "testResult": "Passed", - "passFailCriteria": { - "passFailMetrics": { - "fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 20, - "action": "continue", - "actualValue": 10, - "result": "passed" - } - } - }, - "testArtifacts": { - "inputArtifacts": { - "configUrl": { - "url": "https://dummyurl.com/configresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "config.yaml", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "testScriptUrl": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789011", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "userPropUrl": { - "url": "https://dummyurl.com/userpropresource", - "fileId": "92345678-1234-1111-1234-123456789013", - "filename": "user.properties", - "fileType": 1, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "inputArtifactsZipFileurl": { - "url": "https://dummyurl.com/inputartifactzipresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "inputartifacts.zip", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "additionalUrls": [] - }, - "outputArtifacts": { - "resultUrl": { - "url": "https://dummyurl.com/dummyresourceresult", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "logsUrl": { - "url": "https://dummyurl.com/logresource", - "fileId": "abb846a7-63af-4d63-bb3d-a7aa4caff55c", - "filename": "worker.log", - "fileType": 2, - "expireTime": "2022-05-16T09:14:46.0411793+00:00", - "validationStatus": "" - } - } - }, - "executedDateTime": "2021-12-05T16:43:48.125Z", - "vusers": 4, - "testRunStatistics": { - "Total": { - "transaction": "Total", - "sampleCount": 18, - "errorCount": 19, - "errorPct": 17, - "meanResTime": 13, - "medianResTime": 10, - "maxResTime": 16, - "minResTime": 18, - "pct1ResTime": 27, - "pct2ResTime": 20, - "pct3ResTime": 3, - "throughput": 5, - "receivedKBytesPerSec": 13, - "sentKBytesPerSec": 4 - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "user@contoso.com", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "user@contoso.com", - "portalUrl": "https://portal.azure.com/dummyresource", - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - }, - "duration": 18, - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateOrUpdateAppComponents.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateOrUpdateAppComponents.json deleted file mode 100644 index 26cf79b7f33c..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateOrUpdateAppComponents.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7", - "api-version": "2022-06-01-preview", - "body": { - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "value": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "resourceType": "microsoft.insights/components", - "resourceName": "appcomponentresource", - "displayName": "Performance_LoadTest_Insights", - "kind": "web" - } - } - } - }, - "responses": { - "200": { - "body": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7", - "value": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "resourceType": "microsoft.insights/components", - "resourceName": "appcomponentresource", - "displayName": "Performance_LoadTest_Insights", - "resourceGroup": "samplerg", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "kind": "web" - } - } - } - }, - "201": { - "body": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7", - "value": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "resourceType": "microsoft.insights/components", - "resourceName": "appcomponentresource", - "displayName": "Performance_LoadTest_Insights", - "resourceGroup": "samplerg", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "kind": "web" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateOrUpdateServerMetricsConfig.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateOrUpdateServerMetricsConfig.json deleted file mode 100644 index 92ec6e60b877..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateOrUpdateServerMetricsConfig.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "parameters": { - "name": "edc6e529-d009-4b99-b763-ca492e3a2823", - "api-version": "2022-06-01-preview", - "body": { - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "metrics": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "metricnamespace": "microsoft.insights/components", - "displayDescription": "sample description", - "name": { - "value": "requests/duration", - "localizedValue": "Server Response Time" - }, - "aggregation": "Average", - "unit": null, - "resourceType": "microsoft.insights/components" - } - } - } - }, - "responses": { - "200": { - "body": { - "name": "edc6e529-d009-4b99-b763-ca492e3a2823", - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "metrics": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "metricnamespace": "microsoft.insights/components", - "displayDescription": "sample description", - "name": { - "value": "requests/duration", - "localizedValue": "Server Response Time" - }, - "aggregation": "Average", - "unit": null, - "resourceType": "microsoft.insights/components" - } - } - } - }, - "201": { - "body": { - "name": "edc6e529-d009-4b99-b763-ca492e3a2823", - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "metrics": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "metricnamespace": "microsoft.insights/components", - "displayDescription": "sample description", - "name": { - "value": "requests/duration", - "localizedValue": "Server Response Time" - }, - "aggregation": "Average", - "unit": null, - "resourceType": "microsoft.insights/components" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateOrUpdateTest.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateOrUpdateTest.json deleted file mode 100644 index b32e8a51b3f9..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/CreateOrUpdateTest.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "parameters": { - "api-version": "2022-06-01-preview", - "testId": "12345678-1234-1234-1234-123456789012", - "body": { - "description": "sample description", - "displayName": "Performance_LoadTest", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "passFailCriteria": { - "passFailMetrics": { - "fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 20, - "action": "continue" - } - } - }, - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - }, - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0", - "keyvaultReferenceIdentityType": "UserAssigned", - "keyvaultReferenceIdentityId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/sampleprovider/sampleresourcetype/sampleresourcename" - } - }, - "responses": { - "200": { - "body": { - "testId": "12345678-1234-1234-1234-123456789012", - "description": "sample description", - "displayName": "Performance_LoadTest", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "passFailCriteria": { - "passFailMetrics": { - "fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 20, - "action": "continue", - "actualValue": 10, - "result": "passed" - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "user@contoso.com", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "user@contoso.com", - "inputArtifacts": { - "configUrl": { - "url": "https://dummyurl.com/configresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "config.yaml", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "testScriptUrl": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789011", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "userPropUrl": { - "url": "https://dummyurl.com/userpropresource", - "fileId": "92345678-1234-1111-1234-123456789013", - "filename": "user.properties", - "fileType": 1, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "inputArtifactsZipFileurl": { - "url": "https://dummyurl.com/inputartifactzipresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "inputartifacts.zip", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "additionalUrls": [] - }, - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - }, - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0", - "keyvaultReferenceIdentityType": "UserAssigned", - "keyvaultReferenceIdentityId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1" - } - }, - "201": { - "body": { - "testId": "12345678-1234-1234-1234-123456789012", - "description": "sample description", - "displayName": "Performance_LoadTest", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "passFailCriteria": { - "passFailMetrics": { - "fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 20, - "action": "continue", - "actualValue": 10, - "result": "passed" - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "user@contoso.com", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "user@contoso.com", - "inputArtifacts": { - "configUrl": { - "url": "https://dummyurl.com/configresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "config.yaml", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "testScriptUrl": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789011", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "userPropUrl": { - "url": "https://dummyurl.com/userpropresource", - "fileId": "92345678-1234-1111-1234-123456789013", - "filename": "user.properties", - "fileType": 1, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "inputArtifactsZipFileurl": { - "url": "https://dummyurl.com/inputartifactzipresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "inputartifacts.zip", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "additionalUrls": [] - }, - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - }, - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0", - "keyvaultReferenceIdentityType": "UserAssigned", - "keyvaultReferenceIdentityId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteAppComponent.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteAppComponent.json deleted file mode 100644 index b2cc938cc1b7..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteAppComponent.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7", - "api-version": "2022-06-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteLoadTest.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteLoadTest.json deleted file mode 100644 index 3d43bc10497c..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteLoadTest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "testId": "12345678-1234-1234-1234-123456789012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteServerMetrics.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteServerMetrics.json deleted file mode 100644 index fa62e17da416..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteServerMetrics.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "name": "edc6e529-d009-4b99-b763-ca492e3a2823", - "api-version": "2022-06-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteTestFile.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteTestFile.json deleted file mode 100644 index c40d772bcccb..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteTestFile.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "testId": "12345678-1234-1234-1234-123456789012", - "fileId": "92345678-1234-1111-1234-123456789012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteTestRun.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteTestRun.json deleted file mode 100644 index f89569c780ee..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/DeleteTestRun.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "204": {} - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetAllTestFiles.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetAllTestFiles.json deleted file mode 100644 index 13aca357ba96..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetAllTestFiles.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "testId": "12345678-1234-1234-1234-123456789012", - "api-version": "2022-06-01-preview", - "continuationToken": "continuation token" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetAppComponent.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetAppComponent.json deleted file mode 100644 index 1232ad955de9..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetAppComponent.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7", - "value": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "resourceType": "microsoft.insights/components", - "resourceName": "appcomponentresource", - "displayName": "Performance_LoadTest_Insights", - "resourceGroup": "samplerg", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "kind": "web" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetAppComponentByName.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetAppComponentByName.json deleted file mode 100644 index 6e5b29519fa0..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetAppComponentByName.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "name": "ee843bd9-a6d4-4364-a45c-427a03c39fa7", - "value": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "resourceType": "microsoft.insights/components", - "resourceName": "appcomponentresource", - "displayName": "Performance_LoadTest_Insights", - "resourceGroup": "samplerg", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "kind": "web" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetLoadTest.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetLoadTest.json deleted file mode 100644 index 719342954cda..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetLoadTest.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "parameters": { - "testId": "12345678-1234-1234-1234-123456789012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "testId": "12345678-1234-1234-1234-123456789012", - "description": "sample description", - "displayName": "Performance_LoadTest", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "passFailCriteria": { - "passFailMetrics": { - "fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 20, - "action": "continue", - "actualValue": 0, - "result": null - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "user@contoso.com", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "user@contoso.com", - "inputArtifacts": { - "configUrl": { - "url": "https://dummyurl.com/configresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "config.yaml", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "testScriptUrl": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789011", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "userPropUrl": { - "url": "https://dummyurl.com/userpropresource", - "fileId": "92345678-1234-1111-1234-123456789013", - "filename": "user.properties", - "fileType": 1, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "inputArtifactsZipFileurl": { - "url": "https://dummyurl.com/inputartifactzipresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "inputartifacts.zip", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "additionalUrls": [] - }, - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - }, - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0", - "keyvaultReferenceIdentityType": "UserAssigned", - "keyvaultReferenceIdentityId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetServerDefaultMetrics.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetServerDefaultMetrics.json deleted file mode 100644 index 2a94289adb52..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetServerDefaultMetrics.json +++ /dev/null @@ -1,1239 +0,0 @@ -{ - "parameters": { - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "defaultMetrics": { - "microsoft.web/sites": [ - { - "metricnamespace": "microsoft.web/sites", - "aggregation": "Total", - "name": { - "value": "Http5xx", - "localizedValue": "Http5xx Error" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.web/sites", - "aggregation": "Total", - "name": { - "value": "Requests", - "localizedValue": "Requests" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.web/sites", - "aggregation": "Average", - "name": { - "value": "HttpResponseTime", - "localizedValue": "Response Time" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.storage/storageaccounts/blobservices": [ - { - "metricnamespace": "microsoft.storage/storageaccounts/blobservices", - "aggregation": "Average", - "name": { - "value": "ContainerCount", - "localizedValue": "Blob Container Count" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/blobservices", - "aggregation": "Average", - "name": { - "value": "BlobCount", - "localizedValue": "Blob Count" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/blobservices", - "aggregation": "Average", - "name": { - "value": "BlobCapacity", - "localizedValue": "Blob Capacity" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/blobservices", - "aggregation": "Total", - "name": { - "value": "Transactions", - "localizedValue": "Transactions" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.storage/storageaccounts": [ - { - "metricnamespace": "microsoft.storage/storageaccounts", - "aggregation": "Average", - "name": { - "value": "Availability", - "localizedValue": "Availability" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts", - "aggregation": "Average", - "name": { - "value": "SuccessE2ELatency", - "localizedValue": "Success E2E Latency" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts", - "aggregation": "Average", - "name": { - "value": "UsedCapacity", - "localizedValue": "Used Capacity" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts", - "aggregation": "Average", - "name": { - "value": "SuccessServerLatency", - "localizedValue": "Success Server Latency" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.documentdb/databaseaccounts": [ - { - "metricnamespace": "microsoft.documentdb/databaseaccounts", - "aggregation": "Count", - "name": { - "value": "TotalRequests", - "localizedValue": "Total Requests" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.documentdb/databaseaccounts", - "aggregation": "Maximum", - "name": { - "value": "ProvisionedThroughput", - "localizedValue": "Provisioned Throughput" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.documentdb/databaseaccounts", - "aggregation": "Maximum", - "name": { - "value": "NormalizedRUConsumption", - "localizedValue": "Normalized RU Consumption" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.servicebus/namespaces": [ - { - "metricnamespace": "microsoft.servicebus/namespaces", - "aggregation": "Total", - "name": { - "value": "ActiveConnections", - "localizedValue": "ActiveConnections" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.servicebus/namespaces", - "aggregation": "Average", - "name": { - "value": "ActiveMessages", - "localizedValue": "Count of active messages in a Queue/Topic" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.servicebus/namespaces", - "aggregation": "Maximum", - "name": { - "value": "NamespaceCpuUsage", - "localizedValue": "CPU" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.servicebus/namespaces", - "aggregation": "Total", - "name": { - "value": "IncomingMessages", - "localizedValue": "Incoming Messages" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.servicebus/namespaces", - "aggregation": "Total", - "name": { - "value": "IncomingRequests", - "localizedValue": "Incoming Requests" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.servicebus/namespaces", - "aggregation": "Average", - "name": { - "value": "Messages", - "localizedValue": "Count of messages in a Queue/Topic" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.servicebus/namespaces", - "aggregation": "Total", - "name": { - "value": "ThrottledRequests", - "localizedValue": "Throttled Requests" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.servicebus/namespaces", - "aggregation": "Average", - "name": { - "value": "DeadletteredMessages", - "localizedValue": "Count of dead-lettered message" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.eventhub/clusters": [ - { - "metricnamespace": "microsoft.eventhub/clusters", - "aggregation": "Maximum", - "name": { - "value": "CPU", - "localizedValue": "CPU" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/clusters", - "aggregation": "Maximum", - "name": { - "value": "AvailableMemory", - "localizedValue": "Available Memory" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/clusters", - "aggregation": "Total", - "name": { - "value": "ServerErrors", - "localizedValue": "Server Errors" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/clusters", - "aggregation": "Total", - "name": { - "value": "ThrottledRequests", - "localizedValue": "Throttled Requests" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/clusters", - "aggregation": "Total", - "name": { - "value": "SuccessfulRequests", - "localizedValue": "Successful Requests" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/clusters", - "aggregation": "Total", - "name": { - "value": "QuotaExceededErrors", - "localizedValue": "Quota Exceeded Errors" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/clusters", - "aggregation": "Total", - "name": { - "value": "ActiveConnections", - "localizedValue": "ActiveConnections" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.keyvault/vaults": [ - { - "metricnamespace": "microsoft.keyvault/vaults", - "aggregation": "Average", - "name": { - "value": "Availability", - "localizedValue": "Availability" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.keyvault/vaults", - "aggregation": "Count", - "name": { - "value": "ServiceApiHit", - "localizedValue": "Total Service Api Hits" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.keyvault/vaults", - "aggregation": "Average", - "name": { - "value": "ServiceApiLatency", - "localizedValue": "Overall Service Api Latency" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.classicstorage/storageaccounts": [ - { - "metricnamespace": "microsoft.classicstorage/storageaccounts", - "aggregation": "Average", - "name": { - "value": "Availability", - "localizedValue": "Availability" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts", - "aggregation": "Average", - "name": { - "value": "SuccessE2ELatency", - "localizedValue": "Success E2E Latency" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts", - "aggregation": "Average", - "name": { - "value": "SuccessServerLatency", - "localizedValue": "Success Server Latency" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts", - "aggregation": "Average", - "name": { - "value": "UsedCapacity", - "localizedValue": "Used Capacity" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.classicstorage/storageaccounts/blobservices": [ - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/blobservices", - "aggregation": "Average", - "name": { - "value": "BlobCount", - "localizedValue": "Blob Count" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/blobservices", - "aggregation": "Average", - "name": { - "value": "ContainerCount", - "localizedValue": "Index Capacity" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/blobservices", - "aggregation": "Total", - "name": { - "value": "Transactions", - "localizedValue": "Transactions" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/blobservices", - "aggregation": "Average", - "name": { - "value": "BlobCapacity", - "localizedValue": "Blob Capacity" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.classicstorage/storageaccounts/tableservices": [ - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/tableservices", - "aggregation": "Average", - "name": { - "value": "TableCount", - "localizedValue": "Table Count" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/tableservices", - "aggregation": "Average", - "name": { - "value": "TableCapacity", - "localizedValue": "Table Capacity" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/tableservices", - "aggregation": "Total", - "name": { - "value": "Transactions", - "localizedValue": "Transactions" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.classicstorage/storageaccounts/fileservices": [ - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/fileservices", - "aggregation": "Average", - "name": { - "value": "FileCapacity", - "localizedValue": "File Capacity" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/fileservices", - "aggregation": "Total", - "name": { - "value": "Transactions", - "localizedValue": "Transactions" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/fileservices", - "aggregation": "Average", - "name": { - "value": "FileCount", - "localizedValue": "File Count" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.sql/managedinstances": [ - { - "metricnamespace": "microsoft.sql/managedinstances", - "aggregation": "Average", - "name": { - "value": "reserved_storage_mb", - "localizedValue": "Storage space reserved" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.sql/managedinstances", - "aggregation": "Average", - "name": { - "value": "io_bytes_written", - "localizedValue": "IO bytes written" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.sql/managedinstances", - "aggregation": "Average", - "name": { - "value": "avg_cpu_percent", - "localizedValue": "Average CPU percentage" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.sql/managedinstances", - "aggregation": "Average", - "name": { - "value": "storage_space_used_mb", - "localizedValue": "Storage space used" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.sql/managedinstances", - "aggregation": "Average", - "name": { - "value": "io_bytes_read", - "localizedValue": "IO bytes read" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.sql/servers/elasticpools": [ - { - "metricnamespace": "microsoft.sql/servers/elasticpools", - "aggregation": "Average", - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.sql/servers/elasticpools", - "aggregation": "Average", - "name": { - "value": "storage_percent", - "localizedValue": "Data space used percent" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.storage/storageaccounts/fileservices": [ - { - "metricnamespace": "microsoft.storage/storageaccounts/fileservices", - "aggregation": "Average", - "name": { - "value": "FileCount", - "localizedValue": "File Count" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/fileservices", - "aggregation": "Average", - "name": { - "value": "FileCapacity", - "localizedValue": "File Capacity" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/fileservices", - "aggregation": "Total", - "name": { - "value": "Transactions", - "localizedValue": "Transactions" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.storage/storageaccounts/tableservices": [ - { - "metricnamespace": "microsoft.storage/storageaccounts/tableservices", - "aggregation": "Average", - "name": { - "value": "TableCount", - "localizedValue": "Table Count" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/tableservices", - "aggregation": "Average", - "name": { - "value": "TableCapacity", - "localizedValue": "Table Capacity" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/tableservices", - "aggregation": "Average", - "name": { - "value": "TableEntityCount", - "localizedValue": "Table Entity Count" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/tableservices", - "aggregation": "Total", - "name": { - "value": "Transactions", - "localizedValue": "Transactions" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.web/serverfarms": [ - { - "metricnamespace": "microsoft.web/serverfarms", - "aggregation": "Average", - "name": { - "value": "CpuPercentage", - "localizedValue": "CPU Percentage" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.web/serverfarms", - "aggregation": "Average", - "name": { - "value": "MemoryPercentage", - "localizedValue": "Memory Percentage" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.cache/redis": [ - { - "metricnamespace": "microsoft.cache/redis", - "aggregation": "Maximum", - "name": { - "value": "serverLoad", - "localizedValue": "Server Load" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.cache/redis", - "aggregation": "Average", - "name": { - "value": "cacheLatency", - "localizedValue": "Cache Latency" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.cache/redis", - "aggregation": "Total", - "name": { - "value": "cachehits", - "localizedValue": "Cache Hits" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.cache/redis", - "aggregation": "Maximum", - "name": { - "value": "connectedclients", - "localizedValue": "Connected Clients" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.classiccompute/virtualmachines": [ - { - "metricnamespace": "microsoft.classiccompute/virtualmachines", - "aggregation": "Average", - "name": { - "value": "Disk Read Operations/Sec", - "localizedValue": "Disk Read Operations/Sec" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classiccompute/virtualmachines", - "aggregation": "Average", - "name": { - "value": "Disk Write Operations/Sec", - "localizedValue": "Disk Write Operations/Sec" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classiccompute/virtualmachines", - "aggregation": "Average", - "name": { - "value": "Percentage CPU", - "localizedValue": "Percentage CPU" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.containerservice/managedclusters": [ - { - "metricnamespace": "microsoft.containerservice/managedclusters", - "aggregation": "Average", - "name": { - "value": "kube_node_status_allocatable_cpu_cores", - "localizedValue": "Total number of available cpu cores in a managed cluster" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.containerservice/managedclusters", - "aggregation": "Average", - "name": { - "value": "kube_node_status_allocatable_memory_bytes", - "localizedValue": "Total amount of available memory in a managed cluster" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.containerservice/managedclusters", - "aggregation": "Average", - "name": { - "value": "kube_pod_status_ready", - "localizedValue": "Number of pods in Ready state" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.containerinstance/containergroups": [ - { - "metricnamespace": "microsoft.containerinstance/containergroups", - "aggregation": "Average", - "name": { - "value": "CpuUsage", - "localizedValue": "CPU Usage" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.containerinstance/containergroups", - "aggregation": "Average", - "name": { - "value": "MemoryUsage", - "localizedValue": "Memory Usage" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.compute/virtualmachines": [ - { - "metricnamespace": "microsoft.compute/virtualmachines", - "aggregation": "Average", - "name": { - "value": "CPU Credits Consumed", - "localizedValue": "CPU Credits Consumed" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.compute/virtualmachines", - "aggregation": "Average", - "name": { - "value": "Disk Read Operations/Sec", - "localizedValue": "Disk Read Operations/Sec" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.compute/virtualmachines", - "aggregation": "Average", - "name": { - "value": "Disk Write Operations/Sec", - "localizedValue": "Disk Write Operations/Sec" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.compute/virtualmachines", - "aggregation": "Average", - "name": { - "value": "Percentage CPU", - "localizedValue": "Percentage CPU" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.dbforpostgresql/singleservers": [ - { - "metricnamespace": "microsoft.dbforpostgresql/singleservers", - "aggregation": "Average", - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.dbforpostgresql/singleservers", - "aggregation": "Average", - "name": { - "value": "memory_percent", - "localizedValue": "Memory percent" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.dbformariadb/servers": [ - { - "metricnamespace": "microsoft.dbformariadb/servers", - "aggregation": "Average", - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.dbformariadb/servers", - "aggregation": "Average", - "name": { - "value": "memory_percent", - "localizedValue": "Memory percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.dbformariadb/servers", - "aggregation": "Average", - "name": { - "value": "io_consumption_percent", - "localizedValue": "IO percent" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.dbformysql/servers": [ - { - "metricnamespace": "microsoft.dbformysql/servers", - "aggregation": "Average", - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.dbformysql/servers", - "aggregation": "Average", - "name": { - "value": "memory_percent", - "localizedValue": "Memory percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.dbformysql/servers", - "aggregation": "Average", - "name": { - "value": "io_consumption_percent", - "localizedValue": "IO percent" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.dbforpostgresql/servers": [ - { - "metricnamespace": "microsoft.dbforpostgresql/servers", - "aggregation": "Average", - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.dbforpostgresql/servers", - "aggregation": "Average", - "name": { - "value": "memory_percent", - "localizedValue": "Memory percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.dbforpostgresql/servers", - "aggregation": "Average", - "name": { - "value": "io_consumption_percent", - "localizedValue": "IO percent" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.sql/servers/databases": [ - { - "metricnamespace": "microsoft.sql/servers/databases", - "aggregation": "Total", - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.sql/servers/databases", - "aggregation": "Maximum", - "name": { - "value": "connection_failed", - "localizedValue": "Connection Failed" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.sql/servers/databases", - "aggregation": "Total", - "name": { - "value": "deadlock", - "localizedValue": "Deadlocks" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.eventhub/namespaces": [ - { - "metricnamespace": "microsoft.eventhub/namespaces", - "aggregation": "Total", - "name": { - "value": "ActiveConnections", - "localizedValue": "ActiveConnections" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/namespaces", - "aggregation": "Total", - "name": { - "value": "SuccessfulRequests", - "localizedValue": "Successful Requests" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/namespaces", - "aggregation": "Total", - "name": { - "value": "QuotaExceededErrors", - "localizedValue": "Quota Exceeded Errors" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/namespaces", - "aggregation": "Total", - "name": { - "value": "ServerErrors", - "localizedValue": "Server Errors" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.eventhub/namespaces", - "aggregation": "Total", - "name": { - "value": "ThrottledRequests", - "localizedValue": "Throttled Requests" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.insights/components": [ - { - "metricnamespace": "microsoft.insights/components", - "aggregation": "Average", - "name": { - "value": "requests/duration", - "localizedValue": "Server Response Time" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.insights/components", - "aggregation": "Total", - "name": { - "value": "requests/failed", - "localizedValue": "Failed Request" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.insights/components", - "aggregation": "Total", - "name": { - "value": "requests/count", - "localizedValue": "Server Requests" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.compute/virtualmachinescalesets": [ - { - "metricnamespace": "microsoft.compute/virtualmachinescalesets", - "aggregation": "Average", - "name": { - "value": "CPU Credits Consumed", - "localizedValue": "CPU Credits Consumed" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.compute/virtualmachinescalesets", - "aggregation": "Average", - "name": { - "value": "Disk Read Operations/Sec", - "localizedValue": "Disk Read Operations/Sec" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.compute/virtualmachinescalesets", - "aggregation": "Average", - "name": { - "value": "Disk Write Operations/Sec", - "localizedValue": "Disk Write Operations/Sec" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.compute/virtualmachinescalesets", - "aggregation": "Average", - "name": { - "value": "Percentage CPU", - "localizedValue": "Percentage CPU" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.classicstorage/storageaccounts/queueservices": [ - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/queueservices", - "aggregation": "Average", - "name": { - "value": "QueueCount", - "localizedValue": "Queue Count" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/queueservices", - "aggregation": "Average", - "name": { - "value": "QueueCapacity", - "localizedValue": "Queue Capacity" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.classicstorage/storageaccounts/queueservices", - "aggregation": "Total", - "name": { - "value": "Transactions", - "localizedValue": "Transactions" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.storage/storageaccounts/queueservices": [ - { - "metricnamespace": "microsoft.storage/storageaccounts/queueservices", - "aggregation": "Average", - "name": { - "value": "QueueCount", - "localizedValue": "Queue Count" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/queueservices", - "aggregation": "Average", - "name": { - "value": "QueueCapacity", - "localizedValue": "Queue Capacity" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.storage/storageaccounts/queueservices", - "aggregation": "Total", - "name": { - "value": "Transactions", - "localizedValue": "Transactions" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.servicefabricmesh/applications": [ - { - "metricnamespace": "microsoft.compute/virtualmachinescalesets", - "aggregation": "Average", - "name": { - "value": "CPU Credits Consumed", - "localizedValue": "CPU Credits Consumed" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.compute/virtualmachinescalesets", - "aggregation": "Average", - "name": { - "value": "Disk Read Operations/Sec", - "localizedValue": "Disk Read Operations/Sec" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.compute/virtualmachinescalesets", - "aggregation": "Average", - "name": { - "value": "Disk Write Operations/Sec", - "localizedValue": "Disk Write Operations/Sec" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.compute/virtualmachinescalesets", - "aggregation": "Average", - "name": { - "value": "Percentage CPU", - "localizedValue": "Percentage CPU" - }, - "unit": null, - "displayDescription": null - } - ], - "microsoft.dbforpostgresql/serversv2": [ - { - "metricnamespace": "microsoft.dbforpostgresql/serversv2", - "aggregation": "Average", - "name": { - "value": "cpu_percent", - "localizedValue": "CPU percent" - }, - "unit": null, - "displayDescription": null - }, - { - "metricnamespace": "microsoft.dbforpostgresql/serversv2", - "aggregation": "Average", - "name": { - "value": "memory_percent", - "localizedValue": "Memory percent" - }, - "unit": null, - "displayDescription": null - } - ] - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetServerMetrics.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetServerMetrics.json deleted file mode 100644 index 2cdf1b59f2e4..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetServerMetrics.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "testId": "12345678-1234-1234-1234-123456789012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "edc6e529-d009-4b99-b763-ca492e3a2823", - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "metrics": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "metricnamespace": "microsoft.insights/components", - "displayDescription": "sample description", - "name": { - "value": "requests/duration", - "localizedValue": "Server Response Time" - }, - "aggregation": "Average", - "unit": null, - "resourceType": "microsoft.insights/components" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetServerMetricsByName.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetServerMetricsByName.json deleted file mode 100644 index 84cf9ac3b319..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetServerMetricsByName.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "name": "edc6e529-d009-4b99-b763-ca492e3a2823", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "edc6e529-d009-4b99-b763-ca492e3a2823", - "testId": "12345678-1234-1234-1234-123456789012", - "testRunId": "12316678-1234-1234-1234-122451189012", - "metrics": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource/providers/microsoft.insights/metricdefinitions/requests/duration", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.insights/components/appcomponentresource", - "metricnamespace": "microsoft.insights/components", - "displayDescription": "sample description", - "name": { - "value": "requests/duration", - "localizedValue": "Server Response Time" - }, - "aggregation": "Average", - "unit": null, - "resourceType": "microsoft.insights/components" - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestFile.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestFile.json deleted file mode 100644 index 0506dcb9fb47..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestFile.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "testId": "12345678-1234-1234-1234-123456789012", - "fileId": "92345678-1234-1111-1234-123456789012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRun.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRun.json deleted file mode 100644 index a6cc3413d135..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRun.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "parameters": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "displayName": "Performance_LoadTest_Run1", - "testId": "12345678-1234-1234-1234-123456789012", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "description": "sample description", - "status": "DONE", - "startDateTime": "2021-12-05T16:43:48.125Z", - "endDateTime": "2021-12-05T16:43:48.125Z", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "testResult": "Passed", - "passFailCriteria": { - "passFailMetrics": { - "fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 20, - "action": "continue", - "actualValue": 10, - "result": "passed" - } - } - }, - "testArtifacts": { - "inputArtifacts": { - "configUrl": { - "url": "https://dummyurl.com/configresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "config.yaml", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "testScriptUrl": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789011", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "userPropUrl": { - "url": "https://dummyurl.com/userpropresource", - "fileId": "92345678-1234-1111-1234-123456789013", - "filename": "user.properties", - "fileType": 1, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "inputArtifactsZipFileurl": { - "url": "https://dummyurl.com/inputartifactzipresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "inputartifacts.zip", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "additionalUrls": [] - }, - "outputArtifacts": { - "resultUrl": { - "url": "https://dummyurl.com/dummyresourceresult", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "logsUrl": { - "url": "https://dummyurl.com/logresource", - "fileId": "abb846a7-63af-4d63-bb3d-a7aa4caff55c", - "filename": "worker.log", - "fileType": 2, - "expireTime": "2022-05-16T09:14:46.0411793+00:00", - "validationStatus": "" - } - } - }, - "executedDateTime": "2021-12-05T16:43:48.125Z", - "vusers": 4, - "testRunStatistics": { - "Total": { - "transaction": "Total", - "sampleCount": 18, - "errorCount": 19, - "errorPct": 17, - "meanResTime": 13, - "medianResTime": 10, - "maxResTime": 16, - "minResTime": 18, - "pct1ResTime": 27, - "pct2ResTime": 20, - "pct3ResTime": 3, - "throughput": 5, - "receivedKBytesPerSec": 13, - "sentKBytesPerSec": 4 - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "user@contoso.com", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "user@contoso.com", - "portalUrl": "https://portal.azure.com/dummyresource", - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - }, - "duration": 18, - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRunClientMetrics.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRunClientMetrics.json deleted file mode 100644 index 06744e011c99..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRunClientMetrics.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "api-version": "2022-06-01-preview", - "body": { - "requestSamplers": [ - "Homepage" - ], - "errors": [ - "500" - ], - "percentiles": [ - "95" - ], - "groupByInterval": "10s", - "startTime": "2021-12-05T16:43:49.590Z", - "endTime": "2021-12-05T16:43:49.590Z" - } - }, - "responses": { - "200": { - "body": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "timeSeries": { - "activeUsers": { - "Homepage": [ - { - "timestamp": "2021-12-05T16:43:49.320Z", - "value": 1 - } - ] - }, - "responseTime": { - "Homepage Pct 95": [ - { - "timestamp": "2021-12-05T16:43:49.320Z", - "value": 1 - } - ] - }, - "throughput": { - "Homepage": [ - { - "timestamp": "2021-12-05T16:43:49.320Z", - "value": 2 - } - ] - }, - "errors": { - "500": [ - { - "timestamp": "2021-12-05T16:43:49.320Z", - "value": 1 - } - ] - } - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRunClientMetricsFilters.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRunClientMetricsFilters.json deleted file mode 100644 index 6278bd0832ff..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRunClientMetricsFilters.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "filters": { - "requestSamplerValues": [ - "Homepage" - ], - "errorFiltersValues": [ - "500" - ] - }, - "timeRange": { - "startTime": "2021-12-05T16:43:49.590Z", - "endTime": "2021-12-05T16:43:49.590Z" - } - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRunFile.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRunFile.json deleted file mode 100644 index eadbe43d8cd5..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/GetTestRunFile.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "fileId": "92345678-1234-1111-1234-123456789012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/ListLoadTestSearch.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/ListLoadTestSearch.json deleted file mode 100644 index e981675923f1..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/ListLoadTestSearch.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "parameters": { - "orderBy": "executedDateTime", - "search": "Performance_LoadTest", - "lastUpdatedStartTime": "2021-12-05T16:43:46.797Z", - "lastUpdatedEndTime": "2021-12-05T16:43:46.797Z", - "continuationToken": "continuation token", - "maxPageSize": 30, - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "testId": "12345678-1234-1234-1234-123456789012", - "description": "sample description", - "displayName": "Performance_LoadTest", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "passFailCriteria": { - "passFailMetrics": { - "pfmetric1": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 20, - "action": "continue", - "actualValue": 10, - "result": "passed" - } - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "user@contoso.com", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "user@contoso.com", - "inputArtifacts": { - "configUrl": { - "url": "https://dummyurl.com/configresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "config.yaml", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "testScriptUrl": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789011", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "userPropUrl": { - "url": "https://dummyurl.com/userpropresource", - "fileId": "92345678-1234-1111-1234-123456789013", - "filename": "user.properties", - "fileType": 1, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "inputArtifactsZipFileurl": { - "url": "https://dummyurl.com/inputartifactzipresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "inputartifacts.zip", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "additionalUrls": [] - }, - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - }, - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0", - "keyvaultReferenceIdentityType": "UserAssigned", - "keyvaultReferenceIdentityId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1" - } - ], - "nextLink": "next link" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/ListSupportedResourceType.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/ListSupportedResourceType.json deleted file mode 100644 index e104deca8059..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/ListSupportedResourceType.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - "microsoft.cache/redis", - "microsoft.compute/virtualmachines", - "microsoft.compute/virtualmachinescalesets", - "microsoft.containerservice/managedclusters", - "microsoft.web/sites", - "microsoft.web/serverfarms", - "microsoft.insights/components", - "microsoft.servicefabricmesh/applications", - "microsoft.web/staticsites", - "microsoft.network/trafficmanagerprofiles", - "microsoft.apimanagement/service", - "microsoft.classicstorage/storageaccounts", - "microsoft.storage/storageaccounts", - "microsoft.storage/storageaccounts/fileservices", - "microsoft.classicstorage/storageaccounts/fileservices", - "microsoft.storage/storageaccounts/blobservices", - "microsoft.classicstorage/storageaccounts/blobservices", - "microsoft.storage/storageaccounts/tableservices", - "microsoft.classicstorage/storageaccounts/tableservices", - "microsoft.documentdb/databaseaccounts", - "microsoft.sql/managedinstances", - "microsoft.dbformariadb/servers", - "microsoft.dbforpostgresql/servers", - "microsoft.dbforpostgresql/serversv2", - "microsoft.dbformysql/servers", - "microsoft.sql/servers/databases", - "microsoft.sql/servers/elasticpools", - "microsoft.servicebus/namespaces", - "microsoft.eventhub/namespaces", - "microsoft.storage/storageaccounts/queueservices", - "microsoft.classicstorage/storageaccounts/queueservices", - "microsoft.eventhub/clusters", - "microsoft.keyvault/vaults" - ] - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/ListTestRunsSearch.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/ListTestRunsSearch.json deleted file mode 100644 index d9d7ef06bce5..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/ListTestRunsSearch.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "parameters": { - "testId": "12345678-1234-1234-1234-123456789012", - "orderBy": "executedDateTime", - "continuationToken": "continuation token", - "search": "Performance_LoadTest_Run1", - "executionFrom": "2021-12-05T16:43:48.805Z", - "executionTo": "2021-12-05T16:43:48.805Z", - "status": "DONE,EXECUTING", - "maxPageSize": 30, - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "testRunId": "12316678-1234-1234-1234-122451189012", - "displayName": "Performance_LoadTest_Run1", - "testId": "12345678-1234-1234-1234-123456789012", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "description": "sample description", - "status": "DONE", - "startDateTime": "2021-12-05T16:43:48.125Z", - "endDateTime": "2021-12-05T16:43:48.125Z", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "testResult": "Passed", - "passFailCriteria": { - "passFailMetrics": { - "fefd759d-7fe8-4f83-8b6d-aeebe0f491fe": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 10, - "action": "continue", - "actualValue": 10, - "result": "passed" - } - } - }, - "testArtifacts": { - "inputArtifacts": { - "configUrl": { - "url": "https://dummyurl.com/configresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "config.yaml", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "testScriptUrl": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789011", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "userPropUrl": { - "url": "https://dummyurl.com/userpropresource", - "fileId": "92345678-1234-1111-1234-123456789013", - "filename": "user.properties", - "fileType": 1, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "inputArtifactsZipFileurl": { - "url": "https://dummyurl.com/inputartifactzipresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "inputartifacts.zip", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "additionalUrls": [] - }, - "outputArtifacts": { - "resultUrl": { - "url": "https://dummyurl.com/dummyresourceresult", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "logsUrl": { - "url": "https://dummyurl.com/logresource", - "fileId": "abb846a7-63af-4d63-bb3d-a7aa4caff55c", - "filename": "worker.log", - "fileType": 2, - "expireTime": "2022-05-16T09:14:46.0411793+00:00", - "validationStatus": "" - } - } - }, - "executedDateTime": "2021-12-05T16:43:48.125Z", - "vusers": 4, - "testRunStatistics": { - "Total": { - "transaction": "Total", - "sampleCount": 18, - "errorCount": 19, - "errorPct": 17, - "meanResTime": 13, - "medianResTime": 10, - "maxResTime": 16, - "minResTime": 18, - "pct1ResTime": 27, - "pct2ResTime": 20, - "pct3ResTime": 3, - "throughput": 5, - "receivedKBytesPerSec": 13, - "sentKBytesPerSec": 4 - } - }, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "user@contoso.com", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "user@contoso.com", - "portalUrl": "https://portal.azure.com/dummyresource", - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - }, - "duration": 18, - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0" - } - ], - "nextLink": "next link" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/StopTestRun.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/StopTestRun.json deleted file mode 100644 index fefb3117e54d..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/StopTestRun.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "parameters": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "api-version": "2022-06-01-preview" - }, - "responses": { - "200": { - "body": { - "testRunId": "12316678-1234-1234-1234-122451189012", - "displayName": "Performance_LoadTest_Run1", - "testId": "12345678-1234-1234-1234-123456789012", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/microsoft.loadtestservice/sampleresourcetype/sampleresourcename", - "description": "sample description", - "status": "CANCELLING", - "startDateTime": "2021-12-05T16:43:48.125Z", - "endDateTime": "2021-12-05T16:43:48.125Z", - "loadTestConfig": { - "engineInstances": 6, - "splitAllCSVs": true - }, - "testResult": "NOT_APPLICABLE", - "passFailCriteria": { - "passFailMetrics": { - "pfmetric1": { - "clientmetric": "response_time_ms", - "aggregate": "percentage", - "condition": ">", - "value": 20, - "action": "continue", - "actualValue": 0, - "result": null - } - } - }, - "testArtifacts": { - "inputArtifacts": { - "configUrl": { - "url": "https://dummyurl.com/configresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "config.yaml", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "testScriptUrl": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789011", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - }, - "userPropUrl": { - "url": "https://dummyurl.com/userpropresource", - "fileId": "92345678-1234-1111-1234-123456789013", - "filename": "user.properties", - "fileType": 1, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "inputArtifactsZipFileurl": { - "url": "https://dummyurl.com/inputartifactzipresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "inputartifacts.zip", - "fileType": 2, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "" - }, - "additionalUrls": [] - }, - "outputArtifacts": { - "resultUrl": null, - "logsUrl": null - } - }, - "executedDateTime": "2021-12-05T16:43:48.125Z", - "vusers": null, - "testRunStatistics": null, - "createdDateTime": "2021-12-05T16:43:46.072Z", - "createdBy": "user@contoso.com", - "lastModifiedDateTime": "2021-12-05T16:43:46.072Z", - "lastModifiedBy": "user@contoso.com", - "portalUrl": "https://portal.azure.com/dummyresource", - "secrets": { - "secret1": { - "value": "https://samplevault.vault.azure.net/secrets/samplesecret/f113f91fd4c44a368049849c164db827", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "envvar1": "sampletext" - }, - "duration": null, - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/samplerg/providers/Microsoft.Network/virtualNetworks/samplenetworkresource/subnets/AAAAA0A0A0" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/UploadTestFile.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/UploadTestFile.json deleted file mode 100644 index a20df1e6bfe1..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/examples/UploadTestFile.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "testId": "12345678-1234-1234-1234-123456789012", - "fileId": "92345678-1234-1111-1234-123456789012", - "fileType": 2, - "file": "multipart-form-data", - "api-version": "2022-06-01-preview" - }, - "responses": { - "201": { - "body": { - "url": "https://dummyurl.com/testscriptresource", - "fileId": "92345678-1234-1111-1234-123456789012", - "filename": "sample.jmx", - "fileType": 0, - "expireTime": "2021-12-05T16:43:46.072Z", - "validationStatus": "VALIDATION_SUCCESS" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json b/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json deleted file mode 100644 index 88507ba38138..000000000000 --- a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json +++ /dev/null @@ -1,2524 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Load Testing", - "description": "These APIs allow end users to create, view and run load tests using Azure Load Test Service.", - "version": "2022-06-01-preview" - }, - "x-ms-parameterized-host": { - "hostTemplate": "{Endpoint}", - "useSchemePrefix": true, - "positionInOperation": "first", - "parameters": [ - { - "$ref": "#/parameters/Endpoint" - } - ] - }, - "schemes": [ - "https" - ], - "paths": { - "/appcomponents/{name}": { - "patch": { - "tags": [ - "AppComponent" - ], - "summary": "Associate an App Component (Azure resource) to a test or test run.", - "operationId": "AppComponent_CreateOrUpdateAppComponents", - "consumes": [ - "application/merge-patch+json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique name of the App Component, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "in": "body", - "name": "body", - "description": "App Component model.", - "required": true, - "schema": { - "$ref": "#/definitions/AppComponentsMap" - } - } - ], - "responses": { - "200": { - "description": "The App Component is updated.", - "schema": { - "$ref": "#/definitions/AppComponentsMap" - } - }, - "201": { - "description": "The app component is created.", - "schema": { - "$ref": "#/definitions/AppComponentsMap" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "CreateOrUpdateAppComponents": { - "$ref": "./examples/CreateOrUpdateAppComponents.json" - } - } - }, - "delete": { - "tags": [ - "AppComponent" - ], - "summary": "Delete an App Component.", - "operationId": "AppComponent_DeleteAppComponent", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique name of the App Component, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "204": { - "description": "The App Component is deleted." - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "DeleteAppComponent": { - "$ref": "./examples/DeleteAppComponent.json" - } - } - }, - "get": { - "tags": [ - "AppComponent" - ], - "summary": "Get App Component details by App Component name.", - "operationId": "AppComponent_GetAppComponentByName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique name of the App Component, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "The requested App Components.", - "schema": { - "$ref": "#/definitions/AppComponentsMap" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetAppComponentByName": { - "$ref": "./examples/GetAppComponentByName.json" - } - } - } - }, - "/appcomponents": { - "get": { - "tags": [ - "AppComponent" - ], - "summary": "Get App Components for a test or a test run by its name.", - "operationId": "AppComponent_GetAppComponent", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "testRunId", - "description": "[Required, if testId is not provided] Test run Id.", - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/TestIdQueryParameter" - } - ], - "responses": { - "200": { - "description": "Requested App Components.", - "schema": { - "$ref": "#/definitions/AppComponentsMap" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetAppComponent": { - "$ref": "./examples/GetAppComponent.json" - } - } - } - }, - "/serverMetricsConfig/{name}": { - "patch": { - "tags": [ - "ServerMetrics" - ], - "summary": "Configure server metrics for a test or test run", - "operationId": "ServerMetrics_CreateOrUpdateServerMetricsConfig", - "consumes": [ - "application/merge-patch+json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique name for server metrics, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "in": "body", - "name": "body", - "description": "Server metrics configuration model", - "required": true, - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - } - ], - "responses": { - "200": { - "description": "The server metrics are updated.", - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - }, - "201": { - "description": "The server metrics are created.", - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "CreateOrUpdateServerMetricsConfig": { - "$ref": "./examples/CreateOrUpdateServerMetricsConfig.json" - } - } - }, - "get": { - "tags": [ - "ServerMetrics" - ], - "summary": "Get server metrics configuration by its name.", - "operationId": "ServerMetrics_GetServerMetricsByName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique name for server metrics, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "Requested server metrics", - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetServerMetricsByName": { - "$ref": "./examples/GetServerMetricsByName.json" - } - } - }, - "delete": { - "tags": [ - "ServerMetrics" - ], - "summary": "Delete server metrics configuration by its name", - "operationId": "ServerMetrics_DeleteServerMetrics", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Unique name for server metrics, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "204": { - "description": "The server metrics configuration is deleted." - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "DeleteServerMetrics": { - "$ref": "./examples/DeleteServerMetrics.json" - } - } - } - }, - "/serverMetricsConfig": { - "get": { - "tags": [ - "ServerMetrics" - ], - "summary": "Get server metrics configuration for a test or test run by its name.", - "operationId": "ServerMetrics_GetServerMetrics", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "testRunId", - "description": "[Required, if testId is not provided] Test run Id.", - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/TestIdQueryParameter" - } - ], - "responses": { - "200": { - "description": "Requested server metrics", - "schema": { - "$ref": "#/definitions/ServerMetricsModel" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetServerMetrics": { - "$ref": "./examples/GetServerMetrics.json" - } - } - } - }, - "/serverMetricsConfig/default": { - "get": { - "tags": [ - "ServerMetrics" - ], - "summary": "Get all default server metrics configuration for supported resource types.", - "operationId": "ServerMetrics_GetServerDefaultMetrics", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "The requested default server metrics", - "schema": { - "$ref": "#/definitions/DefaultServerMetricsConfigListModel" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetServerDefaultMetrics": { - "$ref": "./examples/GetServerDefaultMetrics.json" - } - } - } - }, - "/serverMetricsConfig/supportedResourceTypes": { - "get": { - "tags": [ - "ServerMetrics" - ], - "summary": "Get all supported resource types for App Components(Azure resource types).", - "operationId": "ServerMetrics_ListSupportedResourceType", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "The supported resource types and metrics for server side metrics", - "schema": { - "$ref": "#/definitions/SupportedResourceType" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ListSupportedResourceType": { - "$ref": "./examples/ListSupportedResourceType.json" - } - } - } - }, - "/loadtests/{testId}": { - "patch": { - "tags": [ - "Test" - ], - "summary": "Create a new test or Update an existing test.", - "operationId": "Test_CreateOrUpdateTest", - "consumes": [ - "application/merge-patch+json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/TestIdPathParameter" - }, - { - "in": "body", - "name": "body", - "description": "Load test model", - "required": true, - "schema": { - "$ref": "#/definitions/TestModel" - } - } - ], - "responses": { - "200": { - "description": "The test is updated.", - "schema": { - "$ref": "#/definitions/TestModel" - } - }, - "201": { - "description": "The test is created.", - "schema": { - "$ref": "#/definitions/TestModel" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "CreateOrUpdateTest": { - "$ref": "./examples/CreateOrUpdateTest.json" - } - } - }, - "delete": { - "tags": [ - "Test" - ], - "summary": "Delete a test by its name.", - "operationId": "Test_DeleteLoadTest", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/TestIdPathParameter" - } - ], - "responses": { - "204": { - "description": "The test is deleted" - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "DeleteLoadTest": { - "$ref": "./examples/DeleteLoadTest.json" - } - } - }, - "get": { - "tags": [ - "Test" - ], - "summary": "Get load test details by test name", - "operationId": "Test_GetLoadTest", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/TestIdPathParameter" - } - ], - "responses": { - "200": { - "description": "The requested load test", - "schema": { - "$ref": "#/definitions/TestModel" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetLoadTest": { - "$ref": "./examples/GetLoadTest.json" - } - } - } - }, - "/loadtests/sortAndFilter": { - "get": { - "tags": [ - "Test" - ], - "summary": "Get all load tests by the fully qualified resource Id e.g subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}.", - "operationId": "Test_ListLoadTestSearch", - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "in": "query", - "name": "orderBy", - "description": "Sort on one of the field - lastModifiedDateTime, displayName, createdBy in (field asc/desc) format. eg: displayName asc.", - "type": "string" - }, - { - "in": "query", - "name": "search", - "description": "Filter search based on searchable fields - testId, createdBy.", - "type": "string" - }, - { - "in": "query", - "name": "lastUpdatedStartTime", - "description": "Start DateTime(ISO 8601 literal format) of the last updated time range to filter tests.", - "type": "string", - "format": "date-time" - }, - { - "in": "query", - "name": "lastUpdatedEndTime", - "description": "End DateTime(ISO 8601 literal format) of the last updated time range to filter tests.", - "type": "string", - "format": "date-time" - }, - { - "in": "query", - "name": "continuationToken", - "description": "Continuation token to get the next page of response.", - "type": "string" - }, - { - "in": "query", - "name": "maxPageSize", - "description": "Number of results in response.", - "type": "integer", - "format": "int32", - "default": 50 - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "The requested load tests", - "schema": { - "$ref": "#/definitions/TestModelResourceList" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ListLoadTestSearch": { - "$ref": "./examples/ListLoadTestSearch.json" - } - } - } - }, - "/loadtests/{testId}/files/{fileId}": { - "put": { - "tags": [ - "Test" - ], - "summary": "Upload input file for a given test name. File size can't be more than 50 MB. Existing file with same name for the given test will be overwritten. File should be provided in the request body as multipart/form-data.", - "operationId": "Test_UploadTestFile", - "consumes": [ - "multipart/form-data" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/TestIdPathParameter" - }, - { - "in": "path", - "name": "fileId", - "description": "Unique identifier for test file, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "fileType", - "type": "integer", - "format": "int32", - "description": "Integer representation of the file type (0 = JMX_FILE, 1 = USER_PROPERTIES, 2 = ADDITIONAL_ARTIFACTS)." - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "in": "formData", - "name": "file", - "required": true, - "type": "file", - "description": "The file to be uploaded." - } - ], - "responses": { - "201": { - "description": "The test artifact is uploaded.", - "schema": { - "$ref": "#/definitions/FileUrl" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "UploadTestFile": { - "$ref": "./examples/UploadTestFile.json" - } - } - }, - "get": { - "tags": [ - "Test" - ], - "summary": "Get test file by the file name.", - "operationId": "Test_GetTestFile", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/TestIdPathParameter" - }, - { - "in": "path", - "name": "fileId", - "description": "Unique identifier for test file, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "The requested test file url", - "schema": { - "$ref": "#/definitions/FileUrl" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetTestFile": { - "$ref": "./examples/GetTestFile.json" - } - } - }, - "delete": { - "tags": [ - "Test" - ], - "summary": "Delete file by the file name for a test.", - "operationId": "Test_DeleteTestFile", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/TestIdPathParameter" - }, - { - "in": "path", - "name": "fileId", - "description": "Unique identifier for test file, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "204": { - "description": "The requested file is deleted" - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "DeleteTestFile": { - "$ref": "./examples/DeleteTestFile.json" - } - } - } - }, - "/loadtests/{testId}/files": { - "get": { - "tags": [ - "Test" - ], - "summary": "Get all test files.", - "operationId": "Test_GetAllTestFiles", - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/TestIdPathParameter" - }, - { - "in": "query", - "name": "continuationToken", - "description": "Continuation token to get the next page of response.", - "type": "string" - } - ], - "responses": { - "200": { - "description": "The URLs for the requested test files", - "schema": { - "$ref": "#/definitions/FileUrlList" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetAllTestFiles": { - "$ref": "./examples/GetAllTestFiles.json" - } - } - } - }, - "/testruns/{testRunId}": { - "delete": { - "tags": [ - "TestRun" - ], - "summary": "Delete a test run by its name.", - "operationId": "TestRun_DeleteTestRun", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique name of the load test run, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "204": { - "description": "The test run is deleted." - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "DeleteTestRun": { - "$ref": "./examples/DeleteTestRun.json" - } - } - }, - "patch": { - "tags": [ - "TestRun" - ], - "summary": "Create and start a new test run with the given name.", - "operationId": "TestRun_CreateAndUpdateTest", - "consumes": [ - "application/merge-patch+json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique name of the load test run, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "query", - "name": "oldTestRunId", - "description": "Existing test run Id that should be rerun.", - "type": "string" - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "in": "body", - "name": "body", - "description": "Load test run model", - "required": true, - "schema": { - "$ref": "#/definitions/TestRunModel" - } - } - ], - "responses": { - "200": { - "description": "The test run is updated.", - "schema": { - "$ref": "#/definitions/TestRunModel" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "CreateAndUpdateTestRun": { - "$ref": "./examples/CreateAndUpdateTestRun.json" - } - } - }, - "get": { - "tags": [ - "TestRun" - ], - "summary": "Get test run details by name.", - "operationId": "TestRun_GetTestRun", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique name of load test run, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "The requested test run details", - "schema": { - "$ref": "#/definitions/TestRunModel" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetTestRun": { - "$ref": "./examples/GetTestRun.json" - } - } - } - }, - "/testruns/{testRunId}/files/{fileId}": { - "get": { - "tags": [ - "TestRun" - ], - "summary": "Get test run file by file name.", - "operationId": "TestRun_GetTestRunFile", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique name of load test run, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "in": "path", - "name": "fileId", - "description": "Unique identifier for test run file, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "The URL for the requested test run file", - "schema": { - "$ref": "#/definitions/FileUrl" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetTestRunFile": { - "$ref": "./examples/GetTestRunFile.json" - } - } - } - }, - "/testruns/sortAndFilter": { - "get": { - "tags": [ - "TestRun" - ], - "summary": "Get all test runs with given filters", - "operationId": "TestRun_ListTestRunsSearch", - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "in": "query", - "name": "orderBy", - "description": "Sort on one of the field - status, displayName, executedDateTime in (field asc/desc) format. eg: displayName asc.", - "type": "string" - }, - { - "in": "query", - "name": "continuationToken", - "description": "Continuation token to get the next page of response.", - "type": "string" - }, - { - "in": "query", - "name": "search", - "description": "Filter search based on searchable fields - description, executedUser.", - "type": "string" - }, - { - "in": "query", - "name": "executionFrom", - "description": "The end DateTime(ISO 8601 literal format) of test-run execution time filter range.", - "type": "string", - "format": "date-time" - }, - { - "in": "query", - "name": "executionTo", - "description": "The start DateTime(ISO 8601 literal format) of test-run execution time filter range.", - "type": "string", - "format": "date-time" - }, - { - "in": "query", - "name": "status", - "description": "Comma separated list of test run status, value can be - \"ACCEPTED\", \"NOTSTARTED\",\"PROVISIONING\",\"PROVISIONED\",\"CONFIGURING\",\n\"CONFIGURED\",\"EXECUTING\",\"EXECUTED\",\"DEPROVISIONING\",\"DEPROVISIONED\",\"DONE\",\"CANCELLED\",\"FAILED\".", - "type": "string" - }, - { - "in": "query", - "name": "maxPageSize", - "description": "Number of results in response.", - "type": "integer", - "format": "int32", - "default": 50 - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/TestIdQueryParameter" - } - ], - "responses": { - "200": { - "description": "The requested test runs", - "schema": { - "$ref": "#/definitions/TestRunModelResourceList" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ListTestRunsSearch": { - "$ref": "./examples/ListTestRunsSearch.json" - } - } - } - }, - "/testruns/{testRunId}:stop": { - "post": { - "tags": [ - "TestRun" - ], - "summary": "Stop test run by name.", - "operationId": "TestRun_StopTestRun", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique name of the load test run, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "The requested test run is stopped. Call GET /testruns/{testRunId} to check the status.", - "schema": { - "$ref": "#/definitions/TestRunModel" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "StopTestRun": { - "$ref": "./examples/StopTestRun.json" - } - } - } - }, - "/testruns/{testRunId}/clientMetrics": { - "post": { - "tags": [ - "TestRun" - ], - "summary": "Get all client metrics for a load test run.", - "operationId": "TestRun_GetTestRunClientMetrics", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique name of the load test run, must be a valid URL character ^[a-z0-9_-]*$.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "in": "body", - "name": "body", - "description": "Client metrics request model", - "required": true, - "schema": { - "$ref": "#/definitions/ClientMetricsRequestModel" - } - } - ], - "responses": { - "200": { - "description": "The requested client metrics", - "schema": { - "$ref": "#/definitions/ClientMetricsResults" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetTestRunClientMetrics": { - "$ref": "./examples/GetTestRunClientMetrics.json" - } - } - } - }, - "/testruns/{testRunId}/clientMetricsFilters": { - "get": { - "tags": [ - "TestRun" - ], - "summary": "Get all filters that are supported for client metrics for a given load test run", - "operationId": "TestRun_GetTestRunClientMetricsFilters", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "testRunId", - "description": "Unique name for load test run, must be a valid URL character ^[a-z0-9_-]*$", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "The requested client metrics filters", - "schema": { - "$ref": "#/definitions/ClientMetricsFilters" - } - }, - "default": { - "description": "Load Testing service error response.", - "schema": { - "$ref": "#/definitions/ErrorResponseBody" - }, - "headers": { - "x-ms-error-code": { - "description": "The error code for specific error that occurred.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "GetTestRunClientMetricsFilters": { - "$ref": "./examples/GetTestRunClientMetricsFilters.json" - } - } - } - } - }, - "definitions": { - "AppComponent": { - "description": "An Azure resource object (Refer azure generic resource model : https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id#genericresource)", - "type": "object", - "required": [ - "resourceId", - "resourceName", - "resourceType" - ], - "properties": { - "resourceId": { - "description": "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": "Azure resource display name", - "type": "string" - }, - "resourceGroup": { - "description": "Resource group name of the Azure resource", - "type": "string", - "readOnly": true - }, - "subscriptionId": { - "description": "Subscription Id of the Azure resource", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of Azure resource type", - "type": "string" - } - } - }, - "AppComponentsMap": { - "description": "App Components model", - "required": [ - "value" - ], - "type": "object", - "properties": { - "resourceId": { - "description": "Azure Load Testing resource Id", - "type": "string", - "readOnly": true - }, - "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": "AppComponent name", - "type": "string", - "readOnly": true - }, - "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": "#/definitions/AppComponent" - } - } - } - }, - "ClientMetricsFilters": { - "type": "object", - "properties": { - "testRunId": { - "description": "Test run name for which client metrics filters is required.", - "type": "string" - }, - "filters": { - "$ref": "#/definitions/Filters" - }, - "timeRange": { - "$ref": "#/definitions/TimeRange" - } - } - }, - "ClientMetricsRequestModel": { - "description": "Client metrics request payload", - "required": [ - "endTime", - "startTime" - ], - "type": "object", - "properties": { - "requestSamplers": { - "description": "List of request samplers, maximum supported samplers for queries are 20. In case of empty, it will return metrics for maximum 20 samplers", - "type": "array", - "items": { - "type": "string" - } - }, - "errors": { - "description": "List of errors, maximum supported errors for queries are 20. In case of empty, by default will return metrics for maximum 20 errors", - "type": "array", - "items": { - "type": "string" - } - }, - "percentiles": { - "description": "List of percentiles values for response time, supported values 50,90,99,95. Default value is 50th percentile.", - "type": "array", - "items": { - "type": "string" - } - }, - "groupByInterval": { - "description": "For test duration less than 10 minutes group by time interval can be any one of 5s,10s,1m,5m.\\n\\nFor test duration greater than 10 minutes, group by time interval can be any one of 1m,5m,1h. Default value is 1m.", - "type": "string" - }, - "startTime": { - "format": "date-time", - "description": "Start time", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "End time", - "type": "string" - } - } - }, - "ClientMetricsResults": { - "type": "object", - "properties": { - "testRunId": { - "description": "Test run name for which client metrics results is required.", - "type": "string" - }, - "timeSeries": { - "$ref": "#/definitions/Series" - } - } - }, - "DefaultServerMetricsConfigListModel": { - "description": "Default server metrics config", - "type": "object", - "properties": { - "defaultMetrics": { - "description": "Default metrics map {resourceType : list of metrics config} (Refer for metrics structure: https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition)", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/DefaultServerMetricsConfigModel" - } - } - } - } - }, - "DefaultServerMetricsConfigModel": { - "description": "Metrics config model", - "type": "object", - "properties": { - "metricnamespace": { - "type": "string" - }, - "aggregation": { - "type": "string" - }, - "name": { - "$ref": "#/definitions/LocalizedName" - }, - "unit": { - "type": "string" - }, - "displayDescription": { - "type": "string" - } - } - }, - "Error": { - "description": "Error from a REST request.", - "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": "#/definitions/Error" - } - } - } - }, - "ErrorResponseBody": { - "description": "The definition of an error object.", - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/Error" - } - } - }, - "FileType": { - "description": "Integer representation of the file type (0 = JMX_FILE, 1 = USER_PROPERTIES, 2 = ADDITIONAL_ARTIFACTS)", - "format": "int32", - "enum": [ - 0, - 1, - 2 - ], - "type": "integer" - }, - "FileUrl": { - "description": "FileUrl Model.", - "type": "object", - "properties": { - "url": { - "description": "File URL.", - "type": "string" - }, - "fileId": { - "description": "File unique identifier.", - "type": "string" - }, - "filename": { - "description": "Name of the file.", - "type": "string" - }, - "fileType": { - "$ref": "#/definitions/FileType" - }, - "expireTime": { - "format": "date-time", - "description": "Expiry time of the file", - "type": "string" - }, - "validationStatus": { - "description": "Validation status of the file", - "type": "string" - } - } - }, - "FileUrlList": { - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "description": "List of file URLs.", - "type": "array", - "items": { - "$ref": "#/definitions/FileUrl" - } - }, - "nextLink": { - "description": "Link for the next list of file URLs, if applicable", - "type": "string" - } - } - }, - "Filters": { - "type": "object", - "properties": { - "requestSamplerValues": { - "description": "List of request sampler for the test run, for which client metrics can be filtered.", - "type": "array", - "items": { - "type": "string" - } - }, - "errorFiltersValues": { - "description": "List of errors occurred for the test run, for which client metrics can be filtered.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "InputTestArtifacts": { - "description": "The input artifacts for the test.", - "type": "object", - "properties": { - "configUrl": { - "$ref": "#/definitions/FileUrl" - }, - "testScriptUrl": { - "$ref": "#/definitions/FileUrl" - }, - "userPropUrl": { - "$ref": "#/definitions/FileUrl" - }, - "inputArtifactsZipFileurl": { - "$ref": "#/definitions/FileUrl" - }, - "additionalUrls": { - "description": "The input artifacts file { name : url } map for the test run.", - "type": "array", - "items": { - "$ref": "#/definitions/FileUrl" - }, - "readOnly": true - } - }, - "readOnly": true - }, - "LoadTestConfig": { - "description": "The load test configuration.", - "type": "object", - "properties": { - "engineInstances": { - "format": "int32", - "description": "The number of engine instances to execute load test. Supported values are in range of 1-45. Required for creating a new test.", - "type": "integer" - }, - "splitAllCSVs": { - "description": "Whether all the input CSV files should be split evenly across all engines.", - "type": "boolean" - } - } - }, - "LocalizedName": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "localizedValue": { - "type": "string" - } - } - }, - "OutputTestArtifacts": { - "description": "The output artifacts for the test run.", - "type": "object", - "properties": { - "resultUrl": { - "$ref": "#/definitions/FileUrl" - }, - "logsUrl": { - "$ref": "#/definitions/FileUrl" - } - } - }, - "PassFailCriteria": { - "description": "Pass fail criteria for a test.", - "type": "object", - "properties": { - "passFailMetrics": { - "description": "Map of id and pass fail metrics { id : pass fail metrics }.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/PassFailMetric" - } - } - } - }, - "PassFailMetric": { - "type": "object", - "properties": { - "clientmetric": { - "description": "The client metric on which the criteria should be applied. Allowed values - ‘response_time_ms’ , ‘latency’, ‘error’, ‘requests’, ‘requests_per_sec’.", - "type": "string" - }, - "aggregate": { - "description": "The aggregation function to be applied on the client metric. Allowed functions - ‘percentage’ - for error metric ,‘avg’, ‘p50’, ‘p90’, ‘p95’, ‘p99’, ‘min’, ‘max’ - for response_time_ms and latency metric, ‘avg’ - for requests_per_sec, ‘count’ - for requests.", - "type": "string" - }, - "condition": { - "description": "The comparison operator. Supported types ‘>’ ", - "type": "string" - }, - "requestName": { - "description": "Request name for which the Pass fail criteria has to be applied.", - "type": "string" - }, - "value": { - "format": "double", - "description": "The value to compare with the client metric. Allowed values - ‘error : [0.0 , 100.0] unit- % ’, response_time_ms and latency : any integer value unit- ms.", - "type": "number" - }, - "action": { - "description": "Either ‘stop’ or ‘continue’ after the threshold is met. Default is ‘continue’.", - "type": "string" - }, - "actualValue": { - "format": "double", - "description": "The actual value of the client metric for the test run.", - "type": "number", - "readOnly": true - }, - "result": { - "description": "Outcome of the test run. possible outcome - ‘passed’ , ‘failed’ , ‘undetermined’.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricModel": { - "description": "Associated metric definition for particular metrics of the azure resource ( Refer : https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition).", - "required": [ - "aggregation", - "metricnamespace", - "name", - "resourceId", - "resourceType" - ], - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for metric.", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "Azure resource Id.", - "type": "string" - }, - "metricnamespace": { - "description": "Metric name space.", - "type": "string" - }, - "displayDescription": { - "description": "Metric description.", - "type": "string" - }, - "name": { - "$ref": "#/definitions/ServerMetricName" - }, - "aggregation": { - "description": "Metric aggregation.", - "type": "string" - }, - "unit": { - "description": "Metric unit.", - "type": "string" - }, - "resourceType": { - "description": "Azure resource type.", - "type": "string" - } - } - }, - "SecretMetadata": { - "type": "object", - "properties": { - "value": { - "description": "The value of the secret, of type AKV_SECRET_URI or SECRET_VALUE", - "type": "string" - }, - "type": { - "description": "Type of secret. eg. AKV_SECRET_URI/SECRET_VALUE", - "type": "string" - } - } - }, - "Series": { - "type": "object", - "properties": { - "activeUsers": { - "description": "Active users time series data.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeries" - } - } - }, - "responseTime": { - "description": "Response time, time series data.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeries" - } - } - }, - "throughput": { - "description": "Throughput time series data.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeries" - } - } - }, - "errors": { - "description": "Errors time series data.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeries" - } - } - } - } - }, - "ServerMetricName": { - "description": "Metric name object.", - "required": [ - "localizedValue", - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Metric name value.", - "type": "string" - }, - "localizedValue": { - "description": "Metric localized name.", - "type": "string" - } - } - }, - "ServerMetricsModel": { - "description": "Server metrics config model.", - "type": "object", - "properties": { - "name": { - "description": "Server metrics config name.", - "type": "string", - "readOnly": true - }, - "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" - }, - "metrics": { - "description": "Metrics map {metric id : metrics object} (Refer : https://docs.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition for metric id).", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ResourceMetricModel" - } - } - } - }, - "SupportedResourceType": { - "description": "Supported azure resource types for App Component like Microsoft.LoadTestService/loadtests, Microsoft.ClassicCompute, Microsoft.ClassicStorage etc. (Refer for full list of available resource types in azure : https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types, some of them we are supporting for server side metrics configuration).", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "TestArtifacts": { - "required": [ - "inputArtifacts" - ], - "type": "object", - "readOnly": true, - "properties": { - "inputArtifacts": { - "$ref": "#/definitions/InputTestArtifacts" - }, - "outputArtifacts": { - "$ref": "#/definitions/OutputTestArtifacts" - } - } - }, - "TestModel": { - "description": "Load test model", - "type": "object", - "properties": { - "testId": { - "description": "Unique test name as identifier.", - "maxLength": 50, - "minLength": 2, - "type": "string", - "readOnly": true - }, - "description": { - "description": "The test description.", - "maxLength": 100, - "type": "string" - }, - "displayName": { - "description": "Display name of a test.", - "maxLength": 50, - "minLength": 2, - "type": "string" - }, - "resourceId": { - "description": "Fully qualified resource Id e.g /subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.LoadTestService/loadtests/{resName}.", - "type": "string", - "readOnly": true - }, - "loadTestConfig": { - "$ref": "#/definitions/LoadTestConfig" - }, - "passFailCriteria": { - "$ref": "#/definitions/PassFailCriteria" - }, - "createdDateTime": { - "format": "date-time", - "description": "The created DateTime(ISO 8601 literal format) of the test model.", - "type": "string", - "readOnly": true - }, - "createdBy": { - "description": "The user that created the test model.", - "type": "string", - "readOnly": true - }, - "lastModifiedDateTime": { - "format": "date-time", - "description": "The last Modified DateTime(ISO 8601 literal format) of the test model.", - "type": "string", - "readOnly": true - }, - "lastModifiedBy": { - "description": "The user that last modified the test model.", - "type": "string", - "readOnly": true - }, - "inputArtifacts": { - "$ref": "#/definitions/InputTestArtifacts" - }, - "secrets": { - "description": "Secrets can be stored in an Azure Key Vault or any other secret store. If the secret is stored in an Azure Key Vault, the value should be the secret identifier and the type should be AKV_SECRET_URI. If the secret is stored elsewhere, the secret value should be provided directly and the type should be SECRET_VALUE.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/SecretMetadata" - } - }, - "environmentVariables": { - "description": "Environment variables which are defined as a set of pairs.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "subnetId": { - "description": "Subnet ID on which the load test instances should run.", - "type": "string" - }, - "keyvaultReferenceIdentityType": { - "description": "Type of the managed identity referencing the Key vault.", - "type": "string" - }, - "keyvaultReferenceIdentityId": { - "description": "Resource Id of the managed identity referencing the Key vault.", - "type": "string" - } - } - }, - "TestModelResourceList": { - "description": "List of Resources", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "List of Resources", - "type": "array", - "items": { - "$ref": "#/definitions/TestModel" - } - }, - "nextLink": { - "description": "Link for the next list of resources in case of paginated results, if applicable", - "type": "string" - } - } - }, - "TestRunModel": { - "description": "Load test run model", - "type": "object", - "properties": { - "testRunId": { - "description": "Unique test run name as identifier.", - "type": "string", - "readOnly": true - }, - "displayName": { - "description": "Display name of a test run.", - "maxLength": 50, - "minLength": 2, - "type": "string" - }, - "testId": { - "description": "Associated test Id.", - "maxLength": 50, - "minLength": 2, - "type": "string" - }, - "resourceId": { - "description": "Load test resource Id.", - "type": "string", - "readOnly": true - }, - "description": { - "description": "The test run description.", - "maxLength": 100, - "type": "string" - }, - "status": { - "description": "The test run status.", - "type": "string", - "readOnly": true - }, - "startDateTime": { - "format": "date-time", - "description": "The test run start DateTime(ISO 8601 literal format).", - "type": "string", - "readOnly": true - }, - "endDateTime": { - "format": "date-time", - "description": "The test run end DateTime(ISO 8601 literal format).", - "type": "string", - "readOnly": true - }, - "loadTestConfig": { - "$ref": "#/definitions/LoadTestConfig" - }, - "testResult": { - "description": "Test result for pass/Fail criteria used during the test run. possible outcome - ‘Passed’ , ‘Failed’ , ‘Not Applicable’.", - "type": "string", - "readOnly": true - }, - "passFailCriteria": { - "$ref": "#/definitions/PassFailCriteria" - }, - "testArtifacts": { - "$ref": "#/definitions/TestArtifacts" - }, - "executedDateTime": { - "format": "date-time", - "description": "Test run initiated time", - "type": "string", - "readOnly": true - }, - "vusers": { - "format": "int32", - "description": "Number of virtual users, for which test has been run.", - "type": "integer", - "readOnly": true - }, - "testRunStatistics": { - "description": "Test run statistics", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/TestRunStatisticsModel" - }, - "readOnly": true - }, - "createdDateTime": { - "format": "date-time", - "description": "The created DateTime(ISO 8601 literal format) of the test run.", - "type": "string", - "readOnly": true - }, - "createdBy": { - "description": "The user that created the test run.", - "type": "string", - "readOnly": true - }, - "lastModifiedDateTime": { - "format": "date-time", - "description": "The last updated DateTime(ISO 8601 literal format) of the test run.", - "type": "string", - "readOnly": true - }, - "lastModifiedBy": { - "description": "The user that updated the test run.", - "type": "string", - "readOnly": true - }, - "portalUrl": { - "description": "Portal url.", - "type": "string", - "readOnly": true - }, - "secrets": { - "description": "Secrets can be stored in an Azure Key Vault or any other secret store. If the secret is stored in an Azure Key Vault, the value should be the secret identifier and the type should be AKV_SECRET_URI. If the secret is stored elsewhere, the secret value should be provided directly and the type should be SECRET_VALUE.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/SecretMetadata" - } - }, - "environmentVariables": { - "description": "Environment variables which are defined as a set of pairs.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "duration": { - "format": "int64", - "description": "Test run duration in milliseconds.", - "type": "integer", - "readOnly": true - }, - "subnetId": { - "description": "Subnet ID on which the load test instances should run.", - "type": "string", - "readOnly": true - } - } - }, - "TestRunModelResourceList": { - "description": "List of Resources", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "List of Resources", - "type": "array", - "items": { - "$ref": "#/definitions/TestRunModel" - } - }, - "nextLink": { - "description": "Link for the next list of resources in case of paginated results, if applicable", - "type": "string" - } - } - }, - "TestRunStatisticsModel": { - "description": "Test run statistics.", - "type": "object", - "properties": { - "transaction": { - "description": "Transaction name.", - "type": "string", - "readOnly": true - }, - "sampleCount": { - "format": "double", - "description": "Sampler count.", - "type": "number", - "readOnly": true - }, - "errorCount": { - "format": "double", - "description": "Error count.", - "type": "number", - "readOnly": true - }, - "errorPct": { - "format": "double", - "description": "Error percentage.", - "type": "number", - "readOnly": true - }, - "meanResTime": { - "format": "double", - "description": "Mean response time.", - "type": "number", - "readOnly": true - }, - "medianResTime": { - "format": "double", - "description": "Median response time.", - "type": "number", - "readOnly": true - }, - "maxResTime": { - "format": "double", - "description": "Max response time.", - "type": "number", - "readOnly": true - }, - "minResTime": { - "format": "double", - "description": "Minimum response time.", - "type": "number", - "readOnly": true - }, - "pct1ResTime": { - "format": "double", - "description": "90 percentile response time.", - "type": "number", - "readOnly": true - }, - "pct2ResTime": { - "format": "double", - "description": "95 percentile response time.", - "type": "number", - "readOnly": true - }, - "pct3ResTime": { - "format": "double", - "description": "99 percentile response time.", - "type": "number", - "readOnly": true - }, - "throughput": { - "format": "double", - "description": "Throughput.", - "type": "number", - "readOnly": true - }, - "receivedKBytesPerSec": { - "format": "double", - "description": "Received network bytes.", - "type": "number", - "readOnly": true - }, - "sentKBytesPerSec": { - "format": "double", - "description": "Sent network bytes.", - "type": "number", - "readOnly": true - } - }, - "readOnly": true - }, - "TimeRange": { - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "start DateTime(ISO 8601 literal format) for the requested client metrics filter.", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "end DateTime(ISO 8601 literal format) for the requested client metrics filter.", - "type": "string" - } - } - }, - "TimeSeries": { - "type": "object", - "properties": { - "timestamp": { - "format": "date-time", - "description": "Timestamp(ISO 8601 literal format).", - "type": "string" - }, - "value": { - "format": "double", - "description": "Value at timestamp.", - "type": "number" - } - } - } - }, - "parameters": { - "ApiVersion": { - "in": "query", - "type": "string", - "name": "api-version", - "description": "API version", - "required": true - }, - "TestIdQueryParameter": { - "x-ms-parameter-location": "method", - "in": "query", - "name": "testId", - "description": "Unique name for load test, must be a valid URL character ^[a-z0-9_-]*$.", - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - "TestIdPathParameter": { - "x-ms-parameter-location": "method", - "in": "path", - "name": "testId", - "required": true, - "description": "Unique name for load test, must be a valid URL character ^[a-z0-9_-]*$.", - "type": "string", - "maxLength": 50, - "minLength": 2, - "pattern": "^[a-z0-9_-]*$" - }, - "Endpoint": { - "in": "path", - "name": "Endpoint", - "description": "URL to perform data plane API operations on the resource.", - "required": true, - "type": "string", - "format": "uri", - "x-ms-parameter-location": "client", - "x-ms-skip-url-encoding": true - } - }, - "securityDefinitions": { - "oauth2": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "https://loadtest.azure-dev.com/.default": "OAuth2 scope for Azure Load Test Service" - } - } - } -} diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/DeleteTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/DeleteTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/DeleteTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/DeleteTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/DeleteTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/DeleteTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/DeleteTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/DeleteTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/DeleteTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/DeleteTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/DeleteTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/DeleteTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/GetTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/GetTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/GetTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/GetTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/GetTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/GetTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/GetTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/GetTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/GetTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/GetTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/GetTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/GetTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/GetTestRunFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/GetTestRunFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/GetTestRunFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/GetTestRunFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListMetricDimensionValues.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListMetricDimensionValues.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListMetricDimensionValues.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListMetricDimensionValues.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestFiles.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestFiles.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestFiles.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestFiles.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunMetrics.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunMetrics.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunMetrics.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunMetrics.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunMetricsDefinitions.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunMetricsDefinitions.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunMetricsDefinitions.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunMetricsDefinitions.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunMetricsNamespaces.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunMetricsNamespaces.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunMetricsNamespaces.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunMetricsNamespaces.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRuns.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRuns.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestRuns.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestRuns.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTests.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTests.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/ListTests.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/ListTests.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/StopTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/StopTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/StopTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/StopTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/UploadTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/UploadTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/examples/UploadTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/examples/UploadTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json b/specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/loadtestservice.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2023-04-01-preview/loadtestservice.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/DeleteTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/DeleteTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/DeleteTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/DeleteTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/DeleteTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/DeleteTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/DeleteTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/DeleteTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/DeleteTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/DeleteTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/DeleteTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/DeleteTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/GetTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/GetTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/GetTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/GetTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/GetTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/GetTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/GetTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/GetTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/GetTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/GetTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/GetTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/GetTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/GetTestRunFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/GetTestRunFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/GetTestRunFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/GetTestRunFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListMetricDimensionValues.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListMetricDimensionValues.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListMetricDimensionValues.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListMetricDimensionValues.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestFiles.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestFiles.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestFiles.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestFiles.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunMetrics.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunMetrics.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunMetrics.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunMetrics.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunMetricsDefinitions.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunMetricsDefinitions.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunMetricsDefinitions.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunMetricsDefinitions.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunMetricsNamespaces.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunMetricsNamespaces.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunMetricsNamespaces.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunMetricsNamespaces.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRuns.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRuns.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestRuns.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestRuns.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTests.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTests.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/ListTests.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/ListTests.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/StopTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/StopTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/StopTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/StopTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/UploadTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/UploadTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/examples/UploadTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/examples/UploadTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/loadtestservice.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/loadtestservice.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-03-01-preview/loadtestservice.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-03-01-preview/loadtestservice.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfileRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfileRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfileRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestProfileRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTestProfile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTestProfile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTestProfile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTestProfile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTestProfileRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTestProfileRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTestProfileRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTestProfileRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/DeleteTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/DeleteTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestProfile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestProfile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executed.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestProfileRun_Executed.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executed.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestProfileRun_Executed.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executing.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestProfileRun_Executing.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestProfileRun_Executing.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestProfileRun_Executing.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestRunFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestRunFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/GetTestRunFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/GetTestRunFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListMetricDimensionValues.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListMetricDimensionValues.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListMetricDimensionValues.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListMetricDimensionValues.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestFiles.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestFiles.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestFiles.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestFiles.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfileRuns.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestProfileRuns.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfileRuns.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestProfileRuns.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfiles.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestProfiles.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestProfiles.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestProfiles.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunMetrics.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunMetrics.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunMetrics.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunMetrics.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunMetricsDefinitions.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunMetricsDefinitions.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunMetricsDefinitions.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunMetricsDefinitions.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunMetricsNamespaces.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunMetricsNamespaces.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunMetricsNamespaces.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunMetricsNamespaces.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRuns.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRuns.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestRuns.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestRuns.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTests.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTests.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/ListTests.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/ListTests.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/StopTestProfileRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/StopTestProfileRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/StopTestProfileRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/StopTestProfileRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/StopTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/StopTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/StopTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/StopTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/UploadTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/UploadTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/examples/UploadTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/examples/UploadTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/loadtestservice.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/loadtestservice.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/loadtestservice.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-05-01-preview/loadtestservice.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestProfile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestProfile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestProfile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestProfile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestProfileRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestProfileRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestProfileRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestProfileRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTrigger.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTrigger.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/CreateOrUpdateTrigger.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/CreateOrUpdateTrigger.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTestProfile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTestProfile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTestProfile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTestProfile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTestProfileRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTestProfileRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTestProfileRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTestProfileRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTrigger.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTrigger.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/DeleteTrigger.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/DeleteTrigger.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestProfile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestProfile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestProfile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestProfile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestProfileRun_Executed.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestProfileRun_Executed.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestProfileRun_Executed.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestProfileRun_Executed.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestProfileRun_Executing.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestProfileRun_Executing.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestProfileRun_Executing.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestProfileRun_Executing.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestRunFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestRunFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTestRunFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTestRunFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTrigger.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTrigger.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/GetTrigger.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/GetTrigger.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListMetricDimensionValues.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListMetricDimensionValues.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListMetricDimensionValues.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListMetricDimensionValues.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestFiles.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestFiles.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestFiles.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestFiles.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestProfileRuns.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestProfileRuns.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestProfileRuns.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestProfileRuns.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestProfiles.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestProfiles.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestProfiles.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestProfiles.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunMetrics.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunMetrics.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunMetrics.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunMetrics.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunMetricsDefinitions.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunMetricsDefinitions.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunMetricsDefinitions.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunMetricsDefinitions.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunMetricsNamespaces.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunMetricsNamespaces.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunMetricsNamespaces.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunMetricsNamespaces.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRuns.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRuns.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestRuns.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestRuns.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTests.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTests.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTests.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTests.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTriggers.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTriggers.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/ListTriggers.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/ListTriggers.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/StopTestProfileRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/StopTestProfileRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/StopTestProfileRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/StopTestProfileRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/StopTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/StopTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/StopTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/StopTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/UploadTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/UploadTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/examples/UploadTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/examples/UploadTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/loadtestservice.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/loadtestservice.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/loadtestservice.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-07-01-preview/loadtestservice.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateNotificationRule.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateNotificationRule.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateNotificationRule.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateNotificationRule.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestProfile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestProfile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestProfile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestProfile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestProfileRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestProfileRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestProfileRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestProfileRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTrigger.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTrigger.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/CreateOrUpdateTrigger.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/CreateOrUpdateTrigger.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteNotificationRule.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteNotificationRule.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteNotificationRule.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteNotificationRule.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTestProfile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTestProfile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTestProfile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTestProfile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTestProfileRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTestProfileRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTestProfileRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTestProfileRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTrigger.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTrigger.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/DeleteTrigger.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/DeleteTrigger.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetNotificationRule.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetNotificationRule.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetNotificationRule.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetNotificationRule.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTest.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTest.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestProfile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestProfile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestProfile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestProfile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestProfileRun_Executed.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestProfileRun_Executed.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestProfileRun_Executed.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestProfileRun_Executed.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestProfileRun_Executing.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestProfileRun_Executing.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestProfileRun_Executing.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestProfileRun_Executing.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestRunFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestRunFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTestRunFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTestRunFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTrigger.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTrigger.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/GetTrigger.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/GetTrigger.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListMetricDimensionValues.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListMetricDimensionValues.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListMetricDimensionValues.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListMetricDimensionValues.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListNotificationRules.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListNotificationRules.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListNotificationRules.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListNotificationRules.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestFiles.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestFiles.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestFiles.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestFiles.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestProfileRuns.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestProfileRuns.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestProfileRuns.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestProfileRuns.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestProfiles.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestProfiles.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestProfiles.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestProfiles.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunMetrics.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunMetrics.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunMetrics.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunMetrics.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunMetricsDefinitions.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunMetricsDefinitions.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunMetricsDefinitions.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunMetricsDefinitions.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunMetricsNamespaces.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunMetricsNamespaces.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunMetricsNamespaces.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunMetricsNamespaces.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRuns.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRuns.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestRuns.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestRuns.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTests.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTests.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTests.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTests.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTriggers.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTriggers.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/ListTriggers.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/ListTriggers.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/StopTestProfileRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/StopTestProfileRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/StopTestProfileRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/StopTestProfileRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/StopTestRun.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/StopTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/StopTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/StopTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/UploadTestFile.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/UploadTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/examples/UploadTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/examples/UploadTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/loadtestservice.json b/specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/loadtestservice.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/loadtestservice.json rename to specification/loadtestservice/data-plane/loadtesting/preview/2024-12-01-preview/loadtestservice.json diff --git a/specification/loadtestservice/data-plane/readme.md b/specification/loadtestservice/data-plane/loadtesting/readme.md similarity index 58% rename from specification/loadtestservice/data-plane/readme.md rename to specification/loadtestservice/data-plane/loadtesting/readme.md index 53492d5993ef..658480ef59a7 100644 --- a/specification/loadtestservice/data-plane/readme.md +++ b/specification/loadtestservice/data-plane/loadtesting/readme.md @@ -27,13 +27,22 @@ tag: package-2022-11-01 title: LoadTestingClient ``` +### Tag: package-2024-12-01-preview + +These settings apply only when `--tag=package-2024-12-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-12-01-preview' +input-file: + - preview/2024-12-01-preview/loadtestservice.json +``` + ### Tag: package-2024-07-01-preview These settings apply only when `--tag=package-2024-07-01-preview` is specified on the command line. ```yaml $(tag) == 'package-2024-07-01-preview' input-file: - - Microsoft.LoadTestService/preview/2024-07-01-preview/loadtestservice.json + - preview/2024-07-01-preview/loadtestservice.json ``` ### Tag: package-2024-05-01-preview @@ -42,7 +51,7 @@ These settings apply only when `--tag=package-2024-05-01-preview` is specified o ```yaml $(tag) == 'package-2024-05-01-preview' input-file: - - Microsoft.LoadTestService/preview/2024-05-01-preview/loadtestservice.json + - preview/2024-05-01-preview/loadtestservice.json ``` @@ -52,7 +61,7 @@ These settings apply only when `--tag=package-2024-03-01-preview` is specified o ```yaml $(tag) == 'package-2024-03-01-preview' input-file: - - Microsoft.LoadTestService/preview/2024-03-01-preview/loadtestservice.json + - preview/2024-03-01-preview/loadtestservice.json ``` ### Tag: package-2023-04-01-preview @@ -61,7 +70,7 @@ These settings apply only when `--tag=package-2023-04-01-preview` is specified o ```yaml $(tag) == 'package-2023-04-01-preview' input-file: - - Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json + - preview/2023-04-01-preview/loadtestservice.json ``` ### Tag: package-2022-11-01 @@ -70,38 +79,6 @@ These settings apply only when `--tag=package-2022-11-01` is specified on the co ```yaml $(tag) == 'package-2022-11-01' input-file: - - Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json -``` - -### Tag: package-2022-06-01-preview - -These settings apply only when `--tag=package-2022-06-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-06-01-preview' -input-file: - - Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json -``` - -### Tag: package-2021-07-01-preview - -These settings apply only when `--tag=package-2021-07-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2021-07-01-preview' -input-file: - - Microsoft.LoadTestService/preview/2021-07-01-preview/loadtestservice.json -``` - -## Code Generation - -### Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -```yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-js - - repo: azure-sdk-for-python - - repo: azure-sdk-for-java - - repo: azure-sdk-for-net + - stable/2022-11-01/loadtestservice.json ``` +--- \ No newline at end of file diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTest.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTest.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestRun.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/CreateOrUpdateTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/CreateOrUpdateTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/DeleteTest.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/DeleteTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/DeleteTest.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/DeleteTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/DeleteTestFile.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/DeleteTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/DeleteTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/DeleteTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/DeleteTestRun.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/DeleteTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/DeleteTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/DeleteTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/GetTest.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/GetTest.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/GetTest.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/GetTest.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/GetTestFile.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/GetTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/GetTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/GetTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/GetTestRun.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/GetTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/GetTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/GetTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/GetTestRunFile.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/GetTestRunFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/GetTestRunFile.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/GetTestRunFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListMetricDimensionValues.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListMetricDimensionValues.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListMetricDimensionValues.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListMetricDimensionValues.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestFiles.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestFiles.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestFiles.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestFiles.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunAppComponents.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunAppComponents.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunAppComponents.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunAppComponents.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunMetrics.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunMetrics.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunMetrics.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunMetrics.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunMetricsDefinitions.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunMetricsDefinitions.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunMetricsDefinitions.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunMetricsDefinitions.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunMetricsNamespaces.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunMetricsNamespaces.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunMetricsNamespaces.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunMetricsNamespaces.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRunServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRunServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRuns.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRuns.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestRuns.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestRuns.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestServerMetricsConfig.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestServerMetricsConfig.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTestServerMetricsConfig.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTestServerMetricsConfig.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTests.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTests.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/ListTests.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/ListTests.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/StopTestRun.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/StopTestRun.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/StopTestRun.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/StopTestRun.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/UploadTestFile.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/UploadTestFile.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/examples/UploadTestFile.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/examples/UploadTestFile.json diff --git a/specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json b/specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/loadtestservice.json similarity index 100% rename from specification/loadtestservice/data-plane/Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json rename to specification/loadtestservice/data-plane/loadtesting/stable/2022-11-01/loadtestservice.json diff --git a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_CreateOrReplace.json b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_CreateOrReplace.json new file mode 100644 index 000000000000..e3a84634f3b9 --- /dev/null +++ b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_CreateOrReplace.json @@ -0,0 +1,35 @@ +{ + "title": "AccessTokens_CreateOrReplace", + "operationId": "AccessTokens_CreateOrReplace", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "accessTokenId": "00000000-0000-0000-0000-000000000000", + "resource": { + "name": "sampleAccessToken", + "expiryAt": "2022-09-28T12:32:33Z" + } + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "name": "sampleAccessToken", + "jwtToken": "sampleJwtToken", + "createdAt": "2021-09-28T12:32:33Z", + "expiryAt": "2022-09-28T12:32:33Z", + "state": "Active" + } + }, + "201": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "name": "sampleAccessToken", + "jwtToken": "sampleJwtToken", + "createdAt": "2021-09-28T12:32:33Z", + "expiryAt": "2022-09-28T12:32:33Z", + "state": "Active" + } + } + } +} diff --git a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_Delete.json b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_Delete.json new file mode 100644 index 000000000000..7d0538a603f0 --- /dev/null +++ b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_Delete.json @@ -0,0 +1,12 @@ +{ + "title": "AccessTokens_Delete", + "operationId": "AccessTokens_Delete", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "accessTokenId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + } +} diff --git a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_Get.json b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_Get.json new file mode 100644 index 000000000000..a21f147320b1 --- /dev/null +++ b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_Get.json @@ -0,0 +1,20 @@ +{ + "title": "AccessTokens_Get", + "operationId": "AccessTokens_Get", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "accessTokenId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "name": "sampleAccessToken", + "createdAt": "2021-09-28T12:32:33Z", + "expiryAt": "2022-09-28T12:32:33Z", + "state": "Active" + } + } + } +} diff --git a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_List.json b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_List.json new file mode 100644 index 000000000000..cac2848c194d --- /dev/null +++ b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/AccessTokens_List.json @@ -0,0 +1,24 @@ +{ + "title": "AccessTokens_List", + "operationId": "AccessTokens_List", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "00000000-0000-0000-0000-000000000000", + "name": "sampleAccessToken", + "createdAt": "2021-09-28T12:32:33Z", + "expiryAt": "2022-09-28T12:32:33Z", + "state": "Active" + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/TestRuns_CreateOrUpdate.json b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/TestRuns_CreateOrUpdate.json new file mode 100644 index 000000000000..ce57a833c4b3 --- /dev/null +++ b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/TestRuns_CreateOrUpdate.json @@ -0,0 +1,86 @@ +{ + "title": "TestRuns_CreateOrUpdate", + "operationId": "TestRuns_CreateOrUpdate", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "runId": "00000000-0000-0000-0000-000000000000", + "resource": { + "displayName": "sampleTestRun" + } + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "displayName": "sampleTestRun", + "creatorId": "string", + "creatorName": "string", + "config": { + "framework": { + "name": "string", + "version": "string", + "runnerName": "string" + }, + "sdkLanguage": "JAVASCRIPT", + "maxWorkers": 10 + }, + "ciConfig": { + "providerName": "string", + "branch": "string", + "author": "string", + "commitId": "string", + "revisionUrl": "string" + }, + "summary": { + "status": "RUNNING", + "billableTime": 0, + "numBrowserSessions": 1, + "maxConcurrentBrowserSessions": 10, + "startTime": "2025-06-06T11:43:28.954Z", + "endTime": "2025-06-06T11:43:28.954Z", + "duration": 0, + "errorMessages": [ + "string" + ] + } + } + }, + "201": { + "body": { + "id": "00000000-0000-0000-0000-000000000000", + "displayName": "sampleTestRun", + "creatorId": "string", + "creatorName": "string", + "config": { + "framework": { + "name": "string", + "version": "string", + "runnerName": "string" + }, + "sdkLanguage": "JAVASCRIPT", + "maxWorkers": 10 + }, + "ciConfig": { + "providerName": "string", + "branch": "string", + "author": "string", + "commitId": "string", + "revisionUrl": "string" + }, + "summary": { + "status": "RUNNING", + "billableTime": 0, + "numBrowserSessions": 1, + "maxConcurrentBrowserSessions": 10, + "startTime": "2025-06-06T11:43:28.954Z", + "endTime": "2025-06-06T11:43:28.954Z", + "duration": 0, + "errorMessages": [ + "string" + ] + } + } + } + } +} diff --git a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/TestRuns_List.json b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/TestRuns_List.json new file mode 100644 index 000000000000..c2bd72d8000a --- /dev/null +++ b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/TestRuns_List.json @@ -0,0 +1,51 @@ +{ + "title": "TestRuns_List", + "operationId": "TestRuns_List", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "00000000-0000-0000-0000-000000000000", + "displayName": "string", + "creatorId": "string", + "creatorName": "string", + "config": { + "framework": { + "name": "string", + "version": "string", + "runnerName": "string" + }, + "sdkLanguage": "JAVASCRIPT", + "maxWorkers": 10 + }, + "ciConfig": { + "providerName": "string", + "branch": "string", + "author": "string", + "commitId": "string", + "revisionUrl": "string" + }, + "summary": { + "status": "RUNNING", + "billableTime": 0, + "numBrowserSessions": 1, + "maxConcurrentBrowserSessions": 10, + "startTime": "2025-06-06T11:43:28.954Z", + "endTime": "2025-06-06T11:43:28.954Z", + "duration": 0, + "errorMessages": [ + "string" + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/Workspaces_GetBrowsers.json b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/Workspaces_GetBrowsers.json new file mode 100644 index 000000000000..9f379401aa8f --- /dev/null +++ b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/examples/Workspaces_GetBrowsers.json @@ -0,0 +1,16 @@ +{ + "title": "Workspaces_GetBrowsers", + "operationId": "Workspaces_GetBrowsers", + "parameters": { + "api-version": "2025-07-01-preview", + "workspaceId": "00000000-0000-0000-0000-000000000000", + "os": "Linux" + }, + "responses": { + "302": { + "headers": { + "location": "wss://{region}.api.playwright.microsoft.com/redirectURL?api-version=2025-07-01-preview&os=Linux" + } + } + } +} diff --git a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/playwright.json b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/playwright.json new file mode 100644 index 000000000000..f0149b64d8f7 --- /dev/null +++ b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/playwright.json @@ -0,0 +1,1102 @@ +{ + "swagger": "2.0", + "info": { + "title": "Playwright Service API", + "version": "2025-07-01-preview", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "x-ms-parameterized-host": { + "hostTemplate": "{endpoint}", + "useSchemePrefix": false, + "parameters": [ + { + "name": "endpoint", + "in": "path", + "description": "Supported Playwright Service API Endpoints (protocol and hostname) formatted as https://{region}.api.playwright.microsoft.com.\nYou can also find this value in the Azure Playwright Workspace property, such as `dataplaneUri`.", + "required": true, + "type": "string" + } + ] + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "OAuth2Auth": [ + "https://playwright.microsoft.com/.default" + ] + } + ], + "securityDefinitions": { + "OAuth2Auth": { + "type": "oauth2", + "flow": "accessCode", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "https://playwright.microsoft.com/.default": "" + }, + "tokenUrl": "https://login.microsoftonline.com/common/v2.0/oauth2/token" + } + }, + "tags": [], + "paths": { + "/playwrightworkspaces/{workspaceId}/access-tokens": { + "get": { + "operationId": "AccessTokens_List", + "description": "Lists access-tokens for the given workspace id. It can use OData query params like $select, $filter, $orderby, $top and $skip. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "workspaceId", + "in": "path", + "description": "The workspace id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "$ref": "#/parameters/Azure.Core.ClientRequestIdHeader" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PagedAccessToken" + }, + "headers": { + "x-ms-client-request-id": { + "type": "string", + "format": "uuid", + "description": "An opaque, globally-unique, client-generated string identifier for the request." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "AccessTokens_List": { + "$ref": "./examples/AccessTokens_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/playwrightworkspaces/{workspaceId}/access-tokens/{accessTokenId}": { + "get": { + "operationId": "AccessTokens_Get", + "description": "Gets an access-token for the workspace with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "workspaceId", + "in": "path", + "description": "The workspace id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "name": "accessTokenId", + "in": "path", + "description": "The access-token id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "$ref": "#/parameters/Azure.Core.ClientRequestIdHeader" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AccessToken" + }, + "headers": { + "x-ms-client-request-id": { + "type": "string", + "format": "uuid", + "description": "An opaque, globally-unique, client-generated string identifier for the request." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "AccessTokens_Get": { + "$ref": "./examples/AccessTokens_Get.json" + } + } + }, + "put": { + "operationId": "AccessTokens_CreateOrReplace", + "description": "Creates an access-token for the workspace with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "workspaceId", + "in": "path", + "description": "The workspace id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "name": "accessTokenId", + "in": "path", + "description": "The access-token id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "$ref": "#/parameters/Azure.Core.ClientRequestIdHeader" + }, + { + "name": "resource", + "in": "body", + "description": "The resource instance.", + "required": true, + "schema": { + "$ref": "#/definitions/AccessToken" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AccessToken" + }, + "headers": { + "x-ms-client-request-id": { + "type": "string", + "format": "uuid", + "description": "An opaque, globally-unique, client-generated string identifier for the request." + } + } + }, + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", + "schema": { + "$ref": "#/definitions/AccessToken" + }, + "headers": { + "x-ms-client-request-id": { + "type": "string", + "format": "uuid", + "description": "An opaque, globally-unique, client-generated string identifier for the request." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "AccessTokens_CreateOrReplace": { + "$ref": "./examples/AccessTokens_CreateOrReplace.json" + } + } + }, + "delete": { + "operationId": "AccessTokens_Delete", + "description": "Deletes an access-token for the workspace with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "workspaceId", + "in": "path", + "description": "The workspace id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "name": "accessTokenId", + "in": "path", + "description": "The access-token id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "$ref": "#/parameters/Azure.Core.ClientRequestIdHeader" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful. ", + "headers": { + "x-ms-client-request-id": { + "type": "string", + "format": "uuid", + "description": "An opaque, globally-unique, client-generated string identifier for the request." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "AccessTokens_Delete": { + "$ref": "./examples/AccessTokens_Delete.json" + } + } + } + }, + "/playwrightworkspaces/{workspaceId}/browsers": { + "get": { + "operationId": "Workspaces_GetBrowsers", + "description": "Gets remote browsers corresponding to given workspace id and redirects the client for executing Playwright scripts. Authorization required is Bearer JWT Access token provided by EntraID or Playwright Service.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "workspaceId", + "in": "path", + "description": "The workspace id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "name": "os", + "in": "query", + "description": "The os provided by client for remote script runs.", + "required": true, + "type": "string", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OS", + "modelAsString": true, + "values": [ + { + "name": "Linux", + "value": "Linux", + "description": "Linux OS." + }, + { + "name": "Windows", + "value": "Windows", + "description": "Windows OS." + } + ] + } + }, + { + "name": "runId", + "in": "query", + "description": "The runId provided by client in GUID format.", + "required": false, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "$ref": "#/parameters/Azure.Core.ClientRequestIdHeader" + } + ], + "responses": { + "302": { + "description": "Redirection", + "headers": { + "location": { + "type": "string", + "format": "uri", + "description": "The redirect target URL to run script on remote browsers." + }, + "x-ms-client-request-id": { + "type": "string", + "format": "uuid", + "description": "An opaque, globally-unique, client-generated string identifier for the request." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "Workspaces_GetBrowsers": { + "$ref": "./examples/Workspaces_GetBrowsers.json" + } + } + } + }, + "/playwrightworkspaces/{workspaceId}/test-runs": { + "get": { + "operationId": "TestRuns_List", + "description": "Lists test-runs for the given workspace id. It can use OData query params like $filter, $top etc. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID or Playwright Service.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "workspaceId", + "in": "path", + "description": "The workspace id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "$ref": "#/parameters/Azure.Core.ClientRequestIdHeader" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PagedTestRun" + }, + "headers": { + "x-ms-client-request-id": { + "type": "string", + "format": "uuid", + "description": "An opaque, globally-unique, client-generated string identifier for the request." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "TestRuns_List": { + "$ref": "./examples/TestRuns_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/playwrightworkspaces/{workspaceId}/test-runs/{runId}": { + "patch": { + "operationId": "TestRuns_CreateOrUpdate", + "description": "Creates/Updates a test-run for the workspace with given test-run id. Authorization required is Bearer JWT Access token provided by EntraID or Playwright Service.", + "consumes": [ + "application/merge-patch+json" + ], + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "workspaceId", + "in": "path", + "description": "The workspace id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "name": "runId", + "in": "path", + "description": "The test-run id in GUID format.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+" + }, + { + "$ref": "#/parameters/Azure.Core.ClientRequestIdHeader" + }, + { + "name": "resource", + "in": "body", + "description": "The resource instance.", + "required": true, + "schema": { + "$ref": "#/definitions/TestRunCreateOrUpdate" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/TestRun" + }, + "headers": { + "x-ms-client-request-id": { + "type": "string", + "format": "uuid", + "description": "An opaque, globally-unique, client-generated string identifier for the request." + } + } + }, + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", + "schema": { + "$ref": "#/definitions/TestRun" + }, + "headers": { + "x-ms-client-request-id": { + "type": "string", + "format": "uuid", + "description": "An opaque, globally-unique, client-generated string identifier for the request." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } + } + } + }, + "x-ms-examples": { + "TestRuns_CreateOrUpdate": { + "$ref": "./examples/TestRuns_CreateOrUpdate.json" + } + } + } + } + }, + "definitions": { + "AccessToken": { + "type": "object", + "description": "Model of an access-token linked to a workspace.", + "properties": { + "id": { + "type": "string", + "description": "The access-token id in GUID format.", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The access-token name.", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "jwtToken": { + "type": "string", + "description": "The access-token value in JWT format.", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The access-token createdAt utcDateTime.", + "readOnly": true + }, + "expiryAt": { + "type": "string", + "format": "date-time", + "description": "The access-token expiryAt utcDateTime.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "state": { + "$ref": "#/definitions/AccessTokenState", + "description": "The access-token state - Active | Expired.", + "readOnly": true + } + }, + "required": [ + "id", + "name", + "createdAt", + "expiryAt", + "state" + ] + }, + "AccessTokenState": { + "type": "string", + "description": "The access-token state.", + "enum": [ + "Active", + "Expired" + ], + "x-ms-enum": { + "name": "AccessTokenState", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "The access-token is Active." + }, + { + "name": "Expired", + "value": "Expired", + "description": "The access-token is Expired." + } + ] + } + }, + "Azure.Core.Foundations.Error": { + "type": "object", + "description": "The error object.", + "properties": { + "code": { + "type": "string", + "description": "One of a server-defined set of error codes." + }, + "message": { + "type": "string", + "description": "A human-readable representation of the error." + }, + "target": { + "type": "string", + "description": "The target of the error." + }, + "details": { + "type": "array", + "description": "An array of details about specific errors that led to this reported error.", + "items": { + "$ref": "#/definitions/Azure.Core.Foundations.Error" + } + }, + "innererror": { + "$ref": "#/definitions/Azure.Core.Foundations.InnerError", + "description": "An object containing more specific information than the current object about the error." + } + }, + "required": [ + "code", + "message" + ] + }, + "Azure.Core.Foundations.ErrorResponse": { + "type": "object", + "description": "A response containing error details.", + "properties": { + "error": { + "$ref": "#/definitions/Azure.Core.Foundations.Error", + "description": "The error object." + } + }, + "required": [ + "error" + ] + }, + "Azure.Core.Foundations.InnerError": { + "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.", + "properties": { + "code": { + "type": "string", + "description": "One of a server-defined set of error codes." + }, + "innererror": { + "$ref": "#/definitions/Azure.Core.Foundations.InnerError", + "description": "Inner error." + } + } + }, + "CiConfig": { + "type": "object", + "description": "The run CI config.", + "properties": { + "providerName": { + "type": "string", + "description": "The CI provider name.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "branch": { + "type": "string", + "description": "The CI branch.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "author": { + "type": "string", + "description": "The CI author.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "commitId": { + "type": "string", + "description": "The CI commit id.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "revisionUrl": { + "type": "string", + "description": "The CI revision URL.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "PagedAccessToken": { + "type": "object", + "description": "Paged collection of AccessToken items", + "properties": { + "value": { + "type": "array", + "description": "The AccessToken items on this page", + "items": { + "$ref": "#/definitions/AccessToken" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PagedTestRun": { + "type": "object", + "description": "Paged collection of TestRun items", + "properties": { + "value": { + "type": "array", + "description": "The TestRun items on this page", + "items": { + "$ref": "#/definitions/TestRun" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RunConfig": { + "type": "object", + "description": "The run config.", + "properties": { + "framework": { + "$ref": "#/definitions/RunFramework", + "description": "The framework used for run.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "sdkLanguage": { + "$ref": "#/definitions/SDKLanguage", + "description": "The SDK Language used for run.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "maxWorkers": { + "type": "integer", + "format": "int64", + "description": "The maximum number of workers required for the run.", + "minimum": 1, + "maximum": 500, + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "RunFramework": { + "type": "object", + "description": "The run framework.", + "properties": { + "name": { + "type": "string", + "description": "The framework name.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "version": { + "type": "string", + "description": "The framework version.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "runnerName": { + "type": "string", + "description": "The framework runner name.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "RunStatus": { + "type": "string", + "description": "The run status.", + "enum": [ + "RUNNING", + "CLIENT_COMPLETE", + "SERVER_COMPLETE" + ], + "x-ms-enum": { + "name": "RunStatus", + "modelAsString": true, + "values": [ + { + "name": "RUNNING", + "value": "RUNNING", + "description": "The run status is RUNNING" + }, + { + "name": "CLIENT_COMPLETE", + "value": "CLIENT_COMPLETE", + "description": "The run status is CLIENT_COMPLETE" + }, + { + "name": "SERVER_COMPLETE", + "value": "SERVER_COMPLETE", + "description": "The run status is SERVER_COMPLETE" + } + ] + } + }, + "RunSummary": { + "type": "object", + "description": "The run summary.", + "properties": { + "status": { + "$ref": "#/definitions/RunStatus", + "description": "The run status.", + "readOnly": true + }, + "billableTime": { + "type": "integer", + "format": "int64", + "description": "The run billable time.", + "readOnly": true + }, + "numBrowserSessions": { + "type": "integer", + "format": "int64", + "description": "The total number of browser sessions allocated to the run.", + "readOnly": true + }, + "maxConcurrentBrowserSessions": { + "type": "integer", + "format": "int64", + "description": "The highest number of browser sessions that were running at the same time during the run.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The run start time as utcDateTime.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The run end time as utcDateTime.", + "readOnly": true + }, + "duration": { + "type": "integer", + "format": "int64", + "description": "The run duration.", + "readOnly": true + }, + "errorMessages": { + "type": "array", + "description": "The list of error messages corresponding to the run.", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "status", + "startTime" + ] + }, + "SDKLanguage": { + "type": "string", + "description": "The SDK Language used for run.", + "enum": [ + "JAVASCRIPT", + "TYPESCRIPT", + "CSHARP" + ], + "x-ms-enum": { + "name": "SDKLanguage", + "modelAsString": true, + "values": [ + { + "name": "JAVASCRIPT", + "value": "JAVASCRIPT", + "description": "JAVASCRIPT SDK" + }, + { + "name": "TYPESCRIPT", + "value": "TYPESCRIPT", + "description": "TYPESCRIPT SDK" + }, + { + "name": "CSHARP", + "value": "CSHARP", + "description": "CSHARP SDK" + } + ] + } + }, + "TestRun": { + "type": "object", + "description": "Model of a test-run used for tracking purpose.", + "properties": { + "id": { + "type": "string", + "description": "The test-run id in GUID format.", + "minLength": 3, + "maxLength": 36, + "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The test-run display name.", + "minLength": 1, + "maxLength": 200, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "creatorId": { + "type": "string", + "description": "The test-run creator's id.", + "readOnly": true + }, + "creatorName": { + "type": "string", + "description": "The test-run creator's name.", + "readOnly": true + }, + "config": { + "$ref": "#/definitions/RunConfig", + "description": "The test-run config.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "ciConfig": { + "$ref": "#/definitions/CiConfig", + "description": "The test-run CI Config.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "summary": { + "$ref": "#/definitions/RunSummary", + "description": "The test-run summary.", + "readOnly": true + } + }, + "required": [ + "id", + "displayName", + "creatorId", + "summary" + ] + }, + "TestRunCreateOrUpdate": { + "type": "object", + "description": "Model of a test-run used for tracking purpose.", + "properties": { + "displayName": { + "type": "string", + "description": "The test-run display name.", + "minLength": 1, + "maxLength": 200, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "config": { + "$ref": "#/definitions/RunConfig", + "description": "The test-run config.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "ciConfig": { + "$ref": "#/definitions/CiConfig", + "description": "The test-run CI Config.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + } + }, + "parameters": { + "Azure.Core.ClientRequestIdHeader": { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-parameter-location": "method", + "x-ms-client-name": "clientRequestId" + }, + "Azure.Core.Foundations.ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API version to use for this operation.", + "required": true, + "type": "string", + "minLength": 1, + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" + } + } +} diff --git a/specification/loadtestservice/data-plane/playwright/readme.md b/specification/loadtestservice/data-plane/playwright/readme.md new file mode 100644 index 000000000000..cd83c2b7aa4a --- /dev/null +++ b/specification/loadtestservice/data-plane/playwright/readme.md @@ -0,0 +1,47 @@ +# Microsoft Playwright Service + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Microsoft Playwright Service. + +## Getting Started + +To build the SDKs for Microsoft Playwright Service API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for Microsoft Playwright Service. + +```yaml +title: PlaywrightServiceClient +description: Microsoft Playwright Service Client +openapi-type: data-plane +tag: package-2025-07-01-preview +``` + +### Tag: package-2025-07-01-preview +These settings apply only when `--tag=2025-07-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2025-07-01-preview' +input-file: + - preview/2025-07-01-preview/playwright.json +suppressions: + - code: ValidResponseCodeRequired + from: playwright.json + reason: Need 302 response code as a product requirement to redirect the client for script execution on remote browsers provided by the service. + where: + - $.paths["/playwrightworkspaces/{workspaceId}/browsers"].get.responses +``` +--- \ No newline at end of file