From 389ad9d32c47fb605d4439a94fcb06ab045a951d Mon Sep 17 00:00:00 2001 From: sidaniel Date: Thu, 28 Sep 2023 12:31:44 +0300 Subject: [PATCH] [src] Azure Stateful Node Import - Convert Unmanaged Disks [fix] Azure Stateful Node - Swap OS Disk Description --- .../elastigroup/azure/stateful/node/paths/swapOsDisk.yaml | 2 +- .../azure/stateful/node/schemas/importVmObject.yaml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/api/services/elastigroup/azure/stateful/node/paths/swapOsDisk.yaml b/api/services/elastigroup/azure/stateful/node/paths/swapOsDisk.yaml index d355b34a5..5754d57f1 100644 --- a/api/services/elastigroup/azure/stateful/node/paths/swapOsDisk.yaml +++ b/api/services/elastigroup/azure/stateful/node/paths/swapOsDisk.yaml @@ -1,7 +1,7 @@ put: summary: "Swap OS Disk to Stateful Node" description: - Configure a new OS disk for an OS persisted paused Stateful Node. + Configure a new managed OS disk for an OS persisted paused Stateful Node. operationId: "azureStatefulNodeSwapOSDisk" tags: - Elastigroup Azure Stateful diff --git a/api/services/elastigroup/azure/stateful/node/schemas/importVmObject.yaml b/api/services/elastigroup/azure/stateful/node/schemas/importVmObject.yaml index 1984c4d90..c8465e6bf 100644 --- a/api/services/elastigroup/azure/stateful/node/schemas/importVmObject.yaml +++ b/api/services/elastigroup/azure/stateful/node/schemas/importVmObject.yaml @@ -32,8 +32,14 @@ properties: type: integer example: 1 description: | - Time in hours to delete the original resources after the import has finished + Time in hours to delete the original resources after the import has finished. minimum: 0 maximum: 731 + convertUnmanagedDisks: + type: boolean + example: true + description: | + Converts virtual machine unmanaged disks to managed disks. + default: false node: $ref: "./statefulNodeObject.yaml" \ No newline at end of file