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.
[Hub Generated] Review request for Microsoft.LoadTestService to add v…
…ersion preview/2022-04-15-preview (Azure#18534) * Adds base for updating Microsoft.LoadTestService from version preview/2021-12-01-preview to version 2022-04-15-preview * Updates readme * Updates API version in new specs and examples * v2022-04-01-prev, commiting with existing version * update 2022-04-01-preview spec * update examples in 2022-04-01-preview * updated 2022-04-15-preview spec * updated examples for 2022-04-15-preview * updated markdown files * Deleted 2022-04-01-preview from the public spec * prettify json * updated examples to contain encryption properties
- Loading branch information
1 parent
9a1a7e4
commit 2d78592
Showing
10 changed files
with
862 additions
and
8 deletions.
There are no files selected for viewing
88 changes: 88 additions & 0 deletions
88
...crosoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_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,88 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "dummyrg", | ||
"loadTestName": "myLoadTest", | ||
"LoadTestResource": { | ||
"location": "westus", | ||
"tags": { | ||
"Team": "Dev Exp" | ||
}, | ||
"properties": { | ||
"description": "This is new load test resource", | ||
"encryption": { | ||
"identity": { | ||
"type": "UserAssigned", | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1" | ||
}, | ||
"keyUrl": "https://dummy.vault.azure.net/keys/dummykey1" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "westus", | ||
"properties": { | ||
"description": "This is new load test resource", | ||
"dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com", | ||
"provisioningState": "Succeeded", | ||
"encryption": { | ||
"identity": { | ||
"type": "UserAssigned", | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1" | ||
}, | ||
"keyUrl": "https://dummy.vault.azure.net/keys/dummykey1" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"name": "myLoadTest", | ||
"type": "Microsoft.LoadTestService/loadTests", | ||
"tags": { | ||
"Team": "Dev Exp" | ||
}, | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"location": "westus", | ||
"properties": { | ||
"description": "This is new load test resource", | ||
"dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com", | ||
"provisioningState": "Succeeded", | ||
"encryption": { | ||
"identity": { | ||
"type": "UserAssigned", | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1" | ||
}, | ||
"keyUrl": "https://dummy.vault.azure.net/keys/dummykey1" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"name": "myLoadTest", | ||
"type": "Microsoft.LoadTestService/loadTests", | ||
"tags": { | ||
"Team": "Dev Exp" | ||
}, | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...nager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_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 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "dummyrg", | ||
"loadTestName": "myLoadTest" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "dummyrg", | ||
"loadTestName": "myLoadTest" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "westus", | ||
"properties": { | ||
"description": "This is new load test resource", | ||
"dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"name": "myLoadTest", | ||
"type": "Microsoft.LoadTestService/loadTests", | ||
"tags": { | ||
"Team": "Dev Exp" | ||
}, | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...ft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_ListByResourceGroup.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,37 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "dummyrg" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "westus", | ||
"properties": { | ||
"description": "This is new load test resource", | ||
"dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"name": "myLoadTest", | ||
"type": "Microsoft.LoadTestService/loadTests", | ||
"tags": { | ||
"Team": "Dev Exp" | ||
}, | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...oft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_ListBySubscription.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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "westus", | ||
"properties": { | ||
"description": "This is new load test resource", | ||
"dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"name": "myLoadTest", | ||
"type": "Microsoft.LoadTestService/loadTests", | ||
"tags": { | ||
"Team": "Dev Exp" | ||
}, | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...nager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_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,59 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "dummyrg", | ||
"loadTestName": "myLoadTest", | ||
"LoadTestResourcePatchRequestBody": { | ||
"tags": { | ||
"Team": "Dev Exp", | ||
"Division": "LT" | ||
}, | ||
"properties": { | ||
"description": "This is new load test resource", | ||
"encryption": { | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"resourceId": null | ||
}, | ||
"keyUrl": "https://dummy.vault.azure.net/keys/dummykey1" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "westus", | ||
"properties": { | ||
"description": "This is new load test resource", | ||
"dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com", | ||
"provisioningState": "Succeeded", | ||
"encryption": { | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"resourceId": null | ||
}, | ||
"keyUrl": "https://dummy.vault.azure.net/keys/dummykey1" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/loadTests/myLoadTest", | ||
"name": "myLoadTest", | ||
"type": "Microsoft.LoadTestService/loadTests", | ||
"tags": { | ||
"Team": "Dev Exp", | ||
"Division": "LT" | ||
}, | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...anager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/Operations_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,44 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.LoadTestService/loadTests/Write", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.LoadTestService", | ||
"resource": "loadTests", | ||
"operation": "Creates or updates the LoadTests", | ||
"description": "Set LoadTests" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.LoadTestService/loadTests/Delete", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.LoadTestService", | ||
"resource": "loadTests", | ||
"operation": "Deletes the LoadTests", | ||
"description": "Delete LoadTests" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.LoadTestService/loadTests/Read", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.LoadTestService", | ||
"resource": "loadTests", | ||
"operation": "Reads the LoadTests", | ||
"description": "Read LoadTests" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.