Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.LoadTestService to add v…
Browse files Browse the repository at this point in the history
…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
venkatr21 authored and FredericHeem committed May 16, 2022
1 parent 9a1a7e4 commit 2d78592
Show file tree
Hide file tree
Showing 10 changed files with 862 additions and 8 deletions.
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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": {}
}
}
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
}
}
}
}
Loading

0 comments on commit 2d78592

Please sign in to comment.