-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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/2020-09-01-preview (#4561) * Adding fields for managed identity and resource specific data plane url * Adding fields for managed identity and resource specific data plane url * Fixed validation issues * Fixed readme validation * Fixed readme validation * Delete api response updated as LRO * Delete examples updated * Review comments work for sdk * Update specification/loadtestservice/resource-manager/readme.go.md Co-authored-by: Arcturus <ufo54153@gmail.com> Co-authored-by: Arcturus <ufo54153@gmail.com>
- Loading branch information
1 parent
436b733
commit c42e7f5
Showing
12 changed files
with
775 additions
and
17 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
...crosoft.LoadTestService/preview/2021-09-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,35 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...nager/Microsoft.LoadTestService/preview/2021-09-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-09-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "dummyrg", | ||
"loadTestName": "myLoadTest" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...-manager/Microsoft.LoadTestService/preview/2021-09-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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...ft.LoadTestService/preview/2021-09-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,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...oft.LoadTestService/preview/2021-09-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,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...nager/Microsoft.LoadTestService/preview/2021-09-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,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "dummyrg", | ||
"loadTestName": "myLoadTest", | ||
"ResourcePatchRequestBody": { | ||
"tags": { | ||
"Team": "Dev Exp", | ||
"Division": "LT" | ||
} | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...anager/Microsoft.LoadTestService/preview/2021-09-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-09-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.