From 70c71be6e655ecca5dff4ef7f53438e6755e3e70 Mon Sep 17 00:00:00 2001 From: Venkat Ragavan <50309787+venkatr21@users.noreply.github.com> Date: Sat, 7 May 2022 06:40:16 +0530 Subject: [PATCH] updated examples, resource name description (#18918) --- .../examples/LoadTests_CreateOrUpdate.json | 8 ++++++ .../examples/LoadTests_Update.json | 8 ++++++ .../2021-12-01-preview/loadtestservice.json | 2 +- .../examples/LoadTests_CreateOrUpdate.json | 28 +++++++++++++++++++ .../examples/LoadTests_Update.json | 17 +++++++++++ .../2022-04-15-preview/loadtestservice.json | 2 +- 6 files changed, 63 insertions(+), 2 deletions(-) diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_CreateOrUpdate.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_CreateOrUpdate.json index 888ded951cab..b41b7c091c71 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_CreateOrUpdate.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_CreateOrUpdate.json @@ -9,6 +9,9 @@ "tags": { "Team": "Dev Exp" }, + "identity": { + "type": "SystemAssigned" + }, "properties": { "description": "This is new load test resource" } @@ -29,6 +32,11 @@ "tags": { "Team": "Dev Exp" }, + "identity": { + "type": "SystemAssigned", + "principalId": "12345678-1234-1234-1234-123456789012", + "tenantId": "12345678-1234-1234-4321-123456789012" + }, "systemData": { "createdBy": "userId1001", "createdByType": "User", diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_Update.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_Update.json index 2ced9e7fc8e8..721455e50495 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_Update.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/examples/LoadTests_Update.json @@ -9,6 +9,9 @@ "Team": "Dev Exp", "Division": "LT" }, + "identity": { + "type": "SystemAssigned" + }, "properties": { "description": "This is new load test resource" } @@ -30,6 +33,11 @@ "Team": "Dev Exp", "Division": "LT" }, + "identity": { + "type": "SystemAssigned", + "principalId": "12345678-1234-1234-1234-123456789012", + "tenantId": "12345678-1234-1234-4321-123456789012" + }, "systemData": { "createdBy": "userId1001", "createdByType": "User", diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/loadtestservice.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/loadtestservice.json index 103154455b04..26d2d7aa4d31 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/loadtestservice.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2021-12-01-preview/loadtestservice.json @@ -461,7 +461,7 @@ "LoadTestNameParameter": { "in": "path", "name": "loadTestName", - "description": "Load Test name.", + "description": "Load Test resource name.", "required": true, "x-ms-parameter-location": "method", "type": "string" diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_CreateOrUpdate.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_CreateOrUpdate.json index 767cbaa90076..c85171852613 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_CreateOrUpdate.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_CreateOrUpdate.json @@ -9,6 +9,12 @@ "tags": { "Team": "Dev Exp" }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, "properties": { "description": "This is new load test resource", "encryption": { @@ -25,6 +31,17 @@ "200": { "body": { "location": "westus", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "12345678-1234-1234-1234-123456789012", + "tenantId": "12345678-1234-1234-4321-123456789012", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "12345678-1234-4321-1234-123456789012", + "clientId": "12345678-4321-1234-1234-123456789012" + } + } + }, "properties": { "description": "This is new load test resource", "dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com", @@ -56,6 +73,17 @@ "201": { "body": { "location": "westus", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "12345678-1234-1234-1234-123456789012", + "tenantId": "12345678-1234-1234-4321-123456789012", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "12345678-1234-4321-1234-123456789012", + "clientId": "12345678-4321-1234-1234-123456789012" + } + } + }, "properties": { "description": "This is new load test resource", "dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com", diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_Update.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_Update.json index 2c02e7acb7cc..f417f150a3b5 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_Update.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/examples/LoadTests_Update.json @@ -9,6 +9,12 @@ "Team": "Dev Exp", "Division": "LT" }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, "properties": { "description": "This is new load test resource", "encryption": { @@ -25,6 +31,17 @@ "200": { "body": { "location": "westus", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "12345678-1234-1234-1234-123456789012", + "tenantId": "12345678-1234-1234-4321-123456789012", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "12345678-1234-4321-1234-123456789012", + "clientId": "12345678-4321-1234-1234-123456789012" + } + } + }, "properties": { "description": "This is new load test resource", "dataPlaneURI": "https://myLoadTest.00000000-0000-0000-0000-000000000000.cnt-dp.domain.com", diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/loadtestservice.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/loadtestservice.json index a3ebc6cf295b..2a8a663c7044 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/loadtestservice.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2022-04-15-preview/loadtestservice.json @@ -524,7 +524,7 @@ "LoadTestNameParameter": { "in": "path", "name": "loadTestName", - "description": "Load Test name.", + "description": "Load Test resource name.", "required": true, "x-ms-parameter-location": "method", "type": "string"