From ba8882622f93ca24ecfc606674adf5e85aa01f18 Mon Sep 17 00:00:00 2001 From: hongli750210 Date: Wed, 28 Aug 2024 17:11:36 +0800 Subject: [PATCH] Fix comment https://github.com/Azure/cadl-ranch/pull/713#discussion_r1734295691 --- packages/cadl-ranch-specs/cadl-ranch-summary.md | 2 +- .../http/azure/resource-manager/models/resources/main.tsp | 2 +- .../http/azure/resource-manager/models/resources/mockapi.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cadl-ranch-specs/cadl-ranch-summary.md b/packages/cadl-ranch-specs/cadl-ranch-summary.md index 9c93ee8df..f733aaa0d 100644 --- a/packages/cadl-ranch-specs/cadl-ranch-summary.md +++ b/packages/cadl-ranch-specs/cadl-ranch-summary.md @@ -922,7 +922,7 @@ Expected response body: "value": [ { "name": "Microsoft.Compute/virtualMachines/write", - "isDataAction": true, + "isDataAction": false, "display": { "provider": "Microsoft Compute", "resource": "Virtual Machines", diff --git a/packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/main.tsp b/packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/main.tsp index f2580dcc7..30b5eb165 100644 --- a/packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/main.tsp +++ b/packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/main.tsp @@ -52,7 +52,7 @@ interface AvailableOperations { { "value": [{ "name": "Microsoft.Compute/virtualMachines/write", - "isDataAction": true, + "isDataAction": false, "display": { "provider": "Microsoft Compute", "resource": "Virtual Machines", diff --git a/packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/mockapi.ts b/packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/mockapi.ts index e33db04a9..e334e02ab 100644 --- a/packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/mockapi.ts +++ b/packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/mockapi.ts @@ -63,7 +63,7 @@ const validSingletonResource = { const validAvailableOperations = { name: "Microsoft.Compute/virtualMachines/write", - isDataAction: true, + isDataAction: false, display: { provider: "Microsoft Compute", resource: "Virtual Machines",