From 34d9a28f24a9f943529c21af7da51e8c804ae1d6 Mon Sep 17 00:00:00 2001 From: Chenjie Shi Date: Tue, 4 Jun 2024 09:32:44 +0800 Subject: [PATCH] Microsoft.ScVmm TypeSpec onboarding (#26644) * Init tsp for Microsoft.ScVmm * Some changes towards passing tsv * Updates to fix lint errors, remove unused types, regenerate examples, etc. * Created shareable 'force' param * Figured out the incantation to rename a file case-sensitively * Restored string bool enums. * Removed all examples * Regenerate examples * Updated ARM ID properties. Added script to sort output to compare with sorted old swagger * Additional changes. * Removed unused XXUpdate models, Added @secret for password, * Fixed #8, #6, #5 * Fixed #2 * Update swagger to be in sync with previous fixes. * Workaround for CloudCapacity readonly * Additional fixes. * fix ModelValidation * update void * VM Instance Update Properties changes * spell check and prettier validation fix * fix for identifier bug * workaround for https://github.com/Azure/typespec-azure/issues/449 * format * spell and prettier check improvements * use encodedName replace projectdName * Add summary annotations * summary * update kind and void * lro azure-async-operation * fix * tsp compilation warning * TypeSpec Validation fix * Update tspconfig.yaml * config change * Removed Read Only Property from Examples to fix Swagger ModelValidation * Revert Boolean to Enum with type Union in TypeSpec * specs-pr repo PR review changes to specs repo * Remove sorted json file used for comparison * Fix TypeSpec PR pipeline failure * make extendedLocation for VM Instance read and create * typespec validation fix --------- Co-authored-by: Will Temple Co-authored-by: Allen Zhang Co-authored-by: Alancere <804873052@qq.com> Co-authored-by: Harshit Surana --- .../ScVmm.Management/AvailabilitySet.tsp | 67 + .../scvmm/ScVmm.Management/BackCompat.tsp | 3 + .../scvmm/ScVmm.Management/Cloud.tsp | 66 + .../scvmm/ScVmm.Management/GuestAgent.tsp | 41 + .../scvmm/ScVmm.Management/InventoryItem.tsp | 41 + .../VirtualMachineInstance.tsp | 132 + .../VirtualMachineTemplate.tsp | 67 + .../scvmm/ScVmm.Management/VirtualNetwork.tsp | 66 + .../VmInstanceHybridIdentityMetadata.tsp | 37 + .../scvmm/ScVmm.Management/VmmServer.tsp | 66 + ...itySets_CreateOrUpdate_MaximumSet_Gen.json | 85 + ...itySets_CreateOrUpdate_MinimumSet_Gen.json | 33 + ...vailabilitySets_Delete_MaximumSet_Gen.json | 19 + ...vailabilitySets_Delete_MinimumSet_Gen.json | 18 + .../AvailabilitySets_Get_MaximumSet_Gen.json | 40 + .../AvailabilitySets_Get_MinimumSet_Gen.json | 19 + ...ts_ListByResourceGroup_MaximumSet_Gen.json | 44 + ...ts_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...ets_ListBySubscription_MaximumSet_Gen.json | 43 + ...ets_ListBySubscription_MinimumSet_Gen.json | 21 + ...vailabilitySets_Update_MaximumSet_Gen.json | 50 + ...vailabilitySets_Update_MinimumSet_Gen.json | 24 + .../Clouds_CreateOrUpdate_MaximumSet_Gen.json | 121 + .../Clouds_CreateOrUpdate_MinimumSet_Gen.json | 33 + .../Clouds_Delete_MaximumSet_Gen.json | 19 + .../Clouds_Delete_MinimumSet_Gen.json | 18 + .../2023-10-07/Clouds_Get_MaximumSet_Gen.json | 57 + .../2023-10-07/Clouds_Get_MinimumSet_Gen.json | 19 + ...ds_ListByResourceGroup_MaximumSet_Gen.json | 61 + ...ds_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...uds_ListBySubscription_MaximumSet_Gen.json | 60 + ...uds_ListBySubscription_MinimumSet_Gen.json | 21 + .../Clouds_Update_MaximumSet_Gen.json | 67 + .../Clouds_Update_MinimumSet_Gen.json | 24 + .../GuestAgents_Create_MaximumSet_Gen.json | 81 + .../GuestAgents_Create_MinimumSet_Gen.json | 20 + .../GuestAgents_Delete_MaximumSet_Gen.json | 12 + .../GuestAgents_Delete_MinimumSet_Gen.json | 12 + .../GuestAgents_Get_MaximumSet_Gen.json | 38 + .../GuestAgents_Get_MinimumSet_Gen.json | 13 + ...VirtualMachineInstance_MaximumSet_Gen.json | 43 + ...VirtualMachineInstance_MinimumSet_Gen.json | 19 + .../InventoryItems_Create_MaximumSet_Gen.json | 65 + .../InventoryItems_Create_MinimumSet_Gen.json | 20 + .../InventoryItems_Delete_MaximumSet_Gen.json | 15 + .../InventoryItems_Delete_MinimumSet_Gen.json | 15 + .../InventoryItems_Get_MaximumSet_Gen.json | 36 + .../InventoryItems_Get_MinimumSet_Gen.json | 16 + ...yItems_ListByVmmServer_MaximumSet_Gen.json | 40 + ...yItems_ListByVmmServer_MinimumSet_Gen.json | 21 + .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + ...ances_CreateCheckpoint_MaximumSet_Gen.json | 19 + ...ances_CreateCheckpoint_MinimumSet_Gen.json | 16 + ...stances_CreateOrUpdate_MaximumSet_Gen.json | 316 + ...stances_CreateOrUpdate_MinimumSet_Gen.json | 28 + ...ances_DeleteCheckpoint_MaximumSet_Gen.json | 18 + ...ances_DeleteCheckpoint_MinimumSet_Gen.json | 16 + ...achineInstances_Delete_MaximumSet_Gen.json | 18 + ...achineInstances_Delete_MinimumSet_Gen.json | 16 + ...alMachineInstances_Get_MaximumSet_Gen.json | 123 + ...alMachineInstances_Get_MinimumSet_Gen.json | 16 + ...lMachineInstances_List_MaximumSet_Gen.json | 128 + ...lMachineInstances_List_MinimumSet_Gen.json | 20 + ...chineInstances_Restart_MaximumSet_Gen.json | 16 + ...chineInstances_Restart_MinimumSet_Gen.json | 16 + ...nces_RestoreCheckpoint_MaximumSet_Gen.json | 18 + ...nces_RestoreCheckpoint_MinimumSet_Gen.json | 16 + ...MachineInstances_Start_MaximumSet_Gen.json | 16 + ...MachineInstances_Start_MinimumSet_Gen.json | 16 + ...lMachineInstances_Stop_MaximumSet_Gen.json | 18 + ...lMachineInstances_Stop_MinimumSet_Gen.json | 16 + ...achineInstances_Update_MaximumSet_Gen.json | 179 + ...achineInstances_Update_MinimumSet_Gen.json | 21 + ...mplates_CreateOrUpdate_MaximumSet_Gen.json | 197 + ...mplates_CreateOrUpdate_MinimumSet_Gen.json | 33 + ...achineTemplates_Delete_MaximumSet_Gen.json | 19 + ...achineTemplates_Delete_MinimumSet_Gen.json | 18 + ...alMachineTemplates_Get_MaximumSet_Gen.json | 93 + ...alMachineTemplates_Get_MinimumSet_Gen.json | 19 + ...es_ListByResourceGroup_MaximumSet_Gen.json | 97 + ...es_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...tes_ListBySubscription_MaximumSet_Gen.json | 96 + ...tes_ListBySubscription_MinimumSet_Gen.json | 21 + ...achineTemplates_Update_MaximumSet_Gen.json | 103 + ...achineTemplates_Update_MinimumSet_Gen.json | 24 + ...etworks_CreateOrUpdate_MaximumSet_Gen.json | 90 + ...etworks_CreateOrUpdate_MinimumSet_Gen.json | 33 + ...VirtualNetworks_Delete_MaximumSet_Gen.json | 19 + ...VirtualNetworks_Delete_MinimumSet_Gen.json | 18 + .../VirtualNetworks_Get_MaximumSet_Gen.json | 42 + .../VirtualNetworks_Get_MinimumSet_Gen.json | 19 + ...ks_ListByResourceGroup_MaximumSet_Gen.json | 46 + ...ks_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...rks_ListBySubscription_MaximumSet_Gen.json | 45 + ...rks_ListBySubscription_MinimumSet_Gen.json | 21 + ...VirtualNetworks_Update_MaximumSet_Gen.json | 52 + ...VirtualNetworks_Update_MinimumSet_Gen.json | 25 + ...dIdentityMetadatas_Get_MaximumSet_Gen.json | 30 + ...dIdentityMetadatas_Get_MinimumSet_Gen.json | 15 + ...VirtualMachineInstance_MaximumSet_Gen.json | 35 + ...VirtualMachineInstance_MinimumSet_Gen.json | 19 + ...Servers_CreateOrUpdate_MaximumSet_Gen.json | 103 + ...Servers_CreateOrUpdate_MinimumSet_Gen.json | 33 + .../VmmServers_Delete_MaximumSet_Gen.json | 19 + .../VmmServers_Delete_MinimumSet_Gen.json | 18 + .../VmmServers_Get_MaximumSet_Gen.json | 47 + .../VmmServers_Get_MinimumSet_Gen.json | 19 + ...rs_ListByResourceGroup_MaximumSet_Gen.json | 51 + ...rs_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...ers_ListBySubscription_MaximumSet_Gen.json | 50 + ...ers_ListBySubscription_MinimumSet_Gen.json | 21 + .../VmmServers_Update_MaximumSet_Gen.json | 57 + .../VmmServers_Update_MinimumSet_Gen.json | 25 + specification/scvmm/ScVmm.Management/main.tsp | 38 + .../scvmm/ScVmm.Management/models.tsp | 949 +++ .../scvmm/ScVmm.Management/tspconfig.yaml | 14 + ...itySets_CreateOrUpdate_MaximumSet_Gen.json | 85 + ...itySets_CreateOrUpdate_MinimumSet_Gen.json | 33 + ...vailabilitySets_Delete_MaximumSet_Gen.json | 19 + ...vailabilitySets_Delete_MinimumSet_Gen.json | 18 + .../AvailabilitySets_Get_MaximumSet_Gen.json | 40 + .../AvailabilitySets_Get_MinimumSet_Gen.json | 19 + ...ts_ListByResourceGroup_MaximumSet_Gen.json | 44 + ...ts_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...ets_ListBySubscription_MaximumSet_Gen.json | 43 + ...ets_ListBySubscription_MinimumSet_Gen.json | 21 + ...vailabilitySets_Update_MaximumSet_Gen.json | 50 + ...vailabilitySets_Update_MinimumSet_Gen.json | 24 + .../Clouds_CreateOrUpdate_MaximumSet_Gen.json | 121 + .../Clouds_CreateOrUpdate_MinimumSet_Gen.json | 33 + .../Clouds_Delete_MaximumSet_Gen.json | 19 + .../Clouds_Delete_MinimumSet_Gen.json | 18 + .../examples/Clouds_Get_MaximumSet_Gen.json | 57 + .../examples/Clouds_Get_MinimumSet_Gen.json | 19 + ...ds_ListByResourceGroup_MaximumSet_Gen.json | 61 + ...ds_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...uds_ListBySubscription_MaximumSet_Gen.json | 60 + ...uds_ListBySubscription_MinimumSet_Gen.json | 21 + .../Clouds_Update_MaximumSet_Gen.json | 67 + .../Clouds_Update_MinimumSet_Gen.json | 24 + .../examples/CreateAvailabilitySet.json | 55 - ...reateCheckpointVirtualMachineInstance.json | 17 - .../2023-10-07/examples/CreateCloud.json | 69 - .../examples/CreateInventoryItem.json | 44 - .../examples/CreateVMInstanceGuestAgent.json | 44 - .../2023-10-07/examples/CreateVMMServer.json | 65 - .../CreateVirtualMachineInstance.json | 89 - .../CreateVirtualMachineTemplate.json | 67 - .../examples/CreateVirtualNetwork.json | 59 - .../examples/DeleteAvailabilitySet.json | 16 - ...eleteCheckpointVirtualMachineInstance.json | 16 - .../2023-10-07/examples/DeleteCloud.json | 16 - .../examples/DeleteInventoryItem.json | 13 - .../examples/DeleteVMInstanceGuestAgent.json | 10 - .../2023-10-07/examples/DeleteVMMServer.json | 16 - .../DeleteVirtualMachineInstance.json | 14 - .../DeleteVirtualMachineTemplate.json | 16 - .../examples/DeleteVirtualNetwork.json | 16 - .../examples/GetAvailabilitySet.json | 27 - .../stable/2023-10-07/examples/GetCloud.json | 34 - .../2023-10-07/examples/GetInventoryItem.json | 25 - .../examples/GetVMInstanceGuestAgent.json | 20 - .../2023-10-07/examples/GetVMMServer.json | 30 - .../examples/GetVirtualMachineInstance.json | 40 - .../examples/GetVirtualMachineTemplate.json | 33 - .../examples/GetVirtualNetwork.json | 29 - .../GetVmInstanceHybridIdentityMetadata.json | 19 - .../GuestAgents_Create_MaximumSet_Gen.json | 81 + .../GuestAgents_Create_MinimumSet_Gen.json | 20 + .../GuestAgents_Delete_MaximumSet_Gen.json | 12 + .../GuestAgents_Delete_MinimumSet_Gen.json | 12 + .../GuestAgents_Get_MaximumSet_Gen.json | 38 + .../GuestAgents_Get_MinimumSet_Gen.json | 13 + ...VirtualMachineInstance_MaximumSet_Gen.json | 43 + ...VirtualMachineInstance_MinimumSet_Gen.json | 19 + ...bridIdentityMetadata_ListByVmInstance.json | 23 - .../InventoryItems_Create_MaximumSet_Gen.json | 65 + .../InventoryItems_Create_MinimumSet_Gen.json | 20 + .../InventoryItems_Delete_MaximumSet_Gen.json | 15 + .../InventoryItems_Delete_MinimumSet_Gen.json | 15 + .../InventoryItems_Get_MaximumSet_Gen.json | 36 + .../InventoryItems_Get_MinimumSet_Gen.json | 16 + ...yItems_ListByVmmServer_MaximumSet_Gen.json | 40 + ...yItems_ListByVmmServer_MinimumSet_Gen.json | 21 + .../ListAvailabilitySetsByResourceGroup.json | 30 - .../ListAvailabilitySetsBySubscription.json | 29 - .../examples/ListCloudsByResourceGroup.json | 37 - .../examples/ListCloudsBySubscription.json | 36 - .../ListInventoryItemsByVMMServer.json | 28 - .../2023-10-07/examples/ListOperations.json | 148 - .../ListVMMServersByResourceGroup.json | 33 - .../ListVMMServersBySubscription.json | 32 - .../examples/ListVirtualMachineInstances.json | 44 - ...irtualMachineTemplatesByResourceGroup.json | 36 - ...VirtualMachineTemplatesBySubscription.json | 35 - .../ListVirtualNetworksByResourceGroup.json | 32 - .../ListVirtualNetworksBySubscription.json | 31 - .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + .../RestartVirtualMachineInstance.json | 13 - ...storeCheckpointVirtualMachineInstance.json | 16 - .../examples/StartVirtualMachineInstance.json | 13 - .../examples/StopVirtualMachineInstance.json | 16 - .../examples/UpdateAvailabilitySet.json | 42 - .../2023-10-07/examples/UpdateCloud.json | 49 - .../2023-10-07/examples/UpdateVMMServer.json | 45 - .../UpdateVirtualMachineInstance.json | 53 - .../UpdateVirtualMachineTemplate.json | 48 - .../examples/UpdateVirtualNetwork.json | 44 - .../VMInstanceGuestAgent_ListByVm.json | 24 - ...ances_CreateCheckpoint_MaximumSet_Gen.json | 19 + ...ances_CreateCheckpoint_MinimumSet_Gen.json | 16 + ...stances_CreateOrUpdate_MaximumSet_Gen.json | 316 + ...stances_CreateOrUpdate_MinimumSet_Gen.json | 28 + ...ances_DeleteCheckpoint_MaximumSet_Gen.json | 18 + ...ances_DeleteCheckpoint_MinimumSet_Gen.json | 16 + ...achineInstances_Delete_MaximumSet_Gen.json | 18 + ...achineInstances_Delete_MinimumSet_Gen.json | 16 + ...alMachineInstances_Get_MaximumSet_Gen.json | 123 + ...alMachineInstances_Get_MinimumSet_Gen.json | 16 + ...lMachineInstances_List_MaximumSet_Gen.json | 128 + ...lMachineInstances_List_MinimumSet_Gen.json | 20 + ...chineInstances_Restart_MaximumSet_Gen.json | 16 + ...chineInstances_Restart_MinimumSet_Gen.json | 16 + ...nces_RestoreCheckpoint_MaximumSet_Gen.json | 18 + ...nces_RestoreCheckpoint_MinimumSet_Gen.json | 16 + ...MachineInstances_Start_MaximumSet_Gen.json | 16 + ...MachineInstances_Start_MinimumSet_Gen.json | 16 + ...lMachineInstances_Stop_MaximumSet_Gen.json | 18 + ...lMachineInstances_Stop_MinimumSet_Gen.json | 16 + ...achineInstances_Update_MaximumSet_Gen.json | 179 + ...achineInstances_Update_MinimumSet_Gen.json | 21 + ...mplates_CreateOrUpdate_MaximumSet_Gen.json | 197 + ...mplates_CreateOrUpdate_MinimumSet_Gen.json | 33 + ...achineTemplates_Delete_MaximumSet_Gen.json | 19 + ...achineTemplates_Delete_MinimumSet_Gen.json | 18 + ...alMachineTemplates_Get_MaximumSet_Gen.json | 93 + ...alMachineTemplates_Get_MinimumSet_Gen.json | 19 + ...es_ListByResourceGroup_MaximumSet_Gen.json | 97 + ...es_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...tes_ListBySubscription_MaximumSet_Gen.json | 96 + ...tes_ListBySubscription_MinimumSet_Gen.json | 21 + ...achineTemplates_Update_MaximumSet_Gen.json | 103 + ...achineTemplates_Update_MinimumSet_Gen.json | 24 + ...etworks_CreateOrUpdate_MaximumSet_Gen.json | 90 + ...etworks_CreateOrUpdate_MinimumSet_Gen.json | 33 + ...VirtualNetworks_Delete_MaximumSet_Gen.json | 19 + ...VirtualNetworks_Delete_MinimumSet_Gen.json | 18 + .../VirtualNetworks_Get_MaximumSet_Gen.json | 42 + .../VirtualNetworks_Get_MinimumSet_Gen.json | 19 + ...ks_ListByResourceGroup_MaximumSet_Gen.json | 46 + ...ks_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...rks_ListBySubscription_MaximumSet_Gen.json | 45 + ...rks_ListBySubscription_MinimumSet_Gen.json | 21 + ...VirtualNetworks_Update_MaximumSet_Gen.json | 52 + ...VirtualNetworks_Update_MinimumSet_Gen.json | 25 + ...dIdentityMetadatas_Get_MaximumSet_Gen.json | 30 + ...dIdentityMetadatas_Get_MinimumSet_Gen.json | 15 + ...VirtualMachineInstance_MaximumSet_Gen.json | 35 + ...VirtualMachineInstance_MinimumSet_Gen.json | 19 + ...Servers_CreateOrUpdate_MaximumSet_Gen.json | 103 + ...Servers_CreateOrUpdate_MinimumSet_Gen.json | 33 + .../VmmServers_Delete_MaximumSet_Gen.json | 19 + .../VmmServers_Delete_MinimumSet_Gen.json | 18 + .../VmmServers_Get_MaximumSet_Gen.json | 47 + .../VmmServers_Get_MinimumSet_Gen.json | 19 + ...rs_ListByResourceGroup_MaximumSet_Gen.json | 51 + ...rs_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...ers_ListBySubscription_MaximumSet_Gen.json | 50 + ...ers_ListBySubscription_MinimumSet_Gen.json | 21 + .../VmmServers_Update_MaximumSet_Gen.json | 57 + .../VmmServers_Update_MinimumSet_Gen.json | 25 + .../stable/2023-10-07/scvmm.json | 6170 +++++++++-------- 274 files changed, 13455 insertions(+), 4638 deletions(-) create mode 100644 specification/scvmm/ScVmm.Management/AvailabilitySet.tsp create mode 100644 specification/scvmm/ScVmm.Management/BackCompat.tsp create mode 100644 specification/scvmm/ScVmm.Management/Cloud.tsp create mode 100644 specification/scvmm/ScVmm.Management/GuestAgent.tsp create mode 100644 specification/scvmm/ScVmm.Management/InventoryItem.tsp create mode 100644 specification/scvmm/ScVmm.Management/VirtualMachineInstance.tsp create mode 100644 specification/scvmm/ScVmm.Management/VirtualMachineTemplate.tsp create mode 100644 specification/scvmm/ScVmm.Management/VirtualNetwork.tsp create mode 100644 specification/scvmm/ScVmm.Management/VmInstanceHybridIdentityMetadata.tsp create mode 100644 specification/scvmm/ScVmm.Management/VmmServer.tsp create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Create_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Create_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Create_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Create_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_ListByVmmServer_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_ListByVmmServer_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Operations_List_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/Operations_List_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_List_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_List_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Restart_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Restart_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Start_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Start_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Stop_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Stop_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/ScVmm.Management/main.tsp create mode 100644 specification/scvmm/ScVmm.Management/models.tsp create mode 100644 specification/scvmm/ScVmm.Management/tspconfig.yaml create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MinimumSet_Gen.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateAvailabilitySet.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCloud.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateInventoryItem.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMInstanceGuestAgent.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMMServer.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineTemplate.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualNetwork.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteAvailabilitySet.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCloud.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteInventoryItem.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMInstanceGuestAgent.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineTemplate.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualNetwork.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMInstanceGuestAgent.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVmInstanceHybridIdentityMetadata.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVmInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Create_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Create_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_ListByVmmServer_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_ListByVmmServer_MinimumSet_Gen.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsByResourceGroup.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsBySubscription.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsByResourceGroup.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsBySubscription.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListInventoryItemsByVMMServer.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListOperations.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersByResourceGroup.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersBySubscription.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineInstances.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesByResourceGroup.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesBySubscription.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksByResourceGroup.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksBySubscription.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MinimumSet_Gen.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateAvailabilitySet.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateCloud.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVMMServer.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineInstance.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineTemplate.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualNetwork.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VMInstanceGuestAgent_ListByVm.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_List_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_List_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Restart_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Restart_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Start_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Start_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Stop_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Stop_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Update_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MaximumSet_Gen.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MinimumSet_Gen.json diff --git a/specification/scvmm/ScVmm.Management/AvailabilitySet.tsp b/specification/scvmm/ScVmm.Management/AvailabilitySet.tsp new file mode 100644 index 000000000000..9bd58c92dfb9 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/AvailabilitySet.tsp @@ -0,0 +1,67 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using OpenAPI; + +namespace Microsoft.ScVmm; +/** The AvailabilitySets resource definition. */ +model AvailabilitySet is TrackedResource { + /** Name of the AvailabilitySet. */ + @maxLength(54) + @minLength(1) + @pattern("[a-zA-Z0-9-_\\.]") + @path + @key("availabilitySetResourceName") + @segment("availabilitySets") + name: string; + + /** The extended location. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "This property is allowed but not recognized by the linter" + extendedLocation: ExtendedLocation; +} + +@armResourceOperations +interface AvailabilitySets { + /** Implements AvailabilitySet GET method. */ + @summary("Gets an AvailabilitySet.") + get is ArmResourceRead; + /** Onboards the ScVmm availability set as an Azure resource. */ + @summary("Implements AvailabilitySets PUT method.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + AvailabilitySet, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + /** Updates the AvailabilitySets resource. */ + @summary("Implements the AvailabilitySets PATCH method.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + update is ArmTagsPatchAsync; + /** Deregisters the ScVmm availability set from Azure. */ + @summary("Implements AvailabilitySet DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync< + AvailabilitySet, + { + ...Foundations.BaseParameters; + ...QueryForceDelete; + }, + LroHeaders = ArmAsyncOperationHeader & + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + /** List of AvailabilitySets in a resource group. */ + @summary("Implements GET AvailabilitySets in a resource group.") + listByResourceGroup is ArmResourceListByParent; + /** List of AvailabilitySets in a subscription. */ + @summary("Implements GET AvailabilitySets in a subscription.") + listBySubscription is ArmListBySubscription; +} diff --git a/specification/scvmm/ScVmm.Management/BackCompat.tsp b/specification/scvmm/ScVmm.Management/BackCompat.tsp new file mode 100644 index 000000000000..1d42eb88d770 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/BackCompat.tsp @@ -0,0 +1,3 @@ +import "@azure-tools/typespec-azure-core"; + +@@visibility(Azure.Core.Page.nextLink, "read"); diff --git a/specification/scvmm/ScVmm.Management/Cloud.tsp b/specification/scvmm/ScVmm.Management/Cloud.tsp new file mode 100644 index 000000000000..11df2b42e155 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/Cloud.tsp @@ -0,0 +1,66 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using OpenAPI; + +namespace Microsoft.ScVmm; +/** The Clouds resource definition. */ +model Cloud is TrackedResource { + /** Name of the Cloud. */ + @maxLength(54) + @minLength(1) + @pattern("[a-zA-Z0-9-_\\.]") + @path + @key("cloudResourceName") + @segment("clouds") + name: string; + + /** The extended location. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "This property is allowed but not recognized by the linter" + extendedLocation: ExtendedLocation; +} + +@armResourceOperations +interface Clouds { + /** Implements Cloud GET method. */ + @summary("Gets a Cloud.") + get is ArmResourceRead; + /** Onboards the ScVmm fabric cloud as an Azure cloud resource. */ + @summary("Implements Clouds PUT method.") + createOrUpdate is ArmResourceCreateOrReplaceAsync; + /** Updates the Clouds resource. */ + @summary("Implements the Clouds PATCH method.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + update is ArmTagsPatchAsync; + /** Deregisters the ScVmm fabric cloud from Azure. */ + @summary("Implements Cloud resource DELETE method.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + delete is ArmResourceDeleteWithoutOkAsync< + Cloud, + { + ...Foundations.BaseParameters; + ...QueryForceDelete; + } + >; + /** List of Clouds in a resource group. */ + @summary("Implements GET Clouds in a resource group.") + listByResourceGroup is ArmResourceListByParent; + /** List of Clouds in a subscription. */ + @summary("Implements GET Clouds in a subscription.") + listBySubscription is ArmListBySubscription; +} diff --git a/specification/scvmm/ScVmm.Management/GuestAgent.tsp b/specification/scvmm/ScVmm.Management/GuestAgent.tsp new file mode 100644 index 000000000000..e2433aecf13a --- /dev/null +++ b/specification/scvmm/ScVmm.Management/GuestAgent.tsp @@ -0,0 +1,41 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VirtualMachineInstance.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; + +namespace Microsoft.ScVmm; +/** Defines the GuestAgent. */ +@parentResource(VirtualMachineInstance) +@singleton +model GuestAgent is ProxyResource { + /** Name of the guest agent. */ + @key("guestAgentName") + @segment("guestAgents") + @visibility("read") + @maxLength(54) + @minLength(1) + @pattern("[a-zA-Z0-9-_\\.]") + @path + name: string; +} + +@armResourceOperations +interface GuestAgents { + /** Implements GuestAgent GET method. */ + @summary("Gets GuestAgent.") + get is ArmResourceRead; + /** Create Or Update GuestAgent. */ + @summary("Implements GuestAgent PUT method.") + create is ArmResourceCreateOrReplaceAsync; + /** Implements GuestAgent DELETE method. */ + @summary("Deletes a GuestAgent resource.") + delete is ArmResourceDeleteSync; + /** Returns the list of GuestAgent of the given vm. */ + @summary("Implements GET GuestAgent in a vm.") + listByVirtualMachineInstance is ArmResourceListByParent; +} diff --git a/specification/scvmm/ScVmm.Management/InventoryItem.tsp b/specification/scvmm/ScVmm.Management/InventoryItem.tsp new file mode 100644 index 000000000000..454142f39561 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/InventoryItem.tsp @@ -0,0 +1,41 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VmmServer.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; + +namespace Microsoft.ScVmm; +/** Defines the inventory item. */ +@parentResource(VmmServer) +model InventoryItem is ProxyResource { + /** Name of the inventoryItem. */ + @pattern("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + @path + @key("inventoryItemResourceName") + @segment("inventoryItems") + name: string; + + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "This property is allowed but not recognized by the linter" + kind?: string; +} + +@armResourceOperations +interface InventoryItems { + /** Shows an inventory item. */ + @summary("Implements GET InventoryItem method.") + get is ArmResourceRead; + /** Create Or Update InventoryItem. */ + @summary("Implements InventoryItem PUT method.") + create is ArmResourceCreateOrReplaceSync; + /** Deletes an inventoryItem. */ + @summary("Implements inventoryItem DELETE method.") + delete is ArmResourceDeleteSync; + /** Returns the list of inventoryItems in the given VmmServer. */ + @summary("Implements GET for the list of Inventory Items in the VMMServer.") + listByVmmServer is ArmResourceListByParent; +} diff --git a/specification/scvmm/ScVmm.Management/VirtualMachineInstance.tsp b/specification/scvmm/ScVmm.Management/VirtualMachineInstance.tsp new file mode 100644 index 000000000000..49377ff789d6 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/VirtualMachineInstance.tsp @@ -0,0 +1,132 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ScVmm; +/** Define the virtualMachineInstance. */ +@singleton +model VirtualMachineInstance + is ExtensionResource { + /** Name of the virtual machine instance. */ + @key + @segment("virtualMachineInstances") + @visibility("read") + @maxLength(54) + @minLength(1) + @pattern("[a-zA-Z0-9-_\\.]") + @path + name: string; + + /** Gets or sets the extended location. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "This property is allowed but not recognized by the linter" + @visibility("read", "create") + extendedLocation: ExtendedLocation; +} + +/** The type used for update operations of the VirtualMachineInstance. */ +model VirtualMachineInstanceUpdate + is UpdateableProperties> { + /** The update properties of the VirtualMachineInstance. */ + @extension("x-ms-client-flatten", true) + properties?: VirtualMachineInstanceUpdateProperties; +} + +/** Delete From Host */ +union DeleteFromHost { + /** Enable delete from host. */ + `true`: "true", + + /** Disable delete from host. */ + `false`: "false", + + string, +} + +@armResourceOperations +interface VirtualMachineInstances { + /** Retrieves information about a virtual machine instance. */ + @summary("Gets a virtual machine.") + get is ArmResourceRead; + /** The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation. */ + @summary("Implements virtual machine PUT method.") + createOrUpdate is ArmResourceCreateOrUpdateAsync; + /** The operation to update a virtual machine instance. */ + @summary("Updates a virtual machine.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + update is ArmCustomPatchAsync< + VirtualMachineInstance, + VirtualMachineInstanceUpdate + >; + /** The operation to delete a virtual machine instance. */ + @summary("Deletes an virtual machine.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + delete is ArmResourceDeleteWithoutOkAsync< + VirtualMachineInstance, + { + ...Foundations.BaseParameters; + ...QueryForceDelete; + + /** Whether to disable the VM from azure and also delete it from Vmm. */ + @query("deleteFromHost") + deleteFromHost?: DeleteFromHost; + } + >; + /** Lists all of the virtual machine instances within the specified parent resource. */ + @summary("Implements List virtual machine instances.") + listByArm is ArmResourceListByParent; + /** The operation to power off (stop) a virtual machine instance. */ + @summary("Implements the operation to stop a virtual machine.") + stop is ArmResourceActionNoResponseContentAsync< + VirtualMachineInstance, + StopVirtualMachineOptions + >; + /** The operation to start a virtual machine instance. */ + @summary("Implements the operation to start a virtual machine.") + start is ArmResourceActionNoResponseContentAsync< + VirtualMachineInstance, + void + >; + /** The operation to restart a virtual machine instance. */ + @summary("Implements the operation to restart a virtual machine.") + restart is ArmResourceActionNoResponseContentAsync< + VirtualMachineInstance, + void + >; + /** Creates a checkpoint in virtual machine instance. */ + @summary("Implements the operation to creates a checkpoint in a virtual machine instance.") + createCheckpoint is ArmResourceActionNoResponseContentAsync< + VirtualMachineInstance, + VirtualMachineCreateCheckpoint + >; + /** Deletes a checkpoint in virtual machine instance. */ + @summary("Implements the operation to delete a checkpoint in a virtual machine instance.") + deleteCheckpoint is ArmResourceActionNoResponseContentAsync< + VirtualMachineInstance, + VirtualMachineDeleteCheckpoint + >; + /** Restores to a checkpoint in virtual machine instance. */ + @summary("Implements the operation to restores to a checkpoint in a virtual machine instance.") + restoreCheckpoint is ArmResourceActionNoResponseContentAsync< + VirtualMachineInstance, + VirtualMachineRestoreCheckpoint + >; +} diff --git a/specification/scvmm/ScVmm.Management/VirtualMachineTemplate.tsp b/specification/scvmm/ScVmm.Management/VirtualMachineTemplate.tsp new file mode 100644 index 000000000000..4f047ef22e0e --- /dev/null +++ b/specification/scvmm/ScVmm.Management/VirtualMachineTemplate.tsp @@ -0,0 +1,67 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using OpenAPI; + +namespace Microsoft.ScVmm; +/** The VirtualMachineTemplates resource definition. */ +model VirtualMachineTemplate + is TrackedResource { + /** Name of the VirtualMachineTemplate. */ + @maxLength(54) + @minLength(1) + @pattern("[a-zA-Z0-9-_\\.]") + @path + @key("virtualMachineTemplateName") + @segment("virtualMachineTemplates") + name: string; + + /** The extended location. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "This property is allowed but not recognized by the linter" + extendedLocation: ExtendedLocation; +} + +@armResourceOperations +interface VirtualMachineTemplates { + /** Implements VirtualMachineTemplate GET method. */ + @summary("Gets a VirtualMachineTemplate.") + get is ArmResourceRead; + /** Onboards the ScVmm VM Template as an Azure VM Template resource. */ + @summary("Implements VirtualMachineTemplates PUT method.") + createOrUpdate is ArmResourceCreateOrUpdateAsync; + /** Updates the VirtualMachineTemplate resource. */ + @summary("Implements the VirtualMachineTemplate PATCH method.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + update is ArmTagsPatchAsync; + /** Deregisters the ScVmm VM Template from Azure. */ + @summary("Implements VirtualMachineTemplate DELETE method.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + delete is ArmResourceDeleteWithoutOkAsync< + VirtualMachineTemplate, + { + ...Foundations.BaseParameters; + ...QueryForceDelete; + } + >; + /** List of VirtualMachineTemplates in a resource group. */ + @summary("Implements GET VirtualMachineTemplates in a resource group.") + listByResourceGroup is ArmResourceListByParent; + /** List of VirtualMachineTemplates in a subscription. */ + @summary("Implements GET VirtualMachineTemplates in a subscription.") + listBySubscription is ArmListBySubscription; +} diff --git a/specification/scvmm/ScVmm.Management/VirtualNetwork.tsp b/specification/scvmm/ScVmm.Management/VirtualNetwork.tsp new file mode 100644 index 000000000000..12a8e500b1f8 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/VirtualNetwork.tsp @@ -0,0 +1,66 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using OpenAPI; + +namespace Microsoft.ScVmm; +/** The VirtualNetworks resource definition. */ +model VirtualNetwork is TrackedResource { + /** Name of the VirtualNetwork. */ + @maxLength(54) + @minLength(1) + @pattern("[a-zA-Z0-9-_\\.]") + @path + @key("virtualNetworkName") + @segment("virtualNetworks") + name: string; + + /** The extended location. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "This property is allowed but not recognized by the linter" + extendedLocation: ExtendedLocation; +} + +@armResourceOperations +interface VirtualNetworks { + /** Implements VirtualNetwork GET method. */ + @summary("Gets a VirtualNetwork.") + get is ArmResourceRead; + /** Onboards the ScVmm virtual network as an Azure virtual network resource. */ + @summary("Implements VirtualNetworks PUT method.") + createOrUpdate is ArmResourceCreateOrUpdateAsync; + /** Updates the VirtualNetworks resource. */ + @summary("Implements the VirtualNetworks PATCH method.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + update is ArmTagsPatchAsync; + /** Deregisters the ScVmm virtual network from Azure. */ + @summary("Implements VirtualNetwork DELETE method.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + delete is ArmResourceDeleteWithoutOkAsync< + VirtualNetwork, + { + ...Foundations.BaseParameters; + ...QueryForceDelete; + } + >; + /** List of VirtualNetworks in a resource group. */ + @summary("Implements GET VirtualNetworks in a resource group.") + listByResourceGroup is ArmResourceListByParent; + /** List of VirtualNetworks in a subscription. */ + @summary("Implements GET VirtualNetworks in a subscription.") + listBySubscription is ArmListBySubscription; +} diff --git a/specification/scvmm/ScVmm.Management/VmInstanceHybridIdentityMetadata.tsp b/specification/scvmm/ScVmm.Management/VmInstanceHybridIdentityMetadata.tsp new file mode 100644 index 000000000000..a27edd51a540 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/VmInstanceHybridIdentityMetadata.tsp @@ -0,0 +1,37 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VirtualMachineInstance.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; + +namespace Microsoft.ScVmm; +/** Defines the HybridIdentityMetadata. */ +@parentResource(VirtualMachineInstance) +@singleton +model VmInstanceHybridIdentityMetadata + is ProxyResource { + // TODO/NOTE: key name is used as a workaround for name collision with singleton + /** Name of the VM Instance Hybrid Identity Metadata */ + @key("vmInstanceHybridIdentityMetadataName") + @segment("hybridIdentityMetadata") + @maxLength(54) + @minLength(1) + @pattern("[a-zA-Z0-9-_\\.]") + @path + @visibility("read") + name: string; +} + +@armResourceOperations +interface VmInstanceHybridIdentityMetadatas { + /** Implements HybridIdentityMetadata GET method. */ + @summary("Gets HybridIdentityMetadata.") + get is ArmResourceRead; + /** Returns the list of HybridIdentityMetadata of the given VM. */ + @summary("Implements GET HybridIdentityMetadata in a vm.") + listByVirtualMachineInstance is ArmResourceListByParent; +} diff --git a/specification/scvmm/ScVmm.Management/VmmServer.tsp b/specification/scvmm/ScVmm.Management/VmmServer.tsp new file mode 100644 index 000000000000..3926037810b0 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/VmmServer.tsp @@ -0,0 +1,66 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using OpenAPI; + +namespace Microsoft.ScVmm; +/** The VmmServers resource definition. */ +model VmmServer is TrackedResource { + /** Name of the VmmServer. */ + @maxLength(54) + @minLength(1) + @pattern("[a-zA-Z0-9-_\\.]") + @path + @key("vmmServerName") + @segment("vmmServers") + name: string; + + /** The extended location. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "This property is allowed but not recognized by the linter" + extendedLocation: ExtendedLocation; +} + +@armResourceOperations +interface VmmServers { + /** Implements VmmServer GET method. */ + @summary("Gets a VMMServer.") + get is ArmResourceRead; + /** Onboards the SCVmm fabric as an Azure VmmServer resource. */ + @summary("Implements VmmServers PUT method.") + createOrUpdate is ArmResourceCreateOrUpdateAsync; + /** Updates the VmmServers resource. */ + @summary("Implements VmmServers PATCH method.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + update is ArmTagsPatchAsync; + /** Removes the SCVmm fabric from Azure. */ + @summary("Implements VmmServers DELETE method.") + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + delete is ArmResourceDeleteWithoutOkAsync< + VmmServer, + { + ...Foundations.BaseParameters; + ...QueryForceDelete; + } + >; + /** List of VmmServers in a resource group. */ + @summary("Implements GET VmmServers in a resource group.") + listByResourceGroup is ArmResourceListByParent; + /** List of VmmServers in a subscription. */ + @summary("Implements GET VmmServers in a subscription.") + listBySubscription is ArmListBySubscription; +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..bd26158035a8 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,85 @@ +{ + "title": "AvailabilitySets_CreateOrUpdate_MaximumSet", + "operationId": "AvailabilitySets_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "-", + "resource": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..a9299f054a95 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "AvailabilitySets_CreateOrUpdate_MinimumSet", + "operationId": "AvailabilitySets_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "_", + "resource": { + "extendedLocation": {}, + "location": "jelevilan" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Delete_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..c92e32da2fc2 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "AvailabilitySets_Delete_MaximumSet", + "operationId": "AvailabilitySets_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "availabilitySetResourceName": "_" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Delete_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..bfcba119ca0b --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "AvailabilitySets_Delete_MinimumSet", + "operationId": "AvailabilitySets_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "6" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Get_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..466b960db7f3 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Get_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "title": "AvailabilitySets_Get_MaximumSet", + "operationId": "AvailabilitySets_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "-" + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Get_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..712923c73274 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "AvailabilitySets_Get_MinimumSet", + "operationId": "AvailabilitySets_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "V" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..36cffcee69e3 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "AvailabilitySets_ListByResourceGroup_MaximumSet", + "operationId": "AvailabilitySets_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..479fb51446d6 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "AvailabilitySets_ListByResourceGroup_MinimumSet", + "operationId": "AvailabilitySets_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..39403c128bdb --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "title": "AvailabilitySets_ListBySubscription_MaximumSet", + "operationId": "AvailabilitySets_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..b065672c5db2 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "AvailabilitySets_ListBySubscription_MinimumSet", + "operationId": "AvailabilitySets_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Update_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..54a74d0136b6 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Update_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "AvailabilitySets_Update_MaximumSet", + "operationId": "AvailabilitySets_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "-", + "properties": { + "tags": { + "key1460": "vcbwibkvr" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Update_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..53b0a3aa0ada --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/AvailabilitySets_Update_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "AvailabilitySets_Update_MinimumSet", + "operationId": "AvailabilitySets_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "1", + "properties": {} + }, + "responses": { + "200": { + "body": { + "extendedLocation": {}, + "location": "jelevilan" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..dec3be9a11c2 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,121 @@ +{ + "title": "Clouds_CreateOrUpdate_MaximumSet", + "operationId": "Clouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "2", + "resource": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudCapacity": {} + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..77135d0b0d2c --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "Clouds_CreateOrUpdate_MinimumSet", + "operationId": "Clouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "-", + "resource": { + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Delete_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..5771f63c2eeb --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Clouds_Delete_MaximumSet", + "operationId": "Clouds_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "cloudResourceName": "-" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Delete_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..1371da91eb2a --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Clouds_Delete_MinimumSet", + "operationId": "Clouds_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "1" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Get_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..8c14437fabfd --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Get_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "title": "Clouds_Get_MaximumSet", + "operationId": "Clouds_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "_" + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Get_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..f051952e6e97 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Clouds_Get_MinimumSet", + "operationId": "Clouds_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "i" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..50ad86379ca2 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,61 @@ +{ + "title": "Clouds_ListByResourceGroup_MaximumSet", + "operationId": "Clouds_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/aplbh" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..f9478795f23d --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "Clouds_ListByResourceGroup_MinimumSet", + "operationId": "Clouds_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..5be580a6d2fe --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,60 @@ +{ + "title": "Clouds_ListBySubscription_MaximumSet", + "operationId": "Clouds_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/aplbh" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..4f3e42081baa --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Clouds_ListBySubscription_MinimumSet", + "operationId": "Clouds_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Update_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..9f58290c10e3 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Update_MaximumSet_Gen.json @@ -0,0 +1,67 @@ +{ + "title": "Clouds_Update_MaximumSet", + "operationId": "Clouds_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "P", + "properties": { + "tags": { + "key5266": "hjpcnwmpnixsolrxnbl" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Update_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..c0fc02168235 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Clouds_Update_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "Clouds_Update_MinimumSet", + "operationId": "Clouds_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "_", + "properties": {} + }, + "responses": { + "200": { + "body": { + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Create_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..e9b7586788ff --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Create_MaximumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "title": "GuestAgents_Create_MaximumSet", + "operationId": "GuestAgents_Create", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "resource": { + "properties": { + "credentials": { + "username": "jqxuwirrcpfv", + "password": "gkvbnmuahumuoibvscoxzfdqwvfuf" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "uuid": "hbsgztyakewtgbuxbesezncnzu", + "credentials": { + "username": "jqxuwirrcpfv" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install", + "status": "jpoukrzfenzrmjdahimkl", + "customResourceName": "mhqymxkapuvsugd", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + "name": "rwecpthzyt", + "type": "dkcgcbtlwtsedxzhvtu", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "uuid": "hbsgztyakewtgbuxbesezncnzu", + "credentials": { + "username": "jqxuwirrcpfv" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install", + "status": "jpoukrzfenzrmjdahimkl", + "customResourceName": "mhqymxkapuvsugd", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + "name": "rwecpthzyt", + "type": "dkcgcbtlwtsedxzhvtu", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Create_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..0d57f62ac1a8 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Create_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "GuestAgents_Create_MinimumSet", + "operationId": "GuestAgents_Create", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "resource": {} + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": {} + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Delete_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..a9e4037d29b5 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Delete_MaximumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "GuestAgents_Delete_MaximumSet", + "operationId": "GuestAgents_Delete", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Delete_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..2b89999988ad --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Delete_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "GuestAgents_Delete_MinimumSet", + "operationId": "GuestAgents_Delete", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Get_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..afdabdde6430 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Get_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "title": "GuestAgents_Get_MaximumSet", + "operationId": "GuestAgents_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "properties": { + "uuid": "hbsgztyakewtgbuxbesezncnzu", + "credentials": { + "username": "jqxuwirrcpfv" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install", + "status": "jpoukrzfenzrmjdahimkl", + "customResourceName": "mhqymxkapuvsugd", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + "name": "rwecpthzyt", + "type": "dkcgcbtlwtsedxzhvtu", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Get_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..742ec90dbdbe --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_Get_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "title": "GuestAgents_Get_MinimumSet", + "operationId": "GuestAgents_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json new file mode 100644 index 000000000000..6db4dd3489f8 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "title": "GuestAgents_ListByVirtualMachineInstance_MaximumSet", + "operationId": "GuestAgents_ListByVirtualMachineInstance", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "uuid": "hbsgztyakewtgbuxbesezncnzu", + "credentials": { + "username": "jqxuwirrcpfv" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install", + "status": "jpoukrzfenzrmjdahimkl", + "customResourceName": "mhqymxkapuvsugd", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + "name": "rwecpthzyt", + "type": "dkcgcbtlwtsedxzhvtu", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json new file mode 100644 index 000000000000..5174653b5e03 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "GuestAgents_ListByVirtualMachineInstance_MinimumSet", + "operationId": "GuestAgents_ListByVirtualMachineInstance", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Create_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..2d5b6d36d638 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Create_MaximumSet_Gen.json @@ -0,0 +1,65 @@ +{ + "title": "InventoryItems_Create_MaximumSet", + "operationId": "InventoryItems_Create", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "O", + "inventoryItemResourceName": "1BdDc2Ab-bDd9-Ebd6-bfdb-C0dbbdB5DEDf", + "resource": { + "properties": { + "inventoryType": "InventoryItemProperties" + }, + "kind": "M\\d_,V." + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryType": "InventoryItemProperties", + "managedResourceId": "ictxvjzvurnkdgwabqyyfyckkkdx", + "uuid": "jolmoxfopwfoje", + "inventoryItemName": "kspgdhmlmycalwrepfmshoaoumna", + "provisioningState": "Succeeded" + }, + "kind": "M\\d_,V.", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName", + "name": "oimmcgxagnhmasgsmhdaigznub", + "type": "lfhuayaplzxdqzubmjvtgcan", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "body": { + "properties": { + "inventoryType": "InventoryItemProperties", + "managedResourceId": "ictxvjzvurnkdgwabqyyfyckkkdx", + "uuid": "jolmoxfopwfoje", + "inventoryItemName": "kspgdhmlmycalwrepfmshoaoumna", + "provisioningState": "Succeeded" + }, + "kind": "M\\d_,V.", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName", + "name": "oimmcgxagnhmasgsmhdaigznub", + "type": "lfhuayaplzxdqzubmjvtgcan", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Create_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..82a0e9acf2e3 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Create_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "InventoryItems_Create_MinimumSet", + "operationId": "InventoryItems_Create", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": ".", + "inventoryItemResourceName": "bbFb0cBb-50ce-4bfc-3eeD-bC26AbCC257a", + "resource": {} + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "body": {} + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Delete_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..cb9c6e73d3f1 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Delete_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "InventoryItems_Delete_MaximumSet", + "operationId": "InventoryItems_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "b", + "inventoryItemResourceName": "EcECadfd-Eaaa-e5Ce-ebdA-badeEd3c6af1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Delete_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..83f5ba5a2a06 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Delete_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "InventoryItems_Delete_MinimumSet", + "operationId": "InventoryItems_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "_", + "inventoryItemResourceName": "cDBcbae6-BC3d-52fe-CedC-7eFeaBFabb82" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Get_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..85b101b44afe --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Get_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "title": "InventoryItems_Get_MaximumSet", + "operationId": "InventoryItems_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "1", + "inventoryItemResourceName": "2bFBede6-EEf8-becB-dBbd-B96DbBFdB3f3" + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryType": "InventoryItemProperties", + "managedResourceId": "ictxvjzvurnkdgwabqyyfyckkkdx", + "uuid": "jolmoxfopwfoje", + "inventoryItemName": "kspgdhmlmycalwrepfmshoaoumna", + "provisioningState": "Succeeded" + }, + "kind": "M\\d_,V.", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName", + "name": "oimmcgxagnhmasgsmhdaigznub", + "type": "lfhuayaplzxdqzubmjvtgcan", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Get_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..bbddea0d16c4 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_Get_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "InventoryItems_Get_MinimumSet", + "operationId": "InventoryItems_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "_", + "inventoryItemResourceName": "cacb8Ceb-efAC-bebb-ae7C-dec8C5Bb7100" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_ListByVmmServer_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_ListByVmmServer_MaximumSet_Gen.json new file mode 100644 index 000000000000..9bb19122499d --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_ListByVmmServer_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "title": "InventoryItems_ListByVmmServer_MaximumSet", + "operationId": "InventoryItems_ListByVmmServer", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "X" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryType": "InventoryItemProperties", + "managedResourceId": "ictxvjzvurnkdgwabqyyfyckkkdx", + "uuid": "jolmoxfopwfoje", + "inventoryItemName": "kspgdhmlmycalwrepfmshoaoumna", + "provisioningState": "Succeeded" + }, + "kind": "M\\d_,V.", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName", + "name": "oimmcgxagnhmasgsmhdaigznub", + "type": "lfhuayaplzxdqzubmjvtgcan", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_ListByVmmServer_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_ListByVmmServer_MinimumSet_Gen.json new file mode 100644 index 000000000000..8399a4d90fec --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/InventoryItems_ListByVmmServer_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "InventoryItems_ListByVmmServer_MinimumSet", + "operationId": "InventoryItems_ListByVmmServer", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "H" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Operations_List_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..e5589330f554 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List_MaximumSet", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-10-07" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rieknsh", + "isDataAction": true, + "display": { + "provider": "avkabpzrbafrbnubspbrsippj", + "resource": "qojushhvjhkwwmboofogcky", + "operation": "v", + "description": "fmwevntnynhgzoksqpjidn" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/Operations_List_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..daa59bb54c11 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List_MinimumSet", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-10-07" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json new file mode 100644 index 000000000000..fc1ce4ecd762 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualMachineInstances_CreateCheckpoint_MaximumSet", + "operationId": "VirtualMachineInstances_CreateCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": { + "name": "ilvltf", + "description": "zoozhfbepldrgpjqsbhpqebtodrhvy" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json new file mode 100644 index 000000000000..fd1611ee7760 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_CreateCheckpoint_MinimumSet", + "operationId": "VirtualMachineInstances_CreateCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..968d99e12975 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,316 @@ +{ + "title": "VirtualMachineInstances_CreateOrUpdate_MaximumSet", + "operationId": "VirtualMachineInstances_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "resource": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "adminPassword": "vavtppmmhlspydtkzxda", + "computerName": "uuxpcxuxcufllc", + "osType": "Windows" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql" + } + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql", + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "kz" + } + ] + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql", + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "kz" + } + ] + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..6c976787659b --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "VirtualMachineInstances_CreateOrUpdate_MinimumSet", + "operationId": "VirtualMachineInstances_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "resource": { + "extendedLocation": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "extendedLocation": {} + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "extendedLocation": {} + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json new file mode 100644 index 000000000000..20b2970f75bf --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineInstances_DeleteCheckpoint_MaximumSet", + "operationId": "VirtualMachineInstances_DeleteCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": { + "id": "eenfflimcbgqfsebdusophahjpk" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json new file mode 100644 index 000000000000..da321cb1224b --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_DeleteCheckpoint_MinimumSet", + "operationId": "VirtualMachineInstances_DeleteCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Delete_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..7ed55835440a --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineInstances_Delete_MaximumSet", + "operationId": "VirtualMachineInstances_Delete", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "force": "true", + "deleteFromHost": "true" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Delete_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..0cf8953301ab --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Delete_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Delete_MinimumSet", + "operationId": "VirtualMachineInstances_Delete", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Get_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..a7bf57d14cc6 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Get_MaximumSet_Gen.json @@ -0,0 +1,123 @@ +{ + "title": "VirtualMachineInstances_Get_MaximumSet", + "operationId": "VirtualMachineInstances_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + } + ], + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql" + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Get_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..49c8f84417cb --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Get_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Get_MinimumSet", + "operationId": "VirtualMachineInstances_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "extendedLocation": {} + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_List_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..a8de59e516b3 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_List_MaximumSet_Gen.json @@ -0,0 +1,128 @@ +{ + "title": "VirtualMachineInstances_List_MaximumSet", + "operationId": "VirtualMachineInstances_List", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + } + ], + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql" + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_List_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..316d14ed91a9 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_List_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "VirtualMachineInstances_List_MinimumSet", + "operationId": "VirtualMachineInstances_List", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "extendedLocation": {} + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Restart_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Restart_MaximumSet_Gen.json new file mode 100644 index 000000000000..216d534d6466 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Restart_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Restart_MaximumSet", + "operationId": "VirtualMachineInstances_Restart", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Restart_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Restart_MinimumSet_Gen.json new file mode 100644 index 000000000000..7bd0879b55a9 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Restart_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Restart_MinimumSet", + "operationId": "VirtualMachineInstances_Restart", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json new file mode 100644 index 000000000000..c890243da685 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineInstances_RestoreCheckpoint_MaximumSet", + "operationId": "VirtualMachineInstances_RestoreCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": { + "id": "rweqduwzsn" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json new file mode 100644 index 000000000000..af360f1da610 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_RestoreCheckpoint_MinimumSet", + "operationId": "VirtualMachineInstances_RestoreCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Start_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Start_MaximumSet_Gen.json new file mode 100644 index 000000000000..37d2a02241c0 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Start_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Start_MaximumSet", + "operationId": "VirtualMachineInstances_Start", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Start_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Start_MinimumSet_Gen.json new file mode 100644 index 000000000000..d30c00876c68 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Start_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Start_MinimumSet", + "operationId": "VirtualMachineInstances_Start", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Stop_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Stop_MaximumSet_Gen.json new file mode 100644 index 000000000000..9866e8ef5ac4 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Stop_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineInstances_Stop_MaximumSet", + "operationId": "VirtualMachineInstances_Stop", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": { + "skipShutdown": "true" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Stop_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Stop_MinimumSet_Gen.json new file mode 100644 index 000000000000..c0a22fc7ced0 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Stop_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Stop_MinimumSet", + "operationId": "VirtualMachineInstances_Stop", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Update_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..8c5f5877e749 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Update_MaximumSet_Gen.json @@ -0,0 +1,179 @@ +{ + "title": "VirtualMachineInstances_Update_MaximumSet", + "operationId": "VirtualMachineInstances_Update", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "properties": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30 + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + } + } + ] + }, + "infrastructureProfile": { + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql", + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "kz" + } + ] + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Update_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..6a65796f568c --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineInstances_Update_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VirtualMachineInstances_Update_MinimumSet", + "operationId": "VirtualMachineInstances_Update", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "properties": {} + }, + "responses": { + "200": { + "body": { + "extendedLocation": {} + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..a3f6ec893749 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,197 @@ +{ + "title": "VirtualMachineTemplates_CreateOrUpdate_MaximumSet", + "operationId": "VirtualMachineTemplates_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "6", + "resource": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "isHighlyAvailable": "true" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..54070d1cf5b4 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "VirtualMachineTemplates_CreateOrUpdate_MinimumSet", + "operationId": "VirtualMachineTemplates_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "P", + "resource": { + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Delete_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..b3c7aa4c905e --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualMachineTemplates_Delete_MaximumSet", + "operationId": "VirtualMachineTemplates_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "virtualMachineTemplateName": "6" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Delete_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..57b7122c4b08 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineTemplates_Delete_MinimumSet", + "operationId": "VirtualMachineTemplates_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "5" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Get_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b809f2656a43 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Get_MaximumSet_Gen.json @@ -0,0 +1,93 @@ +{ + "title": "VirtualMachineTemplates_Get_MaximumSet", + "operationId": "VirtualMachineTemplates_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "4" + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Get_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..a826574c701e --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualMachineTemplates_Get_MinimumSet", + "operationId": "VirtualMachineTemplates_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "m" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..d854b51c91ea --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,97 @@ +{ + "title": "VirtualMachineTemplates_ListByResourceGroup_MaximumSet", + "operationId": "VirtualMachineTemplates_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/atbdyyso" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..74d2d4c5a6e1 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "VirtualMachineTemplates_ListByResourceGroup_MinimumSet", + "operationId": "VirtualMachineTemplates_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..38a7b033562a --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,96 @@ +{ + "title": "VirtualMachineTemplates_ListBySubscription_MaximumSet", + "operationId": "VirtualMachineTemplates_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/atbdyyso" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..d49da9a65cd3 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VirtualMachineTemplates_ListBySubscription_MinimumSet", + "operationId": "VirtualMachineTemplates_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Update_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e5628d59c929 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Update_MaximumSet_Gen.json @@ -0,0 +1,103 @@ +{ + "title": "VirtualMachineTemplates_Update_MaximumSet", + "operationId": "VirtualMachineTemplates_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "g", + "properties": { + "tags": { + "key6634": "wwfhrg" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Update_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..b2b31acbe444 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualMachineTemplates_Update_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "VirtualMachineTemplates_Update_MinimumSet", + "operationId": "VirtualMachineTemplates_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "-", + "properties": {} + }, + "responses": { + "200": { + "body": { + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..2f9bea0d4f22 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,90 @@ +{ + "title": "VirtualNetworks_CreateOrUpdate_MaximumSet", + "operationId": "VirtualNetworks_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "_", + "resource": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..19e0de45672e --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "VirtualNetworks_CreateOrUpdate_MinimumSet", + "operationId": "VirtualNetworks_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "-", + "resource": { + "extendedLocation": {}, + "location": "fky" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Delete_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..800f8ca90845 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualNetworks_Delete_MaximumSet", + "operationId": "VirtualNetworks_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "virtualNetworkName": "." + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Delete_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..224da31900a6 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualNetworks_Delete_MinimumSet", + "operationId": "VirtualNetworks_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "1" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Get_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..aaf6e2a31161 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Get_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "VirtualNetworks_Get_MaximumSet", + "operationId": "VirtualNetworks_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "2" + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Get_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..5ca1b434b8d7 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualNetworks_Get_MinimumSet", + "operationId": "VirtualNetworks_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "-" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..b2c4a8d7b727 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "VirtualNetworks_ListByResourceGroup_MaximumSet", + "operationId": "VirtualNetworks_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..a4aa344196c0 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "VirtualNetworks_ListByResourceGroup_MinimumSet", + "operationId": "VirtualNetworks_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..a196e4d38860 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "VirtualNetworks_ListBySubscription_MaximumSet", + "operationId": "VirtualNetworks_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..92556f56363b --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VirtualNetworks_ListBySubscription_MinimumSet", + "operationId": "VirtualNetworks_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Update_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..fdc685c5710d --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Update_MaximumSet_Gen.json @@ -0,0 +1,52 @@ +{ + "title": "VirtualNetworks_Update_MaximumSet", + "operationId": "VirtualNetworks_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "S", + "properties": { + "tags": { + "key9516": "oxduo" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Update_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..8ea701da7b35 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VirtualNetworks_Update_MinimumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualNetworks_Update_MinimumSet", + "operationId": "VirtualNetworks_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "-", + "properties": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..8651dc85a156 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "title": "VmInstanceHybridIdentityMetadatas_Get_MaximumSet", + "operationId": "VmInstanceHybridIdentityMetadatas_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceUid": "mikbntobifeiouinvsalnu", + "publicKey": "hijhfxcdjuzidfjjztoh", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default", + "name": "rxvpcegqc", + "type": "ixqhymswessvylnqgti", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..94920ce51700 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "VmInstanceHybridIdentityMetadatas_Get_MinimumSet", + "operationId": "VmInstanceHybridIdentityMetadatas_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json new file mode 100644 index 000000000000..8e2d4776e0d8 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json @@ -0,0 +1,35 @@ +{ + "title": "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet", + "operationId": "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceUid": "mikbntobifeiouinvsalnu", + "publicKey": "hijhfxcdjuzidfjjztoh", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default", + "name": "rxvpcegqc", + "type": "ixqhymswessvylnqgti", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json new file mode 100644 index 000000000000..cb06143e83ce --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet", + "operationId": "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..bb3f5c2817a4 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,103 @@ +{ + "title": "VmmServers_CreateOrUpdate_MaximumSet", + "operationId": "VmmServers_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "-", + "resource": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi", + "password": "gaecsnkjr" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4 + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..713b3b0a9670 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "VmmServers_CreateOrUpdate_MinimumSet", + "operationId": "VmmServers_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "w", + "resource": { + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Delete_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..cbfacb829d81 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VmmServers_Delete_MaximumSet", + "operationId": "VmmServers_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "vmmServerName": "." + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Delete_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..35fef81e6cd5 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VmmServers_Delete_MinimumSet", + "operationId": "VmmServers_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "8" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Get_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..cf34a571f852 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Get_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "title": "VmmServers_Get_MaximumSet", + "operationId": "VmmServers_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "." + }, + "responses": { + "200": { + "body": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Get_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..e824ad8ddf26 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VmmServers_Get_MinimumSet", + "operationId": "VmmServers_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "D" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..cf469f65ae64 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "title": "VmmServers_ListByResourceGroup_MaximumSet", + "operationId": "VmmServers_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..fca767a96354 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "VmmServers_ListByResourceGroup_MinimumSet", + "operationId": "VmmServers_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..aa5e07d5c9e8 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "VmmServers_ListBySubscription_MaximumSet", + "operationId": "VmmServers_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..109cb8b8d48a --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VmmServers_ListBySubscription_MinimumSet", + "operationId": "VmmServers_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + ] + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Update_MaximumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..bb5afd132f00 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Update_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "title": "VmmServers_Update_MaximumSet", + "operationId": "VmmServers_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "Y", + "properties": { + "tags": { + "key7187": "oktnfvklfchnquelzzdagtpwfskzc" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Update_MinimumSet_Gen.json b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..b5d077a0f7a5 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/examples/2023-10-07/VmmServers_Update_MinimumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "title": "VmmServers_Update_MinimumSet", + "operationId": "VmmServers_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "_", + "properties": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/ScVmm.Management/main.tsp b/specification/scvmm/ScVmm.Management/main.tsp new file mode 100644 index 000000000000..acdf29788a24 --- /dev/null +++ b/specification/scvmm/ScVmm.Management/main.tsp @@ -0,0 +1,38 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./VmmServer.tsp"; +import "./Cloud.tsp"; +import "./VirtualNetwork.tsp"; +import "./VirtualMachineTemplate.tsp"; +import "./AvailabilitySet.tsp"; +import "./InventoryItem.tsp"; +import "./VirtualMachineInstance.tsp"; +import "./VmInstanceHybridIdentityMetadata.tsp"; +import "./GuestAgent.tsp"; +import "./BackCompat.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** The Microsoft.ScVmm Rest API spec. */ +@armProviderNamespace +@service({ + title: "ScVmm", +}) +@versioned(Versions) +namespace Microsoft.ScVmm; + +/** The available API versions. */ +enum Versions { + /** Service version 2023-10-07. */ + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_1) + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) + v2023_10_07: "2023-10-07", +} diff --git a/specification/scvmm/ScVmm.Management/models.tsp b/specification/scvmm/ScVmm.Management/models.tsp new file mode 100644 index 000000000000..bbc58d95d93e --- /dev/null +++ b/specification/scvmm/ScVmm.Management/models.tsp @@ -0,0 +1,949 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@typespec/openapi"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using Azure.ResourceManager; + +namespace Microsoft.ScVmm; + +interface Operations extends Azure.ResourceManager.Operations {} + +alias VmmServerId = Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ScVmm/vmmServers"; + } +]>; + +alias VirtualNetworkId = Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ScVmm/virtualNetwork"; + } +]>; + +/** A reusable query option to force delete a resource. */ +model QueryForceDelete { + /** Forces the resource to be deleted. */ + @query("force") + force?: ForceDelete; +} + +/** The provisioning state of the resource. */ +union ResourceProvisioningState { + string, + Azure.ResourceManager.ResourceProvisioningState, + + /** The resource is provisioning. */ + Provisioning: "Provisioning", + + /** The resource is updating. */ + Updating: "Updating", + + /** The resource is being deleted. */ + Deleting: "Deleting", + + /** The resource has been accepted. */ + Accepted: "Accepted", + + /** The resource was created. */ + Created: "Created", +} + +/** Virtual machine operating system type. */ +union OsType { + /** Windows operating system. */ + Windows: "Windows", + + /** Linux operating system. */ + Linux: "Linux", + + /** Other operating system. */ + Other: "Other", + + string, +} + +/** Network address allocation method. */ +union AllocationMethod { + /** Dynamically allocated address. */ + Dynamic: "Dynamic", + + /** Statically allocated address. */ + Static: "Static", + + string, +} + +/** Guest agent provisioning action. */ +union ProvisioningAction { + /** Install guest agent. */ + install: "install", + + /** Uninstall guest agent. */ + uninstall: "uninstall", + + /** Repair guest agent. */ + repair: "repair", + + string, +} + +/** Limit CPU for migration. */ +union LimitCpuForMigration { + /** Enable limit CPU for migration. */ + `true`: "true", + + /** Disable limit CPU for migration. */ + `false`: "false", + + string, +} + +/** Dynamic memory enabled. */ +union DynamicMemoryEnabled { + /** Enable dynamic memory. */ + `true`: "true", + + /** Disable dynamic memory. */ + `false`: "false", + + string, +} + +/** Highly available. */ +union IsHighlyAvailable { + /** Enable highly available. */ + `true`: "true", + + /** Disable highly available. */ + `false`: "false", + + string, +} + +/** Create diff disk. */ +union CreateDiffDisk { + /** Enable create diff disk. */ + `true`: "true", + + /** Disable create diff disk. */ + `false`: "false", + + string, +} + +/** Customizable. */ +union IsCustomizable { + /** Enable customizable. */ + `true`: "true", + + /** Disable customizable. */ + `false`: "false", + + string, +} + +/** Skip shutdown. */ +union SkipShutdown { + /** Enable skip shutdown. */ + `true`: "true", + + /** Disable skip shutdown. */ + `false`: "false", + + string, +} + +/** Force Delete */ +union ForceDelete { + /** Enable force delete. */ + `true`: "true", + + /** Disable force delete. */ + `false`: "false", + + string, +} + +/** Defines the resource properties. */ +model VmmServerProperties { + /** Credentials to connect to VmmServer. */ + credentials?: VmmCredential; + + /** Fqdn is the hostname/ip of the vmmServer. */ + @minLength(1) + fqdn: string; + + /** Port is the port on which the vmmServer is listening. */ + @minValue(1) + @maxValue(65535) + port?: int32; + + /** Gets the connection status to the vmmServer. */ + @visibility("read") + connectionStatus?: string; + + /** Gets any error message if connection to vmmServer is having any issue. */ + @visibility("read") + errorMessage?: string; + + /** Unique ID of vmmServer. */ + @visibility("read") + uuid?: string; + + /** Version is the version of the vmmSever. */ + @visibility("read") + version?: string; + + /** Provisioning state of the resource. */ + @visibility("read") + provisioningState?: Microsoft.ScVmm.ResourceProvisioningState; +} + +/** Credentials to connect to VmmServer. */ +model VmmCredential { + /** Username to use to connect to VmmServer. */ + username?: string; + + /** Password to use to connect to VmmServer. */ + @visibility("create", "update") + @secret + password?: string; +} + +/** The extended location. */ +model ExtendedLocation { + /** The extended location type. */ + type?: string; + + /** The extended location name. */ + name?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ExtendedLocation/customLocations"; + } + ]>; +} + +/** Defines the resource properties. */ +model CloudProperties { + /** Gets or sets the inventory Item ID for the resource. */ + inventoryItemId?: string; + + /** Unique ID of the cloud. */ + @pattern("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + uuid?: string; + + /** ARM Id of the vmmServer resource in which this resource resides. */ + vmmServerId?: VmmServerId; + + /** Name of the cloud in VmmServer. */ + @visibility("read") + cloudName?: string; + + /** Capacity of the cloud. */ + @visibility("read") + cloudCapacity?: CloudCapacity; + + /** List of QoS policies available for the cloud. */ + @visibility("read") + @encodedName("application/json", "storageQoSPolicies") + storageQosPolicies?: StorageQosPolicy[]; + + /** Provisioning state of the resource. */ + @visibility("read") + provisioningState?: Microsoft.ScVmm.ResourceProvisioningState; +} + +/** Cloud Capacity model */ +model CloudCapacity { + /** CPUCount specifies the maximum number of CPUs that can be allocated in the cloud. */ + @visibility("read") cpuCount?: int64; + + /** MemoryMB specifies a memory usage limit in megabytes. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "MB is distinct from Mb" + @visibility("read") memoryMB?: int64; + + /** VMCount gives the max number of VMs that can be deployed in the cloud. */ + @visibility("read") vmCount?: int64; +} + +/** The StorageQoSPolicy definition. */ +model StorageQosPolicy { + /** The name of the policy. */ + name?: string; + + /** The ID of the QoS policy. */ + id?: string; + + /** The maximum IO operations per second. */ + iopsMaximum?: int64; + + /** The minimum IO operations per second. */ + iopsMinimum?: int64; + + /** The Bandwidth Limit for internet traffic. */ + bandwidthLimit?: int64; + + /** The underlying policy. */ + policyId?: string; +} + +/** Defines the resource properties. */ +model VirtualNetworkProperties { + /** Gets or sets the inventory Item ID for the resource. */ + inventoryItemId?: string; + + /** Unique ID of the virtual network. */ + @pattern("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + uuid?: string; + + /** ARM Id of the vmmServer resource in which this resource resides. */ + vmmServerId?: VmmServerId; + + /** Name of the virtual network in vmmServer. */ + @visibility("read") + networkName?: string; + + /** Provisioning state of the resource. */ + @visibility("read") + provisioningState?: Microsoft.ScVmm.ResourceProvisioningState; +} + +/** Defines the resource properties. */ +model VirtualMachineTemplateProperties { + /** Gets or sets the inventory Item ID for the resource. */ + inventoryItemId?: string; + + /** Unique ID of the virtual machine template. */ + @pattern("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + uuid?: string; + + /** ARM Id of the vmmServer resource in which this resource resides. */ + vmmServerId?: VmmServerId; + + /** Gets the type of the os. */ + @visibility("read") + osType?: OsType; + + /** Gets os name. */ + @visibility("read") + osName?: string; + + /** Gets computer name. */ + @visibility("read") + computerName?: string; + + /** MemoryMB is the desired size of a virtual machine's memory, in MB. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "MB is distinct from Mb" + @visibility("read") + memoryMB?: int32; + + /** Gets the desired number of vCPUs for the vm. */ + @visibility("read") + cpuCount?: int32; + + /** Gets a value indicating whether to enable processor compatibility mode for live migration of VMs. */ + @visibility("read") + limitCpuForMigration?: LimitCpuForMigration; + + /** Gets a value indicating whether to enable dynamic memory or not. */ + @visibility("read") + dynamicMemoryEnabled?: DynamicMemoryEnabled; + + /** Gets a value indicating whether the vm template is customizable or not. */ + @visibility("read") + isCustomizable?: IsCustomizable; + + /** Gets the max dynamic memory for the vm. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "MB is distinct from Mb" + @visibility("read") + dynamicMemoryMaxMB?: int32; + + /** Gets the min dynamic memory for the vm. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "MB is distinct from Mb" + @visibility("read") + dynamicMemoryMinMB?: int32; + + /** Gets highly available property. */ + @visibility("read") + isHighlyAvailable?: IsHighlyAvailable; + + /** Gets the generation for the vm. */ + @visibility("read") + generation?: int32; + + /** Gets the network interfaces of the template. */ + @visibility("read") + @extension("x-ms-identifiers", ["name", "nicId"]) + networkInterfaces?: NetworkInterface[]; + + /** Gets the disks of the template. */ + @visibility("read") + @extension("x-ms-identifiers", ["diskId", "name"]) + disks?: VirtualDisk[]; + + /** Provisioning state of the resource. */ + @visibility("read") + provisioningState?: Microsoft.ScVmm.ResourceProvisioningState; +} + +/** Network Interface model */ +model NetworkInterface { + /** Gets or sets the name of the network interface. */ + name?: string; + + /** Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set. */ + @visibility("read") + displayName?: string; + + /** Gets the nic ipv4 addresses. */ + @visibility("read") + ipv4Addresses?: string[]; + + /** Gets the nic ipv6 addresses. */ + @visibility("read") + ipv6Addresses?: string[]; + + /** Gets or sets the nic MAC address. */ + macAddress?: string; + + /** Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic. */ + virtualNetworkId?: VirtualNetworkId; + + /** Gets the name of the virtual network in vmmServer that the nic is connected to. */ + @visibility("read") + networkName?: string; + + /** Gets or sets the ipv4 address type. */ + ipv4AddressType?: AllocationMethod; + + /** Gets or sets the ipv6 address type. */ + ipv6AddressType?: AllocationMethod; + + /** Gets or sets the mac address type. */ + macAddressType?: AllocationMethod; + + /** Gets or sets the nic id. */ + nicId?: string; +} + +/** Network Interface Update model */ +model NetworkInterfaceUpdate is UpdateableProperties; + +/** Virtual disk model */ +model VirtualDisk { + /** Gets or sets the name of the disk. */ + name?: string; + + /** Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set. */ + @visibility("read") + displayName?: string; + + /** Gets or sets the disk id. */ + diskId?: string; + + /** Gets or sets the disk total size. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "GB is distinct from Gb" + diskSizeGB?: int32; + + /** Gets the max disk size. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "GB is distinct from Gb" + @visibility("read") + maxDiskSizeGB?: int32; + + /** Gets or sets the disk bus. */ + bus?: int32; + + /** Gets or sets the disk lun. */ + lun?: int32; + + /** Gets or sets the disk bus type. */ + busType?: string; + + /** Gets or sets the disk vhd type. */ + vhdType?: string; + + /** Gets the disk volume type. */ + @visibility("read") + volumeType?: string; + + /** Gets the disk vhd format type. */ + @visibility("read") + vhdFormatType?: string; + + /** Gets or sets the disk id in the template. */ + @visibility("read", "create") + templateDiskId?: string; + + /** The QoS policy for the disk. */ + @encodedName("application/json", "storageQoSPolicy") + storageQosPolicy?: StorageQosPolicyDetails; + + /** Gets or sets a value indicating diff disk. */ + @visibility("read", "create") + createDiffDisk?: CreateDiffDisk; +} + +/** Virtual Disk Update model */ +model VirtualDiskUpdate is UpdateableProperties; + +/** The StorageQoSPolicyDetails definition. */ +model StorageQosPolicyDetails { + /** The name of the policy. */ + name?: string; + + /** The ID of the QoS policy. */ + id?: string; +} + +/** Defines the resource properties. */ +model AvailabilitySetProperties { + /** Name of the availability set. */ + @minLength(1) + availabilitySetName?: string; + + /** ARM Id of the vmmServer resource in which this resource resides. */ + vmmServerId?: VmmServerId; + + /** Provisioning state of the resource. */ + @visibility("read") + provisioningState?: Microsoft.ScVmm.ResourceProvisioningState; +} + +/** The inventory type */ +union InventoryType { + /** Cloud inventory type */ + Cloud: "Cloud", + + /** VirtualNetwork inventory type */ + VirtualNetwork: "VirtualNetwork", + + /** VirtualMachine inventory type */ + VirtualMachine: "VirtualMachine", + + /** VirtualMachineTemplate inventory type */ + VirtualMachineTemplate: "VirtualMachineTemplate", + + string, +} + +/** Defines the resource properties. */ +@discriminator("inventoryType") +model InventoryItemProperties { + /** They inventory type. */ + inventoryType: InventoryType; + + /** Gets the tracked resource id corresponding to the inventory resource. */ + @visibility("read") + managedResourceId?: string; + + /** Gets the UUID (which is assigned by Vmm) for the inventory item. */ + @visibility("read") + uuid?: string; + + /** Gets the Managed Object name in Vmm for the inventory item. */ + @visibility("read") + inventoryItemName?: string; + + /** Provisioning state of the resource. */ + @visibility("read") + provisioningState?: Microsoft.ScVmm.ResourceProvisioningState; +} + +/** Defines the resource properties. */ +model VirtualMachineInstanceProperties { + /** Availability Sets in vm. */ + availabilitySets?: AvailabilitySetListItem[]; + + /** OS properties. */ + @visibility("read", "create") + osProfile?: OsProfileForVmInstance; + + /** Hardware properties. */ + hardwareProfile?: HardwareProfile; + + /** Network properties. */ + networkProfile?: NetworkProfile; + + /** Storage properties. */ + storageProfile?: StorageProfile; + + /** Gets the infrastructure profile. */ + infrastructureProfile?: InfrastructureProfile; + + /** Gets the power state of the virtual machine. */ + @visibility("read") + powerState?: string; + + /** Provisioning state of the resource. */ + @visibility("read") + provisioningState?: Microsoft.ScVmm.ResourceProvisioningState; +} + +/** Virtual Machine Instance Properties Update model */ +model VirtualMachineInstanceUpdateProperties + is UpdateableProperties> { + /** Hardware properties. */ + hardwareProfile?: HardwareProfileUpdate; + + /** Network properties. */ + networkProfile?: NetworkProfileUpdate; + + /** Storage properties. */ + storageProfile?: StorageProfileUpdate; + + /** Gets the infrastructure profile. */ + infrastructureProfile?: InfrastructureProfileUpdate; +} + +/** Availability Set model */ +model AvailabilitySetListItem { + /** Gets the ARM Id of the microsoft.scvmm/availabilitySets resource. */ + id?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ScVmm/availabilitySets"; + } + ]>; + + /** Gets or sets the name of the availability set. */ + name?: string; +} + +/** Defines the resource properties. */ +model OsProfileForVmInstance { + /** Admin password of the virtual machine. */ + @visibility("create", "update") + @secret + adminPassword?: string; + + /** Gets or sets computer name. */ + computerName?: string; + + /** Gets the type of the os. */ + @visibility("read") + osType?: OsType; + + /** Gets os sku. */ + @visibility("read") + osSku?: string; + + /** Gets os version. */ + @visibility("read") + osVersion?: string; +} + +/** Defines the resource properties. */ +model HardwareProfile { + /** MemoryMB is the size of a virtual machine's memory, in MB. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "MB is distinct from Mb" + memoryMB?: int32; + + /** Gets or sets the number of vCPUs for the vm. */ + cpuCount?: int32; + + /** Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs. */ + limitCpuForMigration?: LimitCpuForMigration; + + /** Gets or sets a value indicating whether to enable dynamic memory or not. */ + dynamicMemoryEnabled?: DynamicMemoryEnabled; + + /** Gets or sets the max dynamic memory for the vm. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "MB is distinct from Mb" + dynamicMemoryMaxMB?: int32; + + /** Gets or sets the min dynamic memory for the vm. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "MB is distinct from Mb" + dynamicMemoryMinMB?: int32; + + /** Gets highly available property. */ + @visibility("read") + isHighlyAvailable?: IsHighlyAvailable; +} + +/** Defines the resource update properties. */ +model HardwareProfileUpdate is UpdateableProperties; + +/** Defines the resource properties. */ +model NetworkProfile { + /** Gets or sets the list of network interfaces associated with the virtual machine. */ + @extension("x-ms-identifiers", ["name", "nicId"]) + networkInterfaces?: NetworkInterface[]; +} + +/** Defines the resource update properties. */ +model NetworkProfileUpdate + is UpdateableProperties> { + /** Gets or sets the list of network interfaces associated with the virtual machine. */ + @extension("x-ms-identifiers", ["name", "nicId"]) + networkInterfaces?: NetworkInterfaceUpdate[]; +} + +/** Defines the resource properties. */ +model StorageProfile { + /** Gets or sets the list of virtual disks associated with the virtual machine. */ + @extension("x-ms-identifiers", ["diskId", "name"]) + disks?: VirtualDisk[]; +} + +/** Defines the resource update properties. */ +model StorageProfileUpdate + is UpdateableProperties> { + /** Gets or sets the list of virtual disks associated with the virtual machine. */ + @extension("x-ms-identifiers", ["diskId", "name"]) + disks?: VirtualDiskUpdate[]; +} + +/** Specifies the vmmServer infrastructure specific settings for the virtual machine instance. */ +model InfrastructureProfile { + /** Gets or sets the inventory Item ID for the resource. */ + @visibility("read", "create") + inventoryItemId?: string; + + /** ARM Id of the vmmServer resource in which this resource resides. */ + @visibility("read", "create") + vmmServerId?: VmmServerId; + + /** ARM Id of the cloud resource to use for deploying the vm. */ + @visibility("read", "create") + cloudId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ScVmm/clouds"; + } + ]>; + + /** ARM Id of the template resource to use for deploying the vm. */ + @visibility("read", "create") + templateId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ScVmm/virtualMachineTemplates"; + } + ]>; + + /** VMName is the name of VM on the SCVmm server. */ + @minLength(1) + @visibility("read", "create") + vmName?: string; + + /** Unique ID of the virtual machine. */ + @visibility("read", "create") + uuid?: string; + + /** Last restored checkpoint in the vm. */ + @visibility("read") + @encodedName("application/json", "lastRestoredVMCheckpoint") + lastRestoredVmCheckpoint?: Checkpoint; + + /** Checkpoints in the vm. */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "Workaround for emitter problem" + @visibility("read") + @extension("x-ms-identifiers", ["checkpointID"]) + checkpoints?: Checkpoint[]; + + /** Type of checkpoint supported for the vm. */ + @visibility("read", "create", "update") + checkpointType?: string; + + /** Gets or sets the generation for the vm. */ + @visibility("read", "create") + generation?: int32; + + /** Gets or sets the bios guid for the vm. */ + @visibility("read", "create") + biosGuid?: string; +} + +/** Specifies the vmmServer infrastructure specific update settings for the virtual machine instance. */ +model InfrastructureProfileUpdate + is UpdateableProperties; + +/** Defines the resource properties. */ +model Checkpoint { + /** Gets ID of parent of the checkpoint. */ + @encodedName("application/json", "parentCheckpointID") + parentCheckpointId?: string; + + /** Gets ID of the checkpoint. */ + @encodedName("application/json", "checkpointID") + checkpointId?: string; + + /** Gets name of the checkpoint. */ + name?: string; + + /** Gets description of the checkpoint. */ + description?: string; +} + +/** Defines the stop action properties. */ +model StopVirtualMachineOptions { + /** Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false. */ + skipShutdown?: SkipShutdown = SkipShutdown.`false`; +} + +/** Describes the properties of Hybrid Identity Metadata for a Virtual Machine. */ +model VmInstanceHybridIdentityMetadataProperties { + /** The unique identifier for the resource. */ + resourceUid?: string; + + /** Gets or sets the Public Key. */ + publicKey?: string; + + /** Provisioning state of the resource. */ + @visibility("read") + provisioningState?: Microsoft.ScVmm.ResourceProvisioningState; +} + +/** Defines the create checkpoint action properties. */ +model VirtualMachineCreateCheckpoint { + /** Name of the checkpoint. */ + name?: string; + + /** Description of the checkpoint. */ + description?: string; +} + +/** Defines the delete checkpoint action properties. */ +model VirtualMachineDeleteCheckpoint { + /** ID of the checkpoint to be deleted. */ + id?: string; +} + +/** Defines the restore checkpoint action properties. */ +model VirtualMachineRestoreCheckpoint { + /** ID of the checkpoint to be restored to. */ + id?: string; +} + +/** Defines the resource properties. */ +model GuestAgentProperties { + /** Gets a unique identifier for this resource. */ + @visibility("read") + uuid?: string; + + /** Username / Password Credentials to provision guest agent. */ + credentials?: GuestCredential; + + /** HTTP Proxy configuration for the VM. */ + httpProxyConfig?: HttpProxyConfiguration; + + /** Gets or sets the guest agent provisioning action. */ + provisioningAction?: ProvisioningAction; + + /** Gets the guest agent status. */ + @visibility("read") + status?: string; + + /** Gets the name of the corresponding resource in Kubernetes. */ + @visibility("read") + customResourceName?: string; + + /** Provisioning state of the resource. */ + @visibility("read") + provisioningState?: Microsoft.ScVmm.ResourceProvisioningState; +} + +/** Username / Password Credentials to connect to guest. */ +model GuestCredential { + /** Gets or sets username to connect with the guest. */ + username: string; + + /** Gets or sets the password to connect with the guest. */ + @visibility("create", "update") + @secret + password: string; +} + +/** HTTP Proxy configuration for the VM. */ +model HttpProxyConfiguration { + /** Gets or sets httpsProxy url. */ + httpsProxy?: string; +} + +/** Defines the resource properties. */ +model InventoryItemDetails { + /** Gets or sets the inventory Item ID for the resource. */ + inventoryItemId?: string; + + /** Gets or sets the Managed Object name in Vmm for the resource. */ + inventoryItemName?: string; +} + +/** The Cloud inventory item. */ +model CloudInventoryItem extends InventoryItemProperties { + /** They inventory type. */ + inventoryType: InventoryType.Cloud; +} + +/** The Virtual network inventory item. */ +model VirtualNetworkInventoryItem extends InventoryItemProperties { + /** They inventory type. */ + inventoryType: InventoryType.VirtualNetwork; +} + +/** The Virtual machine template inventory item. */ +model VirtualMachineTemplateInventoryItem extends InventoryItemProperties { + /** Gets the desired number of vCPUs for the vm. */ + @visibility("read") + cpuCount?: int32; + + /** MemoryMB is the desired size of a virtual machine's memory, in MB. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "MB is distinct from Mb" + @visibility("read") + memoryMB?: int32; + + /** Gets the type of the os. */ + @visibility("read") + osType?: OsType; + + /** Gets os name. */ + @visibility("read") + osName?: string; + + /** They inventory type. */ + inventoryType: InventoryType.VirtualMachineTemplate; +} + +/** The Virtual machine inventory item. */ +model VirtualMachineInventoryItem extends InventoryItemProperties { + /** Gets the type of the os. */ + @visibility("read") + osType?: OsType; + + /** Gets os name. */ + @visibility("read") + osName?: string; + + /** Gets os version. */ + @visibility("read") + osVersion?: string; + + /** Gets the power state of the virtual machine. */ + @visibility("read") + powerState?: string; + + /** Gets or sets the nic ip addresses. */ + ipAddresses?: string[]; + + /** Cloud inventory resource details where the VM is present. */ + cloud?: InventoryItemDetails; + + /** Gets the bios guid. */ + @visibility("read") + biosGuid?: string; + + /** Gets the tracked resource id corresponding to the inventory resource. */ + @visibility("read") + managedMachineResourceId?: Azure.Core.armResourceIdentifier<[]>; + + /** They inventory type. */ + inventoryType: InventoryType.VirtualMachine; +} diff --git a/specification/scvmm/ScVmm.Management/tspconfig.yaml b/specification/scvmm/ScVmm.Management/tspconfig.yaml new file mode 100644 index 000000000000..8345bf5a9d7e --- /dev/null +++ b/specification/scvmm/ScVmm.Management/tspconfig.yaml @@ -0,0 +1,14 @@ +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + use-read-only-status-schema: true + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/scvmm.json" + examples-directory: "{project-root}/examples" +linter: + disable: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..bd26158035a8 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,85 @@ +{ + "title": "AvailabilitySets_CreateOrUpdate_MaximumSet", + "operationId": "AvailabilitySets_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "-", + "resource": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..a9299f054a95 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "AvailabilitySets_CreateOrUpdate_MinimumSet", + "operationId": "AvailabilitySets_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "_", + "resource": { + "extendedLocation": {}, + "location": "jelevilan" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Delete_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..c92e32da2fc2 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "AvailabilitySets_Delete_MaximumSet", + "operationId": "AvailabilitySets_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "availabilitySetResourceName": "_" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Delete_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..bfcba119ca0b --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "AvailabilitySets_Delete_MinimumSet", + "operationId": "AvailabilitySets_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "6" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Get_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..466b960db7f3 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Get_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "title": "AvailabilitySets_Get_MaximumSet", + "operationId": "AvailabilitySets_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "-" + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Get_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..712923c73274 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "AvailabilitySets_Get_MinimumSet", + "operationId": "AvailabilitySets_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "V" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..36cffcee69e3 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "AvailabilitySets_ListByResourceGroup_MaximumSet", + "operationId": "AvailabilitySets_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..479fb51446d6 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "AvailabilitySets_ListByResourceGroup_MinimumSet", + "operationId": "AvailabilitySets_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..39403c128bdb --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "title": "AvailabilitySets_ListBySubscription_MaximumSet", + "operationId": "AvailabilitySets_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..b065672c5db2 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "AvailabilitySets_ListBySubscription_MinimumSet", + "operationId": "AvailabilitySets_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "extendedLocation": {}, + "location": "jelevilan" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Update_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..54a74d0136b6 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Update_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "AvailabilitySets_Update_MaximumSet", + "operationId": "AvailabilitySets_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "-", + "properties": { + "tags": { + "key1460": "vcbwibkvr" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySetName": "njrpftunzo", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key5701": "cldtxloqh" + }, + "location": "jelevilan", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "dibfuxyuidzxcfik", + "type": "xwzjruksexpuqgtreexm", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Update_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..53b0a3aa0ada --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/AvailabilitySets_Update_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "AvailabilitySets_Update_MinimumSet", + "operationId": "AvailabilitySets_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "availabilitySetResourceName": "1", + "properties": {} + }, + "responses": { + "200": { + "body": { + "extendedLocation": {}, + "location": "jelevilan" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..dec3be9a11c2 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,121 @@ +{ + "title": "Clouds_CreateOrUpdate_MaximumSet", + "operationId": "Clouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "2", + "resource": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudCapacity": {} + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..77135d0b0d2c --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "Clouds_CreateOrUpdate_MinimumSet", + "operationId": "Clouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "-", + "resource": { + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..5771f63c2eeb --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Clouds_Delete_MaximumSet", + "operationId": "Clouds_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "cloudResourceName": "-" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..1371da91eb2a --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Clouds_Delete_MinimumSet", + "operationId": "Clouds_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "1" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..8c14437fabfd --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "title": "Clouds_Get_MaximumSet", + "operationId": "Clouds_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "_" + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..f051952e6e97 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Clouds_Get_MinimumSet", + "operationId": "Clouds_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "i" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..50ad86379ca2 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,61 @@ +{ + "title": "Clouds_ListByResourceGroup_MaximumSet", + "operationId": "Clouds_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/aplbh" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..f9478795f23d --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "Clouds_ListByResourceGroup_MinimumSet", + "operationId": "Clouds_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..5be580a6d2fe --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,60 @@ +{ + "title": "Clouds_ListBySubscription_MaximumSet", + "operationId": "Clouds_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/aplbh" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..4f3e42081baa --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Clouds_ListBySubscription_MinimumSet", + "operationId": "Clouds_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..9f58290c10e3 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MaximumSet_Gen.json @@ -0,0 +1,67 @@ +{ + "title": "Clouds_Update_MaximumSet", + "operationId": "Clouds_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "P", + "properties": { + "tags": { + "key5266": "hjpcnwmpnixsolrxnbl" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudName": "menarjsplhcqvnkjdwieroir", + "cloudCapacity": { + "cpuCount": 4, + "memoryMB": 19, + "vmCount": 28 + }, + "storageQoSPolicies": [ + { + "name": "hvqcentnbwcunxhzfavyewhwlo", + "id": "oclhgkydaw", + "iopsMaximum": 6, + "iopsMinimum": 25, + "bandwidthLimit": 26, + "policyId": "lvcylbmxrqjgarvhfny" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4295": "wngosgcbdifaxdobufuuqxtho" + }, + "location": "khwsdmaxfhmbu", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "name": "wwcwalpiufsfbnydxpr", + "type": "qnaaimszbuokldohwrdfuiitpy", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..c0fc02168235 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "Clouds_Update_MinimumSet", + "operationId": "Clouds_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "cloudResourceName": "_", + "properties": {} + }, + "responses": { + "200": { + "body": { + "extendedLocation": {}, + "location": "khwsdmaxfhmbu" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateAvailabilitySet.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateAvailabilitySet.json deleted file mode 100644 index 310299b81547..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateAvailabilitySet.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "availabilitySetResourceName": "HRAvailabilitySet", - "body": { - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", - "availabilitySetName": "hr-avset" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/AvailabilitySets/HRAvailabilitySet", - "name": "HRAvailabilitySet", - "type": "Microsoft.ScVmm/AvailabilitySets", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", - "availabilitySetName": "hr-avset", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/AvailabilitySets/HRAvailabilitySet", - "name": "HRAvailabilitySet", - "type": "Microsoft.ScVmm/AvailabilitySets", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", - "availabilitySetName": "hr-avset", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachineInstance.json deleted file mode 100644 index 5ce2eb461e25..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachineInstance.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", - "body": { - "name": "Demo Checkpoint name", - "description": "Demo Checkpoint description" - } - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCloud.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCloud.json deleted file mode 100644 index b81db907eb3d..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCloud.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "cloudResourceName": "HRCloud", - "body": { - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "name": "HRCloud", - "type": "Microsoft.SCVMM/Clouds", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "cloudName": "HRCloud", - "cloudCapacity": { - "cpuCount": 10, - "memoryMB": 10240, - "vmCount": 10 - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "name": "HRCloud", - "type": "Microsoft.SCVMM/Clouds", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "cloudName": "HRCloud", - "cloudCapacity": { - "cpuCount": 10, - "memoryMB": 10240, - "vmCount": 10 - } - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateInventoryItem.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateInventoryItem.json deleted file mode 100644 index 51fd8722d212..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateInventoryItem.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "vmmServerName": "ContosoVMMServer", - "inventoryItemResourceName": "12345678-1234-1234-1234-123456789abc", - "body": { - "properties": { - "inventoryType": "Cloud" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "name": "12345678-1234-1234-1234-123456789abc", - "type": "Microsoft.SCVMM/VMMServers/InventoryItems", - "properties": { - "inventoryType": "Cloud", - "managedResourceId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/contoso-cloud", - "inventoryItemName": "contoso-cloud", - "uuid": "12345678-1234-1234-1234-123456789abc", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "name": "12345678-1234-1234-1234-123456789abc", - "type": "Microsoft.SCVMM/VMMServers/InventoryItems", - "properties": { - "inventoryType": "Cloud", - "managedResourceId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/contoso-cloud", - "inventoryItemName": "contoso-cloud", - "uuid": "12345678-1234-1234-1234-123456789abc", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMInstanceGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMInstanceGuestAgent.json deleted file mode 100644 index 3709b72c5fa3..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMInstanceGuestAgent.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", - "body": { - "properties": { - "provisioningAction": "install", - "credentials": { - "username": "tempuser", - "password": "" - }, - "httpProxyConfig": { - "httpsProxy": "http://192.1.2.3:8080" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachineInstances/guestAgents", - "properties": { - "provisioningAction": "install", - "status": "connected", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachineInstances/guestAgents", - "properties": { - "provisioningAction": "install", - "status": "connected", - "provisioningState": "Created" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMMServer.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMMServer.json deleted file mode 100644 index 04818c6bffbd..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMMServer.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "vmmServerName": "ContosoVMMServer", - "body": { - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "fqdn": "VMM.contoso.com", - "port": 1234, - "credentials": { - "username": "testuser", - "password": "password" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "name": "ContosoVMMServer", - "type": "Microsoft.SCVMM/VMMServers", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "fqdn": "VMM.contoso.com", - "port": 1234, - "connectionStatus": "Connected", - "uuid": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "version": "2.0", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "name": "ContosoVMMServer", - "type": "Microsoft.SCVMM/VMMServers", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "fqdn": "VMM.contoso.com", - "port": 1234, - "connectionStatus": "Connected", - "uuid": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "version": "2.0", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineInstance.json deleted file mode 100644 index 652db9992f13..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineInstance.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", - "body": { - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso" - }, - "properties": { - "infrastructureProfile": { - "cloudId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "templateId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer" - }, - "hardwareProfile": { - "memoryMB": 4196, - "cpuCount": 4 - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.ScVmm/virtualMachineInstances/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachineInstances", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso" - }, - "properties": { - "infrastructureProfile": { - "cloudId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "templateId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows", - "osSku": "Windows Server 2022", - "osVersion": "10.0.10101" - }, - "hardwareProfile": { - "memoryMB": 4196, - "cpuCount": 4 - }, - "powerState": "Running", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoAgent/providers/Microsoft.ScVmm/virtualMachineInstances/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachineInstances", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso" - }, - "properties": { - "infrastructureProfile": { - "cloudId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "templateId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows", - "osSku": "Windows Server 2022", - "osVersion": "10.0.10101" - }, - "hardwareProfile": { - "memoryMB": 4196, - "cpuCount": 4 - }, - "powerState": "Running", - "provisioningState": "Created" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineTemplate.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineTemplate.json deleted file mode 100644 index a4380a23f057..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineTemplate.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineTemplateName": "HRVirtualMachineTemplate", - "body": { - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "name": "HRVirtualMachineTemplate", - "type": "Microsoft.SCVMM/VirtualMachineTemplates", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "osType": "Windows", - "osName": "Windows OS", - "computerName": "DemoVM", - "cpuCount": 1, - "memoryMB": 1024 - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "name": "HRVirtualMachineTemplate", - "type": "Microsoft.SCVMM/VirtualMachineTemplates", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "osType": "Windows", - "osName": "Windows OS", - "computerName": "DemoVM", - "cpuCount": 1, - "memoryMB": 1024 - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualNetwork.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualNetwork.json deleted file mode 100644 index 3896a512eef2..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualNetwork.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualNetworkName": "HRVirtualNetwork", - "body": { - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualNetworks/HRVirtualNetwork", - "name": "HRVirtualNetwork", - "type": "Microsoft.SCVMM/VirtualNetworks", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "networkName": "HRVirtualNetwork", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualNetworks/HRVirtualNetwork", - "name": "HRVirtualNetwork", - "type": "Microsoft.SCVMM/VirtualNetworks", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "networkName": "HRVirtualNetwork", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteAvailabilitySet.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteAvailabilitySet.json deleted file mode 100644 index b87901257411..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteAvailabilitySet.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "availabilitySetResourceName": "HRAvailabilitySet" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - }, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachineInstance.json deleted file mode 100644 index 326344db7c80..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachineInstance.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", - "body": { - "id": "Demo CheckpointID" - } - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCloud.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCloud.json deleted file mode 100644 index 6fddca86d9ca..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCloud.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "cloudResourceName": "HRCloud" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - }, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteInventoryItem.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteInventoryItem.json deleted file mode 100644 index 0b46fcfeeb79..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteInventoryItem.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "vmmServerName": "ContosoVMMServer", - "inventoryItemResourceName": "12345678-1234-1234-1234-123456789abc" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMInstanceGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMInstanceGuestAgent.json deleted file mode 100644 index b4d3711d4fe1..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMInstanceGuestAgent.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json deleted file mode 100644 index e2e28cd4c6e3..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "vmmServerName": "ContosoVMMServer" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - }, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineInstance.json deleted file mode 100644 index da5b149484fb..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineInstance.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - }, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineTemplate.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineTemplate.json deleted file mode 100644 index f3b5c778fcb4..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineTemplate.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineTemplateName": "HRVirtualMachineTemplate" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - }, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualNetwork.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualNetwork.json deleted file mode 100644 index d19cacb1fedf..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualNetwork.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualNetworkName": "HRVirtualNetwork" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - }, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json deleted file mode 100644 index eedfdabb38f5..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "availabilitySetResourceName": "HRAvailabilitySet" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/AvailabilitySets/HRAvailabilitySet", - "name": "HRAvailabilitySet", - "type": "Microsoft.ScVmm/AvailabilitySets", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", - "availabilitySetName": "hr-avset", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json deleted file mode 100644 index 57097db0fb25..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "cloudResourceName": "HRCloud" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "name": "HRCloud", - "type": "Microsoft.SCVMM/Clouds", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "cloudName": "HRCloud", - "cloudCapacity": { - "cpuCount": 10, - "memoryMB": 10240, - "vmCount": 10 - } - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json deleted file mode 100644 index 155b57f20c7a..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "vmmServerName": "ContosoVMMServer", - "inventoryItemResourceName": "12345678-1234-1234-1234-123456789abc" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "name": "12345678-1234-1234-1234-123456789abc", - "type": "Microsoft.SCVMM/VMMServers/InventoryItems", - "properties": { - "inventoryType": "Cloud", - "managedResourceId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/contoso-cloud", - "inventoryItemName": "contoso-cloud", - "uuid": "12345678-1234-1234-1234-123456789abc", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMInstanceGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMInstanceGuestAgent.json deleted file mode 100644 index 8e19a18937c3..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMInstanceGuestAgent.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachineInstances/guestAgents", - "properties": { - "provisioningAction": "install", - "status": "connected", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json deleted file mode 100644 index 37b6e232b661..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "vmmServerName": "ContosoVMMServer" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "name": "ContosoVMMServer", - "type": "Microsoft.SCVMM/VMMServers", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "fqdn": "VMM.contoso.com", - "port": 1234, - "connectionStatus": "Connected", - "uuid": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "version": "2.0", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineInstance.json deleted file mode 100644 index 1a97052e6594..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineInstance.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.ScVmm/virtualMachineInstances/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachineInstances", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso" - }, - "properties": { - "infrastructureProfile": { - "cloudId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "templateId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows", - "osSku": "Windows Server 2022", - "osVersion": "10.0.10101" - }, - "hardwareProfile": { - "memoryMB": 4196, - "cpuCount": 4 - }, - "powerState": "Running", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json deleted file mode 100644 index c131700edcd8..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineTemplateName": "HRVirtualMachineTemplate" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "name": "HRVirtualMachineTemplate", - "type": "Microsoft.SCVMM/VirtualMachineTemplates", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "osType": "Windows", - "osName": "Windows OS", - "computerName": "DemoVM", - "cpuCount": 1, - "memoryMB": 1024 - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json deleted file mode 100644 index d3ba35c38d2e..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualNetworkName": "HRVirtualNetwork" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualNetworks/HRVirtualNetwork", - "name": "HRVirtualNetwork", - "type": "Microsoft.SCVMM/VirtualNetworks", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "networkName": "HRVirtualNetwork", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVmInstanceHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVmInstanceHybridIdentityMetadata.json deleted file mode 100644 index da65322f9af3..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVmInstanceHybridIdentityMetadata.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.SCVMM/VirtualMachineInstances/default/hybridIdentityMetadata/default", - "name": "testItem", - "type": "Microsoft.SCVMM/VirtualMachineInstances/hybridIdentityMetadata", - "properties": { - "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", - "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..e9b7586788ff --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MaximumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "title": "GuestAgents_Create_MaximumSet", + "operationId": "GuestAgents_Create", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "resource": { + "properties": { + "credentials": { + "username": "jqxuwirrcpfv", + "password": "gkvbnmuahumuoibvscoxzfdqwvfuf" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "uuid": "hbsgztyakewtgbuxbesezncnzu", + "credentials": { + "username": "jqxuwirrcpfv" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install", + "status": "jpoukrzfenzrmjdahimkl", + "customResourceName": "mhqymxkapuvsugd", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + "name": "rwecpthzyt", + "type": "dkcgcbtlwtsedxzhvtu", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "uuid": "hbsgztyakewtgbuxbesezncnzu", + "credentials": { + "username": "jqxuwirrcpfv" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install", + "status": "jpoukrzfenzrmjdahimkl", + "customResourceName": "mhqymxkapuvsugd", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + "name": "rwecpthzyt", + "type": "dkcgcbtlwtsedxzhvtu", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..0d57f62ac1a8 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "GuestAgents_Create_MinimumSet", + "operationId": "GuestAgents_Create", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "resource": {} + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": {} + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..a9e4037d29b5 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MaximumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "GuestAgents_Delete_MaximumSet", + "operationId": "GuestAgents_Delete", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..2b89999988ad --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "GuestAgents_Delete_MinimumSet", + "operationId": "GuestAgents_Delete", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..afdabdde6430 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "title": "GuestAgents_Get_MaximumSet", + "operationId": "GuestAgents_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "properties": { + "uuid": "hbsgztyakewtgbuxbesezncnzu", + "credentials": { + "username": "jqxuwirrcpfv" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install", + "status": "jpoukrzfenzrmjdahimkl", + "customResourceName": "mhqymxkapuvsugd", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + "name": "rwecpthzyt", + "type": "dkcgcbtlwtsedxzhvtu", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..742ec90dbdbe --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "title": "GuestAgents_Get_MinimumSet", + "operationId": "GuestAgents_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json new file mode 100644 index 000000000000..6db4dd3489f8 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "title": "GuestAgents_ListByVirtualMachineInstance_MaximumSet", + "operationId": "GuestAgents_ListByVirtualMachineInstance", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "uuid": "hbsgztyakewtgbuxbesezncnzu", + "credentials": { + "username": "jqxuwirrcpfv" + }, + "httpProxyConfig": { + "httpsProxy": "uoyzyticmohohomlkwct" + }, + "provisioningAction": "install", + "status": "jpoukrzfenzrmjdahimkl", + "customResourceName": "mhqymxkapuvsugd", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", + "name": "rwecpthzyt", + "type": "dkcgcbtlwtsedxzhvtu", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json new file mode 100644 index 000000000000..5174653b5e03 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "GuestAgents_ListByVirtualMachineInstance_MinimumSet", + "operationId": "GuestAgents_ListByVirtualMachineInstance", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVmInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVmInstance.json deleted file mode 100644 index 23d38af0a006..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVmInstance.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.SCVMM/VirtualMachineInstances/default/hybridIdentityMetadata/default", - "name": "testItem", - "type": "Microsoft.SCVMM/VirtualMachineInstances/hybridIdentityMetadata", - "properties": { - "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", - "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Create_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..2d5b6d36d638 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Create_MaximumSet_Gen.json @@ -0,0 +1,65 @@ +{ + "title": "InventoryItems_Create_MaximumSet", + "operationId": "InventoryItems_Create", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "O", + "inventoryItemResourceName": "1BdDc2Ab-bDd9-Ebd6-bfdb-C0dbbdB5DEDf", + "resource": { + "properties": { + "inventoryType": "InventoryItemProperties" + }, + "kind": "M\\d_,V." + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryType": "InventoryItemProperties", + "managedResourceId": "ictxvjzvurnkdgwabqyyfyckkkdx", + "uuid": "jolmoxfopwfoje", + "inventoryItemName": "kspgdhmlmycalwrepfmshoaoumna", + "provisioningState": "Succeeded" + }, + "kind": "M\\d_,V.", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName", + "name": "oimmcgxagnhmasgsmhdaigznub", + "type": "lfhuayaplzxdqzubmjvtgcan", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "body": { + "properties": { + "inventoryType": "InventoryItemProperties", + "managedResourceId": "ictxvjzvurnkdgwabqyyfyckkkdx", + "uuid": "jolmoxfopwfoje", + "inventoryItemName": "kspgdhmlmycalwrepfmshoaoumna", + "provisioningState": "Succeeded" + }, + "kind": "M\\d_,V.", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName", + "name": "oimmcgxagnhmasgsmhdaigznub", + "type": "lfhuayaplzxdqzubmjvtgcan", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Create_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..82a0e9acf2e3 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Create_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "InventoryItems_Create_MinimumSet", + "operationId": "InventoryItems_Create", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": ".", + "inventoryItemResourceName": "bbFb0cBb-50ce-4bfc-3eeD-bC26AbCC257a", + "resource": {} + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "body": {} + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Delete_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..cb9c6e73d3f1 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Delete_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "InventoryItems_Delete_MaximumSet", + "operationId": "InventoryItems_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "b", + "inventoryItemResourceName": "EcECadfd-Eaaa-e5Ce-ebdA-badeEd3c6af1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Delete_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..83f5ba5a2a06 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Delete_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "InventoryItems_Delete_MinimumSet", + "operationId": "InventoryItems_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "_", + "inventoryItemResourceName": "cDBcbae6-BC3d-52fe-CedC-7eFeaBFabb82" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..85b101b44afe --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "title": "InventoryItems_Get_MaximumSet", + "operationId": "InventoryItems_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "1", + "inventoryItemResourceName": "2bFBede6-EEf8-becB-dBbd-B96DbBFdB3f3" + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryType": "InventoryItemProperties", + "managedResourceId": "ictxvjzvurnkdgwabqyyfyckkkdx", + "uuid": "jolmoxfopwfoje", + "inventoryItemName": "kspgdhmlmycalwrepfmshoaoumna", + "provisioningState": "Succeeded" + }, + "kind": "M\\d_,V.", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName", + "name": "oimmcgxagnhmasgsmhdaigznub", + "type": "lfhuayaplzxdqzubmjvtgcan", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..bbddea0d16c4 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "InventoryItems_Get_MinimumSet", + "operationId": "InventoryItems_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "_", + "inventoryItemResourceName": "cacb8Ceb-efAC-bebb-ae7C-dec8C5Bb7100" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_ListByVmmServer_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_ListByVmmServer_MaximumSet_Gen.json new file mode 100644 index 000000000000..9bb19122499d --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_ListByVmmServer_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "title": "InventoryItems_ListByVmmServer_MaximumSet", + "operationId": "InventoryItems_ListByVmmServer", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "X" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryType": "InventoryItemProperties", + "managedResourceId": "ictxvjzvurnkdgwabqyyfyckkkdx", + "uuid": "jolmoxfopwfoje", + "inventoryItemName": "kspgdhmlmycalwrepfmshoaoumna", + "provisioningState": "Succeeded" + }, + "kind": "M\\d_,V.", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName", + "name": "oimmcgxagnhmasgsmhdaigznub", + "type": "lfhuayaplzxdqzubmjvtgcan", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_ListByVmmServer_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_ListByVmmServer_MinimumSet_Gen.json new file mode 100644 index 000000000000..8399a4d90fec --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_ListByVmmServer_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "InventoryItems_ListByVmmServer_MinimumSet", + "operationId": "InventoryItems_ListByVmmServer", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "H" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/inventoryItemResourceName" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsByResourceGroup.json deleted file mode 100644 index a2f78dff3858..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsByResourceGroup.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/AvailabilitySets/HRAvailabilitySet", - "name": "HRAvailabilitySet", - "type": "Microsoft.ScVmm/AvailabilitySets", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", - "availabilitySetName": "hr-avset", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsBySubscription.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsBySubscription.json deleted file mode 100644 index bfbb304b2244..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsBySubscription.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/AvailabilitySets/HRAvailabilitySet", - "name": "HRAvailabilitySet", - "type": "Microsoft.ScVmm/AvailabilitySets", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", - "availabilitySetName": "hr-avset", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsByResourceGroup.json deleted file mode 100644 index 0e5991784f2b..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsByResourceGroup.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "name": "HRCloud", - "type": "Microsoft.SCVMM/Clouds", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "cloudName": "HRCloud", - "cloudCapacity": { - "cpuCount": 10, - "memoryMB": 10240, - "vmCount": 10 - } - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsBySubscription.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsBySubscription.json deleted file mode 100644 index 1bff15a10a46..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsBySubscription.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "name": "HRCloud", - "type": "Microsoft.SCVMM/Clouds", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "cloudName": "HRCloud", - "cloudCapacity": { - "cpuCount": 10, - "memoryMB": 10240, - "vmCount": 10 - } - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListInventoryItemsByVMMServer.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListInventoryItemsByVMMServer.json deleted file mode 100644 index 6be4d81fd38f..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListInventoryItemsByVMMServer.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "vmmServerName": "ContosoVMMServer" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "name": "12345678-1234-1234-1234-123456789abc", - "type": "Microsoft.SCVMM/VMMServers/InventoryItems", - "properties": { - "inventoryType": "Cloud", - "managedResourceId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/contoso-cloud", - "inventoryItemName": "contoso-cloud", - "uuid": "12345678-1234-1234-1234-123456789abc", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListOperations.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListOperations.json deleted file mode 100644 index 7b00dafb89d6..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListOperations.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.ScVmm/VmmServers/Read", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VmmServers", - "operation": "Gets/List VmmServer resources.", - "description": "Gets/List the VmmServer resource data." - } - }, - { - "name": "Microsoft.ScVmm/VmmServers/Write", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VmmServers", - "operation": "Create or Update VmmServer resource.", - "description": "Read VmmServer." - } - }, - { - "name": "Microsoft.ScVmm/VmmServers/Delete", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VmmServers", - "operation": "Deletes the VmmServer resource.", - "description": "Deletes the VmmServer resource." - } - }, - { - "name": "Microsoft.ScVmm/Clouds/Read", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "Clouds", - "operation": "Gets/List Cloud resources.", - "description": "Gets/List the Cloud resource data." - } - }, - { - "name": "Microsoft.ScVmm/Clouds/Write", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "Clouds", - "operation": "Create or Update Cloud resource.", - "description": "Create or Update Cloud resource data." - } - }, - { - "name": "Microsoft.ScVmm/Clouds/Delete", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "Clouds", - "operation": "Deletes the Cloud resource.", - "description": "Deletes the Cloud resource." - } - }, - { - "name": "Microsoft.ScVmm/VirtualNetworks/Read", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VirtualNetworks", - "operation": "Gets/List VirtualNetwork resources.", - "description": "Gets/List the VirtualNetwork resource data." - } - }, - { - "name": "Microsoft.ScVmm/VirtualNetworks/Write", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VirtualNetworks", - "operation": "Create or Update VirtualNetwork resource.", - "description": "Create or Update VirtualNetwork resource data." - } - }, - { - "name": "Microsoft.ScVmm/VirtualNetworks/Delete", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VirtualNetworks", - "operation": "Deletes the VirtualNetwork resource.", - "description": "Deletes the VirtualNetwork resource." - } - }, - { - "name": "Microsoft.ScVmm/VirtualMachineTemplates/Read", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VirtualMachineTemplates", - "operation": "Gets/List VirtualMachineTemplate resources.", - "description": "Gets/List the VirtualMachineTemplate resource data." - } - }, - { - "name": "Microsoft.ScVmm/VirtualMachineTemplates/Write", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VirtualMachineTemplates", - "operation": "Create or Update VirtualMachineTemplate resource.", - "description": "Create or Update VirtualMachineTemplate resource data." - } - }, - { - "name": "Microsoft.ScVmm/VirtualMachineTemplates/Delete", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VirtualMachineTemplates", - "operation": "Deletes the VirtualMachineTemplate resource.", - "description": "Deletes the VirtualMachineTemplate resource." - } - }, - { - "name": "Microsoft.ScVmm/VirtualMachines/Read", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VirtualMachines", - "operation": "Gets/List VirtualMachine resources.", - "description": "Gets/List the VirtualMachine resource data." - } - }, - { - "name": "Microsoft.ScVmm/VirtualMachines/Write", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VirtualMachines", - "operation": "Create or Update VirtualMachine resource.", - "description": "Create or Update VirtualMachine resource data." - } - }, - { - "name": "Microsoft.ScVmm/VirtualMachines/Delete", - "display": { - "provider": "Microsoft.ScVmm resource provider", - "resource": "VirtualMachines", - "operation": "Deletes the VirtualMachine resource.", - "description": "Deletes the VirtualMachine resource." - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersByResourceGroup.json deleted file mode 100644 index 50c22fb14b2c..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersByResourceGroup.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "name": "ContosoVMMServer", - "type": "Microsoft.SCVMM/VMMServers", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "fqdn": "VMM.contoso.com", - "port": 1234, - "connectionStatus": "Connected", - "uuid": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "version": "2.0", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersBySubscription.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersBySubscription.json deleted file mode 100644 index de82e88ab96b..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersBySubscription.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "name": "ContosoVMMServer", - "type": "Microsoft.SCVMM/VMMServers", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "fqdn": "VMM.contoso.com", - "port": 1234, - "connectionStatus": "Connected", - "uuid": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "version": "2.0", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineInstances.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineInstances.json deleted file mode 100644 index 8d5b84a8f840..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineInstances.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.ScVmm/virtualMachineInstances/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachineInstances", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso" - }, - "properties": { - "infrastructureProfile": { - "cloudId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "templateId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows", - "osSku": "Windows Server 2022", - "osVersion": "10.0.10101" - }, - "hardwareProfile": { - "memoryMB": 4196, - "cpuCount": 4 - }, - "powerState": "Running", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesByResourceGroup.json deleted file mode 100644 index c96d0f09f268..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesByResourceGroup.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "name": "HRVirtualMachineTemplate", - "type": "Microsoft.SCVMM/VirtualMachineTemplates", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "osType": "Windows", - "osName": "Windows OS", - "computerName": "DemoVM", - "cpuCount": 1, - "memoryMB": 1024 - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesBySubscription.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesBySubscription.json deleted file mode 100644 index 84c1792f0ebd..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesBySubscription.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "name": "HRVirtualMachineTemplate", - "type": "Microsoft.SCVMM/VirtualMachineTemplates", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "osType": "Windows", - "osName": "Windows OS", - "computerName": "DemoVM", - "cpuCount": 1, - "memoryMB": 1024 - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksByResourceGroup.json deleted file mode 100644 index 571886a83836..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksByResourceGroup.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualNetworks/HRVirtualNetwork", - "name": "HRVirtualNetwork", - "type": "Microsoft.SCVMM/VirtualNetworks", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "networkName": "HRVirtualNetwork", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksBySubscription.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksBySubscription.json deleted file mode 100644 index e459967fdd8b..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksBySubscription.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualNetworks/HRVirtualNetwork", - "name": "HRVirtualNetwork", - "type": "Microsoft.SCVMM/VirtualNetworks", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "networkName": "HRVirtualNetwork", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..e5589330f554 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List_MaximumSet", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-10-07" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rieknsh", + "isDataAction": true, + "display": { + "provider": "avkabpzrbafrbnubspbrsippj", + "resource": "qojushhvjhkwwmboofogcky", + "operation": "v", + "description": "fmwevntnynhgzoksqpjidn" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..daa59bb54c11 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List_MinimumSet", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-10-07" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachineInstance.json deleted file mode 100644 index 3da1368e1980..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachineInstance.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachineInstance.json deleted file mode 100644 index 326344db7c80..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachineInstance.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", - "body": { - "id": "Demo CheckpointID" - } - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachineInstance.json deleted file mode 100644 index 3da1368e1980..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachineInstance.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachineInstance.json deleted file mode 100644 index 70cd9dec7e95..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachineInstance.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", - "body": { - "skipShutdown": "true" - } - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateAvailabilitySet.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateAvailabilitySet.json deleted file mode 100644 index 95be09594af3..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateAvailabilitySet.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "availabilitySetResourceName": "HRAvailabilitySet", - "body": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/AvailabilitySets/HRAvailabilitySet", - "name": "HRAvailabilitySet", - "type": "Microsoft.ScVmm/AvailabilitySets", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VMMServers/ContosoVMMServer", - "availabilitySetName": "hr-avset", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateCloud.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateCloud.json deleted file mode 100644 index 697d7d8721ab..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateCloud.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "cloudResourceName": "HRCloud", - "body": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "name": "HRCloud", - "type": "Microsoft.SCVMM/Clouds", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "cloudName": "HRCloud", - "cloudCapacity": { - "cpuCount": 10, - "memoryMB": 10240, - "vmCount": 10 - } - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVMMServer.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVMMServer.json deleted file mode 100644 index 6299a0a8b0df..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVMMServer.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "vmmServerName": "ContosoVMMServer", - "body": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "name": "ContosoVMMServer", - "type": "Microsoft.SCVMM/VMMServers", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "fqdn": "VMM.contoso.com", - "port": 1234, - "connectionStatus": "Connected", - "uuid": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "version": "2.0", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineInstance.json deleted file mode 100644 index f9f2ff80766a..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineInstance.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", - "body": { - "properties": { - "hardwareProfile": { - "memoryMB": 4196, - "cpuCount": 4 - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.ScVmm/virtualMachineInstances/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachineInstances", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso" - }, - "properties": { - "infrastructureProfile": { - "cloudId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud", - "templateId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows", - "osSku": "Windows Server 2022", - "osVersion": "10.0.10101" - }, - "hardwareProfile": { - "memoryMB": 4196, - "cpuCount": 4 - }, - "powerState": "Running", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineTemplate.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineTemplate.json deleted file mode 100644 index 20953b9efced..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineTemplate.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineTemplateName": "HRVirtualMachineTemplate", - "body": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachineTemplates/HRVirtualMachineTemplate", - "name": "HRVirtualMachineTemplate", - "type": "Microsoft.SCVMM/VirtualMachineTemplates", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc", - "osType": "Windows", - "osName": "Windows OS", - "computerName": "DemoVM", - "cpuCount": 1, - "memoryMB": 1024 - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualNetwork.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualNetwork.json deleted file mode 100644 index efdf4556ef44..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualNetwork.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualNetworkName": "HRVirtualNetwork", - "body": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualNetworks/HRVirtualNetwork", - "name": "HRVirtualNetwork", - "type": "Microsoft.SCVMM/VirtualNetworks", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded", - "networkName": "HRVirtualNetwork", - "inventoryItemId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer/InventoryItems/12345678-1234-1234-1234-123456789abc" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VMInstanceGuestAgent_ListByVm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VMInstanceGuestAgent_ListByVm.json deleted file mode 100644 index a78ec8eaad89..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VMInstanceGuestAgent_ListByVm.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachineInstances/guestAgents", - "properties": { - "provisioningAction": "install", - "status": "connected", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json new file mode 100644 index 000000000000..fc1ce4ecd762 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualMachineInstances_CreateCheckpoint_MaximumSet", + "operationId": "VirtualMachineInstances_CreateCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": { + "name": "ilvltf", + "description": "zoozhfbepldrgpjqsbhpqebtodrhvy" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json new file mode 100644 index 000000000000..fd1611ee7760 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_CreateCheckpoint_MinimumSet", + "operationId": "VirtualMachineInstances_CreateCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..968d99e12975 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,316 @@ +{ + "title": "VirtualMachineInstances_CreateOrUpdate_MaximumSet", + "operationId": "VirtualMachineInstances_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "resource": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "adminPassword": "vavtppmmhlspydtkzxda", + "computerName": "uuxpcxuxcufllc", + "osType": "Windows" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql" + } + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql", + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "kz" + } + ] + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql", + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "kz" + } + ] + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..6c976787659b --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "VirtualMachineInstances_CreateOrUpdate_MinimumSet", + "operationId": "VirtualMachineInstances_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "resource": { + "extendedLocation": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "extendedLocation": {} + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "extendedLocation": {} + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json new file mode 100644 index 000000000000..20b2970f75bf --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineInstances_DeleteCheckpoint_MaximumSet", + "operationId": "VirtualMachineInstances_DeleteCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": { + "id": "eenfflimcbgqfsebdusophahjpk" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json new file mode 100644 index 000000000000..da321cb1224b --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_DeleteCheckpoint_MinimumSet", + "operationId": "VirtualMachineInstances_DeleteCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Delete_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..7ed55835440a --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineInstances_Delete_MaximumSet", + "operationId": "VirtualMachineInstances_Delete", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "force": "true", + "deleteFromHost": "true" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Delete_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..0cf8953301ab --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Delete_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Delete_MinimumSet", + "operationId": "VirtualMachineInstances_Delete", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Get_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..a7bf57d14cc6 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Get_MaximumSet_Gen.json @@ -0,0 +1,123 @@ +{ + "title": "VirtualMachineInstances_Get_MaximumSet", + "operationId": "VirtualMachineInstances_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + } + ], + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql" + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Get_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..49c8f84417cb --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Get_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Get_MinimumSet", + "operationId": "VirtualMachineInstances_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "extendedLocation": {} + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_List_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..a8de59e516b3 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_List_MaximumSet_Gen.json @@ -0,0 +1,128 @@ +{ + "title": "VirtualMachineInstances_List_MaximumSet", + "operationId": "VirtualMachineInstances_List", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + } + ], + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql" + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_List_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..316d14ed91a9 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_List_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "VirtualMachineInstances_List_MinimumSet", + "operationId": "VirtualMachineInstances_List", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "extendedLocation": {} + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Restart_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Restart_MaximumSet_Gen.json new file mode 100644 index 000000000000..216d534d6466 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Restart_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Restart_MaximumSet", + "operationId": "VirtualMachineInstances_Restart", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Restart_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Restart_MinimumSet_Gen.json new file mode 100644 index 000000000000..7bd0879b55a9 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Restart_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Restart_MinimumSet", + "operationId": "VirtualMachineInstances_Restart", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json new file mode 100644 index 000000000000..c890243da685 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineInstances_RestoreCheckpoint_MaximumSet", + "operationId": "VirtualMachineInstances_RestoreCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": { + "id": "rweqduwzsn" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json new file mode 100644 index 000000000000..af360f1da610 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_RestoreCheckpoint_MinimumSet", + "operationId": "VirtualMachineInstances_RestoreCheckpoint", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Start_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Start_MaximumSet_Gen.json new file mode 100644 index 000000000000..37d2a02241c0 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Start_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Start_MaximumSet", + "operationId": "VirtualMachineInstances_Start", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Start_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Start_MinimumSet_Gen.json new file mode 100644 index 000000000000..d30c00876c68 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Start_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Start_MinimumSet", + "operationId": "VirtualMachineInstances_Start", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Stop_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Stop_MaximumSet_Gen.json new file mode 100644 index 000000000000..9866e8ef5ac4 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Stop_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineInstances_Stop_MaximumSet", + "operationId": "VirtualMachineInstances_Stop", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": { + "skipShutdown": "true" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Stop_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Stop_MinimumSet_Gen.json new file mode 100644 index 000000000000..c0a22fc7ced0 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Stop_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "VirtualMachineInstances_Stop_MinimumSet", + "operationId": "VirtualMachineInstances_Stop", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Update_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..8c5f5877e749 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Update_MaximumSet_Gen.json @@ -0,0 +1,179 @@ +{ + "title": "VirtualMachineInstances_Update_MaximumSet", + "operationId": "VirtualMachineInstances_Update", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "properties": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30 + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + } + } + ] + }, + "infrastructureProfile": { + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "availabilitySets": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName", + "name": "lwbhaseo" + } + ], + "osProfile": { + "computerName": "uuxpcxuxcufllc", + "osType": "Windows", + "osSku": "cxqnjxgkts", + "osVersion": "djt" + }, + "hardwareProfile": { + "memoryMB": 5, + "cpuCount": 22, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "dynamicMemoryMaxMB": 2, + "dynamicMemoryMinMB": 30, + "isHighlyAvailable": "true" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ] + }, + "infrastructureProfile": { + "inventoryItemId": "ihkkqmg", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "cloudId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/clouds/cloudResourceName", + "templateId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "vmName": "qovpayfydhcvfrhe", + "uuid": "hrpw", + "lastRestoredVMCheckpoint": { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "qurzfrgyflrh" + }, + "checkpointType": "jkbpzjxpeegackhsvikrnlnwqz", + "generation": 28, + "biosGuid": "xixivxifyql", + "checkpoints": [ + { + "parentCheckpointID": "hqhhzikoxunuqguouw", + "checkpointID": "wsqmrje", + "name": "keqn", + "description": "kz" + } + ] + }, + "powerState": "dbqyxewvrbqcifpwfvxyllwyaffmvm", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default", + "name": "uuqpsdoiyvedvqtrwop", + "type": "zculorteltpvthtzgnpgdpoe", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Update_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..6a65796f568c --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineInstances_Update_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VirtualMachineInstances_Update_MinimumSet", + "operationId": "VirtualMachineInstances_Update", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave", + "properties": {} + }, + "responses": { + "200": { + "body": { + "extendedLocation": {} + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..a3f6ec893749 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,197 @@ +{ + "title": "VirtualMachineTemplates_CreateOrUpdate_MaximumSet", + "operationId": "VirtualMachineTemplates_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "6", + "resource": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "isHighlyAvailable": "true" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..54070d1cf5b4 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "VirtualMachineTemplates_CreateOrUpdate_MinimumSet", + "operationId": "VirtualMachineTemplates_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "P", + "resource": { + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Delete_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..b3c7aa4c905e --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualMachineTemplates_Delete_MaximumSet", + "operationId": "VirtualMachineTemplates_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "virtualMachineTemplateName": "6" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Delete_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..57b7122c4b08 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualMachineTemplates_Delete_MinimumSet", + "operationId": "VirtualMachineTemplates_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "5" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Get_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b809f2656a43 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Get_MaximumSet_Gen.json @@ -0,0 +1,93 @@ +{ + "title": "VirtualMachineTemplates_Get_MaximumSet", + "operationId": "VirtualMachineTemplates_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "4" + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Get_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..a826574c701e --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualMachineTemplates_Get_MinimumSet", + "operationId": "VirtualMachineTemplates_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "m" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..d854b51c91ea --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,97 @@ +{ + "title": "VirtualMachineTemplates_ListByResourceGroup_MaximumSet", + "operationId": "VirtualMachineTemplates_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/atbdyyso" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..74d2d4c5a6e1 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "VirtualMachineTemplates_ListByResourceGroup_MinimumSet", + "operationId": "VirtualMachineTemplates_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..38a7b033562a --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,96 @@ +{ + "title": "VirtualMachineTemplates_ListBySubscription_MaximumSet", + "operationId": "VirtualMachineTemplates_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/atbdyyso" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..d49da9a65cd3 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VirtualMachineTemplates_ListBySubscription_MinimumSet", + "operationId": "VirtualMachineTemplates_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Update_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e5628d59c929 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Update_MaximumSet_Gen.json @@ -0,0 +1,103 @@ +{ + "title": "VirtualMachineTemplates_Update_MaximumSet", + "operationId": "VirtualMachineTemplates_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "g", + "properties": { + "tags": { + "key6634": "wwfhrg" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "qjrykoogccwlgkd", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "osType": "Windows", + "osName": "qcbolnbisklo", + "computerName": "asxghqngsojdsdptpirbz", + "memoryMB": 24, + "cpuCount": 23, + "limitCpuForMigration": "true", + "dynamicMemoryEnabled": "true", + "isCustomizable": "true", + "dynamicMemoryMaxMB": 21, + "dynamicMemoryMinMB": 21, + "isHighlyAvailable": "true", + "generation": 16, + "networkInterfaces": [ + { + "name": "kvofzqulbjlbtt", + "displayName": "yoayfd", + "ipv4Addresses": [ + "eeunirpkpqazzxhsqonkxcfuks" + ], + "ipv6Addresses": [ + "pk" + ], + "macAddress": "oaeqqegt", + "virtualNetworkId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "networkName": "lqbm", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Dynamic", + "nicId": "roxpsvlo" + } + ], + "disks": [ + { + "name": "fgnckfymwdsqnfxkdvexuaobe", + "displayName": "fgladknawlgjodo", + "diskId": "ltdrwcfjklpsimhzqyh", + "diskSizeGB": 30, + "maxDiskSizeGB": 18, + "bus": 8, + "lun": 10, + "busType": "zu", + "vhdType": "cnbeeeylrvopigdynvgpkfp", + "volumeType": "ckkymkuekzzqhexyjueruzlfemoeln", + "vhdFormatType": "vbcrrmhgahznifudvhxfagwoplcb", + "templateDiskId": "lcdwrokpyvekqccclf", + "storageQoSPolicy": { + "name": "ceiyfrflu", + "id": "o" + }, + "createDiffDisk": "true" + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key9494": "kkbmfpwhmvlobm" + }, + "location": "ayxsyduviotylbojh", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplateName", + "name": "ioeuwaznkaayvhpqbnrwbr", + "type": "egfzqiscydkyddksvsjujdlee", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Update_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..b2b31acbe444 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualMachineTemplates_Update_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "VirtualMachineTemplates_Update_MinimumSet", + "operationId": "VirtualMachineTemplates_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualMachineTemplateName": "-", + "properties": {} + }, + "responses": { + "200": { + "body": { + "extendedLocation": {}, + "location": "ayxsyduviotylbojh" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..2f9bea0d4f22 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,90 @@ +{ + "title": "VirtualNetworks_CreateOrUpdate_MaximumSet", + "operationId": "VirtualNetworks_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "_", + "resource": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..19e0de45672e --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "VirtualNetworks_CreateOrUpdate_MinimumSet", + "operationId": "VirtualNetworks_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "-", + "resource": { + "extendedLocation": {}, + "location": "fky" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Delete_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..800f8ca90845 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualNetworks_Delete_MaximumSet", + "operationId": "VirtualNetworks_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "virtualNetworkName": "." + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Delete_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..224da31900a6 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VirtualNetworks_Delete_MinimumSet", + "operationId": "VirtualNetworks_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "1" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Get_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..aaf6e2a31161 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Get_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "VirtualNetworks_Get_MaximumSet", + "operationId": "VirtualNetworks_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "2" + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Get_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..5ca1b434b8d7 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualNetworks_Get_MinimumSet", + "operationId": "VirtualNetworks_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "-" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..b2c4a8d7b727 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "VirtualNetworks_ListByResourceGroup_MaximumSet", + "operationId": "VirtualNetworks_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..a4aa344196c0 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "VirtualNetworks_ListByResourceGroup_MinimumSet", + "operationId": "VirtualNetworks_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..a196e4d38860 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "VirtualNetworks_ListBySubscription_MaximumSet", + "operationId": "VirtualNetworks_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..92556f56363b --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VirtualNetworks_ListBySubscription_MinimumSet", + "operationId": "VirtualNetworks_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Update_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..fdc685c5710d --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Update_MaximumSet_Gen.json @@ -0,0 +1,52 @@ +{ + "title": "VirtualNetworks_Update_MaximumSet", + "operationId": "VirtualNetworks_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "S", + "properties": { + "tags": { + "key9516": "oxduo" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "inventoryItemId": "bxn", + "uuid": "12345678-1234-1234-1234-12345678abcd", + "vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "networkName": "eeqahvnbblsdeeqezqdinggretyeg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key705": "apgplvjdyocx" + }, + "location": "fky", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "name": "sbeiflgxwzkgt", + "type": "oinkkqcuemmcvugnhebckmxeluuulw", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Update_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..8ea701da7b35 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VirtualNetworks_Update_MinimumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualNetworks_Update_MinimumSet", + "operationId": "VirtualNetworks_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "virtualNetworkName": "-", + "properties": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName", + "extendedLocation": {}, + "location": "fky" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..8651dc85a156 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "title": "VmInstanceHybridIdentityMetadatas_Get_MaximumSet", + "operationId": "VmInstanceHybridIdentityMetadatas_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceUid": "mikbntobifeiouinvsalnu", + "publicKey": "hijhfxcdjuzidfjjztoh", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default", + "name": "rxvpcegqc", + "type": "ixqhymswessvylnqgti", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..94920ce51700 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "VmInstanceHybridIdentityMetadatas_Get_MinimumSet", + "operationId": "VmInstanceHybridIdentityMetadatas_Get", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json new file mode 100644 index 000000000000..8e2d4776e0d8 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json @@ -0,0 +1,35 @@ +{ + "title": "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet", + "operationId": "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceUid": "mikbntobifeiouinvsalnu", + "publicKey": "hijhfxcdjuzidfjjztoh", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default", + "name": "rxvpcegqc", + "type": "ixqhymswessvylnqgti", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json new file mode 100644 index 000000000000..cb06143e83ce --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet", + "operationId": "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance", + "parameters": { + "api-version": "2023-10-07", + "resourceUri": "gtgclehcbsyave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_CreateOrUpdate_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..bb3f5c2817a4 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,103 @@ +{ + "title": "VmmServers_CreateOrUpdate_MaximumSet", + "operationId": "VmmServers_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "-", + "resource": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi", + "password": "gaecsnkjr" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4 + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_CreateOrUpdate_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..713b3b0a9670 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "VmmServers_CreateOrUpdate_MinimumSet", + "operationId": "VmmServers_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "w", + "resource": { + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..cbfacb829d81 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VmmServers_Delete_MaximumSet", + "operationId": "VmmServers_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "force": "true", + "vmmServerName": "." + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..35fef81e6cd5 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "VmmServers_Delete_MinimumSet", + "operationId": "VmmServers_Delete", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "8" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..cf34a571f852 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "title": "VmmServers_Get_MaximumSet", + "operationId": "VmmServers_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "." + }, + "responses": { + "200": { + "body": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..e824ad8ddf26 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VmmServers_Get_MinimumSet", + "operationId": "VmmServers_Get", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "D" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListByResourceGroup_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..cf469f65ae64 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "title": "VmmServers_ListByResourceGroup_MaximumSet", + "operationId": "VmmServers_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListByResourceGroup_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..fca767a96354 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "VmmServers_ListByResourceGroup_MinimumSet", + "operationId": "VmmServers_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListBySubscription_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..aa5e07d5c9e8 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "VmmServers_ListBySubscription_MaximumSet", + "operationId": "VmmServers_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListBySubscription_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..109cb8b8d48a --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VmmServers_ListBySubscription_MinimumSet", + "operationId": "VmmServers_ListBySubscription", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MaximumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..bb5afd132f00 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "title": "VmmServers_Update_MaximumSet", + "operationId": "VmmServers_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "Y", + "properties": { + "tags": { + "key7187": "oktnfvklfchnquelzzdagtpwfskzc" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "credentials": { + "username": "jbuoltypmrgqfi" + }, + "fqdn": "pvzcjaqrswbvptgx", + "port": 4, + "connectionStatus": "vlmrrigzmutgbzrgjtolnamfxm", + "errorMessage": "ndkzeiipz", + "uuid": "vmwbukuqbuz", + "version": "tawfjzbqrlkqzqyomxiahnfqg", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName" + }, + "tags": { + "key4834": "vycgfkzjcyyuotwwq" + }, + "location": "hslxkyzktvwpqbypvs", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "name": "gyoxmcbnbbfajvzygtffpaufxxjzs", + "type": "nwiimbcjryiggdcbpvrqdnlrklcwbr", + "systemData": { + "createdBy": "p", + "createdByType": "User", + "createdAt": "2024-01-29T22:28:00.094Z", + "lastModifiedBy": "goxcwpyyqlxndquly", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-01-29T22:28:00.095Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MinimumSet_Gen.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..b5d077a0f7a5 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MinimumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "title": "VmmServers_Update_MinimumSet", + "operationId": "VmmServers_Update", + "parameters": { + "api-version": "2023-10-07", + "subscriptionId": "79332E5A-630B-480F-A266-A941C015AB19", + "resourceGroupName": "rgscvmm", + "vmmServerName": "_", + "properties": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName", + "extendedLocation": {}, + "location": "hslxkyzktvwpqbypvs" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/scvmm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/scvmm.json index c08d6332e368..bc3f2a2f3c66 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/scvmm.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/scvmm.json @@ -1,18 +1,23 @@ { "swagger": "2.0", "info": { - "title": "SCVMM", + "title": "ScVmm", + "version": "2023-10-07", "description": "The Microsoft.ScVmm Rest API spec.", - "version": "2023-10-07" + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], "security": [ @@ -25,385 +30,500 @@ "securityDefinitions": { "azure_auth": { "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" } } }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "VmmServers" + }, + { + "name": "Clouds" + }, + { + "name": "VirtualNetworks" + }, + { + "name": "VirtualMachineTemplates" + }, + { + "name": "AvailabilitySets" + }, + { + "name": "InventoryItems" + }, + { + "name": "VirtualMachineInstances" + }, + { + "name": "VmInstanceHybridIdentityMetadatas" + }, + { + "name": "GuestAgents" + } + ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}": { + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances": { "get": { + "operationId": "VirtualMachineInstances_List", "tags": [ - "VmmServers" + "VirtualMachineInstances" ], - "operationId": "VmmServers_Get", - "summary": "Gets a VMMServer.", - "description": "Implements VMMServer GET method.", - "x-ms-examples": { - "GetVMMServer": { - "$ref": "./examples/GetVMMServer.json" - } - }, + "summary": "Implements List virtual machine instances.", + "description": "Lists all of the virtual machine instances within the specified parent resource.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualMachineInstanceListResult" + } }, - { - "in": "path", - "name": "vmmServerName", - "required": true, - "type": "string", - "description": "Name of the VMMServer.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualMachineInstances_List_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_List_MaximumSet_Gen.json" }, + "VirtualMachineInstances_List_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_List_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default": { + "get": { + "operationId": "VirtualMachineInstances_Get", + "tags": [ + "VirtualMachineInstances" + ], + "summary": "Gets a virtual machine.", + "description": "Retrieves information about a virtual machine instance.", + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" } ], "responses": { "200": { - "description": "Retrieves the VmmServers resource.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VMMServer" + "$ref": "#/definitions/VirtualMachineInstance" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "VirtualMachineInstances_Get_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_Get_MaximumSet_Gen.json" + }, + "VirtualMachineInstances_Get_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_Get_MinimumSet_Gen.json" + } } }, "put": { + "operationId": "VirtualMachineInstances_CreateOrUpdate", "tags": [ - "VmmServers" + "VirtualMachineInstances" ], - "operationId": "VmmServers_CreateOrUpdate", - "description": "Onboards the SCVMM fabric as an Azure VmmServer resource.", - "summary": "Implements VmmServers PUT method.", - "x-ms-examples": { - "CreateVMMServer": { - "$ref": "./examples/CreateVMMServer.json" - } - }, + "summary": "Implements virtual machine PUT method.", + "description": "The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" }, { - "in": "path", - "name": "vmmServerName", + "name": "resource", + "in": "body", + "description": "Resource create parameters.", "required": true, - "type": "string", - "description": "Name of the VMMServer.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualMachineInstance' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "201": { + "description": "Resource 'VirtualMachineInstance' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualMachineInstances_CreateOrUpdate_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json" }, + "VirtualMachineInstances_CreateOrUpdate_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualMachineInstances_Update", + "tags": [ + "VirtualMachineInstances" + ], + "summary": "Updates a virtual machine.", + "description": "The operation to update a virtual machine instance.", + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "body", - "description": "Request payload.", + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "properties", "in": "body", + "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VMMServer" + "$ref": "#/definitions/VirtualMachineInstanceUpdate" } } ], "responses": { "200": { - "description": "Creates or Updates the VmmServers resource.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VMMServer" + "$ref": "#/definitions/VirtualMachineInstance" } }, - "201": { - "description": "Creates or Updates the VmmServers resource.", - "schema": { - "$ref": "#/definitions/VMMServer" + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualMachineInstances_Update_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_Update_MaximumSet_Gen.json" + }, + "VirtualMachineInstances_Update_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_Update_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" - } + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "VirtualMachineInstances_Delete", "tags": [ - "VmmServers" + "VirtualMachineInstances" ], - "operationId": "VmmServers_Delete", - "description": "Removes the SCVMM fabric from Azure.", - "summary": "Implements VmmServers DELETE method.", - "x-ms-examples": { - "DeleteVMMServer": { - "$ref": "./examples/DeleteVMMServer.json" - } - }, + "summary": "Deletes an virtual machine.", + "description": "The operation to delete a virtual machine instance.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "in": "path", - "name": "vmmServerName", - "required": true, - "type": "string", - "description": "Name of the VMMServer.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/QueryForceDelete" }, { + "name": "deleteFromHost", "in": "query", - "name": "force", - "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", + "description": "Whether to disable the VM from azure and also delete it from Vmm.", "required": false, "type": "string", "enum": [ - "false", - "true" + "true", + "false" ], "x-ms-enum": { + "name": "DeleteFromHost", "modelAsString": true, - "name": "Force" + "values": [ + { + "name": "true", + "value": "true", + "description": "Enable delete from host." + }, + { + "name": "false", + "value": "false", + "description": "Disable delete from host." + } + ] } } ], "responses": { "202": { - "description": "Accepted", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "No Content" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualMachineInstances_Delete_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_Delete_MaximumSet_Gen.json" + }, + "VirtualMachineInstances_Delete_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_Delete_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" - } - }, - "patch": { + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/createCheckpoint": { + "post": { + "operationId": "VirtualMachineInstances_CreateCheckpoint", "tags": [ - "VmmServers" + "VirtualMachineInstances" ], - "operationId": "VmmServers_Update", - "summary": "Implements VmmServers PATCH method.", - "description": "Updates the VmmServers resource.", - "x-ms-examples": { - "UpdateVMMServer": { - "$ref": "./examples/UpdateVMMServer.json" - } - }, + "summary": "Implements the operation to creates a checkpoint in a virtual machine instance.", + "description": "Creates a checkpoint in virtual machine instance.", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "in": "path", - "name": "vmmServerName", - "required": true, - "type": "string", - "description": "Name of the VMMServer.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" }, { "name": "body", - "description": "VmmServers patch payload.", "in": "body", + "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ResourcePatch" + "$ref": "#/definitions/VirtualMachineCreateCheckpoint" } } ], "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/VMMServer" - } - }, "202": { - "description": "Accepted", + "description": "Resource operation accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualMachineInstances_CreateCheckpoint_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json" + }, + "VirtualMachineInstances_CreateCheckpoint_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers": { - "get": { + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/deleteCheckpoint": { + "post": { + "operationId": "VirtualMachineInstances_DeleteCheckpoint", "tags": [ - "VmmServers" + "VirtualMachineInstances" ], - "operationId": "VmmServers_ListByResourceGroup", - "summary": "Implements GET VmmServers in a resource group.", - "description": "List of VmmServers in a resource group.", - "x-ms-examples": { - "ListVmmServersByResourceGroup": { - "$ref": "./examples/ListVMMServersByResourceGroup.json" - } - }, + "summary": "Implements the operation to delete a checkpoint in a virtual machine instance.", + "description": "Deletes a checkpoint in virtual machine instance.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineDeleteCheckpoint" + } } ], "responses": { - "200": { - "description": "Lists all VmmServers under the resource group.", - "schema": { - "$ref": "#/definitions/VMMServerListResult" + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-examples": { + "VirtualMachineInstances_DeleteCheckpoint_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json" + }, + "VirtualMachineInstances_DeleteCheckpoint_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/vmmServers": { + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents": { "get": { + "operationId": "GuestAgents_ListByVirtualMachineInstance", "tags": [ - "VmmServers" + "GuestAgents" ], - "operationId": "VmmServers_ListBySubscription", - "summary": "Implements GET VmmServers in a subscription.", - "description": "List of VmmServers in a subscription.", - "x-ms-examples": { - "ListVmmServersBySubscription": { - "$ref": "./examples/ListVMMServersBySubscription.json" - } - }, + "summary": "Implements GET GuestAgent in a vm.", + "description": "Returns the list of GuestAgent of the given vm.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" } ], "responses": { "200": { - "description": "Lists all VmmServers under the subscription.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VMMServerListResult" + "$ref": "#/definitions/GuestAgentListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.ScVmm/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "Returns list of all operations.", "x-ms-examples": { - "ListOperations": { - "$ref": "./examples/ListOperations.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Describe the result of a successful operation.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" - } + "GuestAgents_ListByVirtualMachineInstance_MaximumSet": { + "$ref": "./examples/GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } + "GuestAgents_ListByVirtualMachineInstance_MinimumSet": { + "$ref": "./examples/GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -411,1024 +531,752 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudResourceName}": { + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default": { "get": { + "operationId": "GuestAgents_Get", "tags": [ - "Clouds" + "GuestAgents" ], - "operationId": "Clouds_Get", - "summary": "Gets a Cloud.", - "description": "Implements Cloud GET method.", - "x-ms-examples": { - "GetCloud": { - "$ref": "./examples/GetCloud.json" - } - }, + "summary": "Gets GuestAgent.", + "description": "Implements GuestAgent GET method.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "cloudResourceName", - "required": true, - "type": "string", - "description": "Name of the Cloud.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" } ], "responses": { "200": { - "description": "Retrieves the Clouds resource.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Cloud" + "$ref": "#/definitions/GuestAgent" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "GuestAgents_Get_MaximumSet": { + "$ref": "./examples/GuestAgents_Get_MaximumSet_Gen.json" + }, + "GuestAgents_Get_MinimumSet": { + "$ref": "./examples/GuestAgents_Get_MinimumSet_Gen.json" + } } }, "put": { + "operationId": "GuestAgents_Create", "tags": [ - "Clouds" + "GuestAgents" ], - "operationId": "Clouds_CreateOrUpdate", - "description": "Onboards the ScVmm fabric cloud as an Azure cloud resource.", - "summary": "Implements Clouds PUT method.", - "x-ms-examples": { - "CreateCloud": { - "$ref": "./examples/CreateCloud.json" - } - }, + "summary": "Implements GuestAgent PUT method.", + "description": "Create Or Update GuestAgent.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "cloudResourceName", - "required": true, - "type": "string", - "description": "Name of the Cloud.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" }, { - "name": "body", - "description": "Request payload.", + "name": "resource", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/Cloud" + "$ref": "#/definitions/GuestAgent" } } ], "responses": { "200": { - "description": "Creates or Updates the Clouds resource.", + "description": "Resource 'GuestAgent' update operation succeeded", "schema": { - "$ref": "#/definitions/Cloud" + "$ref": "#/definitions/GuestAgent" } }, "201": { - "description": "Creates or Updates the Clouds resource.", + "description": "Resource 'GuestAgent' create operation succeeded", "schema": { - "$ref": "#/definitions/Cloud" + "$ref": "#/definitions/GuestAgent" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "GuestAgents_Create_MaximumSet": { + "$ref": "./examples/GuestAgents_Create_MaximumSet_Gen.json" + }, + "GuestAgents_Create_MinimumSet": { + "$ref": "./examples/GuestAgents_Create_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" - } + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "GuestAgents_Delete", "tags": [ - "Clouds" + "GuestAgents" ], - "operationId": "Clouds_Delete", - "description": "Deregisters the ScVmm fabric cloud from Azure.", - "summary": "Implements Cloud resource DELETE method.", - "x-ms-examples": { - "DeleteCloud": { - "$ref": "./examples/DeleteCloud.json" - } - }, + "summary": "Deletes a GuestAgent resource.", + "description": "Implements GuestAgent DELETE method.", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "cloudResourceName", - "required": true, - "type": "string", - "description": "Name of the Cloud.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "in": "query", - "name": "force", - "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", - "required": false, - "type": "string", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "Force" - } + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" } ], "responses": { - "202": { - "description": "Accepted", - "headers": { - "Location": { - "type": "string" - } - } + "200": { + "description": "Resource deleted successfully." }, "204": { - "description": "No Content" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "x-ms-examples": { + "GuestAgents_Delete_MaximumSet": { + "$ref": "./examples/GuestAgents_Delete_MaximumSet_Gen.json" + }, + "GuestAgents_Delete_MinimumSet": { + "$ref": "./examples/GuestAgents_Delete_MinimumSet_Gen.json" + } } - }, - "patch": { + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata": { + "get": { + "operationId": "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance", "tags": [ - "Clouds" + "VmInstanceHybridIdentityMetadatas" ], - "operationId": "Clouds_Update", - "summary": "Implements the Clouds PATCH method.", - "description": "Updates the Clouds resource.", - "x-ms-examples": { - "UpdateCloud": { - "$ref": "./examples/UpdateCloud.json" - } - }, + "summary": "Implements GET HybridIdentityMetadata in a vm.", + "description": "Returns the list of HybridIdentityMetadata of the given VM.", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "in": "path", - "name": "cloudResourceName", - "required": true, - "type": "string", - "description": "Name of the Cloud.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 - }, - { - "name": "body", - "description": "Clouds patch payload.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ResourcePatch" - } + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" } ], "responses": { "200": { - "description": "Successful.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Cloud" - } - }, - "202": { - "description": "Accepted", - "headers": { - "Location": { - "type": "string" - } + "$ref": "#/definitions/VmInstanceHybridIdentityMetadataListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "x-ms-examples": { + "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet": { + "$ref": "./examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json" + }, + "VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet": { + "$ref": "./examples/VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds": { + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default": { "get": { + "operationId": "VmInstanceHybridIdentityMetadatas_Get", "tags": [ - "Clouds" + "VmInstanceHybridIdentityMetadatas" ], - "operationId": "Clouds_ListByResourceGroup", - "summary": "Implements GET Clouds in a resource group.", - "description": "List of Clouds in a resource group.", - "x-ms-examples": { - "ListCloudsByResourceGroup": { - "$ref": "./examples/ListCloudsByResourceGroup.json" - } - }, + "summary": "Gets HybridIdentityMetadata.", + "description": "Implements HybridIdentityMetadata GET method.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" } ], "responses": { "200": { - "description": "Lists all Clouds under the resource group.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CloudListResult" + "$ref": "#/definitions/VmInstanceHybridIdentityMetadata" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-examples": { + "VmInstanceHybridIdentityMetadatas_Get_MaximumSet": { + "$ref": "./examples/VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json" + }, + "VmInstanceHybridIdentityMetadatas_Get_MinimumSet": { + "$ref": "./examples/VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json" + } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/clouds": { - "get": { + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/restart": { + "post": { + "operationId": "VirtualMachineInstances_Restart", "tags": [ - "Clouds" + "VirtualMachineInstances" ], - "operationId": "Clouds_ListBySubscription", - "summary": "Implements GET Clouds in a subscription.", - "description": "List of Clouds in a subscription.", - "x-ms-examples": { - "ListCloudsBySubscription": { - "$ref": "./examples/ListCloudsBySubscription.json" - } - }, + "summary": "Implements the operation to restart a virtual machine.", + "description": "The operation to restart a virtual machine instance.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" } ], "responses": { - "200": { - "description": "Lists all Clouds under the subscription.", - "schema": { - "$ref": "#/definitions/CloudListResult" + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}": { - "get": { - "tags": [ - "VirtualNetworks" - ], - "operationId": "VirtualNetworks_Get", - "summary": "Gets a VirtualNetwork.", - "description": "Implements VirtualNetwork GET method.", "x-ms-examples": { - "GetVirtualNetwork": { - "$ref": "./examples/GetVirtualNetwork.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualNetworkName", - "required": true, - "type": "string", - "description": "Name of the VirtualNetwork.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Retrieves the VirtualNetworks resource.", - "schema": { - "$ref": "#/definitions/VirtualNetwork" - } + "VirtualMachineInstances_Restart_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_Restart_MaximumSet_Gen.json" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } + "VirtualMachineInstances_Restart_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_Restart_MinimumSet_Gen.json" } - } - }, - "put": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/restoreCheckpoint": { + "post": { + "operationId": "VirtualMachineInstances_RestoreCheckpoint", "tags": [ - "VirtualNetworks" + "VirtualMachineInstances" ], - "operationId": "VirtualNetworks_CreateOrUpdate", - "description": "Onboards the ScVmm virtual network as an Azure virtual network resource.", - "summary": "Implements VirtualNetworks PUT method.", - "x-ms-examples": { - "CreateVirtualNetwork": { - "$ref": "./examples/CreateVirtualNetwork.json" - } - }, + "summary": "Implements the operation to restores to a checkpoint in a virtual machine instance.", + "description": "Restores to a checkpoint in virtual machine instance.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualNetworkName", - "required": true, - "type": "string", - "description": "Name of the VirtualNetwork.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" }, { "name": "body", - "description": "Request payload.", "in": "body", + "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/VirtualNetwork" + "$ref": "#/definitions/VirtualMachineRestoreCheckpoint" } } ], "responses": { - "200": { - "description": "Creates or Updates the VirtualNetworks resource.", - "schema": { - "$ref": "#/definitions/VirtualNetwork" - } - }, - "201": { - "description": "Creates or Updates the VirtualNetworks resource.", - "schema": { - "$ref": "#/definitions/VirtualNetwork" + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "VirtualNetworks" - ], - "operationId": "VirtualNetworks_Delete", - "description": "Deregisters the ScVmm virtual network from Azure.", - "summary": "Implements VirtualNetwork DELETE method.", "x-ms-examples": { - "DeleteVirtualNetwork": { - "$ref": "./examples/DeleteVirtualNetwork.json" + "VirtualMachineInstances_RestoreCheckpoint_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json" + }, + "VirtualMachineInstances_RestoreCheckpoint_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/start": { + "post": { + "operationId": "VirtualMachineInstances_Start", + "tags": [ + "VirtualMachineInstances" + ], + "summary": "Implements the operation to start a virtual machine.", + "description": "The operation to start a virtual machine instance.", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualNetworkName", - "required": true, - "type": "string", - "description": "Name of the VirtualNetwork.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "in": "query", - "name": "force", - "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", - "required": false, - "type": "string", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "Force" - } + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" } ], "responses": { "202": { - "description": "Accepted", + "description": "Resource operation accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "No Content" - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "tags": [ - "VirtualNetworks" - ], - "operationId": "VirtualNetworks_Update", - "summary": "Implements the VirtualNetworks PATCH method.", - "description": "Updates the VirtualNetworks resource.", "x-ms-examples": { - "UpdateVirtualNetwork": { - "$ref": "./examples/UpdateVirtualNetwork.json" + "VirtualMachineInstances_Start_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_Start_MaximumSet_Gen.json" + }, + "VirtualMachineInstances_Start_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_Start_MinimumSet_Gen.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/stop": { + "post": { + "operationId": "VirtualMachineInstances_Stop", + "tags": [ + "VirtualMachineInstances" + ], + "summary": "Implements the operation to stop a virtual machine.", + "description": "The operation to power off (stop) a virtual machine instance.", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "in": "path", - "name": "virtualNetworkName", - "required": true, - "type": "string", - "description": "Name of the VirtualNetwork.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" }, { "name": "body", - "description": "VirtualNetworks patch payload.", "in": "body", + "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ResourcePatch" + "$ref": "#/definitions/StopVirtualMachineOptions" } } ], "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/VirtualNetwork" - } - }, "202": { - "description": "Accepted", + "description": "Resource operation accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualMachineInstances_Stop_MaximumSet": { + "$ref": "./examples/VirtualMachineInstances_Stop_MaximumSet_Gen.json" + }, + "VirtualMachineInstances_Stop_MinimumSet": { + "$ref": "./examples/VirtualMachineInstances_Stop_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks": { + "/providers/Microsoft.ScVmm/operations": { "get": { + "operationId": "Operations_List", "tags": [ - "VirtualNetworks" + "Operations" ], - "operationId": "VirtualNetworks_ListByResourceGroup", - "summary": "Implements GET VirtualNetworks in a resource group.", - "description": "List of VirtualNetworks in a resource group.", - "x-ms-examples": { - "ListVirtualNetworksByResourceGroup": { - "$ref": "./examples/ListVirtualNetworksByResourceGroup.json" - } - }, + "description": "List the operations for the provider", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Lists all VirtualNetworks under the resource group.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualNetworkListResult" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "Operations_List_MaximumSet": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualNetworks": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets": { "get": { + "operationId": "AvailabilitySets_ListBySubscription", "tags": [ - "VirtualNetworks" + "AvailabilitySets" ], - "operationId": "VirtualNetworks_ListBySubscription", - "summary": "Implements GET VirtualNetworks in a subscription.", - "description": "List of VirtualNetworks in a subscription.", - "x-ms-examples": { - "ListVirtualNetworksBySubscription": { - "$ref": "./examples/ListVirtualNetworksBySubscription.json" - } - }, - "parameters": [ + "summary": "Implements GET AvailabilitySets in a subscription.", + "description": "List of AvailabilitySets in a subscription.", + "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Lists all VirtualNetworks under the subscription.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualNetworkListResult" + "$ref": "#/definitions/AvailabilitySetListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "AvailabilitySets_ListBySubscription_MaximumSet": { + "$ref": "./examples/AvailabilitySets_ListBySubscription_MaximumSet_Gen.json" + }, + "AvailabilitySets_ListBySubscription_MinimumSet": { + "$ref": "./examples/AvailabilitySets_ListBySubscription_MinimumSet_Gen.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/clouds": { "get": { + "operationId": "Clouds_ListBySubscription", "tags": [ - "VirtualMachineTemplates" + "Clouds" ], - "operationId": "VirtualMachineTemplates_Get", - "summary": "Gets a VirtualMachineTemplate.", - "description": "Implements VirtualMachineTemplate GET method.", - "x-ms-examples": { - "GetVirtualMachineTemplate": { - "$ref": "./examples/GetVirtualMachineTemplate.json" - } - }, + "summary": "Implements GET Clouds in a subscription.", + "description": "List of Clouds in a subscription.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualMachineTemplateName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachineTemplate.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Retrieves the VirtualMachineTemplates resource.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" + "$ref": "#/definitions/CloudListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Clouds_ListBySubscription_MaximumSet": { + "$ref": "./examples/Clouds_ListBySubscription_MaximumSet_Gen.json" + }, + "Clouds_ListBySubscription_MinimumSet": { + "$ref": "./examples/Clouds_ListBySubscription_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates": { + "get": { + "operationId": "VirtualMachineTemplates_ListBySubscription", "tags": [ "VirtualMachineTemplates" ], - "operationId": "VirtualMachineTemplates_CreateOrUpdate", - "description": "Onboards the ScVmm VM Template as an Azure VM Template resource.", - "summary": "Implements VirtualMachineTemplates PUT method.", - "x-ms-examples": { - "CreateVirtualMachineTemplate": { - "$ref": "./examples/CreateVirtualMachineTemplate.json" - } - }, + "summary": "Implements GET VirtualMachineTemplates in a subscription.", + "description": "List of VirtualMachineTemplates in a subscription.", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualMachineTemplateName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachineTemplate.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "body", - "description": "Request payload.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Creates or Updates the VirtualMachineTemplates resource.", - "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } - }, - "201": { - "description": "Creates or Updates the VirtualMachineTemplates resource.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" + "$ref": "#/definitions/VirtualMachineTemplateListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "VirtualMachineTemplates" - ], - "operationId": "VirtualMachineTemplates_Delete", - "description": "Deregisters the ScVmm VM Template from Azure.", - "summary": "Implements VirtualMachineTemplate DELETE method.", "x-ms-examples": { - "DeleteVirtualMachineTemplate": { - "$ref": "./examples/DeleteVirtualMachineTemplate.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualMachineTemplateName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachineTemplate.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "force", - "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", - "required": false, - "type": "string", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "Force" - } - } - ], - "responses": { - "202": { - "description": "Accepted", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "No Content" + "VirtualMachineTemplates_ListBySubscription_MaximumSet": { + "$ref": "./examples/VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } + "VirtualMachineTemplates_ListBySubscription_MinimumSet": { + "$ref": "./examples/VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualNetworks": { + "get": { + "operationId": "VirtualNetworks_ListBySubscription", "tags": [ - "VirtualMachineTemplates" + "VirtualNetworks" ], - "operationId": "VirtualMachineTemplates_Update", - "summary": "Implements the VirtualMachineTemplate PATCH method.", - "description": "Updates the VirtualMachineTemplate resource.", - "x-ms-examples": { - "UpdateVirtualMachineTemplate": { - "$ref": "./examples/UpdateVirtualMachineTemplate.json" - } - }, + "summary": "Implements GET VirtualNetworks in a subscription.", + "description": "List of VirtualNetworks in a subscription.", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "in": "path", - "name": "virtualMachineTemplateName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachineTemplate.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 - }, - { - "name": "body", - "description": "VirtualMachineTemplates patch details.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ResourcePatch" - } } ], "responses": { "200": { - "description": "Successful.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } - }, - "202": { - "description": "Accepted", - "headers": { - "Location": { - "type": "string" - } + "$ref": "#/definitions/VirtualNetworkListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "x-ms-examples": { + "VirtualNetworks_ListBySubscription_MaximumSet": { + "$ref": "./examples/VirtualNetworks_ListBySubscription_MaximumSet_Gen.json" + }, + "VirtualNetworks_ListBySubscription_MinimumSet": { + "$ref": "./examples/VirtualNetworks_ListBySubscription_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/vmmServers": { "get": { + "operationId": "VmmServers_ListBySubscription", "tags": [ - "VirtualMachineTemplates" + "VmmServers" ], - "operationId": "VirtualMachineTemplates_ListByResourceGroup", - "summary": "Implements GET VirtualMachineTemplates in a resource group.", - "description": "List of VirtualMachineTemplates in a resource group.", - "x-ms-examples": { - "ListVirtualMachineTemplatesByResourceGroup": { - "$ref": "./examples/ListVirtualMachineTemplatesByResourceGroup.json" - } - }, + "summary": "Implements GET VmmServers in a subscription.", + "description": "List of VmmServers in a subscription.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Lists all VirtualMachineTemplates under the resource group.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachineTemplateListResult" + "$ref": "#/definitions/VmmServerListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "VmmServers_ListBySubscription_MaximumSet": { + "$ref": "./examples/VmmServers_ListBySubscription_MaximumSet_Gen.json" + }, + "VmmServers_ListBySubscription_MinimumSet": { + "$ref": "./examples/VmmServers_ListBySubscription_MinimumSet_Gen.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets": { "get": { + "operationId": "AvailabilitySets_ListByResourceGroup", "tags": [ - "VirtualMachineTemplates" + "AvailabilitySets" ], - "operationId": "VirtualMachineTemplates_ListBySubscription", - "summary": "Implements GET VirtualMachineTemplates in a subscription.", - "description": "List of VirtualMachineTemplates in a subscription.", - "x-ms-examples": { - "ListVirtualMachineTemplatesBySubscription": { - "$ref": "./examples/ListVirtualMachineTemplatesBySubscription.json" - } - }, + "summary": "Implements GET AvailabilitySets in a resource group.", + "description": "List of AvailabilitySets in a resource group.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { - "description": "Lists all VirtualMachineTemplates under the subscription.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachineTemplateListResult" + "$ref": "#/definitions/AvailabilitySetListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "AvailabilitySets_ListByResourceGroup_MaximumSet": { + "$ref": "./examples/AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json" + }, + "AvailabilitySets_ListByResourceGroup_MinimumSet": { + "$ref": "./examples/AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1436,18 +1284,16 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetResourceName}": { "get": { + "operationId": "AvailabilitySets_Get", "tags": [ "AvailabilitySets" ], - "operationId": "AvailabilitySets_Get", "summary": "Gets an AvailabilitySet.", "description": "Implements AvailabilitySet GET method.", - "x-ms-examples": { - "GetAvailabilitySet": { - "$ref": "./examples/GetAvailabilitySet.json" - } - }, "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, @@ -1455,47 +1301,50 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "in": "path", "name": "availabilitySetResourceName", + "in": "path", + "description": "Name of the AvailabilitySet.", "required": true, "type": "string", - "description": "Name of the AvailabilitySet.", - "pattern": "[a-zA-Z0-9-_\\.]", "minLength": 1, - "maxLength": 54 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { "200": { - "description": "Retrieves the AvailabilitySet resource.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/AvailabilitySet" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "AvailabilitySets_Get_MaximumSet": { + "$ref": "./examples/AvailabilitySets_Get_MaximumSet_Gen.json" + }, + "AvailabilitySets_Get_MinimumSet": { + "$ref": "./examples/AvailabilitySets_Get_MinimumSet_Gen.json" + } } }, "put": { + "operationId": "AvailabilitySets_CreateOrUpdate", "tags": [ "AvailabilitySets" ], - "operationId": "AvailabilitySets_CreateOrUpdate", - "description": "Onboards the ScVmm availability set as an Azure resource.", "summary": "Implements AvailabilitySets PUT method.", - "x-ms-examples": { - "CreateAvailabilitySet": { - "$ref": "./examples/CreateAvailabilitySet.json" - } - }, + "description": "Onboards the ScVmm availability set as an Azure resource.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, @@ -1503,22 +1352,19 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "in": "path", "name": "availabilitySetResourceName", + "in": "path", + "description": "Name of the AvailabilitySet.", "required": true, "type": "string", - "description": "Name of the AvailabilitySet.", - "pattern": "[a-zA-Z0-9-_\\.]", "minLength": 1, - "maxLength": 54 + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "body", - "description": "Request payload.", + "name": "resource", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { "$ref": "#/definitions/AvailabilitySet" @@ -1527,48 +1373,59 @@ ], "responses": { "200": { - "description": "Creates or Updates the AvailabilitySets resource.", + "description": "Resource 'AvailabilitySet' update operation succeeded", "schema": { "$ref": "#/definitions/AvailabilitySet" } }, "201": { - "description": "Creates or Updates the AvailabilitySets resource.", + "description": "Resource 'AvailabilitySet' create operation succeeded", "schema": { "$ref": "#/definitions/AvailabilitySet" }, "headers": { "Azure-AsyncOperation": { - "description": "Tracking URL for long running operation.", - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "AvailabilitySets_CreateOrUpdate_MaximumSet": { + "$ref": "./examples/AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json" + }, + "AvailabilitySets_CreateOrUpdate_MinimumSet": { + "$ref": "./examples/AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" - } + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "AvailabilitySets_Update", "tags": [ "AvailabilitySets" ], - "operationId": "AvailabilitySets_Delete", - "description": "Deregisters the ScVmm availability set from Azure.", - "summary": "Implements AvailabilitySet DELETE method.", - "x-ms-examples": { - "DeleteAvailabilitySet": { - "$ref": "./examples/DeleteAvailabilitySet.json" - } - }, + "summary": "Implements the AvailabilitySets PATCH method.", + "description": "Updates the AvailabilitySets resource.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, @@ -1576,75 +1433,74 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "in": "path", "name": "availabilitySetResourceName", + "in": "path", + "description": "Name of the AvailabilitySet.", "required": true, "type": "string", - "description": "Name of the AvailabilitySet.", - "pattern": "[a-zA-Z0-9-_\\.]", "minLength": 1, - "maxLength": 54 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" }, { - "in": "query", - "name": "force", - "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", - "required": false, - "type": "string", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "Force" + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/AvailabilitySetTagsUpdate" } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } + }, "202": { - "description": "Accepted", + "description": "Resource update request accepted.", "headers": { - "Azure-AsyncOperation": { - "description": "Tracking URL for long running operation.", - "type": "string" - }, "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "No Content" - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "AvailabilitySets_Update_MaximumSet": { + "$ref": "./examples/AvailabilitySets_Update_MaximumSet_Gen.json" + }, + "AvailabilitySets_Update_MinimumSet": { + "$ref": "./examples/AvailabilitySets_Update_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "AvailabilitySets_Delete", "tags": [ "AvailabilitySets" ], - "operationId": "AvailabilitySets_Update", - "summary": "Implements the AvailabilitySets PATCH method.", - "description": "Updates the AvailabilitySets resource.", - "x-ms-examples": { - "UpdateAvailabilitySet": { - "$ref": "./examples/UpdateAvailabilitySet.json" - } - }, + "summary": "Implements AvailabilitySet DELETE method.", + "description": "Deregisters the ScVmm availability set from Azure.", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, @@ -1652,156 +1508,174 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "in": "path", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/QueryForceDelete" + }, + { "name": "availabilitySetResourceName", + "in": "path", + "description": "Name of the AvailabilitySet.", "required": true, "type": "string", - "description": "Name of the AvailabilitySet.", - "pattern": "[a-zA-Z0-9-_\\.]", "minLength": 1, - "maxLength": 54 - }, - { - "name": "body", - "description": "AvailabilitySets patch payload.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ResourcePatch" - } + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/AvailabilitySet" - } - }, "202": { - "description": "Accepted", + "description": "Resource deletion accepted.", "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "AvailabilitySets_Delete_MaximumSet": { + "$ref": "./examples/AvailabilitySets_Delete_MaximumSet_Gen.json" + }, + "AvailabilitySets_Delete_MinimumSet": { + "$ref": "./examples/AvailabilitySets_Delete_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds": { "get": { + "operationId": "Clouds_ListByResourceGroup", "tags": [ - "AvailabilitySets" + "Clouds" ], - "operationId": "AvailabilitySets_ListByResourceGroup", - "summary": "Implements GET AvailabilitySets in a resource group.", - "description": "List of AvailabilitySets in a resource group.", - "x-ms-examples": { - "ListAvailabilitySetsByResourceGroup": { - "$ref": "./examples/ListAvailabilitySetsByResourceGroup.json" - } - }, + "summary": "Implements GET Clouds in a resource group.", + "description": "List of Clouds in a resource group.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { - "description": "Lists all AvailabilitySets under the resource group.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/AvailabilitySetListResult" + "$ref": "#/definitions/CloudListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "Clouds_ListByResourceGroup_MaximumSet": { + "$ref": "./examples/Clouds_ListByResourceGroup_MaximumSet_Gen.json" + }, + "Clouds_ListByResourceGroup_MinimumSet": { + "$ref": "./examples/Clouds_ListByResourceGroup_MinimumSet_Gen.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudResourceName}": { "get": { + "operationId": "Clouds_Get", "tags": [ - "AvailabilitySets" + "Clouds" ], - "operationId": "AvailabilitySets_ListBySubscription", - "summary": "Implements GET AvailabilitySets in a subscription.", - "description": "List of AvailabilitySets in a subscription.", - "x-ms-examples": { - "ListAvailabilitySetsBySubscription": { - "$ref": "./examples/ListAvailabilitySetsBySubscription.json" - } - }, + "summary": "Gets a Cloud.", + "description": "Implements Cloud GET method.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cloudResourceName", + "in": "path", + "description": "Name of the Cloud.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { "200": { - "description": "Lists all AvailabilitySets under the subscription.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/AvailabilitySetListResult" + "$ref": "#/definitions/Cloud" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-examples": { + "Clouds_Get_MaximumSet": { + "$ref": "./examples/Clouds_Get_MaximumSet_Gen.json" + }, + "Clouds_Get_MinimumSet": { + "$ref": "./examples/Clouds_Get_MinimumSet_Gen.json" + } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}": { + }, "put": { + "operationId": "Clouds_CreateOrUpdate", "tags": [ - "InventoryItems" - ], - "operationId": "InventoryItems_Create", - "summary": "Implements InventoryItem PUT method.", - "description": "Create Or Update InventoryItem.", - "x-ms-examples": { - "CreateInventoryItem": { - "$ref": "./examples/CreateInventoryItem.json" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "Clouds" ], + "summary": "Implements Clouds PUT method.", + "description": "Onboards the ScVmm fabric cloud as an Azure cloud resource.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, @@ -1809,131 +1683,154 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { + "name": "cloudResourceName", "in": "path", - "name": "vmmServerName", + "description": "Name of the Cloud.", "required": true, "type": "string", - "description": "Name of the VMMServer.", - "pattern": "[a-zA-Z0-9-_\\.]", "minLength": 1, - "maxLength": 54 - }, - { - "in": "path", - "name": "inventoryItemResourceName", - "required": true, - "type": "string", - "description": "Name of the inventoryItem.", - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" }, { + "name": "resource", "in": "body", - "name": "body", - "description": "Request payload.", + "description": "Resource create parameters.", + "required": true, "schema": { - "$ref": "#/definitions/InventoryItem" + "$ref": "#/definitions/Cloud" } } ], "responses": { "200": { - "description": "Success", + "description": "Resource 'Cloud' update operation succeeded", "schema": { - "$ref": "#/definitions/InventoryItem" + "$ref": "#/definitions/Cloud" } }, "201": { - "description": "Created", + "description": "Resource 'Cloud' create operation succeeded", "schema": { - "$ref": "#/definitions/InventoryItem" + "$ref": "#/definitions/Cloud" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - } - }, - "get": { - "tags": [ - "InventoryItems" - ], - "operationId": "InventoryItems_Get", - "summary": "Implements GET InventoryItem method.", - "description": "Shows an inventory item.", + }, "x-ms-examples": { - "GetInventoryItem": { - "$ref": "./examples/GetInventoryItem.json" + "Clouds_CreateOrUpdate_MaximumSet": { + "$ref": "./examples/Clouds_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Clouds_CreateOrUpdate_MinimumSet": { + "$ref": "./examples/Clouds_CreateOrUpdate_MinimumSet_Gen.json" } }, - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Clouds_Update", + "tags": [ + "Clouds" + ], + "summary": "Implements the Clouds PATCH method.", + "description": "Updates the Clouds resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { + "name": "cloudResourceName", "in": "path", - "name": "vmmServerName", + "description": "Name of the Cloud.", "required": true, "type": "string", - "description": "Name of the VMMServer.", - "pattern": "[a-zA-Z0-9-_\\.]", "minLength": 1, - "maxLength": 54 + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" }, { - "in": "path", - "name": "inventoryItemResourceName", + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", "required": true, - "type": "string", - "description": "Name of the inventoryItem.", - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "schema": { + "$ref": "#/definitions/CloudTagsUpdate" + } } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/InventoryItem" + "$ref": "#/definitions/Cloud" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - } - }, - "delete": { - "tags": [ - "InventoryItems" - ], - "operationId": "InventoryItems_Delete", - "summary": "Implements inventoryItem DELETE method.", - "description": "Deletes an inventoryItem.", + }, "x-ms-examples": { - "DeleteInventoryItem": { - "$ref": "./examples/DeleteInventoryItem.json" + "Clouds_Update_MaximumSet": { + "$ref": "./examples/Clouds_Update_MaximumSet_Gen.json" + }, + "Clouds_Update_MinimumSet": { + "$ref": "./examples/Clouds_Update_MinimumSet_Gen.json" } }, - "produces": [ - "application/json" + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Clouds_Delete", + "tags": [ + "Clouds" ], + "summary": "Implements Cloud resource DELETE method.", + "description": "Deregisters the ScVmm fabric cloud from Azure.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, @@ -1941,1006 +1838,1315 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "in": "path", - "name": "vmmServerName", - "required": true, - "type": "string", - "description": "Name of the VMMServer.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "$ref": "#/parameters/QueryForceDelete" }, { + "name": "cloudResourceName", "in": "path", - "name": "inventoryItemResourceName", + "description": "Name of the Cloud.", "required": true, "type": "string", - "description": "Name of the inventoryItem.", - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { - "200": { - "description": "Success" + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "No Content" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - } + }, + "x-ms-examples": { + "Clouds_Delete_MaximumSet": { + "$ref": "./examples/Clouds_Delete_MaximumSet_Gen.json" + }, + "Clouds_Delete_MinimumSet": { + "$ref": "./examples/Clouds_Delete_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates": { "get": { + "operationId": "VirtualMachineTemplates_ListByResourceGroup", "tags": [ - "InventoryItems" - ], - "operationId": "InventoryItems_ListByVMMServer", - "summary": "Implements GET for the list of Inventory Items in the VMMServer.", - "description": "Returns the list of inventoryItems in the given VMMServer.", - "x-ms-examples": { - "InventoryItemsListByVMMServer": { - "$ref": "./examples/ListInventoryItemsByVMMServer.json" - } - }, - "produces": [ - "application/json" + "VirtualMachineTemplates" ], + "summary": "Implements GET VirtualMachineTemplates in a resource group.", + "description": "List of VirtualMachineTemplates in a resource group.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "in": "path", - "name": "vmmServerName", - "required": true, - "type": "string", - "description": "Name of the VMMServer.", - "pattern": "[a-zA-Z0-9-_\\.]", - "minLength": 1, - "maxLength": 54 + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/InventoryItemsList" + "$ref": "#/definitions/VirtualMachineTemplateListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "VirtualMachineTemplates_ListByResourceGroup_MaximumSet": { + "$ref": "./examples/VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json" + }, + "VirtualMachineTemplates_ListByResourceGroup_MinimumSet": { + "$ref": "./examples/VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}": { "get": { + "operationId": "VirtualMachineTemplates_Get", "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_Get", - "summary": "Gets a virtual machine.", - "description": "Retrieves information about a virtual machine instance.", - "x-ms-examples": { - "GetVirtualMachine": { - "$ref": "./examples/GetVirtualMachineInstance.json" - } - }, - "produces": [ - "application/json" + "VirtualMachineTemplates" ], + "summary": "Gets a VirtualMachineTemplate.", + "description": "Implements VirtualMachineTemplate GET method.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualMachineTemplateName", + "in": "path", + "description": "Name of the VirtualMachineTemplate.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachineInstance" + "$ref": "#/definitions/VirtualMachineTemplate" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "VirtualMachineTemplates_Get_MaximumSet": { + "$ref": "./examples/VirtualMachineTemplates_Get_MaximumSet_Gen.json" + }, + "VirtualMachineTemplates_Get_MinimumSet": { + "$ref": "./examples/VirtualMachineTemplates_Get_MinimumSet_Gen.json" + } } }, "put": { + "operationId": "VirtualMachineTemplates_CreateOrUpdate", "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_CreateOrUpdate", - "description": "The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.", - "summary": "Implements virtual machine PUT method.", - "x-ms-examples": { - "CreateVirtualMachine": { - "$ref": "./examples/CreateVirtualMachineInstance.json" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "VirtualMachineTemplates" ], + "summary": "Implements VirtualMachineTemplates PUT method.", + "description": "Onboards the ScVmm VM Template as an Azure VM Template resource.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualMachineTemplateName", + "in": "path", + "description": "Name of the VirtualMachineTemplate.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" }, { + "name": "resource", "in": "body", - "name": "body", - "description": "Request payload.", + "description": "Resource create parameters.", + "required": true, "schema": { - "$ref": "#/definitions/VirtualMachineInstance" + "$ref": "#/definitions/VirtualMachineTemplate" } } ], "responses": { "200": { - "description": "Success", + "description": "Resource 'VirtualMachineTemplate' update operation succeeded", "schema": { - "$ref": "#/definitions/VirtualMachineInstance" + "$ref": "#/definitions/VirtualMachineTemplate" } }, "201": { - "description": "Created", + "description": "Resource 'VirtualMachineTemplate' create operation succeeded", "schema": { - "$ref": "#/definitions/VirtualMachineInstance" + "$ref": "#/definitions/VirtualMachineTemplate" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualMachineTemplates_CreateOrUpdate_MaximumSet": { + "$ref": "./examples/VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json" + }, + "VirtualMachineTemplates_CreateOrUpdate_MinimumSet": { + "$ref": "./examples/VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" - } + }, + "x-ms-long-running-operation": true }, "patch": { + "operationId": "VirtualMachineTemplates_Update", "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_Update", - "summary": "Updates a virtual machine.", - "description": "The operation to update a virtual machine instance.", - "x-ms-examples": { - "UpdateVirtualMachine": { - "$ref": "./examples/UpdateVirtualMachineInstance.json" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "VirtualMachineTemplates" ], + "summary": "Implements the VirtualMachineTemplate PATCH method.", + "description": "Updates the VirtualMachineTemplate resource.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualMachineTemplateName", + "in": "path", + "description": "Name of the VirtualMachineTemplate.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" + }, + { + "name": "properties", "in": "body", - "name": "body", - "description": "Resource properties to update.", + "description": "The resource properties to be updated.", + "required": true, "schema": { - "$ref": "#/definitions/VirtualMachineInstanceUpdate" + "$ref": "#/definitions/VirtualMachineTemplateTagsUpdate" } } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachineInstance" + "$ref": "#/definitions/VirtualMachineTemplate" } }, "202": { - "description": "Accepted", + "description": "Resource update request accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualMachineTemplates_Update_MaximumSet": { + "$ref": "./examples/VirtualMachineTemplates_Update_MaximumSet_Gen.json" + }, + "VirtualMachineTemplates_Update_MinimumSet": { + "$ref": "./examples/VirtualMachineTemplates_Update_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" - } + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "VirtualMachineTemplates_Delete", "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_Delete", - "summary": "Deletes an virtual machine.", - "description": "The operation to delete a virtual machine instance.", - "x-ms-examples": { - "DeleteVirtualMachine": { - "$ref": "./examples/DeleteVirtualMachineInstance.json" - } - }, - "produces": [ - "application/json" + "VirtualMachineTemplates" ], + "summary": "Implements VirtualMachineTemplate DELETE method.", + "description": "Deregisters the ScVmm VM Template from Azure.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "in": "query", - "name": "force", - "description": "Whether force delete was specified.", - "required": false, - "type": "string", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "Force" - } + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "in": "query", - "name": "deleteFromHost", - "description": "Whether to disable the VM from azure and also delete it from VMM.", - "required": false, + "$ref": "#/parameters/QueryForceDelete" + }, + { + "name": "virtualMachineTemplateName", + "in": "path", + "description": "Name of the VirtualMachineTemplate.", + "required": true, "type": "string", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "DeleteFromHost" - } + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { "202": { - "description": "Accepted", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "No Content" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualMachineTemplates_Delete_MaximumSet": { + "$ref": "./examples/VirtualMachineTemplates_Delete_MaximumSet_Gen.json" + }, + "VirtualMachineTemplates_Delete_MinimumSet": { + "$ref": "./examples/VirtualMachineTemplates_Delete_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" - } + }, + "x-ms-long-running-operation": true } }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks": { "get": { + "operationId": "VirtualNetworks_ListByResourceGroup", "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_List", - "summary": "Implements List virtual machine instances.", - "description": "Lists all of the virtual machine instances within the specified parent resource.", - "x-ms-examples": { - "ListVirtualMachines": { - "$ref": "./examples/ListVirtualMachineInstances.json" - } - }, - "produces": [ - "application/json" + "VirtualNetworks" ], + "summary": "Implements GET VirtualNetworks in a resource group.", + "description": "List of VirtualNetworks in a resource group.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachineInstanceListResult" + "$ref": "#/definitions/VirtualNetworkListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "VirtualNetworks_ListByResourceGroup_MaximumSet": { + "$ref": "./examples/VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json" + }, + "VirtualNetworks_ListByResourceGroup_MinimumSet": { + "$ref": "./examples/VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/stop": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}": { + "get": { + "operationId": "VirtualNetworks_Get", "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_Stop", - "description": "The operation to power off (stop) a virtual machine instance.", - "summary": "Implements the operation to stop a virtual machine.", - "x-ms-examples": { - "StopVirtualMachine": { - "$ref": "./examples/StopVirtualMachineInstance.json" - } - }, - "consumes": [ - "application/json" + "VirtualNetworks" ], + "summary": "Gets a VirtualNetwork.", + "description": "Implements VirtualNetwork GET method.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "in": "body", - "name": "body", - "description": "Virtualmachine stop action payload.", - "schema": { - "$ref": "#/definitions/StopVirtualMachineOptions" - } + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualNetworkName", + "in": "path", + "description": "Name of the VirtualNetwork.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { - "202": { - "description": "Accepted", - "headers": { - "Location": { - "type": "string" - } + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetwork" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/start": { - "post": { - "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_Start", - "description": "The operation to start a virtual machine instance.", - "summary": "Implements the operation to start a virtual machine.", "x-ms-examples": { - "StartVirtualMachine": { - "$ref": "./examples/StartVirtualMachineInstance.json" + "VirtualNetworks_Get_MaximumSet": { + "$ref": "./examples/VirtualNetworks_Get_MaximumSet_Gen.json" + }, + "VirtualNetworks_Get_MinimumSet": { + "$ref": "./examples/VirtualNetworks_Get_MinimumSet_Gen.json" } - }, + } + }, + "put": { + "operationId": "VirtualNetworks_CreateOrUpdate", + "tags": [ + "VirtualNetworks" + ], + "summary": "Implements VirtualNetworks PUT method.", + "description": "Onboards the ScVmm virtual network as an Azure virtual network resource.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualNetworkName", + "in": "path", + "description": "Name of the VirtualNetwork.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } } ], "responses": { - "202": { - "description": "Accepted", + "200": { + "description": "Resource 'VirtualNetwork' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "201": { + "description": "Resource 'VirtualNetwork' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + }, "headers": { - "Location": { - "type": "string" + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/restart": { - "post": { - "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_Restart", - "description": "The operation to restart a virtual machine instance.", - "summary": "Implements the operation to restart a virtual machine.", "x-ms-examples": { - "RestartVirtualMachine": { - "$ref": "./examples/RestartVirtualMachineInstance.json" + "VirtualNetworks_CreateOrUpdate_MaximumSet": { + "$ref": "./examples/VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json" + }, + "VirtualNetworks_CreateOrUpdate_MinimumSet": { + "$ref": "./examples/VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualNetworks_Update", + "tags": [ + "VirtualNetworks" + ], + "summary": "Implements the VirtualNetworks PATCH method.", + "description": "Updates the VirtualNetworks resource.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualNetworkName", + "in": "path", + "description": "Name of the VirtualNetwork.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkTagsUpdate" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + }, "202": { - "description": "Accepted", + "description": "Resource update request accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata/default": { - "get": { - "tags": [ - "VmInstanceHybridIdentityMetadata" - ], - "operationId": "VirtualMachineInstanceHybridIdentityMetadata_Get", - "summary": "Gets HybridIdentityMetadata.", - "description": "Implements HybridIdentityMetadata GET method.", "x-ms-examples": { - "GetHybridIdentityMetadata": { - "$ref": "./examples/GetVmInstanceHybridIdentityMetadata.json" + "VirtualNetworks_Update_MaximumSet": { + "$ref": "./examples/VirtualNetworks_Update_MaximumSet_Gen.json" + }, + "VirtualNetworks_Update_MinimumSet": { + "$ref": "./examples/VirtualNetworks_Update_MinimumSet_Gen.json" } }, - "produces": [ - "application/json" + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualNetworks_Delete", + "tags": [ + "VirtualNetworks" ], + "summary": "Implements VirtualNetwork DELETE method.", + "description": "Deregisters the ScVmm virtual network from Azure.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/QueryForceDelete" + }, + { + "name": "virtualNetworkName", + "in": "path", + "description": "Name of the VirtualNetwork.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/VmInstanceHybridIdentityMetadata" + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - } + }, + "x-ms-examples": { + "VirtualNetworks_Delete_MaximumSet": { + "$ref": "./examples/VirtualNetworks_Delete_MaximumSet_Gen.json" + }, + "VirtualNetworks_Delete_MinimumSet": { + "$ref": "./examples/VirtualNetworks_Delete_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true } }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers": { "get": { + "operationId": "VmmServers_ListByResourceGroup", "tags": [ - "VmInstanceHybridIdentityMetadata" - ], - "operationId": "VirtualMachineInstanceHybridIdentityMetadata_List", - "summary": "Implements GET HybridIdentityMetadata in a vm.", - "description": "Returns the list of HybridIdentityMetadata of the given vm.", - "x-ms-examples": { - "HybridIdentityMetadataListByVm": { - "$ref": "./examples/HybridIdentityMetadata_ListByVmInstance.json" - } - }, - "produces": [ - "application/json" + "VmmServers" ], + "summary": "Implements GET VmmServers in a resource group.", + "description": "List of VmmServers in a resource group.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VmInstanceHybridIdentityMetadataList" + "$ref": "#/definitions/VmmServerListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "VmmServers_ListByResourceGroup_MaximumSet": { + "$ref": "./examples/VmmServers_ListByResourceGroup_MaximumSet_Gen.json" + }, + "VmmServers_ListByResourceGroup_MinimumSet": { + "$ref": "./examples/VmmServers_ListByResourceGroup_MinimumSet_Gen.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/createCheckpoint": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}": { + "get": { + "operationId": "VmmServers_Get", "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_CreateCheckpoint", - "description": "Creates a checkpoint in virtual machine instance.", - "summary": "Implements the operation to creates a checkpoint in a virtual machine instance.", - "x-ms-examples": { - "CreateCheckpointVirtualMachine": { - "$ref": "./examples/CreateCheckpointVirtualMachineInstance.json" - } - }, - "consumes": [ - "application/json" + "VmmServers" ], + "summary": "Gets a VMMServer.", + "description": "Implements VmmServer GET method.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "in": "body", - "name": "body", - "description": "Virtualmachine create checkpoint action payload.", - "schema": { - "$ref": "#/definitions/VirtualMachineCreateCheckpoint" - } + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vmmServerName", + "in": "path", + "description": "Name of the VmmServer.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { - "202": { - "description": "Accepted", - "headers": { - "Location": { - "type": "string" - } + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VmmServer" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/deleteCheckpoint": { - "post": { - "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_DeleteCheckpoint", - "description": "Deletes a checkpoint in virtual machine instance.", - "summary": "Implements the operation to delete a checkpoint in a virtual machine instance.", "x-ms-examples": { - "DeleteCheckpointVirtualMachine": { - "$ref": "./examples/DeleteCheckpointVirtualMachineInstance.json" + "VmmServers_Get_MaximumSet": { + "$ref": "./examples/VmmServers_Get_MaximumSet_Gen.json" + }, + "VmmServers_Get_MinimumSet": { + "$ref": "./examples/VmmServers_Get_MinimumSet_Gen.json" } - }, - "consumes": [ - "application/json" + } + }, + "put": { + "operationId": "VmmServers_CreateOrUpdate", + "tags": [ + "VmmServers" ], + "summary": "Implements VmmServers PUT method.", + "description": "Onboards the SCVmm fabric as an Azure VmmServer resource.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vmmServerName", + "in": "path", + "description": "Name of the VmmServer.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" }, { + "name": "resource", "in": "body", - "name": "body", - "description": "Virtualmachine delete checkpoint action payload.", + "description": "Resource create parameters.", + "required": true, "schema": { - "$ref": "#/definitions/VirtualMachineDeleteCheckpoint" + "$ref": "#/definitions/VmmServer" } } ], "responses": { - "202": { - "description": "Accepted", + "200": { + "description": "Resource 'VmmServer' update operation succeeded", + "schema": { + "$ref": "#/definitions/VmmServer" + } + }, + "201": { + "description": "Resource 'VmmServer' create operation succeeded", + "schema": { + "$ref": "#/definitions/VmmServer" + }, "headers": { - "Location": { - "type": "string" + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/restoreCheckpoint": { - "post": { - "tags": [ - "VirtualMachineInstances" - ], - "operationId": "VirtualMachineInstances_RestoreCheckpoint", - "description": "Restores to a checkpoint in virtual machine instance.", - "summary": "Implements the operation to restores to a checkpoint in a virtual machine instance.", "x-ms-examples": { - "RestoreCheckpointVirtualMachine": { - "$ref": "./examples/RestoreCheckpointVirtualMachineInstance.json" + "VmmServers_CreateOrUpdate_MaximumSet": { + "$ref": "./examples/VmmServers_CreateOrUpdate_MaximumSet_Gen.json" + }, + "VmmServers_CreateOrUpdate_MinimumSet": { + "$ref": "./examples/VmmServers_CreateOrUpdate_MinimumSet_Gen.json" } }, - "consumes": [ - "application/json" + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VmmServers_Update", + "tags": [ + "VmmServers" ], + "summary": "Implements VmmServers PATCH method.", + "description": "Updates the VmmServers resource.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vmmServerName", + "in": "path", + "description": "Name of the VmmServer.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" }, { + "name": "properties", "in": "body", - "name": "body", - "description": "Virtualmachine restore checkpoint action payload.", + "description": "The resource properties to be updated.", + "required": true, "schema": { - "$ref": "#/definitions/VirtualMachineRestoreCheckpoint" + "$ref": "#/definitions/VmmServerTagsUpdate" } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VmmServer" + } + }, "202": { - "description": "Accepted", + "description": "Resource update request accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents/default": { - "put": { - "tags": [ - "VMInstanceGuestAgents" - ], - "operationId": "VMInstanceGuestAgents_Create", - "description": "Create Or Update GuestAgent.", - "summary": "Implements GuestAgent PUT method.", "x-ms-examples": { - "CreateGuestAgent": { - "$ref": "./examples/CreateVMInstanceGuestAgent.json" + "VmmServers_Update_MaximumSet": { + "$ref": "./examples/VmmServers_Update_MaximumSet_Gen.json" + }, + "VmmServers_Update_MinimumSet": { + "$ref": "./examples/VmmServers_Update_MinimumSet_Gen.json" } }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VmmServers_Delete", + "tags": [ + "VmmServers" ], + "summary": "Implements VmmServers DELETE method.", + "description": "Removes the SCVmm fabric from Azure.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "in": "body", - "name": "body", - "description": "Request payload.", - "schema": { - "$ref": "#/definitions/GuestAgent" - } + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/QueryForceDelete" + }, + { + "name": "vmmServerName", + "in": "path", + "description": "Name of the VmmServer.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/GuestAgent" + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/GuestAgent" - } + "204": { + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "VmmServers_Delete_MaximumSet": { + "$ref": "./examples/VmmServers_Delete_MaximumSet_Gen.json" + }, + "VmmServers_Delete_MinimumSet": { + "$ref": "./examples/VmmServers_Delete_MinimumSet_Gen.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" - } - }, + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems": { "get": { + "operationId": "InventoryItems_ListByVmmServer", "tags": [ - "VMInstanceGuestAgents" - ], - "operationId": "VMInstanceGuestAgents_Get", - "summary": "Gets GuestAgent.", - "description": "Implements GuestAgent GET method.", - "x-ms-examples": { - "GetGuestAgent": { - "$ref": "./examples/GetVMInstanceGuestAgent.json" - } - }, - "produces": [ - "application/json" + "InventoryItems" ], + "summary": "Implements GET for the list of Inventory Items in the VMMServer.", + "description": "Returns the list of inventoryItems in the given VmmServer.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vmmServerName", + "in": "path", + "description": "Name of the VmmServer.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/GuestAgent" + "$ref": "#/definitions/InventoryItemListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - } - }, - "delete": { - "tags": [ - "VMInstanceGuestAgents" - ], - "operationId": "VMInstanceGuestAgents_Delete", - "summary": "Deletes an GuestAgent.", - "description": "Implements GuestAgent DELETE method.", - "x-ms-examples": { - "DeleteGuestAgent": { - "$ref": "./examples/DeleteVMInstanceGuestAgent.json" - } }, - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceUriParameter" + "x-ms-examples": { + "InventoryItems_ListByVmmServer_MaximumSet": { + "$ref": "./examples/InventoryItems_ListByVmmServer_MaximumSet_Gen.json" }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "InventoryItems_ListByVmmServer_MinimumSet": { + "$ref": "./examples/InventoryItems_ListByVmmServer_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}": { + "get": { + "operationId": "InventoryItems_Get", + "tags": [ + "InventoryItems" + ], + "summary": "Implements GET InventoryItem method.", + "description": "Shows an inventory item.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vmmServerName", + "in": "path", + "description": "Name of the VmmServer.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" + }, + { + "name": "inventoryItemResourceName", + "in": "path", + "description": "Name of the inventoryItem.", + "required": true, + "type": "string", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" } ], "responses": { "200": { - "description": "Success" - }, - "204": { - "description": "No Content" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InventoryItem" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "InventoryItems_Get_MaximumSet": { + "$ref": "./examples/InventoryItems_Get_MaximumSet_Gen.json" + }, + "InventoryItems_Get_MinimumSet": { + "$ref": "./examples/InventoryItems_Get_MinimumSet_Gen.json" + } } - } - }, - "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents": { - "get": { + }, + "put": { + "operationId": "InventoryItems_Create", "tags": [ - "VMInstanceGuestAgents" + "InventoryItems" ], - "operationId": "VMInstanceGuestAgents_List", - "summary": "Implements GET GuestAgent in a vm.", - "description": "Returns the list of GuestAgent of the given vm.", - "x-ms-examples": { - "GuestAgentListByVm": { - "$ref": "./examples/VMInstanceGuestAgent_ListByVm.json" + "summary": "Implements InventoryItem PUT method.", + "description": "Create Or Update InventoryItem.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vmmServerName", + "in": "path", + "description": "Name of the VmmServer.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" + }, + { + "name": "inventoryItemResourceName", + "in": "path", + "description": "Name of the inventoryItem.", + "required": true, + "type": "string", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InventoryItem" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InventoryItem' update operation succeeded", + "schema": { + "$ref": "#/definitions/InventoryItem" + } + }, + "201": { + "description": "Resource 'InventoryItem' create operation succeeded", + "schema": { + "$ref": "#/definitions/InventoryItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } } }, - "produces": [ - "application/json" + "x-ms-examples": { + "InventoryItems_Create_MaximumSet": { + "$ref": "./examples/InventoryItems_Create_MaximumSet_Gen.json" + }, + "InventoryItems_Create_MinimumSet": { + "$ref": "./examples/InventoryItems_Create_MinimumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "InventoryItems_Delete", + "tags": [ + "InventoryItems" ], + "summary": "Implements inventoryItem DELETE method.", + "description": "Deletes an inventoryItem.", "parameters": [ { - "$ref": "#/parameters/resourceUriParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vmmServerName", + "in": "path", + "description": "Name of the VmmServer.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 54, + "pattern": "[a-zA-Z0-9-_\\.]" + }, + { + "name": "inventoryItemResourceName", + "in": "path", + "description": "Name of the inventoryItem.", + "required": true, + "type": "string", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" } ], "responses": { "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/GuestAgentList" - } + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-examples": { + "InventoryItems_Delete_MaximumSet": { + "$ref": "./examples/InventoryItems_Delete_MaximumSet_Gen.json" + }, + "InventoryItems_Delete_MinimumSet": { + "$ref": "./examples/InventoryItems_Delete_MinimumSet_Gen.json" + } } } } }, "definitions": { - "VMMServerProperties": { - "description": "Defines the resource properties.", - "required": [ - "fqdn" + "AllocationMethod": { + "type": "string", + "description": "Network address allocation method.", + "enum": [ + "Dynamic", + "Static" ], - "type": "object", - "properties": { - "credentials": { - "description": "Credentials to connect to VMMServer.", - "$ref": "#/definitions/VMMCredential" - }, - "fqdn": { - "type": "string", - "description": "Fqdn is the hostname/ip of the vmmServer.", - "minLength": 1 - }, - "port": { - "type": "integer", - "format": "int32", - "description": "Port is the port on which the vmmServer is listening.", - "maximum": 65535, - "minimum": 1 - }, - "connectionStatus": { - "type": "string", - "description": "Gets the connection status to the vmmServer.", - "readOnly": true - }, - "errorMessage": { - "type": "string", - "description": "Gets any error message if connection to vmmServer is having any issue.", - "readOnly": true - }, - "uuid": { - "type": "string", - "description": "Unique ID of vmmServer.", - "readOnly": true - }, - "version": { - "type": "string", - "description": "Version is the version of the vmmSever.", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ResourceProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true - } - } - }, - "ExtendedLocation": { - "type": "object", - "description": "The extended location.", - "properties": { - "type": { - "type": "string", - "description": "The extended location type." - }, - "name": { - "type": "string", - "description": "The extended location name." - } + "x-ms-enum": { + "name": "AllocationMethod", + "modelAsString": true, + "values": [ + { + "name": "Dynamic", + "value": "Dynamic", + "description": "Dynamically allocated address." + }, + { + "name": "Static", + "value": "Static", + "description": "Statically allocated address." + } + ] } }, - "VMMServer": { + "AvailabilitySet": { "type": "object", - "x-ms-azure-resource": true, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'" - } - ], + "description": "The AvailabilitySets resource definition.", "properties": { "properties": { + "$ref": "#/definitions/AvailabilitySetProperties", + "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/VMMServerProperties" + "x-ms-mutability": [ + "read", + "create" + ] }, "extendedLocation": { "$ref": "#/definitions/ExtendedLocation", @@ -2948,47 +3154,71 @@ } }, "required": [ - "properties", "extendedLocation" ], - "description": "The VmmServers resource definition." + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "AvailabilitySetListItem": { + "type": "object", + "description": "Availability Set model", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/availabilitySets" + } + ] + } + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the availability set." + } + } }, - "VMMServerListResult": { + "AvailabilitySetListResult": { "type": "object", - "description": "List of VmmServers.", + "description": "The response of a AvailabilitySet list operation.", "properties": { "value": { "type": "array", - "description": "List of VmmServers.", + "description": "The AvailabilitySet items on this page", "items": { - "$ref": "#/definitions/VMMServer" + "$ref": "#/definitions/AvailabilitySet" } }, "nextLink": { - "description": "Url to follow for getting next page of resources.", "type": "string", "format": "uri", + "description": "The link to the next page of items", "readOnly": true } - } + }, + "required": [ + "value" + ] }, - "CloudProperties": { - "description": "Defines the resource properties.", + "AvailabilitySetProperties": { "type": "object", + "description": "Defines the resource properties.", "properties": { - "inventoryItemId": { - "description": "Gets or sets the inventory Item ID for the resource.", - "type": "string" - }, - "uuid": { + "availabilitySetName": { "type": "string", - "description": "Unique ID of the cloud.", + "description": "Name of the availability set.", "minLength": 1 }, "vmmServerId": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides.", "format": "arm-id", + "description": "ARM Id of the vmmServer resource in which this resource resides.", "x-ms-arm-id-details": { "allowedResources": [ { @@ -2997,24 +3227,6 @@ ] } }, - "cloudName": { - "type": "string", - "description": "Name of the cloud in VMMServer.", - "readOnly": true - }, - "cloudCapacity": { - "$ref": "#/definitions/CloudCapacity", - "description": "Capacity of the cloud.", - "readOnly": true - }, - "storageQoSPolicies": { - "description": "List of QoS policies available for the cloud.", - "type": "array", - "items": { - "$ref": "#/definitions/StorageQoSPolicy" - }, - "readOnly": true - }, "provisioningState": { "$ref": "#/definitions/ResourceProvisioningState", "description": "Provisioning state of the resource.", @@ -3022,20 +3234,55 @@ } } }, - "Cloud": { + "AvailabilitySetTagsUpdate": { "type": "object", - "x-ms-azure-resource": true, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'" + "description": "The type used for updating tags in AvailabilitySet resources.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } - ], + } + }, + "Checkpoint": { + "type": "object", + "description": "Defines the resource properties.", + "properties": { + "parentCheckpointID": { + "type": "string", + "description": "Gets ID of parent of the checkpoint.", + "x-ms-client-name": "parentCheckpointId" + }, + "checkpointID": { + "type": "string", + "description": "Gets ID of the checkpoint.", + "x-ms-client-name": "checkpointId" + }, + "name": { + "type": "string", + "description": "Gets name of the checkpoint." + }, + "description": { + "type": "string", + "description": "Gets description of the checkpoint." + } + } + }, + "Cloud": { + "type": "object", + "description": "The Clouds resource definition.", "properties": { "properties": { + "$ref": "#/definitions/CloudProperties", + "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/CloudProperties" + "x-ms-mutability": [ + "read", + "create" + ] }, "extendedLocation": { "$ref": "#/definitions/ExtendedLocation", @@ -3043,47 +3290,87 @@ } }, "required": [ - "properties", "extendedLocation" ], - "description": "The Clouds resource definition." + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CloudCapacity": { + "type": "object", + "description": "Cloud Capacity model", + "properties": { + "cpuCount": { + "type": "integer", + "format": "int64", + "description": "CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.", + "readOnly": true + }, + "memoryMB": { + "type": "integer", + "format": "int64", + "description": "MemoryMB specifies a memory usage limit in megabytes.", + "readOnly": true + }, + "vmCount": { + "type": "integer", + "format": "int64", + "description": "VMCount gives the max number of VMs that can be deployed in the cloud.", + "readOnly": true + } + } + }, + "CloudInventoryItem": { + "type": "object", + "description": "The Cloud inventory item.", + "allOf": [ + { + "$ref": "#/definitions/InventoryItemProperties" + } + ], + "x-ms-discriminator-value": "Cloud" }, "CloudListResult": { "type": "object", - "description": "List of Clouds.", + "description": "The response of a Cloud list operation.", "properties": { "value": { "type": "array", - "description": "List of Clouds.", + "description": "The Cloud items on this page", "items": { "$ref": "#/definitions/Cloud" } }, "nextLink": { "type": "string", - "description": "Url to follow for getting next page of resources.", "format": "uri", + "description": "The link to the next page of items", "readOnly": true } - } + }, + "required": [ + "value" + ] }, - "VirtualNetworkProperties": { - "description": "Defines the resource properties.", + "CloudProperties": { "type": "object", + "description": "Defines the resource properties.", "properties": { "inventoryItemId": { - "description": "Gets or sets the inventory Item ID for the resource.", - "type": "string" + "type": "string", + "description": "Gets or sets the inventory Item ID for the resource." }, "uuid": { "type": "string", - "description": "Unique ID of the virtual network.", - "minLength": 1 + "description": "Unique ID of the cloud.", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "vmmServerId": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides.", "format": "arm-id", + "description": "ARM Id of the vmmServer resource in which this resource resides.", "x-ms-arm-id-details": { "allowedResources": [ { @@ -3092,11 +3379,25 @@ ] } }, - "networkName": { + "cloudName": { "type": "string", - "description": "Name of the virtual network in vmmServer.", + "description": "Name of the cloud in VmmServer.", + "readOnly": true + }, + "cloudCapacity": { + "$ref": "#/definitions/CloudCapacity", + "description": "Capacity of the cloud.", "readOnly": true }, + "storageQoSPolicies": { + "type": "array", + "description": "List of QoS policies available for the cloud.", + "items": { + "$ref": "#/definitions/StorageQosPolicy" + }, + "readOnly": true, + "x-ms-client-name": "storageQosPolicies" + }, "provisioningState": { "$ref": "#/definitions/ResourceProvisioningState", "description": "Provisioning state of the resource.", @@ -3104,265 +3405,160 @@ } } }, - "VirtualNetwork": { + "CloudTagsUpdate": { "type": "object", - "x-ms-azure-resource": true, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'" - } - ], + "description": "The type used for updating tags in Cloud resources.", "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/VirtualNetworkProperties" - }, - "extendedLocation": { - "$ref": "#/definitions/ExtendedLocation", - "description": "The extended location." + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } - }, - "required": [ - "properties", - "extendedLocation" + } + }, + "CreateDiffDisk": { + "type": "string", + "description": "Create diff disk.", + "enum": [ + "true", + "false" ], - "description": "The VirtualNetworks resource definition." + "x-ms-enum": { + "name": "CreateDiffDisk", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true", + "description": "Enable create diff disk." + }, + { + "name": "false", + "value": "false", + "description": "Disable create diff disk." + } + ] + } }, - "VirtualNetworkListResult": { - "type": "object", - "description": "List of VirtualNetworks.", - "properties": { - "value": { - "type": "array", - "description": "List of VirtualNetworks.", - "items": { - "$ref": "#/definitions/VirtualNetwork" + "DynamicMemoryEnabled": { + "type": "string", + "description": "Dynamic memory enabled.", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "DynamicMemoryEnabled", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true", + "description": "Enable dynamic memory." + }, + { + "name": "false", + "value": "false", + "description": "Disable dynamic memory." } - }, - "nextLink": { - "type": "string", - "description": "Url to follow for getting next page of resources.", - "format": "uri", - "readOnly": true - } + ] } }, - "AvailabilitySetProperties": { - "description": "Defines the resource properties.", + "ExtendedLocation": { "type": "object", + "description": "The extended location.", "properties": { - "availabilitySetName": { + "type": { "type": "string", - "description": "Name of the availability set.", - "minLength": 1 + "description": "The extended location type." }, - "vmmServerId": { + "name": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides.", "format": "arm-id", + "description": "The extended location name.", "x-ms-arm-id-details": { "allowedResources": [ { - "type": "Microsoft.ScVmm/vmmServers" + "type": "Microsoft.ExtendedLocation/customLocations" } ] } - }, - "provisioningState": { - "$ref": "#/definitions/ResourceProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true } } }, - "AvailabilitySet": { + "GuestAgent": { "type": "object", - "x-ms-azure-resource": true, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'" - } - ], + "description": "Defines the GuestAgent.", "properties": { "properties": { + "$ref": "#/definitions/GuestAgentProperties", + "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/AvailabilitySetProperties" - }, - "extendedLocation": { - "$ref": "#/definitions/ExtendedLocation", - "description": "The extended location." + "x-ms-mutability": [ + "read", + "create" + ] } }, - "required": [ - "properties", - "extendedLocation" - ], - "description": "The AvailabilitySets resource definition." + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] }, - "AvailabilitySetListResult": { + "GuestAgentListResult": { "type": "object", - "description": "List of AvailabilitySets.", + "description": "The response of a GuestAgent list operation.", "properties": { "value": { "type": "array", - "description": "List of AvailabilitySets.", + "description": "The GuestAgent items on this page", "items": { - "$ref": "#/definitions/AvailabilitySet" + "$ref": "#/definitions/GuestAgent" } }, "nextLink": { "type": "string", - "description": "Url to follow for getting next page of resources.", "format": "uri", + "description": "The link to the next page of items", "readOnly": true } - } - }, - "AvailabilitySetList": { - "description": "Availability Sets in vm.", - "type": "array", - "items": { - "description": "Availability Set model", - "type": "object", - "properties": { - "id": { - "description": "Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.", - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ScVmm/availabilitySets" - } - ] - } - }, - "name": { - "description": "Gets or sets the name of the availability set.", - "type": "string" - } - } - } + }, + "required": [ + "value" + ] }, - "InfrastructureProfile": { + "GuestAgentProperties": { "type": "object", + "description": "Defines the resource properties.", "properties": { - "inventoryItemId": { - "description": "Gets or sets the inventory Item ID for the resource.", - "type": "string" - }, - "vmmServerId": { + "uuid": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ScVmm/vmmServers" - } - ] - } + "description": "Gets a unique identifier for this resource.", + "readOnly": true }, - "cloudId": { - "type": "string", - "description": "ARM Id of the cloud resource to use for deploying the vm.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ScVmm/clouds" - } - ] - } + "credentials": { + "$ref": "#/definitions/GuestCredential", + "description": "Username / Password Credentials to provision guest agent." }, - "templateId": { - "type": "string", - "description": "ARM Id of the template resource to use for deploying the vm.", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ScVmm/virtualMachineTemplates" - } - ] - } + "httpProxyConfig": { + "$ref": "#/definitions/HttpProxyConfiguration", + "description": "HTTP Proxy configuration for the VM." }, - "vmName": { - "type": "string", - "description": "VMName is the name of VM on the SCVMM server.", - "minLength": 1 + "provisioningAction": { + "$ref": "#/definitions/ProvisioningAction", + "description": "Gets or sets the guest agent provisioning action." }, - "uuid": { + "status": { "type": "string", - "description": "Unique ID of the virtual machine." - }, - "lastRestoredVMCheckpoint": { - "description": "Last restored checkpoint in the vm.", - "$ref": "#/definitions/Checkpoint", + "description": "Gets the guest agent status.", "readOnly": true }, - "checkpoints": { - "description": "Checkpoints in the vm.", - "type": "array", - "items": { - "description": "Checkpoint properties", - "$ref": "#/definitions/Checkpoint", - "readOnly": true - }, - "x-ms-identifiers": [ - "checkpointID" - ] - }, - "checkpointType": { - "type": "string", - "description": "Type of checkpoint supported for the vm." - }, - "generation": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the generation for the vm." - }, - "biosGuid": { - "type": "string", - "description": "Gets or sets the bios guid for the vm." - } - }, - "description": "Specifies the vmmServer infrastructure specific settings for the virtual machine instance." - }, - "VirtualMachineInstanceProperties": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "availabilitySets": { - "$ref": "#/definitions/AvailabilitySetList" - }, - "osProfile": { - "description": "OS properties.", - "$ref": "#/definitions/OsProfileForVMInstance" - }, - "hardwareProfile": { - "description": "Hardware properties.", - "$ref": "#/definitions/HardwareProfile" - }, - "networkProfile": { - "description": "Network properties.", - "$ref": "#/definitions/NetworkProfile" - }, - "storageProfile": { - "description": "Storage properties.", - "$ref": "#/definitions/StorageProfile" - }, - "infrastructureProfile": { - "$ref": "#/definitions/InfrastructureProfile", - "description": "Gets the infrastructure profile." - }, - "powerState": { - "description": "Gets the power state of the virtual machine.", + "customResourceName": { "type": "string", + "description": "Gets the name of the corresponding resource in Kubernetes.", "readOnly": true }, "provisioningState": { @@ -3372,57 +3568,33 @@ } } }, - "OsType": { - "description": "Defines the different types of VM guest operating systems.", - "enum": [ - "Windows", - "Linux", - "Other" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "OsType" - }, - "type": "string", - "readOnly": true - }, - "OsProfileForVMInstance": { - "description": "Defines the resource properties.", + "GuestCredential": { "type": "object", + "description": "Username / Password Credentials to connect to guest.", "properties": { - "adminPassword": { - "description": "Admin password of the virtual machine.", + "username": { "type": "string", + "description": "Gets or sets username to connect with the guest." + }, + "password": { + "type": "string", + "format": "password", + "description": "Gets or sets the password to connect with the guest.", "x-ms-mutability": [ - "create", - "update" + "update", + "create" ], "x-ms-secret": true - }, - "computerName": { - "description": "Gets or sets computer name.", - "type": "string" - }, - "osType": { - "description": "Gets the type of the os.", - "$ref": "#/definitions/OsType", - "readOnly": true - }, - "osSku": { - "description": "Gets os sku.", - "type": "string", - "readOnly": true - }, - "osVersion": { - "description": "Gets os version.", - "type": "string", - "readOnly": true } - } + }, + "required": [ + "username", + "password" + ] }, "HardwareProfile": { - "description": "Defines the resource properties.", "type": "object", + "description": "Defines the resource properties.", "properties": { "memoryMB": { "type": "integer", @@ -3431,32 +3603,16 @@ }, "cpuCount": { "type": "integer", - "description": "Gets or sets the number of vCPUs for the vm.", - "format": "int32" + "format": "int32", + "description": "Gets or sets the number of vCPUs for the vm." }, "limitCpuForMigration": { - "type": "string", - "description": "Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "LimitCpuForMigration" - } + "$ref": "#/definitions/LimitCpuForMigration", + "description": "Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs." }, "dynamicMemoryEnabled": { - "type": "string", - "description": "Gets or sets a value indicating whether to enable dynamic memory or not.", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "DynamicMemoryEnabled" - } + "$ref": "#/definitions/DynamicMemoryEnabled", + "description": "Gets or sets a value indicating whether to enable dynamic memory or not." }, "dynamicMemoryMaxMB": { "type": "integer", @@ -3469,23 +3625,15 @@ "description": "Gets or sets the min dynamic memory for the vm." }, "isHighlyAvailable": { + "$ref": "#/definitions/IsHighlyAvailable", "description": "Gets highly available property.", - "type": "string", - "readOnly": true, - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "IsHighlyAvailable" - } + "readOnly": true } } }, "HardwareProfileUpdate": { - "description": "Defines the resource properties.", "type": "object", + "description": "Defines the resource update properties.", "properties": { "memoryMB": { "type": "integer", @@ -3494,32 +3642,16 @@ }, "cpuCount": { "type": "integer", - "description": "Gets or sets the number of vCPUs for the vm.", - "format": "int32" + "format": "int32", + "description": "Gets or sets the number of vCPUs for the vm." }, "limitCpuForMigration": { - "type": "string", - "description": "Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "LimitCpuForMigration" - } + "$ref": "#/definitions/LimitCpuForMigration", + "description": "Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs." }, "dynamicMemoryEnabled": { - "type": "string", - "description": "Gets or sets a value indicating whether to enable dynamic memory or not.", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "DynamicMemoryEnabled" - } + "$ref": "#/definitions/DynamicMemoryEnabled", + "description": "Gets or sets a value indicating whether to enable dynamic memory or not." }, "dynamicMemoryMaxMB": { "type": "integer", @@ -3533,495 +3665,1045 @@ } } }, - "Checkpoint": { - "description": "Defines the resource properties.", + "HttpProxyConfiguration": { + "type": "object", + "description": "HTTP Proxy configuration for the VM.", + "properties": { + "httpsProxy": { + "type": "string", + "description": "Gets or sets httpsProxy url." + } + } + }, + "InfrastructureProfile": { + "type": "object", + "description": "Specifies the vmmServer infrastructure specific settings for the virtual machine instance.", + "properties": { + "inventoryItemId": { + "type": "string", + "description": "Gets or sets the inventory Item ID for the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "vmmServerId": { + "type": "string", + "format": "arm-id", + "description": "ARM Id of the vmmServer resource in which this resource resides.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/vmmServers" + } + ] + } + }, + "cloudId": { + "type": "string", + "format": "arm-id", + "description": "ARM Id of the cloud resource to use for deploying the vm.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/clouds" + } + ] + } + }, + "templateId": { + "type": "string", + "format": "arm-id", + "description": "ARM Id of the template resource to use for deploying the vm.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/virtualMachineTemplates" + } + ] + } + }, + "vmName": { + "type": "string", + "description": "VMName is the name of VM on the SCVmm server.", + "minLength": 1, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "uuid": { + "type": "string", + "description": "Unique ID of the virtual machine.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "lastRestoredVMCheckpoint": { + "$ref": "#/definitions/Checkpoint", + "description": "Last restored checkpoint in the vm.", + "readOnly": true, + "x-ms-client-name": "lastRestoredVmCheckpoint" + }, + "checkpoints": { + "type": "array", + "description": "Checkpoints in the vm.", + "items": { + "$ref": "#/definitions/Checkpoint" + }, + "readOnly": true, + "x-ms-identifiers": [ + "checkpointID" + ] + }, + "checkpointType": { + "type": "string", + "description": "Type of checkpoint supported for the vm.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "generation": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the generation for the vm.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "biosGuid": { + "type": "string", + "description": "Gets or sets the bios guid for the vm.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "InfrastructureProfileUpdate": { + "type": "object", + "description": "Specifies the vmmServer infrastructure specific update settings for the virtual machine instance.", + "properties": { + "checkpointType": { + "type": "string", + "description": "Type of checkpoint supported for the vm.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "InventoryItem": { + "type": "object", + "description": "Defines the inventory item.", + "properties": { + "properties": { + "$ref": "#/definitions/InventoryItemProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "kind": { + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "InventoryItemDetails": { + "type": "object", + "description": "Defines the resource properties.", + "properties": { + "inventoryItemId": { + "type": "string", + "description": "Gets or sets the inventory Item ID for the resource." + }, + "inventoryItemName": { + "type": "string", + "description": "Gets or sets the Managed Object name in Vmm for the resource." + } + } + }, + "InventoryItemListResult": { + "type": "object", + "description": "The response of a InventoryItem list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InventoryItem items on this page", + "items": { + "$ref": "#/definitions/InventoryItem" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "InventoryItemProperties": { + "type": "object", + "description": "Defines the resource properties.", + "properties": { + "inventoryType": { + "$ref": "#/definitions/InventoryType", + "description": "They inventory type." + }, + "managedResourceId": { + "type": "string", + "description": "Gets the tracked resource id corresponding to the inventory resource.", + "readOnly": true + }, + "uuid": { + "type": "string", + "description": "Gets the UUID (which is assigned by Vmm) for the inventory item.", + "readOnly": true + }, + "inventoryItemName": { + "type": "string", + "description": "Gets the Managed Object name in Vmm for the inventory item.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "discriminator": "inventoryType", + "required": [ + "inventoryType" + ] + }, + "InventoryType": { + "type": "string", + "description": "The inventory type", + "enum": [ + "Cloud", + "VirtualNetwork", + "VirtualMachine", + "VirtualMachineTemplate" + ], + "x-ms-enum": { + "name": "InventoryType", + "modelAsString": true, + "values": [ + { + "name": "Cloud", + "value": "Cloud", + "description": "Cloud inventory type" + }, + { + "name": "VirtualNetwork", + "value": "VirtualNetwork", + "description": "VirtualNetwork inventory type" + }, + { + "name": "VirtualMachine", + "value": "VirtualMachine", + "description": "VirtualMachine inventory type" + }, + { + "name": "VirtualMachineTemplate", + "value": "VirtualMachineTemplate", + "description": "VirtualMachineTemplate inventory type" + } + ] + } + }, + "IsCustomizable": { + "type": "string", + "description": "Customizable.", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "IsCustomizable", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true", + "description": "Enable customizable." + }, + { + "name": "false", + "value": "false", + "description": "Disable customizable." + } + ] + } + }, + "IsHighlyAvailable": { + "type": "string", + "description": "Highly available.", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "IsHighlyAvailable", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true", + "description": "Enable highly available." + }, + { + "name": "false", + "value": "false", + "description": "Disable highly available." + } + ] + } + }, + "LimitCpuForMigration": { + "type": "string", + "description": "Limit CPU for migration.", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "LimitCpuForMigration", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true", + "description": "Enable limit CPU for migration." + }, + { + "name": "false", + "value": "false", + "description": "Disable limit CPU for migration." + } + ] + } + }, + "NetworkInterface": { + "type": "object", + "description": "Network Interface model", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the network interface." + }, + "displayName": { + "type": "string", + "description": "Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set.", + "readOnly": true + }, + "ipv4Addresses": { + "type": "array", + "description": "Gets the nic ipv4 addresses.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "ipv6Addresses": { + "type": "array", + "description": "Gets the nic ipv6 addresses.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "macAddress": { + "type": "string", + "description": "Gets or sets the nic MAC address." + }, + "virtualNetworkId": { + "type": "string", + "format": "arm-id", + "description": "Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/virtualNetwork" + } + ] + } + }, + "networkName": { + "type": "string", + "description": "Gets the name of the virtual network in vmmServer that the nic is connected to.", + "readOnly": true + }, + "ipv4AddressType": { + "$ref": "#/definitions/AllocationMethod", + "description": "Gets or sets the ipv4 address type." + }, + "ipv6AddressType": { + "$ref": "#/definitions/AllocationMethod", + "description": "Gets or sets the ipv6 address type." + }, + "macAddressType": { + "$ref": "#/definitions/AllocationMethod", + "description": "Gets or sets the mac address type." + }, + "nicId": { + "type": "string", + "description": "Gets or sets the nic id." + } + } + }, + "NetworkInterfaceUpdate": { + "type": "object", + "description": "Network Interface Update model", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the network interface." + }, + "macAddress": { + "type": "string", + "description": "Gets or sets the nic MAC address." + }, + "virtualNetworkId": { + "type": "string", + "format": "arm-id", + "description": "Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/virtualNetwork" + } + ] + } + }, + "ipv4AddressType": { + "$ref": "#/definitions/AllocationMethod", + "description": "Gets or sets the ipv4 address type." + }, + "ipv6AddressType": { + "$ref": "#/definitions/AllocationMethod", + "description": "Gets or sets the ipv6 address type." + }, + "macAddressType": { + "$ref": "#/definitions/AllocationMethod", + "description": "Gets or sets the mac address type." + }, + "nicId": { + "type": "string", + "description": "Gets or sets the nic id." + } + } + }, + "NetworkProfile": { + "type": "object", + "description": "Defines the resource properties.", + "properties": { + "networkInterfaces": { + "type": "array", + "description": "Gets or sets the list of network interfaces associated with the virtual machine.", + "items": { + "$ref": "#/definitions/NetworkInterface" + }, + "x-ms-identifiers": [ + "name", + "nicId" + ] + } + } + }, + "NetworkProfileUpdate": { + "type": "object", + "description": "Defines the resource update properties.", + "properties": { + "networkInterfaces": { + "type": "array", + "description": "Gets or sets the list of network interfaces associated with the virtual machine.", + "items": { + "$ref": "#/definitions/NetworkInterfaceUpdate" + }, + "x-ms-identifiers": [ + "name", + "nicId" + ] + } + } + }, + "OsProfileForVmInstance": { + "type": "object", + "description": "Defines the resource properties.", + "properties": { + "adminPassword": { + "type": "string", + "format": "password", + "description": "Admin password of the virtual machine.", + "x-ms-mutability": [ + "update", + "create" + ], + "x-ms-secret": true + }, + "computerName": { + "type": "string", + "description": "Gets or sets computer name." + }, + "osType": { + "$ref": "#/definitions/OsType", + "description": "Gets the type of the os.", + "readOnly": true + }, + "osSku": { + "type": "string", + "description": "Gets os sku.", + "readOnly": true + }, + "osVersion": { + "type": "string", + "description": "Gets os version.", + "readOnly": true + } + } + }, + "OsType": { + "type": "string", + "description": "Virtual machine operating system type.", + "enum": [ + "Windows", + "Linux", + "Other" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows", + "description": "Windows operating system." + }, + { + "name": "Linux", + "value": "Linux", + "description": "Linux operating system." + }, + { + "name": "Other", + "value": "Other", + "description": "Other operating system." + } + ] + } + }, + "ProvisioningAction": { + "type": "string", + "description": "Guest agent provisioning action.", + "enum": [ + "install", + "uninstall", + "repair" + ], + "x-ms-enum": { + "name": "ProvisioningAction", + "modelAsString": true, + "values": [ + { + "name": "install", + "value": "install", + "description": "Install guest agent." + }, + { + "name": "uninstall", + "value": "uninstall", + "description": "Uninstall guest agent." + }, + { + "name": "repair", + "value": "repair", + "description": "Repair guest agent." + } + ] + } + }, + "ResourceProvisioningState": { + "type": "string", + "description": "The provisioning state of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted", + "Created" + ], + "x-ms-enum": { + "name": "ResourceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The resource is provisioning." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is updating." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The resource has been accepted." + }, + { + "name": "Created", + "value": "Created", + "description": "The resource was created." + } + ] + }, + "readOnly": true + }, + "StopVirtualMachineOptions": { "type": "object", + "description": "Defines the stop action properties.", "properties": { - "parentCheckpointID": { - "description": "Gets ID of parent of the checkpoint.", - "type": "string" - }, - "checkpointID": { - "description": "Gets ID of the checkpoint.", - "type": "string" - }, - "name": { - "description": "Gets name of the checkpoint.", - "type": "string" - }, - "description": { - "description": "Gets description of the checkpoint.", - "type": "string" + "skipShutdown": { + "type": "string", + "description": "Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false.", + "default": "false", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "SkipShutdown", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true", + "description": "Enable skip shutdown." + }, + { + "name": "false", + "value": "false", + "description": "Disable skip shutdown." + } + ] + } } } }, - "NetworkProfileUpdate": { - "description": "Defines the resource properties.", + "StorageProfile": { "type": "object", + "description": "Defines the resource properties.", "properties": { - "networkInterfaces": { - "description": "Gets or sets the list of network interfaces associated with the virtual machine.", + "disks": { "type": "array", + "description": "Gets or sets the list of virtual disks associated with the virtual machine.", "items": { - "$ref": "#/definitions/NetworkInterfaceUpdate" + "$ref": "#/definitions/VirtualDisk" }, "x-ms-identifiers": [ - "name", - "nicId" + "diskId", + "name" ] } } }, - "NetworkProfile": { - "description": "Defines the resource properties.", + "StorageProfileUpdate": { "type": "object", + "description": "Defines the resource update properties.", "properties": { - "networkInterfaces": { - "description": "Gets or sets the list of network interfaces associated with the virtual machine.", + "disks": { "type": "array", + "description": "Gets or sets the list of virtual disks associated with the virtual machine.", "items": { - "$ref": "#/definitions/NetworkInterface" + "$ref": "#/definitions/VirtualDiskUpdate" }, "x-ms-identifiers": [ - "name", - "nicId" + "diskId", + "name" ] } } }, - "AllocationMethod": { - "description": "Allocation method.", - "enum": [ - "Dynamic", - "Static" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "AllocationMethod" - }, - "type": "string" - }, - "NetworkInterface": { - "description": "Network Interface model", + "StorageQosPolicy": { "type": "object", + "description": "The StorageQoSPolicy definition.", "properties": { "name": { - "description": "Gets or sets the name of the network interface.", - "type": "string" - }, - "displayName": { - "description": "Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set.", - "type": "string", - "readOnly": true - }, - "ipv4Addresses": { - "description": "Gets the nic ipv4 addresses.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "ipv6Addresses": { - "description": "Gets the nic ipv6 addresses.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "macAddress": { - "description": "Gets or sets the nic MAC address.", - "type": "string" - }, - "virtualNetworkId": { - "description": "Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.", - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ScVmm/virtualNetwork" - } - ] - } - }, - "networkName": { - "description": "Gets the name of the virtual network in vmmServer that the nic is connected to.", "type": "string", - "readOnly": true - }, - "ipv4AddressType": { - "description": "Gets or sets the ipv4 address type.", - "$ref": "#/definitions/AllocationMethod" - }, - "ipv6AddressType": { - "description": "Gets or sets the ipv6 address type.", - "$ref": "#/definitions/AllocationMethod" - }, - "macAddressType": { - "description": "Gets or sets the mac address type.", - "$ref": "#/definitions/AllocationMethod" - }, - "nicId": { - "description": "Gets or sets the nic id.", - "type": "string" - } - } - }, - "NetworkInterfaceUpdate": { - "description": "Network Interface model", - "type": "object", - "properties": { - "name": { - "description": "Gets or sets the name of the network interface.", - "type": "string" - }, - "macAddress": { - "description": "Gets or sets the nic MAC address.", - "type": "string" + "description": "The name of the policy." }, - "virtualNetworkId": { - "description": "Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.", + "id": { "type": "string", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ScVmm/virtualNetwork" - } - ] - } - }, - "ipv4AddressType": { - "description": "Gets or sets the ipv4 address type.", - "$ref": "#/definitions/AllocationMethod" + "description": "The ID of the QoS policy." }, - "ipv6AddressType": { - "description": "Gets or sets the ipv6 address type.", - "$ref": "#/definitions/AllocationMethod" - }, - "macAddressType": { - "description": "Gets or sets the mac address type.", - "$ref": "#/definitions/AllocationMethod" - }, - "nicId": { - "description": "Gets or sets the nic id.", - "type": "string" - } - } - }, - "CloudCapacity": { - "description": "Cloud Capacity model", - "type": "object", - "properties": { - "cpuCount": { + "iopsMaximum": { "type": "integer", "format": "int64", - "description": "CPUCount specifies the maximum number of CPUs that can be allocated in the cloud." + "description": "The maximum IO operations per second." }, - "memoryMB": { + "iopsMinimum": { "type": "integer", "format": "int64", - "description": "MemoryMB specifies a memory usage limit in megabytes." + "description": "The minimum IO operations per second." }, - "vmCount": { + "bandwidthLimit": { "type": "integer", "format": "int64", - "description": "VMCount gives the max number of VMs that can be deployed in the cloud." + "description": "The Bandwidth Limit for internet traffic." + }, + "policyId": { + "type": "string", + "description": "The underlying policy." } - }, - "readOnly": true + } }, - "StorageQoSPolicyDetails": { - "description": "The StorageQoSPolicyDetails definition.", + "StorageQosPolicyDetails": { "type": "object", + "description": "The StorageQoSPolicyDetails definition.", "properties": { "name": { - "description": "The name of the policy.", - "type": "string" + "type": "string", + "description": "The name of the policy." }, "id": { - "description": "The ID of the QoS policy.", - "type": "string" + "type": "string", + "description": "The ID of the QoS policy." } } }, "VirtualDisk": { - "description": "Virtual disk model", "type": "object", + "description": "Virtual disk model", "properties": { "name": { - "description": "Gets or sets the name of the disk.", - "type": "string" + "type": "string", + "description": "Gets or sets the name of the disk." }, "displayName": { - "description": "Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set.", "type": "string", + "description": "Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set.", "readOnly": true }, "diskId": { - "description": "Gets or sets the disk id.", - "type": "string" + "type": "string", + "description": "Gets or sets the disk id." }, "diskSizeGB": { + "type": "integer", "format": "int32", - "description": "Gets or sets the disk total size.", - "type": "integer" + "description": "Gets or sets the disk total size." }, "maxDiskSizeGB": { + "type": "integer", "format": "int32", "description": "Gets the max disk size.", - "type": "integer", "readOnly": true }, "bus": { + "type": "integer", "format": "int32", - "description": "Gets or sets the disk bus.", - "type": "integer" + "description": "Gets or sets the disk bus." }, "lun": { + "type": "integer", "format": "int32", - "description": "Gets or sets the disk lun.", - "type": "integer" + "description": "Gets or sets the disk lun." }, "busType": { - "description": "Gets or sets the disk bus type.", - "type": "string" + "type": "string", + "description": "Gets or sets the disk bus type." }, "vhdType": { - "description": "Gets or sets the disk vhd type.", - "type": "string" + "type": "string", + "description": "Gets or sets the disk vhd type." }, "volumeType": { - "description": "Gets the disk volume type.", "type": "string", + "description": "Gets the disk volume type.", "readOnly": true }, "vhdFormatType": { - "description": "Gets the disk vhd format type.", "type": "string", + "description": "Gets the disk vhd format type.", "readOnly": true }, "templateDiskId": { + "type": "string", "description": "Gets or sets the disk id in the template.", - "type": "string" + "x-ms-mutability": [ + "read", + "create" + ] }, "storageQoSPolicy": { + "$ref": "#/definitions/StorageQosPolicyDetails", "description": "The QoS policy for the disk.", - "$ref": "#/definitions/StorageQoSPolicyDetails" + "x-ms-client-name": "storageQosPolicy" }, "createDiffDisk": { - "type": "string", - "description": "Gets or sets a value indicating diff disk.", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "CreateDiffDisk" - } - } - } - }, - "VirtualDiskUpdate": { - "description": "Virtual disk model", - "type": "object", - "properties": { - "name": { - "description": "Gets or sets the name of the disk.", - "type": "string" - }, - "diskId": { - "description": "Gets or sets the disk id.", - "type": "string" - }, - "diskSizeGB": { - "format": "int32", - "description": "Gets or sets the disk total size.", - "type": "integer" - }, - "bus": { - "format": "int32", - "description": "Gets or sets the disk bus.", - "type": "integer" - }, - "lun": { - "format": "int32", - "description": "Gets or sets the disk lun.", - "type": "integer" - }, - "busType": { - "description": "Gets or sets the disk bus type.", - "type": "string" - }, - "vhdType": { - "description": "Gets or sets the disk vhd type.", - "type": "string" - }, - "storageQoSPolicy": { - "description": "The QoS policy for the disk.", - "$ref": "#/definitions/StorageQoSPolicyDetails" - } - } - }, - "StorageProfileUpdate": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "disks": { - "description": "Gets or sets the list of virtual disks associated with the virtual machine.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDiskUpdate" - }, - "x-ms-identifiers": [ - "name", - "diskId" - ] - } - } - }, - "StorageProfile": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "disks": { - "description": "Gets or sets the list of virtual disks associated with the virtual machine.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDisk" - }, - "x-ms-identifiers": [ - "name", - "diskId" - ] - } - } - }, - "StopVirtualMachineOptions": { - "description": "Defines the stop action properties.", - "type": "object", - "properties": { - "skipShutdown": { - "description": "Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false.", - "type": "string", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "SkipShutdown" - }, - "default": "false" + "$ref": "#/definitions/CreateDiffDisk", + "description": "Gets or sets a value indicating diff disk.", + "x-ms-mutability": [ + "read", + "create" + ] } } }, - "VirtualMachineCreateCheckpoint": { - "description": "Defines the create checkpoint action properties.", + "VirtualDiskUpdate": { "type": "object", + "description": "Virtual Disk Update model", "properties": { "name": { - "description": "Name of the checkpoint.", - "type": "string" + "type": "string", + "description": "Gets or sets the name of the disk." }, - "description": { - "description": "Description of the checkpoint.", - "type": "string" + "diskId": { + "type": "string", + "description": "Gets or sets the disk id." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the disk total size." + }, + "bus": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the disk bus." + }, + "lun": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the disk lun." + }, + "busType": { + "type": "string", + "description": "Gets or sets the disk bus type." + }, + "vhdType": { + "type": "string", + "description": "Gets or sets the disk vhd type." + }, + "storageQoSPolicy": { + "$ref": "#/definitions/StorageQosPolicyDetails", + "description": "The QoS policy for the disk.", + "x-ms-client-name": "storageQosPolicy" } } }, - "VirtualMachineDeleteCheckpoint": { - "description": "Defines the delete checkpoint action properties.", + "VirtualMachineCreateCheckpoint": { "type": "object", + "description": "Defines the create checkpoint action properties.", "properties": { - "id": { - "description": "ID of the checkpoint to be deleted.", - "type": "string" + "name": { + "type": "string", + "description": "Name of the checkpoint." + }, + "description": { + "type": "string", + "description": "Description of the checkpoint." } } }, - "VirtualMachineRestoreCheckpoint": { - "description": "Defines the restore checkpoint action properties.", + "VirtualMachineDeleteCheckpoint": { "type": "object", + "description": "Defines the delete checkpoint action properties.", "properties": { "id": { - "description": "ID of the checkpoint to be restored to.", - "type": "string" + "type": "string", + "description": "ID of the checkpoint to be deleted." } } }, "VirtualMachineInstance": { - "description": "Define the virtualMachineInstance.", - "required": [ - "properties", - "extendedLocation" - ], "type": "object", - "x-ms-azure-resource": true, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than location and tags." - } - ], + "description": "Define the virtualMachineInstance.", "properties": { "properties": { + "$ref": "#/definitions/VirtualMachineInstanceProperties", + "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/VirtualMachineInstanceProperties" + "x-ms-mutability": [ + "read", + "create" + ] }, "extendedLocation": { "$ref": "#/definitions/ExtendedLocation", - "description": "Gets or sets the extended location." + "description": "Gets or sets the extended location.", + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] }, "VirtualMachineInstanceListResult": { "type": "object", - "description": "List of VirtualMachineInstances.", + "description": "The response of a VirtualMachineInstance list operation.", "properties": { "value": { "type": "array", - "description": "Array of VirtualMachineInstances.", + "description": "The VirtualMachineInstance items on this page", "items": { "$ref": "#/definitions/VirtualMachineInstance" } }, "nextLink": { "type": "string", - "description": "Url to follow for getting next page of resources.", "format": "uri", + "description": "The link to the next page of items", "readOnly": true } - } + }, + "required": [ + "value" + ] }, - "InfrastructureProfileUpdate": { + "VirtualMachineInstanceProperties": { "type": "object", + "description": "Defines the resource properties.", "properties": { - "checkpointType": { + "availabilitySets": { + "type": "array", + "description": "Availability Sets in vm.", + "items": { + "$ref": "#/definitions/AvailabilitySetListItem" + } + }, + "osProfile": { + "$ref": "#/definitions/OsProfileForVmInstance", + "description": "OS properties.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfile", + "description": "Hardware properties." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "Network properties." + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Storage properties." + }, + "infrastructureProfile": { + "$ref": "#/definitions/InfrastructureProfile", + "description": "Gets the infrastructure profile." + }, + "powerState": { "type": "string", - "description": "Type of checkpoint supported for the vm." + "description": "Gets the power state of the virtual machine.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true } - }, - "description": "Specifies the vmmServer infrastructure specific settings for the virtual machine instance for update." + } + }, + "VirtualMachineInstanceUpdate": { + "type": "object", + "description": "The type used for update operations of the VirtualMachineInstance.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineInstanceUpdateProperties", + "description": "The update properties of the VirtualMachineInstance.", + "x-ms-client-flatten": true + } + } }, "VirtualMachineInstanceUpdateProperties": { - "description": "Defines the resource properties.", "type": "object", + "description": "Virtual Machine Instance Properties Update model", "properties": { - "hardwareProfile": { - "$ref": "#/definitions/HardwareProfileUpdate" + "availabilitySets": { + "type": "array", + "description": "Availability Sets in vm.", + "items": { + "$ref": "#/definitions/AvailabilitySetListItem" + } }, - "storageProfile": { - "$ref": "#/definitions/StorageProfileUpdate" + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfileUpdate", + "description": "Hardware properties." }, "networkProfile": { - "$ref": "#/definitions/NetworkProfileUpdate" + "$ref": "#/definitions/NetworkProfileUpdate", + "description": "Network properties." }, - "availabilitySets": { - "$ref": "#/definitions/AvailabilitySetList" + "storageProfile": { + "$ref": "#/definitions/StorageProfileUpdate", + "description": "Storage properties." }, "infrastructureProfile": { "$ref": "#/definitions/InfrastructureProfileUpdate", @@ -4029,34 +4711,173 @@ } } }, - "VirtualMachineInstanceUpdate": { - "description": "Defines the virtualMachineInstanceUpdate.", + "VirtualMachineInventoryItem": { + "type": "object", + "description": "The Virtual machine inventory item.", + "properties": { + "osType": { + "$ref": "#/definitions/OsType", + "description": "Gets the type of the os.", + "readOnly": true + }, + "osName": { + "type": "string", + "description": "Gets os name.", + "readOnly": true + }, + "osVersion": { + "type": "string", + "description": "Gets os version.", + "readOnly": true + }, + "powerState": { + "type": "string", + "description": "Gets the power state of the virtual machine.", + "readOnly": true + }, + "ipAddresses": { + "type": "array", + "description": "Gets or sets the nic ip addresses.", + "items": { + "type": "string" + } + }, + "cloud": { + "$ref": "#/definitions/InventoryItemDetails", + "description": "Cloud inventory resource details where the VM is present." + }, + "biosGuid": { + "type": "string", + "description": "Gets the bios guid.", + "readOnly": true + }, + "managedMachineResourceId": { + "type": "string", + "format": "arm-id", + "description": "Gets the tracked resource id corresponding to the inventory resource.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [] + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/InventoryItemProperties" + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "VirtualMachineRestoreCheckpoint": { + "type": "object", + "description": "Defines the restore checkpoint action properties.", + "properties": { + "id": { + "type": "string", + "description": "ID of the checkpoint to be restored to." + } + } + }, + "VirtualMachineTemplate": { "type": "object", + "description": "The VirtualMachineTemplates resource definition.", "properties": { "properties": { + "$ref": "#/definitions/VirtualMachineTemplateProperties", + "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/VirtualMachineInstanceUpdateProperties" + "x-ms-mutability": [ + "read", + "create" + ] + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location." } - } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "VirtualMachineTemplateInventoryItem": { + "type": "object", + "description": "The Virtual machine template inventory item.", + "properties": { + "cpuCount": { + "type": "integer", + "format": "int32", + "description": "Gets the desired number of vCPUs for the vm.", + "readOnly": true + }, + "memoryMB": { + "type": "integer", + "format": "int32", + "description": "MemoryMB is the desired size of a virtual machine's memory, in MB.", + "readOnly": true + }, + "osType": { + "$ref": "#/definitions/OsType", + "description": "Gets the type of the os.", + "readOnly": true + }, + "osName": { + "type": "string", + "description": "Gets os name.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/InventoryItemProperties" + } + ], + "x-ms-discriminator-value": "VirtualMachineTemplate" + }, + "VirtualMachineTemplateListResult": { + "type": "object", + "description": "The response of a VirtualMachineTemplate list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualMachineTemplate items on this page", + "items": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true + } + }, + "required": [ + "value" + ] }, "VirtualMachineTemplateProperties": { - "description": "Defines the resource properties.", "type": "object", + "description": "Defines the resource properties.", "properties": { "inventoryItemId": { - "description": "Gets or sets the inventory Item ID for the resource.", - "type": "string" + "type": "string", + "description": "Gets or sets the inventory Item ID for the resource." }, "uuid": { "type": "string", "description": "Unique ID of the virtual machine template.", - "minLength": 1 + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, "vmmServerId": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides.", "format": "arm-id", + "description": "ARM Id of the vmmServer resource in which this resource resides.", "x-ms-arm-id-details": { "allowedResources": [ { @@ -4066,18 +4887,18 @@ } }, "osType": { - "description": "Gets the type of the os.", "$ref": "#/definitions/OsType", + "description": "Gets the type of the os.", "readOnly": true }, "osName": { - "description": "Gets os name.", "type": "string", + "description": "Gets os name.", "readOnly": true }, "computerName": { - "description": "Gets computer name.", "type": "string", + "description": "Gets computer name.", "readOnly": true }, "memoryMB": { @@ -4088,47 +4909,23 @@ }, "cpuCount": { "type": "integer", - "description": "Gets the desired number of vCPUs for the vm.", "format": "int32", + "description": "Gets the desired number of vCPUs for the vm.", "readOnly": true }, "limitCpuForMigration": { - "type": "string", + "$ref": "#/definitions/LimitCpuForMigration", "description": "Gets a value indicating whether to enable processor compatibility mode for live migration of VMs.", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "LimitCpuForMigration" - }, "readOnly": true }, "dynamicMemoryEnabled": { - "type": "string", + "$ref": "#/definitions/DynamicMemoryEnabled", "description": "Gets a value indicating whether to enable dynamic memory or not.", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "DynamicMemoryEnabled" - }, "readOnly": true }, "isCustomizable": { - "type": "string", + "$ref": "#/definitions/IsCustomizable", "description": "Gets a value indicating whether the vm template is customizable or not.", - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "IsCustomizable" - }, "readOnly": true }, "dynamicMemoryMaxMB": { @@ -4144,17 +4941,9 @@ "readOnly": true }, "isHighlyAvailable": { + "$ref": "#/definitions/IsHighlyAvailable", "description": "Gets highly available property.", - "type": "string", - "readOnly": true, - "enum": [ - "false", - "true" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "IsHighlyAvailable" - } + "readOnly": true }, "generation": { "type": "integer", @@ -4163,28 +4952,28 @@ "readOnly": true }, "networkInterfaces": { - "description": "Gets the network interfaces of the template.", "type": "array", + "description": "Gets the network interfaces of the template.", "items": { "$ref": "#/definitions/NetworkInterface" }, + "readOnly": true, "x-ms-identifiers": [ "name", "nicId" - ], - "readOnly": true + ] }, "disks": { - "description": "Gets the disks of the template.", "type": "array", + "description": "Gets the disks of the template.", "items": { "$ref": "#/definitions/VirtualDisk" }, + "readOnly": true, "x-ms-identifiers": [ - "name", - "diskId" - ], - "readOnly": true + "diskId", + "name" + ] }, "provisioningState": { "$ref": "#/definitions/ResourceProvisioningState", @@ -4193,173 +4982,49 @@ } } }, - "VirtualMachineTemplate": { - "type": "object", - "x-ms-azure-resource": true, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/VirtualMachineTemplateProperties" - }, - "extendedLocation": { - "$ref": "#/definitions/ExtendedLocation", - "description": "The extended location." - } - }, - "required": [ - "properties", - "extendedLocation" - ], - "description": "The VirtualMachineTemplates resource definition." - }, - "VirtualMachineTemplateListResult": { + "VirtualMachineTemplateTagsUpdate": { "type": "object", - "description": "List of VirtualMachineTemplates.", + "description": "The type used for updating tags in VirtualMachineTemplate resources.", "properties": { - "value": { - "description": "List of VirtualMachineTemplates.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualMachineTemplate" + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" } - }, - "nextLink": { - "type": "string", - "description": "Url to follow for getting next page of resources.", - "format": "uri", - "readOnly": true } } }, - "InventoryItemsList": { - "description": "List of InventoryItems.", - "type": "object", - "properties": { - "nextLink": { - "description": "Url to follow for getting next page of InventoryItems.", - "type": "string", - "format": "uri", - "readOnly": true - }, - "value": { - "description": "Array of InventoryItems", - "type": "array", - "items": { - "$ref": "#/definitions/InventoryItem" - } - } - }, - "required": [ - "value" - ] - }, - "InventoryItem": { - "description": "Defines the inventory item.", - "required": [ - "properties" - ], + "VirtualNetwork": { "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." - } - ], + "description": "The VirtualNetworks resource definition.", "properties": { "properties": { + "$ref": "#/definitions/VirtualNetworkProperties", + "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/InventoryItemProperties" + "x-ms-mutability": [ + "read", + "create" + ] }, - "kind": { - "type": "string", - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location." } }, - "x-ms-azure-resource": true - }, - "InventoryItemProperties": { - "description": "Defines the resource properties.", "required": [ - "inventoryType" - ], - "discriminator": "inventoryType", - "type": "object", - "properties": { - "inventoryType": { - "description": "They inventory type.", - "$ref": "#/definitions/InventoryType" - }, - "managedResourceId": { - "description": "Gets the tracked resource id corresponding to the inventory resource.", - "type": "string", - "readOnly": true - }, - "uuid": { - "description": "Gets the UUID (which is assigned by VMM) for the inventory item.", - "type": "string", - "readOnly": true - }, - "inventoryItemName": { - "description": "Gets the Managed Object name in VMM for the inventory item.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ResourceProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true - } - } - }, - "InventoryType": { - "type": "string", - "description": "The inventory type.", - "enum": [ - "Cloud", - "VirtualNetwork", - "VirtualMachineTemplate", - "VirtualMachine" + "extendedLocation" ], - "x-ms-enum": { - "name": "InventoryType", - "modelAsString": true - } - }, - "InventoryItemDetails": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "inventoryItemId": { - "description": "Gets or sets the inventory Item ID for the resource.", - "type": "string" - }, - "inventoryItemName": { - "description": "Gets or sets the Managed Object name in VMM for the resource.", - "type": "string" - } - } - }, - "CloudInventoryItem": { - "description": "The Cloud inventory item.", - "type": "object", "allOf": [ { - "$ref": "#/definitions/InventoryItemProperties" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } - ], - "x-ms-discriminator-value": "Cloud" + ] }, "VirtualNetworkInventoryItem": { - "description": "The Virtual network inventory item.", "type": "object", + "description": "The Virtual network inventory item.", "allOf": [ { "$ref": "#/definitions/InventoryItemProperties" @@ -4367,148 +5032,131 @@ ], "x-ms-discriminator-value": "VirtualNetwork" }, - "VirtualMachineTemplateInventoryItem": { - "description": "The Virtual machine template inventory item.", + "VirtualNetworkListResult": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/InventoryItemProperties" - } - ], + "description": "The response of a VirtualNetwork list operation.", "properties": { - "cpuCount": { - "type": "integer", - "description": "Gets the desired number of vCPUs for the vm.", - "format": "int32", - "readOnly": true - }, - "memoryMB": { - "type": "integer", - "format": "int32", - "description": "MemoryMB is the desired size of a virtual machine's memory, in MB.", - "readOnly": true - }, - "osType": { - "description": "Gets the type of the os.", - "$ref": "#/definitions/OsType", - "readOnly": true + "value": { + "type": "array", + "description": "The VirtualNetwork items on this page", + "items": { + "$ref": "#/definitions/VirtualNetwork" + } }, - "osName": { - "description": "Gets os name.", + "nextLink": { "type": "string", + "format": "uri", + "description": "The link to the next page of items", "readOnly": true } }, - "x-ms-discriminator-value": "VirtualMachineTemplate" + "required": [ + "value" + ] }, - "VirtualMachineInventoryItem": { - "description": "The Virtual machine inventory item.", + "VirtualNetworkProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/InventoryItemProperties" - } - ], + "description": "Defines the resource properties.", "properties": { - "osType": { - "description": "Gets the type of the os.", - "$ref": "#/definitions/OsType", - "readOnly": true - }, - "osName": { - "description": "Gets os name.", + "inventoryItemId": { "type": "string", - "readOnly": true + "description": "Gets or sets the inventory Item ID for the resource." }, - "osVersion": { - "description": "Gets os version.", + "uuid": { "type": "string", - "readOnly": true + "description": "Unique ID of the virtual network.", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, - "powerState": { - "description": "Gets the power state of the virtual machine.", + "vmmServerId": { "type": "string", - "readOnly": true - }, - "ipAddresses": { - "description": "Gets or sets the nic ip addresses.", - "type": "array", - "items": { - "type": "string" + "format": "arm-id", + "description": "ARM Id of the vmmServer resource in which this resource resides.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/vmmServers" + } + ] } }, - "cloud": { - "description": "Cloud inventory resource details where the VM is present.", - "$ref": "#/definitions/InventoryItemDetails" - }, - "biosGuid": { - "description": "Gets the bios guid.", + "networkName": { "type": "string", + "description": "Name of the virtual network in vmmServer.", "readOnly": true }, - "managedMachineResourceId": { - "description": "Gets the tracked resource id corresponding to the inventory resource.", - "type": "string", - "format": "arm-id", + "provisioningState": { + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } - }, - "x-ms-discriminator-value": "VirtualMachine" + } }, - "VmInstanceHybridIdentityMetadataList": { - "description": "List of HybridIdentityMetadata.", + "VirtualNetworkTagsUpdate": { "type": "object", + "description": "The type used for updating tags in VirtualNetwork resources.", "properties": { - "nextLink": { - "description": "Url to follow for getting next page of HybridIdentityMetadata.", - "type": "string", - "format": "uri", - "readOnly": true - }, - "value": { - "description": "Array of HybridIdentityMetadata", - "type": "array", - "items": { - "$ref": "#/definitions/VmInstanceHybridIdentityMetadata" + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" } } - }, - "required": [ - "value" - ] + } }, "VmInstanceHybridIdentityMetadata": { - "description": "Defines the HybridIdentityMetadata.", - "required": [ - "properties" - ], "type": "object", + "description": "Defines the HybridIdentityMetadata.", + "properties": { + "properties": { + "$ref": "#/definitions/VmInstanceHybridIdentityMetadataProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } - ], + ] + }, + "VmInstanceHybridIdentityMetadataListResult": { + "type": "object", + "description": "The response of a VmInstanceHybridIdentityMetadata list operation.", "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/VmInstanceHybridIdentityMetadataProperties" + "value": { + "type": "array", + "description": "The VmInstanceHybridIdentityMetadata items on this page", + "items": { + "$ref": "#/definitions/VmInstanceHybridIdentityMetadata" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true } }, - "x-ms-azure-resource": true + "required": [ + "value" + ] }, "VmInstanceHybridIdentityMetadataProperties": { - "description": "Describes the properties of Hybrid Identity Metadata for a Virtual Machine.", "type": "object", + "description": "Describes the properties of Hybrid Identity Metadata for a Virtual Machine.", "properties": { "resourceUid": { - "description": "The unique identifier for the resource.", - "type": "string" + "type": "string", + "description": "The unique identifier for the resource." }, "publicKey": { - "description": "Gets or sets the Public Key.", - "type": "string" + "type": "string", + "description": "Gets or sets the Public Key." }, "provisioningState": { "$ref": "#/definitions/ResourceProvisioningState", @@ -4517,156 +5165,113 @@ } } }, - "Identity": { + "VmmCredential": { "type": "object", - "required": [ - "type" - ], + "description": "Credentials to connect to VmmServer.", "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal id of managed service identity." - }, - "tenantId": { - "readOnly": true, + "username": { "type": "string", - "description": "The tenant of managed service identity." + "description": "Username to use to connect to VmmServer." }, - "type": { + "password": { "type": "string", - "description": "The type of managed service identity.", - "enum": [ - "None", - "SystemAssigned" + "format": "password", + "description": "Password to use to connect to VmmServer.", + "x-ms-mutability": [ + "update", + "create" ], - "x-ms-enum": { - "name": "IdentityType", - "modelAsString": true - } + "x-ms-secret": true } - }, - "description": "Managed service identity." - }, - "ProvisioningAction": { - "description": "Defines the different types of operations for guest agent.", - "enum": [ - "install", - "uninstall", - "repair" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "ProvisioningAction" } }, - "GuestCredential": { - "description": "Username / Password Credentials to connect to guest.", + "VmmServer": { "type": "object", + "description": "The VmmServers resource definition.", "properties": { - "username": { - "description": "Gets or sets username to connect with the guest.", - "type": "string" - }, - "password": { - "description": "Gets or sets the password to connect with the guest.", - "type": "string", + "properties": { + "$ref": "#/definitions/VmmServerProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true + "read", + "create" + ] + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location." } }, "required": [ - "username", - "password" - ] - }, - "HttpProxyConfiguration": { - "description": "HTTP Proxy configuration for the VM.", - "type": "object", - "properties": { - "httpsProxy": { - "description": "Gets or sets httpsProxy url.", - "type": "string" + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } - } + ] }, - "GuestAgentList": { - "description": "List of GuestAgent.", + "VmmServerListResult": { "type": "object", + "description": "The response of a VmmServer list operation.", "properties": { - "nextLink": { - "description": "Url to follow for getting next page of GuestAgent.", - "type": "string", - "format": "uri", - "readOnly": true - }, "value": { - "description": "Array of GuestAgent", "type": "array", + "description": "The VmmServer items on this page", "items": { - "$ref": "#/definitions/GuestAgent" + "$ref": "#/definitions/VmmServer" } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ "value" ] }, - "GuestAgent": { - "description": "Defines the GuestAgent.", - "required": [ - "properties" - ], + "VmmServerProperties": { "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource", - "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/GuestAgentProperties" - } - }, - "x-ms-azure-resource": true - }, - "GuestAgentProperties": { "description": "Defines the resource properties.", - "type": "object", "properties": { - "uuid": { - "description": "Gets a unique identifier for this resource.", + "credentials": { + "$ref": "#/definitions/VmmCredential", + "description": "Credentials to connect to VmmServer." + }, + "fqdn": { "type": "string", - "readOnly": true + "description": "Fqdn is the hostname/ip of the vmmServer.", + "minLength": 1 }, - "credentials": { - "description": "Username / Password Credentials to provision guest agent.", - "$ref": "#/definitions/GuestCredential" + "port": { + "type": "integer", + "format": "int32", + "description": "Port is the port on which the vmmServer is listening.", + "minimum": 1, + "maximum": 65535 }, - "httpProxyConfig": { - "description": "HTTP Proxy configuration for the VM.", - "$ref": "#/definitions/HttpProxyConfiguration" + "connectionStatus": { + "type": "string", + "description": "Gets the connection status to the vmmServer.", + "readOnly": true }, - "provisioningAction": { - "description": "Gets or sets the guest agent provisioning action.", - "$ref": "#/definitions/ProvisioningAction", - "type": "string" + "errorMessage": { + "type": "string", + "description": "Gets any error message if connection to vmmServer is having any issue.", + "readOnly": true }, - "status": { - "description": "Gets the guest agent status.", + "uuid": { "type": "string", + "description": "Unique ID of vmmServer.", "readOnly": true }, - "customResourceName": { - "description": "Gets the name of the corresponding resource in Kubernetes.", + "version": { "type": "string", + "description": "Version is the version of the vmmSever.", "readOnly": true }, "provisioningState": { @@ -4674,100 +5279,61 @@ "description": "Provisioning state of the resource.", "readOnly": true } - } - }, - "StorageQoSPolicy": { - "description": "The StorageQoSPolicy definition.", - "type": "object", - "properties": { - "name": { - "description": "The name of the policy.", - "type": "string" - }, - "id": { - "description": "The ID of the QoS policy.", - "type": "string" - }, - "iopsMaximum": { - "description": "The maximum IO operations per second.", - "type": "integer", - "format": "int64" - }, - "iopsMinimum": { - "description": "The minimum IO operations per second.", - "type": "integer", - "format": "int64" - }, - "bandwidthLimit": { - "description": "The Bandwidth Limit for internet traffic.", - "type": "integer", - "format": "int64" - }, - "policyId": { - "description": "The underlying policy.", - "type": "string" - } - } + }, + "required": [ + "fqdn" + ] }, - "ResourcePatch": { + "VmmServerTagsUpdate": { "type": "object", + "description": "The type used for updating tags in VmmServer resources.", "properties": { "tags": { "type": "object", + "description": "Resource tags.", "additionalProperties": { "type": "string" - }, - "description": "Resource tags." - } - }, - "description": "Object containing tags updates for patch operations." - }, - "ResourceProvisioningState": { - "type": "string", - "description": "The provisioning state of a resource.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Provisioning", - "Updating", - "Deleting", - "Accepted", - "Created" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "VMMCredential": { - "description": "Credentials to connect to VMMServer.", - "type": "object", - "properties": { - "username": { - "description": "Username to use to connect to VMMServer.", - "type": "string" - }, - "password": { - "description": "Password to use to connect to VMMServer.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true + } } } } }, "parameters": { - "resourceUriParameter": { - "in": "path", + "Azure.ResourceManager.ResourceUriParameter": { "name": "resourceUri", - "description": "The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", "required": true, "type": "string", - "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "QueryForceDelete": { + "name": "force", + "in": "query", + "description": "Forces the resource to be deleted.", + "required": false, + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "ForceDelete", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true", + "description": "Enable force delete." + }, + { + "name": "false", + "value": "false", + "description": "Disable force delete." + } + ] + }, "x-ms-parameter-location": "method" } }