Skip to content

Commit 70c71be

Browse files
authored
updated examples, resource name description (#18918)
1 parent 194884a commit 70c71be

File tree

6 files changed

+63
-2
lines changed

6 files changed

+63
-2
lines changed

specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_CreateOrUpdate.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"tags": {
1010
"Team": "Dev Exp"
1111
},
12+
"identity": {
13+
"type": "SystemAssigned"
14+
},
1215
"properties": {
1316
"description": "This is new load test resource"
1417
}
@@ -29,6 +32,11 @@
2932
"tags": {
3033
"Team": "Dev Exp"
3134
},
35+
"identity": {
36+
"type": "SystemAssigned",
37+
"principalId": "12345678-1234-1234-1234-123456789012",
38+
"tenantId": "12345678-1234-1234-4321-123456789012"
39+
},
3240
"systemData": {
3341
"createdBy": "userId1001",
3442
"createdByType": "User",

specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_Update.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"Team": "Dev Exp",
1010
"Division": "LT"
1111
},
12+
"identity": {
13+
"type": "SystemAssigned"
14+
},
1215
"properties": {
1316
"description": "This is new load test resource"
1417
}
@@ -30,6 +33,11 @@
3033
"Team": "Dev Exp",
3134
"Division": "LT"
3235
},
36+
"identity": {
37+
"type": "SystemAssigned",
38+
"principalId": "12345678-1234-1234-1234-123456789012",
39+
"tenantId": "12345678-1234-1234-4321-123456789012"
40+
},
3341
"systemData": {
3442
"createdBy": "userId1001",
3543
"createdByType": "User",

specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/loadtestservice.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@
461461
"LoadTestNameParameter": {
462462
"in": "path",
463463
"name": "loadTestName",
464-
"description": "Load Test name.",
464+
"description": "Load Test resource name.",
465465
"required": true,
466466
"x-ms-parameter-location": "method",
467467
"type": "string"

specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_CreateOrUpdate.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
"tags": {
1010
"Team": "Dev Exp"
1111
},
12+
"identity": {
13+
"type": "SystemAssigned,UserAssigned",
14+
"userAssignedIdentities": {
15+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}
16+
}
17+
},
1218
"properties": {
1319
"description": "This is new load test resource",
1420
"encryption": {
@@ -25,6 +31,17 @@
2531
"200": {
2632
"body": {
2733
"location": "westus",
34+
"identity": {
35+
"type": "SystemAssigned,UserAssigned",
36+
"principalId": "12345678-1234-1234-1234-123456789012",
37+
"tenantId": "12345678-1234-1234-4321-123456789012",
38+
"userAssignedIdentities": {
39+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
40+
"principalId": "12345678-1234-4321-1234-123456789012",
41+
"clientId": "12345678-4321-1234-1234-123456789012"
42+
}
43+
}
44+
},
2845
"properties": {
2946
"description": "This is new load test resource",
3047
"dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com",
@@ -56,6 +73,17 @@
5673
"201": {
5774
"body": {
5875
"location": "westus",
76+
"identity": {
77+
"type": "SystemAssigned,UserAssigned",
78+
"principalId": "12345678-1234-1234-1234-123456789012",
79+
"tenantId": "12345678-1234-1234-4321-123456789012",
80+
"userAssignedIdentities": {
81+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
82+
"principalId": "12345678-1234-4321-1234-123456789012",
83+
"clientId": "12345678-4321-1234-1234-123456789012"
84+
}
85+
}
86+
},
5987
"properties": {
6088
"description": "This is new load test resource",
6189
"dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com",

specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_Update.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
"Team": "Dev Exp",
1010
"Division": "LT"
1111
},
12+
"identity": {
13+
"type": "SystemAssigned,UserAssigned",
14+
"userAssignedIdentities": {
15+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}
16+
}
17+
},
1218
"properties": {
1319
"description": "This is new load test resource",
1420
"encryption": {
@@ -25,6 +31,17 @@
2531
"200": {
2632
"body": {
2733
"location": "westus",
34+
"identity": {
35+
"type": "SystemAssigned,UserAssigned",
36+
"principalId": "12345678-1234-1234-1234-123456789012",
37+
"tenantId": "12345678-1234-1234-4321-123456789012",
38+
"userAssignedIdentities": {
39+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
40+
"principalId": "12345678-1234-4321-1234-123456789012",
41+
"clientId": "12345678-4321-1234-1234-123456789012"
42+
}
43+
}
44+
},
2845
"properties": {
2946
"description": "This is new load test resource",
3047
"dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com",

specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/loadtestservice.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524
"LoadTestNameParameter": {
525525
"in": "path",
526526
"name": "loadTestName",
527-
"description": "Load Test name.",
527+
"description": "Load Test resource name.",
528528
"required": true,
529529
"x-ms-parameter-location": "method",
530530
"type": "string"

0 commit comments

Comments
 (0)