-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev loadtestservice microsoft.load test service 2021 11 01 preview pubpr #16831
Merged
changlong-liu
merged 17 commits into
Azure:main
from
mjmadhu:dev-loadtestservice-Microsoft.LoadTestService-2021-11-01-preview-pubpr
Nov 26, 2021
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e747be0
New Swagger Spec File
mjmadhu 4501cb7
New Swagger Example Spec File
mjmadhu ba9c8fb
New Readme Config File
mjmadhu 658e840
New Azure AZ Readme Config File
mjmadhu cd34ca3
New Azure CLI Readme Config File
mjmadhu 2f2a87d
New Go Language Readme Config File
mjmadhu c14a71d
New Python Language Readme Config File
mjmadhu 889c379
New Typescript Language Readme Config File
mjmadhu 10f5607
New C# Language Readme Config File
mjmadhu b7142d6
Added loadtestservice swagger spec
mjmadhu ec92557
CI failure fix
mjmadhu 50e6086
Review comments fix
mjmadhu e3a7a21
CI failure fix
mjmadhu 7863902
Updated api version
mjmadhu 59accdf
Added x-ms-long-running-operation header for async delete
mjmadhu 1d8704f
Update readme.md for python config
RAY-316 9f2ceca
update readme.python for python config
RAY-316 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
43 changes: 43 additions & 0 deletions
43
...crosoft.LoadTestService/preview/2021-12-01-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,43 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-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" | ||
} | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...nager/Microsoft.LoadTestService/preview/2021-12-01-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": "2021-12-01-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/2021-12-01-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": "2021-12-01-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/2021-12-01-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": "2021-12-01-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/2021-12-01-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": "2021-12-01-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...nager/Microsoft.LoadTestService/preview/2021-12-01-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,44 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-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" | ||
} | ||
} | ||
}, | ||
"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", | ||
"Division": "LT" | ||
}, | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...anager/Microsoft.LoadTestService/preview/2021-12-01-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": "2021-12-01-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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you accept 202 for delete ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an LRO which can send 202 Accespted as API response.