Skip to content
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
merged 17 commits into from
Nov 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,8 @@ liveevent
liveoutput
livyid
loadbalancer
loadtest
loadtests
localbusinesses
localcategories
localcircularview
Expand Down
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"
}
}
}
}
}
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": {},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

202

do you accept 202 for delete ?

Copy link
Member Author

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.

"204": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
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
}
}
}
}
Loading