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 11 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-11-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"
}
}

Choose a reason for hiding this comment

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

This looks like description and name is the only arguments that is required from the customer to create whis resource. Can you please expand on how would the customer interact with this resource ? Like can they do anything on the resource from the control plane other than CRUD ?

The reason we ask this is to please note that people use ARM templates to configure azure resources all the time. and this resource seems like it is not configurable at all when using an ARM template.

Copy link
Member Author

Choose a reason for hiding this comment

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

@raosuhas , the customer can only perform CRUD operations on the resource as most of our business logic lies in data-plane (we'll be submitting data-plane apis too for review soon). We just need name, description and location from the customer to create the 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-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"loadTestName": "myLoadTest"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2021-11-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-11-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-11-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-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"loadTestName": "myLoadTest",
"ResourcePatchRequestBody": {
"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-11-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