From ab266460a5418919d40261eb06f280da380e771a Mon Sep 17 00:00:00 2001 From: Udit Mahajan Date: Mon, 9 Apr 2018 02:07:36 +0530 Subject: [PATCH 1/2] comit --- .../Microsoft.Compute/stable/2017-12-01/compute.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json index 1208a6b7631c..e5311a18e0f3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json @@ -6915,6 +6915,18 @@ "name": "VirtualMachinePriorityTypes", "modelAsString": true } + }, + "evictionPolicy": { + "type": "string", + "description": "Specifies the eviction policy for virtual machines in the low priority scale set.

Minimum api-version: 2017-10-30-preview", + "enum": [ + "Deallocate", + "Delete" + ], + "x-ms-enum": { + "name": "VirtualMachineEvictionPolicyTypes", + "modelAsString": false + } } }, "description": "Describes a virtual machine scale set virtual machine profile." From 57858e7e576c2e84a8ddc038e8e915497b7a2c3d Mon Sep 17 00:00:00 2001 From: Udit Mahajan Date: Mon, 9 Apr 2018 22:01:59 +0530 Subject: [PATCH 2/2] Changed evictionpolicy modelasstring to true --- .../Microsoft.Compute/stable/2017-12-01/compute.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json index e5311a18e0f3..2e882a686c33 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json @@ -6925,7 +6925,7 @@ ], "x-ms-enum": { "name": "VirtualMachineEvictionPolicyTypes", - "modelAsString": false + "modelAsString": true } } },