forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 2023-12-01 preview API for Azure Load Testing Control Plane (Az…
…ure#29543) * Added 2023-12-01 API Specs and Initial Examples * Added validated examples * Changes in the README and Provisioning State Suppression * Format changes * Pattern on resource names
- Loading branch information
1 parent
356aa51
commit 3aef2f9
Showing
47 changed files
with
3,670 additions
and
0 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
...adTestService.Management/examples/2023-12-01-preview/LoadTestMappings_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"title": "Create a Load Test Mapping Resource", | ||
"operationId": "LoadTestMappings_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"loadTestMappingName": "myLoadTestMapping", | ||
"resource": { | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testId": "123456" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestMappings/myLoadTestMapping", | ||
"name": "myLoadTestMapping", | ||
"type": "Microsoft.LoadTestService/loadTestMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1002", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:34:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testId": "123456" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestMappings/myLoadTestMapping", | ||
"name": "myLoadTestMapping", | ||
"type": "Microsoft.LoadTestService/loadTestMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testId": "123456" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...rvice/LoadTestService.Management/examples/2023-12-01-preview/LoadTestMappings_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"title": "Delete a Load Test Mapping Resource", | ||
"operationId": "LoadTestMappings_Delete", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"loadTestMappingName": "myLoadTestMapping" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...tservice/LoadTestService.Management/examples/2023-12-01-preview/LoadTestMappings_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"title": "Get a Load Test Mapping Resource", | ||
"operationId": "LoadTestMappings_Get", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"loadTestMappingName": "myLoadTestMapping" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestMappings/myLoadTestMapping", | ||
"name": "myLoadTestMapping", | ||
"type": "Microsoft.LoadTestService/loadTestMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testId": "123456" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...service/LoadTestService.Management/examples/2023-12-01-preview/LoadTestMappings_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"title": "List all Load Test Mappings by Source Resource Id", | ||
"operationId": "LoadTestMappings_List", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestMappings/myLoadTestMapping", | ||
"name": "myLoadTestMapping", | ||
"type": "Microsoft.LoadTestService/loadTestMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testId": "123456" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...rvice/LoadTestService.Management/examples/2023-12-01-preview/LoadTestMappings_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"title": "Update a load test mapping", | ||
"operationId": "LoadTestMappings_Update", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"loadTestMappingName": "myLoadTestMapping", | ||
"properties": { | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestMappings/myLoadTestMapping", | ||
"name": "myLoadTestMapping", | ||
"type": "Microsoft.LoadTestService/loadTestMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testId": "123456" | ||
} | ||
} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...ervice.Management/examples/2023-12-01-preview/LoadTestProfileMappings_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"title": "Create a Load Test Profile Mappings resource", | ||
"operationId": "LoadTestProfileMappings_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"loadTestProfileMappingName": "myLoadTestProfileMapping", | ||
"resource": { | ||
"properties": { | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testProfileId": "123456" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestProfileMappings/myLoadTestProfileMapping", | ||
"name": "myLoadTestProfileMapping", | ||
"type": "Microsoft.LoadTestService/loadTestProfileMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1002", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:34:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testProfileId": "123456" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestProfileMappings/myLoadTestProfileMapping", | ||
"name": "myLoadTestProfileMapping", | ||
"type": "Microsoft.LoadTestService/loadTestProfileMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testProfileId": "123456" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...oadTestService.Management/examples/2023-12-01-preview/LoadTestProfileMappings_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"title": "Delete a Load Test Profile Mapping Resource", | ||
"operationId": "LoadTestProfileMappings_Delete", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"loadTestProfileMappingName": "myLoadTestProfileMapping" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...e/LoadTestService.Management/examples/2023-12-01-preview/LoadTestProfileMappings_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"title": "Get a Load Test Profile Mapping Resource", | ||
"operationId": "LoadTestProfileMappings_Get", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"loadTestProfileMappingName": "myLoadTestProfileMapping" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestProfileMappings/myLoadTestProfileMapping", | ||
"name": "myLoadTestProfileMapping", | ||
"type": "Microsoft.LoadTestService/loadTestProfileMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testProfileId": "123456" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
.../LoadTestService.Management/examples/2023-12-01-preview/LoadTestProfileMappings_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"title": "List Load Test Profile Mappings by Source Resource Id", | ||
"operationId": "LoadTestProfileMappings_List", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestProfileMappings/myLoadTestProfileMapping", | ||
"name": "myLoadTestProfileMapping", | ||
"type": "Microsoft.LoadTestService/loadTestProfileMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testProfileId": "123456" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...oadTestService.Management/examples/2023-12-01-preview/LoadTestProfileMappings_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"title": "Update a Load Test Profile Mapping", | ||
"operationId": "LoadTestProfileMappings_Update", | ||
"parameters": { | ||
"api-version": "2023-12-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"loadTestProfileMappingName": "myLoadTestProfileMapping", | ||
"properties": { | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename/providers/Microsoft.LoadTestService/loadTestProfileMappings/myLoadTestProfileMapping", | ||
"name": "myLoadTestProfileMapping", | ||
"type": "Microsoft.LoadTestService/loadTestProfileMappings", | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
}, | ||
"properties": { | ||
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Web/sites/sitename", | ||
"azureLoadTestingResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"testProfileId": "123456" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.