From 1b2852fe46597253635848b573d7ec5dcda23b51 Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Fri, 26 Jan 2024 10:27:58 +1100 Subject: [PATCH] azure updates --- .../azure/v00.00.00000/services/compute.yaml | 163 ++++++++++-------- 1 file changed, 87 insertions(+), 76 deletions(-) diff --git a/providers/src/azure/v00.00.00000/services/compute.yaml b/providers/src/azure/v00.00.00000/services/compute.yaml index 980ccab5..b9881f7d 100644 --- a/providers/src/azure/v00.00.00000/services/compute.yaml +++ b/providers/src/azure/v00.00.00000/services/compute.yaml @@ -12242,10 +12242,10 @@ components: update: [] delete: - $ref: '#/components/x-stackQL-resources/virtual_machine_run_commands/methods/delete' - virtual_machines: - id: azure.compute.virtual_machines - name: virtual_machines - title: Virtual Machines + virtual_machine: + id: azure.compute.virtual_machine + name: virtual_machine + title: Virtual Machine methods: run_command: operation: @@ -12253,50 +12253,19 @@ components: response: mediaType: application/json openAPIDocKey: '200' - list_by_location: - operation: - $ref: '#/paths/~1subscriptions~1{subscriptionId}~1providers~1Microsoft.Compute~1locations~1{location}~1virtualMachines~1?api-version=2023-09-01/get' - response: - mediaType: application/json - openAPIDocKey: '200' - objectKey: $.value - _list_by_location: - operation: - $ref: '#/paths/~1subscriptions~1{subscriptionId}~1providers~1Microsoft.Compute~1locations~1{location}~1virtualMachines~1?api-version=2023-09-01/get' - response: - mediaType: application/json - openAPIDocKey: '200' capture: operation: $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1capture~1?api-version=2023-09-01/post' response: mediaType: application/json openAPIDocKey: '200' - create_or_update: - operation: - $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1?api-version=2023-09-01/put' - response: - mediaType: application/json - openAPIDocKey: '200' update: operation: $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1?api-version=2023-09-01/patch' response: mediaType: application/json openAPIDocKey: '200' - delete: - operation: - $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1?api-version=2023-09-01/delete' - response: - mediaType: application/json - openAPIDocKey: '200' get: - operation: - $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1?api-version=2023-09-01/get' - response: - mediaType: application/json - openAPIDocKey: '200' - instance_view: operation: $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1instanceView~1?api-version=2023-09-01/get' response: @@ -12320,19 +12289,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - list: - operation: - $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1?api-version=2023-09-01/get' - response: - mediaType: application/json - openAPIDocKey: '200' - objectKey: $.value - _list: - operation: - $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1?api-version=2023-09-01/get' - response: - mediaType: application/json - openAPIDocKey: '200' power_off: operation: $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1powerOff~1?api-version=2023-09-01/post' @@ -12407,14 +12363,10 @@ components: openAPIDocKey: '200' sqlVerbs: select: - - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/get' - - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/list_by_location' - - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/list' - insert: - - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/create_or_update' + - $ref: '#/components/x-stackQL-resources/virtual_machine/methods/get' + insert: [] update: [] - delete: - - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/delete' + delete: [] virtual_machine_scale_set_vms: id: azure.compute.virtual_machine_scale_set_vms name: virtual_machine_scale_set_vms @@ -12894,6 +12846,65 @@ components: update: [] delete: - $ref: '#/components/x-stackQL-resources/virtual_machine_extensions/methods/delete' + virtual_machines: + id: azure.compute.virtual_machines + name: virtual_machines + title: Virtual Machines + methods: + list_by_location: + operation: + $ref: '#/paths/~1subscriptions~1{subscriptionId}~1providers~1Microsoft.Compute~1locations~1{location}~1virtualMachines~1?api-version=2023-09-01/get' + response: + mediaType: application/json + openAPIDocKey: '200' + objectKey: $.value + _list_by_location: + operation: + $ref: '#/paths/~1subscriptions~1{subscriptionId}~1providers~1Microsoft.Compute~1locations~1{location}~1virtualMachines~1?api-version=2023-09-01/get' + response: + mediaType: application/json + openAPIDocKey: '200' + create_or_update: + operation: + $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1?api-version=2023-09-01/put' + response: + mediaType: application/json + openAPIDocKey: '200' + delete: + operation: + $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1?api-version=2023-09-01/delete' + response: + mediaType: application/json + openAPIDocKey: '200' + get: + operation: + $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1{vmName}~1?api-version=2023-09-01/get' + response: + mediaType: application/json + openAPIDocKey: '200' + list: + operation: + $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1?api-version=2023-09-01/get' + response: + mediaType: application/json + openAPIDocKey: '200' + objectKey: $.value + _list: + operation: + $ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.Compute~1virtualMachines~1?api-version=2023-09-01/get' + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + select: + - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/get' + - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/list_by_location' + - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/list' + insert: + - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/create_or_update' + update: [] + delete: + - $ref: '#/components/x-stackQL-resources/virtual_machines/methods/delete' virtual_machines_all: id: azure.compute.virtual_machines_all name: virtual_machines_all @@ -16874,7 +16885,7 @@ paths: x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: location - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: run_command x-stackQL-verb: exec x-stackQL-objectKey: $.value @@ -18518,7 +18529,7 @@ paths: x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: location - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: capture x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/?api-version=2023-09-01': @@ -18641,7 +18652,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: update x-stackQL-verb: exec delete: @@ -18766,9 +18777,9 @@ paths: application/json: schema: $ref: '#/components/schemas/CloudError' - x-stackQL-resource: virtual_machines - x-stackQL-method: instance_view - x-stackQL-verb: exec + x-stackQL-resource: virtual_machine + x-stackQL-method: get + x-stackQL-verb: select '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks/?api-version=2023-09-01': post: tags: @@ -18801,7 +18812,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: convert_to_managed_disks x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate/?api-version=2023-09-01': @@ -18842,7 +18853,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: deallocate x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize/?api-version=2023-09-01': @@ -18874,7 +18885,7 @@ paths: application/json: schema: $ref: '#/components/schemas/CloudError' - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: generalize x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/?api-version=2023-09-01': @@ -19055,7 +19066,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: power_off x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply/?api-version=2023-09-01': @@ -19090,7 +19101,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: reapply x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart/?api-version=2023-09-01': @@ -19125,7 +19136,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: restart x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start/?api-version=2023-09-01': @@ -19160,7 +19171,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: start x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy/?api-version=2023-09-01': @@ -19195,7 +19206,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: redeploy x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage/?api-version=2023-09-01': @@ -19238,7 +19249,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: reimage x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/retrieveBootDiagnosticsData/?api-version=2023-09-01': @@ -19282,7 +19293,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: false - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: retrieve_boot_diagnostics_data x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance/?api-version=2023-09-01': @@ -19317,7 +19328,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: true - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: perform_maintenance x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction/?api-version=2023-09-01': @@ -19350,7 +19361,7 @@ paths: schema: $ref: '#/components/schemas/CloudError' x-ms-long-running-operation: false - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: simulate_eviction x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches/?api-version=2023-09-01': @@ -19391,7 +19402,7 @@ paths: x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: location - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: assess_patches x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches/?api-version=2023-09-01': @@ -19440,7 +19451,7 @@ paths: x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: location - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: install_patches x-stackQL-verb: exec '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/attachDetachDataDisks/?api-version=2023-09-01': @@ -19493,7 +19504,7 @@ paths: x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: location - x-stackQL-resource: virtual_machines + x-stackQL-resource: virtual_machine x-stackQL-method: attach_detach_data_disks x-stackQL-verb: exec '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus/?api-version=2021-07-01':