From 1f7861165303eed1541c31240535f91f2f96d0b7 Mon Sep 17 00:00:00 2001 From: Harshit Surana <139948344+hsurana06@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:37:12 +0530 Subject: [PATCH 01/14] Adds base for updating Microsoft.ScVmm from version preview/2023-04-01-preview to version 2023-10-07 --- .../examples/CreateAvailabilitySet.json | 55 + .../CreateCheckpointVirtualMachine.json | 20 + ...reateCheckpointVirtualMachineInstance.json | 18 + .../2023-10-07/examples/CreateCloud.json | 55 + .../2023-10-07/examples/CreateGuestAgent.json | 47 + .../CreateHybridIdentityMetadata.json | 33 + .../examples/CreateInventoryItem.json | 30 + .../examples/CreateVMInstanceGuestAgent.json | 44 + .../2023-10-07/examples/CreateVMMServer.json | 65 + .../examples/CreateVirtualMachine.json | 78 + .../CreateVirtualMachineInstance.json | 82 + .../CreateVirtualMachineTemplate.json | 55 + .../examples/CreateVirtualNetwork.json | 55 + .../examples/DeleteAvailabilitySet.json | 17 + .../DeleteCheckpointVirtualMachine.json | 19 + ...eleteCheckpointVirtualMachineInstance.json | 17 + .../2023-10-07/examples/DeleteCloud.json | 17 + .../2023-10-07/examples/DeleteExtension.json | 18 + .../2023-10-07/examples/DeleteGuestAgent.json | 18 + .../DeleteHybridIdentityMetadata.json | 13 + .../examples/DeleteInventoryItem.json | 13 + .../examples/DeleteVMInstanceGuestAgent.json | 15 + .../2023-10-07/examples/DeleteVMMServer.json | 17 + .../examples/DeleteVirtualMachine.json | 17 + .../DeleteVirtualMachineInstance.json | 15 + .../DeleteVirtualMachineTemplate.json | 17 + .../examples/DeleteVirtualNetwork.json | 17 + .../2023-10-07/examples/GETExtension.json | 39 + .../examples/GetAvailabilitySet.json | 27 + .../stable/2023-10-07/examples/GetCloud.json | 27 + .../2023-10-07/examples/GetGuestAgent.json | 23 + .../examples/GetHybridIdentityMetadata.json | 27 + .../2023-10-07/examples/GetInventoryItem.json | 25 + .../examples/GetVMInstanceGuestAgent.json | 20 + .../2023-10-07/examples/GetVMMServer.json | 30 + .../examples/GetVirtualMachine.json | 36 + .../examples/GetVirtualMachineInstance.json | 37 + .../examples/GetVirtualMachineTemplate.json | 27 + .../examples/GetVirtualNetwork.json | 27 + .../GetVmInstanceHybridIdentityMetadata.json | 19 + .../examples/GuestAgent_ListByVm.json | 26 + .../HybridIdentityMetadata_ListByVm.json | 30 + ...bridIdentityMetadata_ListByVmInstance.json | 23 + .../ListAvailabilitySetsByResourceGroup.json | 30 + .../ListAvailabilitySetsBySubscription.json | 29 + .../examples/ListCloudsByResourceGroup.json | 30 + .../examples/ListCloudsBySubscription.json | 29 + .../2023-10-07/examples/ListExtension.json | 64 + .../ListInventoryItemsByVMMServer.json | 28 + .../2023-10-07/examples/ListOperations.json | 148 + .../ListVMMServersByResourceGroup.json | 33 + .../ListVMMServersBySubscription.json | 32 + .../examples/ListVirtualMachineInstances.json | 41 + ...irtualMachineTemplatesByResourceGroup.json | 30 + ...VirtualMachineTemplatesBySubscription.json | 29 + .../ListVirtualMachinesByResourceGroup.json | 39 + .../ListVirtualMachinesBySubscription.json | 38 + .../ListVirtualNetworksByResourceGroup.json | 30 + .../ListVirtualNetworksBySubscription.json | 29 + .../2023-10-07/examples/PUTExtension.json | 71 + .../examples/RestartVirtualMachine.json | 16 + .../RestartVirtualMachineInstance.json | 14 + .../RestoreCheckpointVirtualMachine.json | 19 + ...storeCheckpointVirtualMachineInstance.json | 17 + .../examples/StartVirtualMachine.json | 16 + .../examples/StartVirtualMachineInstance.json | 14 + .../examples/StopVirtualMachine.json | 19 + .../examples/StopVirtualMachineInstance.json | 17 + .../examples/UpdateAvailabilitySet.json | 63 + .../2023-10-07/examples/UpdateCloud.json | 63 + .../2023-10-07/examples/UpdateExtension.json | 53 + .../2023-10-07/examples/UpdateVMMServer.json | 69 + .../examples/UpdateVirtualMachine.json | 211 + .../UpdateVirtualMachineInstance.json | 50 + .../UpdateVirtualMachineTemplate.json | 63 + .../examples/UpdateVirtualNetwork.json | 63 + .../VMInstanceGuestAgent_ListByVm.json | 24 + .../stable/2023-10-07/scvmm.json | 6724 +++++++++++++++++ 78 files changed, 9555 insertions(+) create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateAvailabilitySet.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCloud.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateInventoryItem.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMInstanceGuestAgent.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMMServer.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineTemplate.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualNetwork.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteAvailabilitySet.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCloud.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteInventoryItem.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMInstanceGuestAgent.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineTemplate.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualNetwork.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMInstanceGuestAgent.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json create 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/GuestAgent_ListByVm.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json create 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/ListAvailabilitySetsByResourceGroup.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsBySubscription.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsByResourceGroup.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsBySubscription.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListInventoryItemsByVMMServer.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListOperations.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersByResourceGroup.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersBySubscription.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineInstances.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesByResourceGroup.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesBySubscription.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksByResourceGroup.json create 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/PUTExtension.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateAvailabilitySet.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateCloud.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVMMServer.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineInstance.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineTemplate.json create mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualNetwork.json create 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/scvmm.json 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 new file mode 100644 index 000000000000..3dc0205cba10 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateAvailabilitySet.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "availabilitySetName": "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/CreateCheckpointVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json new file mode 100644 index 000000000000..ae7c0d77f161 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM", + "body": { + "name": "Demo Checkpoint name", + "description": "Demo Checkpoint description" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..a9bea5437c09 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachineInstance.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", + "body": { + "name": "Demo Checkpoint name", + "description": "Demo Checkpoint description" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + } + } + } +} 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 new file mode 100644 index 000000000000..017817b16c8b --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCloud.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "cloudName": "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": "aaaaaaa-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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + }, + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json new file mode 100644 index 000000000000..df6745363fc6 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "ContosoVm", + "guestAgentName": "default", + "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.ScVmm/VirtualMachines/ContosoVm/guestAgents/default", + "name": "default", + "type": "Microsoft.ScVmm/VirtualMachines/guestAgents", + "properties": { + "provisioningAction": "install", + "status": "connected", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/guestAgents/default", + "name": "default", + "type": "Microsoft.ScVmm/VirtualMachines/guestAgents", + "properties": { + "provisioningAction": "install", + "status": "connected", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json new file mode 100644 index 000000000000..dfa71cbed46f --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "ContosoVm", + "metadataName": "default", + "body": { + "properties": { + "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/hybridIdentityMetadatas/default", + "name": "default", + "type": "Microsoft.ScVmm/VirtualMachines/hybridIdentityMetadatas", + "properties": { + "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + } + } +} 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 new file mode 100644 index 000000000000..2f5475b5379a --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateInventoryItem.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "vmmServerName": "ContosoVMMServer", + "inventoryItemName": "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" + } + } + } + } +} 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 new file mode 100644 index 000000000000..cc64631c10e6 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMInstanceGuestAgent.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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 new file mode 100644 index 000000000000..5be64bd2c175 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMMServer.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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/CreateVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json new file mode 100644 index 000000000000..7589560f1806 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM", + "body": { + "location": "East US", + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" + }, + "properties": { + "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": 4096, + "cpuCount": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", + "name": "DemoVM", + "type": "Microsoft.SCVMM/VirtualMachines", + "location": "East US", + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" + }, + "properties": { + "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": 4096, + "cpuCount": 4 + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", + "name": "DemoVM", + "type": "Microsoft.SCVMM/VirtualMachines", + "location": "East US", + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" + }, + "properties": { + "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": 4096, + "cpuCount": 4 + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "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 new file mode 100644 index 000000000000..dc50cf720850 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineInstance.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "hardwareProfile": { + "memoryMB": 4196, + "cpuCount": 4 + }, + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "hardwareProfile": { + "memoryMB": 4196, + "cpuCount": 4 + }, + "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 new file mode 100644 index 000000000000..9f3b96f56866 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineTemplate.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + }, + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + } + } +} 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 new file mode 100644 index 000000000000..3c679e5e421e --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualNetwork.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + }, + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + } + } +} 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 new file mode 100644 index 000000000000..93f21924f6d8 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteAvailabilitySet.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "availabilitySetName": "HRAvailabilitySet" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json new file mode 100644 index 000000000000..058590d690c7 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM", + "body": { + "id": "Demo CheckpointID" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..adc6379a590c --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachineInstance.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", + "body": { + "id": "Demo CheckpointID" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + } + } + } +} 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 new file mode 100644 index 000000000000..f41a6e25ddfe --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCloud.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "cloudName": "HRCloud" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json new file mode 100644 index 000000000000..6dd78cc29274 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myMachine", + "extensionName": "MMA", + "api-version": "2023-04-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json new file mode 100644 index 000000000000..4deb8fa93721 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "ContosoVm", + "guestAgentName": "default" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json new file mode 100644 index 000000000000..9ed19688aef8 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "ContosoVm", + "metadataName": "default" + }, + "responses": { + "200": {}, + "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 new file mode 100644 index 000000000000..be05c66c4751 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteInventoryItem.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "vmmServerName": "ContosoVMMServer", + "inventoryItemName": "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 new file mode 100644 index 000000000000..1d08fd5d4e64 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMInstanceGuestAgent.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + } + }, + "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 new file mode 100644 index 000000000000..0884a44ba1a5 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "vmmServerName": "ContosoVMMServer" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json new file mode 100644 index 000000000000..9ab76e5fadca --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "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 new file mode 100644 index 000000000000..1d08fd5d4e64 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineInstance.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + } + }, + "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 new file mode 100644 index 000000000000..a09388e8ba5d --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineTemplate.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineTemplateName": "HRVirtualMachineTemplate" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "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 new file mode 100644 index 000000000000..b68e71f01f79 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualNetwork.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualNetworkName": "HRVirtualNetwork" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json new file mode 100644 index 000000000000..de49551c5d38 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2023-04-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.ScVmm/VirtualMachines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}", + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + } + } + } + } +} 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 new file mode 100644 index 000000000000..8ce23b5f5be4 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "availabilitySetName": "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 new file mode 100644 index 000000000000..d3166b3721f7 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "cloudName": "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json new file mode 100644 index 000000000000..7f6b034c6127 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "ContosoVm", + "guestAgentName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/guestAgents/default", + "name": "default", + "type": "Microsoft.ScVmm/VirtualMachines/guestAgents", + "properties": { + "provisioningAction": "install", + "status": "connected", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json new file mode 100644 index 000000000000..45afdae842fa --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "ContosoVm", + "metadataName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/hybridIdentityMetadatas/default", + "name": "default", + "type": "Microsoft.ScVmm/VirtualMachines/hybridIdentityMetadatas", + "properties": { + "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + } + } +} 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 new file mode 100644 index 000000000000..a8135484471d --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "vmmServerName": "ContosoVMMServer", + "inventoryItemName": "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 new file mode 100644 index 000000000000..9082f22c099e --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMInstanceGuestAgent.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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 new file mode 100644 index 000000000000..a67e79c9a1f8 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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/GetVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json new file mode 100644 index 000000000000..c882fccfd372 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", + "name": "DemoVM", + "type": "Microsoft.SCVMM/VirtualMachines", + "location": "East US", + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" + }, + "properties": { + "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": 4096, + "cpuCount": 4 + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "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 new file mode 100644 index 000000000000..3af4ae88b42c --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineInstance.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "hardwareProfile": { + "memoryMB": 4196, + "cpuCount": 4 + }, + "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 new file mode 100644 index 000000000000..d7448050e5f1 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + } + } +} 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 new file mode 100644 index 000000000000..717669af8918 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + } + } +} 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 new file mode 100644 index 000000000000..82d89726b0ea --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVmInstanceHybridIdentityMetadata.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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/GuestAgent_ListByVm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json new file mode 100644 index 000000000000..1c9aef0397dc --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "ContosoVm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/guestAgents/default", + "name": "default", + "type": "Microsoft.ScVmm/VirtualMachines/guestAgents", + "properties": { + "provisioningAction": "install", + "status": "connected", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json new file mode 100644 index 000000000000..66fb36eb0f9e --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "ContosoVm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/hybridIdentityMetadatas/default", + "name": "default", + "type": "Microsoft.ScVmm/VirtualMachines/hybridIdentityMetadatas", + "properties": { + "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + ] + } + } + } +} 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 new file mode 100644 index 000000000000..ccdfeb18282b --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVmInstance.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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/DemoVMproviders/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/ListAvailabilitySetsByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsByResourceGroup.json new file mode 100644 index 000000000000..4bd759e0b396 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsByResourceGroup.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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 new file mode 100644 index 000000000000..f020c76c307b --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsBySubscription.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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 new file mode 100644 index 000000000000..fdbb5bf8c496 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsByResourceGroup.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} 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 new file mode 100644 index 000000000000..c7a41369e919 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsBySubscription.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json new file mode 100644 index 000000000000..6762c8199bdd --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myMachine", + "api-version": "2023-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "location": "eastus2euap", + "type": "Microsoft.ScVmm/VirtualMachines/extensions", + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "formattedMessage: Finished executing command, StdOut: , StdErr: ", + "time": "2020-08-13T17:18:57.405Z" + } + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/winosupdateextension", + "name": "winosupdateextension", + "location": "eastus2euap", + "type": "Microsoft.ScVmm/VirtualMachines/extensions", + "properties": { + "publisher": "microsoft.softwareupdatemanagement.test", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "autoUpgradeMinorVersion": false, + "settings": {}, + "provisioningState": "Creating", + "instanceView": { + "name": "winosupdateextension", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "status": {} + } + } + } + ] + } + } + } +} 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 new file mode 100644 index 000000000000..dd53dbcf1117 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListInventoryItemsByVMMServer.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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 new file mode 100644 index 000000000000..7c8f60138c21 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListOperations.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview" + }, + "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 new file mode 100644 index 000000000000..beefb012020a --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersByResourceGroup.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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 new file mode 100644 index 000000000000..e45d006491ca --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersBySubscription.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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 new file mode 100644 index 000000000000..b76c661d21e2 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineInstances.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "hardwareProfile": { + "memoryMB": 4196, + "cpuCount": 4 + }, + "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 new file mode 100644 index 000000000000..7d894770c3c3 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesByResourceGroup.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} 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 new file mode 100644 index 000000000000..dd1c86ee44a9 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesBySubscription.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json new file mode 100644 index 000000000000..3eef276f58d4 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", + "name": "DemoVM", + "type": "Microsoft.SCVMM/VirtualMachines", + "location": "East US", + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" + }, + "properties": { + "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": 4096, + "cpuCount": 4 + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json new file mode 100644 index 000000000000..57af90c4764d --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", + "name": "DemoVM", + "type": "Microsoft.SCVMM/VirtualMachines", + "location": "East US", + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" + }, + "properties": { + "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": 4096, + "cpuCount": 4 + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} 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 new file mode 100644 index 000000000000..13d49176d67f --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksByResourceGroup.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} 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 new file mode 100644 index 000000000000..9532c93aecb1 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksBySubscription.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json new file mode 100644 index 000000000000..d34e4411d305 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2023-04-01-preview", + "extensionParameters": { + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.ScVmm/VirtualMachines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}", + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-08-08T20:42:10.999Z" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.ScVmm/VirtualMachines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}", + "provisioningState": "Created", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": {} + } + } + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json new file mode 100644 index 000000000000..48e9a60e7f2e --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..e7e18862d59c --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachineInstance.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json new file mode 100644 index 000000000000..058590d690c7 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM", + "body": { + "id": "Demo CheckpointID" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..adc6379a590c --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachineInstance.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", + "body": { + "id": "Demo CheckpointID" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json new file mode 100644 index 000000000000..48e9a60e7f2e --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..e7e18862d59c --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachineInstance.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json new file mode 100644 index 000000000000..05baf2860629 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM", + "body": { + "skipShutdown": true + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..ced6048f4a49 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachineInstance.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", + "body": { + "skipShutdown": true + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + } + } + } +} 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 new file mode 100644 index 000000000000..80c9c8e325e1 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateAvailabilitySet.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "availabilitySetName": "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" + } + } + }, + "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" + }, + "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://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..91cb1816c9cc --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateCloud.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "cloudName": "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + }, + "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" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", + "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json new file mode 100644 index 000000000000..051455571ff2 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2023-04-01-preview", + "extensionParameters": { + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.ScVmm/VirtualMachines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"}", + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-01-08T20:42:10.999Z" + } + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..b016fe9613a1 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVMMServer.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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" + } + } + }, + "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" + }, + "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://foo.com/operationstatus" + } + } + } +} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json new file mode 100644 index 000000000000..5aaf426b1b24 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json @@ -0,0 +1,211 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "virtualMachineName": "DemoVM", + "body": { + "properties": { + "hardwareProfile": { + "memoryMB": 4096, + "cpuCount": 4 + }, + "storageProfile": { + "disks": [ + { + "name": "test", + "diskSizeGB": 10 + } + ] + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "test", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Static" + } + ] + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", + "name": "DemoVM", + "type": "Microsoft.SCVMM/VirtualMachines", + "location": "East US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" + }, + "properties": { + "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": 4096, + "cpuCount": 4, + "dynamicMemoryEnabled": "false", + "dynamicMemoryMaxMB": 0, + "dynamicMemoryMinMB": 0, + "isHighlyAvailable": "string" + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows", + "osName": "string" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "test", + "ipv4Addresses": [ + "string" + ], + "ipv6Addresses": [ + "string" + ], + "macAddress": "string", + "virtualNetworkId": "string", + "displayName": "string", + "networkName": "string", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Static", + "nicId": "string" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "test", + "diskId": "string", + "diskSizeGB": 10, + "maxDiskSizeGB": 10, + "displayName": "string", + "bus": 0, + "lun": 0, + "busType": "string", + "vhdType": "string", + "volumeType": "string", + "vhdFormatType": "string", + "templateDiskId": "string", + "storageQoSPolicy": { + "name": "string", + "id": "string" + }, + "createDiffDisk": "false" + } + ] + }, + "vmName": "string", + "uuid": "string", + "generation": 0, + "powerState": "string", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", + "name": "DemoVM", + "type": "Microsoft.SCVMM/VirtualMachines", + "location": "East US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "extendedLocation": { + "type": "customLocation", + "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" + }, + "properties": { + "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": 4096, + "cpuCount": 4, + "dynamicMemoryEnabled": "false", + "dynamicMemoryMaxMB": 0, + "dynamicMemoryMinMB": 0, + "isHighlyAvailable": "string" + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows", + "osName": "string" + }, + "networkProfile": { + "networkInterfaces": [ + { + "name": "test", + "ipv4Addresses": [ + "string" + ], + "ipv6Addresses": [ + "string" + ], + "macAddress": "string", + "virtualNetworkId": "string", + "displayName": "string", + "networkName": "string", + "ipv4AddressType": "Dynamic", + "ipv6AddressType": "Dynamic", + "macAddressType": "Static", + "nicId": "string" + } + ] + }, + "storageProfile": { + "disks": [ + { + "name": "test", + "diskId": "string", + "diskSizeGB": 10, + "maxDiskSizeGB": 10, + "displayName": "string", + "bus": 0, + "lun": 0, + "busType": "string", + "vhdType": "string", + "volumeType": "string", + "vhdFormatType": "string", + "templateDiskId": "string", + "storageQoSPolicy": { + "name": "string", + "id": "string" + }, + "createDiffDisk": "false" + } + ] + }, + "vmName": "string", + "uuid": "string", + "generation": 0, + "powerState": "string", + "provisioningState": "Created" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..2a7ad1978f46 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineInstance.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "osProfile": { + "computerName": "DemoVM", + "osType": "Windows" + }, + "hardwareProfile": { + "memoryMB": 4196, + "cpuCount": 4 + }, + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + } + } + } +} 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 new file mode 100644 index 000000000000..d1df6fc6d457 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineTemplate.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + }, + "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" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", + "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..ee61b2ae0669 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualNetwork.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + }, + "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" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", + "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..449bf74a7754 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VMInstanceGuestAgent_ListByVm.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2023-04-01-preview", + "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/scvmm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/scvmm.json new file mode 100644 index 000000000000..805fa8d933e8 --- /dev/null +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/scvmm.json @@ -0,0 +1,6724 @@ +{ + "swagger": "2.0", + "info": { + "title": "SCVMM", + "description": "The Microsoft.ScVmm Rest API spec.", + "version": "2023-04-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}": { + "get": { + "tags": [ + "VmmServers" + ], + "operationId": "VmmServers_Get", + "summary": "Gets a VMMServer.", + "description": "Implements VMMServer GET method.", + "x-ms-examples": { + "GetVMMServer": { + "$ref": "./examples/GetVMMServer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vmmServerName", + "required": true, + "type": "string", + "description": "Name of the VMMServer." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Retrieves the VmmServers resource.", + "schema": { + "$ref": "#/definitions/VMMServer" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "VmmServers" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vmmServerName", + "required": true, + "type": "string", + "description": "Name of the VMMServer." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "description": "Request payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VMMServer" + } + } + ], + "responses": { + "200": { + "description": "Creates or Updates the VmmServers resource.", + "schema": { + "$ref": "#/definitions/VMMServer" + } + }, + "201": { + "description": "Creates or Updates the VmmServers resource.", + "schema": { + "$ref": "#/definitions/VMMServer" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "VmmServers" + ], + "operationId": "VmmServers_Delete", + "description": "Deboards the SCVMM fabric from Azure.", + "summary": "Implements VmmServers DELETE method.", + "x-ms-examples": { + "DeleteVMMServer": { + "$ref": "./examples/DeleteVMMServer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vmmServerName", + "required": true, + "type": "string", + "description": "Name of the VMMServer." + }, + { + "$ref": "#/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": "boolean" + } + ], + "responses": { + "200": { + "description": "Deletes the VmmServers resource." + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VmmServers" + ], + "operationId": "VmmServers_Update", + "summary": "Implements VmmServers PATCH method.", + "description": "Updates the VmmServers resource.", + "x-ms-examples": { + "UpdateVMMServer": { + "$ref": "./examples/UpdateVMMServer.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "vmmServerName", + "required": true, + "type": "string", + "description": "Name of the VMMServer." + }, + { + "name": "body", + "description": "VmmServers patch payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcePatch" + } + } + ], + "responses": { + "200": { + "description": "Successful.", + "schema": { + "$ref": "#/definitions/VMMServer" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VMMServer" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers": { + "get": { + "tags": [ + "VmmServers" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all VmmServers under the resource group.", + "schema": { + "$ref": "#/definitions/VMMServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/vmmServers": { + "get": { + "tags": [ + "VmmServers" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all VmmServers under the subscription.", + "schema": { + "$ref": "#/definitions/VMMServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describe the result of a successful operation.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudName}": { + "get": { + "tags": [ + "Clouds" + ], + "operationId": "Clouds_Get", + "summary": "Gets a Cloud.", + "description": "Implements Cloud GET method.", + "x-ms-examples": { + "GetCloud": { + "$ref": "./examples/GetCloud.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "cloudName", + "required": true, + "type": "string", + "description": "Name of the Cloud." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Retrieves the Clouds resource.", + "schema": { + "$ref": "#/definitions/Cloud" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Clouds" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "cloudName", + "required": true, + "type": "string", + "description": "Name of the Cloud." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "description": "Request payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Cloud" + } + } + ], + "responses": { + "200": { + "description": "Creates or Updates the Clouds resource.", + "schema": { + "$ref": "#/definitions/Cloud" + } + }, + "201": { + "description": "Creates or Updates the Clouds resource.", + "schema": { + "$ref": "#/definitions/Cloud" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Clouds" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "cloudName", + "required": true, + "type": "string", + "description": "Name of the Cloud." + }, + { + "$ref": "#/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": "boolean" + } + ], + "responses": { + "200": { + "description": "Deletes the Clouds resource." + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "Clouds" + ], + "operationId": "Clouds_Update", + "summary": "Implements the Clouds PATCH method.", + "description": "Updates the Clouds resource.", + "x-ms-examples": { + "UpdateCloud": { + "$ref": "./examples/UpdateCloud.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "cloudName", + "required": true, + "type": "string", + "description": "Name of the Cloud." + }, + { + "name": "body", + "description": "Clouds patch payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcePatch" + } + } + ], + "responses": { + "200": { + "description": "Successful.", + "schema": { + "$ref": "#/definitions/Cloud" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Cloud" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds": { + "get": { + "tags": [ + "Clouds" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all Clouds under the resource group.", + "schema": { + "$ref": "#/definitions/CloudListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/clouds": { + "get": { + "tags": [ + "Clouds" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all Clouds under the subscription.", + "schema": { + "$ref": "#/definitions/CloudListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualNetworkName", + "required": true, + "type": "string", + "description": "Name of the VirtualNetwork." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Retrieves the VirtualNetworks resource.", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "VirtualNetworks" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualNetworkName", + "required": true, + "type": "string", + "description": "Name of the VirtualNetwork." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "description": "Request payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + } + ], + "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" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualNetworkName", + "required": true, + "type": "string", + "description": "Name of the VirtualNetwork." + }, + { + "$ref": "#/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": "boolean" + } + ], + "responses": { + "200": { + "description": "Deletes the VirtualNetworks resource." + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "virtualNetworkName", + "required": true, + "type": "string", + "description": "Name of the VirtualNetwork." + }, + { + "name": "body", + "description": "VirtualNetworks patch payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcePatch" + } + } + ], + "responses": { + "200": { + "description": "Successful.", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks": { + "get": { + "tags": [ + "VirtualNetworks" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all VirtualNetworks under the resource group.", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualNetworks": { + "get": { + "tags": [ + "VirtualNetworks" + ], + "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": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all VirtualNetworks under the subscription.", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Get", + "summary": "Gets a VirtualMachine.", + "description": "Implements VirtualMachine GET method.", + "x-ms-examples": { + "GetVirtualMachine": { + "$ref": "./examples/GetVirtualMachine.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Retrieves the VirtualMachines resource.", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_CreateOrUpdate", + "description": "Creates Or Updates virtual machines deployed on scvmm fabric.", + "summary": "Implements VirtualMachines PUT method.", + "x-ms-examples": { + "CreateVirtualMachine": { + "$ref": "./examples/CreateVirtualMachine.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "description": "Request payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + } + ], + "responses": { + "200": { + "description": "Creates or Updates the VirtualMachines resource.", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "201": { + "description": "Creates or Updates the VirtualMachines resource.", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Delete", + "summary": "Implements VirtualMachine DELETE method.", + "description": "Deletes a VirtualMachine deployed on ScVmm fabric.", + "x-ms-examples": { + "DeleteVirtualMachine": { + "$ref": "./examples/DeleteVirtualMachine.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "retain", + "description": "Whether to just disable the VM from azure and retain the VM in the VMM.", + "required": false, + "type": "boolean" + }, + { + "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": "boolean" + }, + { + "in": "query", + "name": "deleteFromHost", + "description": "Whether to disable the VM from azure and also delete it from VMM.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Deletes the VirtualMachines resource." + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Update", + "summary": "Implements the VirtualMachines PATCH method.", + "description": "Updates the VirtualMachines resource.", + "x-ms-examples": { + "UpdateVirtualMachine": { + "$ref": "./examples/UpdateVirtualMachine.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + }, + { + "name": "body", + "description": "VirtualMachines patch payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineUpdate" + } + } + ], + "responses": { + "200": { + "description": "Successful.", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "201": { + "description": "Creates or Updates the VirtualMachines resource.", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/stop": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Stop", + "description": "Stop virtual machine.", + "summary": "Implements the operation to stop a virtual machine.", + "x-ms-examples": { + "StopVirtualMachine": { + "$ref": "./examples/StopVirtualMachine.json" + } + }, + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + }, + { + "in": "body", + "name": "body", + "description": "Virtualmachine stop action payload.", + "schema": { + "$ref": "#/definitions/StopVirtualMachineOptions" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/start": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Start", + "description": "Start virtual machine.", + "summary": "Implements the operation to start a virtual machine.", + "x-ms-examples": { + "StartVirtualMachine": { + "$ref": "./examples/StartVirtualMachine.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/restart": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Restart", + "description": "Restart virtual machine.", + "summary": "Implements the operation to restart a virtual machine.", + "x-ms-examples": { + "RestartVirtualMachine": { + "$ref": "./examples/RestartVirtualMachine.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/createCheckpoint": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_CreateCheckpoint", + "description": "Creates a checkpoint in virtual machine.", + "summary": "Implements the operation to creates a checkpoint in a virtual machine.", + "x-ms-examples": { + "CreateCheckpointVirtualMachine": { + "$ref": "./examples/CreateCheckpointVirtualMachine.json" + } + }, + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + }, + { + "in": "body", + "name": "body", + "description": "Virtualmachine create checkpoint action payload.", + "schema": { + "$ref": "#/definitions/VirtualMachineCreateCheckpoint" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/deleteCheckpoint": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_DeleteCheckpoint", + "description": "Deletes a checkpoint in virtual machine.", + "summary": "Implements the operation to delete a checkpoint in a virtual machine.", + "x-ms-examples": { + "DeleteCheckpointVirtualMachine": { + "$ref": "./examples/DeleteCheckpointVirtualMachine.json" + } + }, + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + }, + { + "in": "body", + "name": "body", + "description": "Virtualmachine delete checkpoint action payload.", + "schema": { + "$ref": "#/definitions/VirtualMachineDeleteCheckpoint" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/restoreCheckpoint": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_RestoreCheckpoint", + "description": "Restores to a checkpoint in virtual machine.", + "summary": "Implements the operation to restores to a checkpoint in a virtual machine.", + "x-ms-examples": { + "RestoreCheckpointVirtualMachine": { + "$ref": "./examples/RestoreCheckpointVirtualMachine.json" + } + }, + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachine." + }, + { + "in": "body", + "name": "body", + "description": "Virtualmachine restore checkpoint action payload.", + "schema": { + "$ref": "#/definitions/VirtualMachineRestoreCheckpoint" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_ListByResourceGroup", + "summary": "Implements GET VirtualMachines in a resource group.", + "description": "List of VirtualMachines in a resource group.", + "x-ms-examples": { + "ListVirtualMachinesByResourceGroup": { + "$ref": "./examples/ListVirtualMachinesByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all VirtualMachines under the resource group.", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachines": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_ListBySubscription", + "summary": "Implements GET VirtualMachines in a subscription.", + "description": "List of VirtualMachines in a subscription.", + "x-ms-examples": { + "ListVirtualMachinesBySubscription": { + "$ref": "./examples/ListVirtualMachinesBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all VirtualMachines under the subscription.", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}": { + "get": { + "tags": [ + "VirtualMachineTemplates" + ], + "operationId": "VirtualMachineTemplates_Get", + "summary": "Gets a VirtualMachineTemplate.", + "description": "Implements VirtualMachineTemplate GET method.", + "x-ms-examples": { + "GetVirtualMachineTemplate": { + "$ref": "./examples/GetVirtualMachineTemplate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineTemplateName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachineTemplate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Retrieves the VirtualMachineTemplates resource.", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineTemplateName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachineTemplate." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "description": "Request payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + } + ], + "responses": { + "200": { + "description": "Creates or Updates the VirtualMachineTemplates resource.", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "201": { + "description": "Creates or Updates the VirtualMachineTemplates resource.", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineTemplateName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachineTemplate." + }, + { + "$ref": "#/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": "boolean" + } + ], + "responses": { + "200": { + "description": "Deletes the VirtualMachineTemplates resource." + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VirtualMachineTemplates" + ], + "operationId": "VirtualMachineTemplates_Update", + "summary": "Implements the VirtualMachineTemplate PATCH method.", + "description": "Updates the VirtualMachineTemplate resource.", + "x-ms-examples": { + "UpdateVirtualMachineTemplate": { + "$ref": "./examples/UpdateVirtualMachineTemplate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "virtualMachineTemplateName", + "required": true, + "type": "string", + "description": "Name of the VirtualMachineTemplate." + }, + { + "name": "body", + "description": "VirtualMachineTemplates patch details.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcePatch" + } + } + ], + "responses": { + "200": { + "description": "Successful.", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates": { + "get": { + "tags": [ + "VirtualMachineTemplates" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all VirtualMachineTemplates under the resource group.", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplateListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates": { + "get": { + "tags": [ + "VirtualMachineTemplates" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all VirtualMachineTemplates under the subscription.", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplateListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetName}": { + "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": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "availabilitySetName", + "required": true, + "type": "string", + "description": "Name of the AvailabilitySet." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Retrieves the AvailabilitySet resource.", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "availabilitySetName", + "required": true, + "type": "string", + "description": "Name of the AvailabilitySet." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "description": "Request payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } + } + ], + "responses": { + "200": { + "description": "Creates or Updates the AvailabilitySets resource.", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } + }, + "201": { + "description": "Creates or Updates the AvailabilitySets resource.", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + }, + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "availabilitySetName", + "required": true, + "type": "string", + "description": "Name of the AvailabilitySet." + }, + { + "$ref": "#/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": "boolean" + } + ], + "responses": { + "200": { + "description": "Deletes the AvailabilitySets resource." + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "AvailabilitySets" + ], + "operationId": "AvailabilitySets_Update", + "summary": "Implements the AvailabilitySets PATCH method.", + "description": "Updates the AvailabilitySets resource.", + "x-ms-examples": { + "UpdateAvailabilitySet": { + "$ref": "./examples/UpdateAvailabilitySet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "in": "path", + "name": "availabilitySetName", + "required": true, + "type": "string", + "description": "Name of the AvailabilitySet." + }, + { + "name": "body", + "description": "AvailabilitySets patch payload.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcePatch" + } + } + ], + "responses": { + "200": { + "description": "Successful.", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets": { + "get": { + "tags": [ + "AvailabilitySets" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all AvailabilitySets under the resource group.", + "schema": { + "$ref": "#/definitions/AvailabilitySetListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets": { + "get": { + "tags": [ + "AvailabilitySets" + ], + "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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all AvailabilitySets under the subscription.", + "schema": { + "$ref": "#/definitions/AvailabilitySetListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}": { + "put": { + "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" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vmmServerName", + "required": true, + "type": "string", + "description": "Name of the VMMServer." + }, + { + "in": "path", + "name": "inventoryItemName", + "required": true, + "type": "string", + "description": "Name of the inventoryItem." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/InventoryItem" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InventoryItem" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vmmServerName", + "required": true, + "type": "string", + "description": "Name of the VMMServer." + }, + { + "in": "path", + "name": "inventoryItemName", + "required": true, + "type": "string", + "description": "Name of the inventoryItem." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InventoryItem" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vmmServerName", + "required": true, + "type": "string", + "description": "Name of the VMMServer." + }, + { + "in": "path", + "name": "inventoryItemName", + "required": true, + "type": "string", + "description": "Name of the inventoryItem." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems": { + "get": { + "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" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "vmmServerName", + "required": true, + "type": "string", + "description": "Name of the VMMServer." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InventoryItemsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/hybridIdentityMetadata/{metadataName}": { + "put": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadatas_Create", + "description": "Create Or Update HybridIdentityMetadata.", + "summary": "Implements HybridIdentityMetadata PUT method.", + "x-ms-examples": { + "CreateHybridIdentityMetadata": { + "$ref": "./examples/CreateHybridIdentityMetadata.json" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the vm." + }, + { + "in": "path", + "name": "metadataName", + "required": true, + "type": "string", + "description": "Name of the hybridIdentityMetadata." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadatas_Get", + "summary": "Gets HybridIdentityMetadata.", + "description": "Implements HybridIdentityMetadata GET method.", + "x-ms-examples": { + "GetHybridIdentityMetadata": { + "$ref": "./examples/GetHybridIdentityMetadata.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the vm." + }, + { + "in": "path", + "name": "metadataName", + "required": true, + "type": "string", + "description": "Name of the HybridIdentityMetadata." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadatas_Delete", + "summary": "Deletes an HybridIdentityMetadata.", + "description": "Implements HybridIdentityMetadata DELETE method.", + "x-ms-examples": { + "DeleteHybridIdentityMetadata": { + "$ref": "./examples/DeleteHybridIdentityMetadata.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the vm." + }, + { + "in": "path", + "name": "metadataName", + "required": true, + "type": "string", + "description": "Name of the HybridIdentityMetadata." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/hybridIdentityMetadata": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadatas_ListByVm", + "summary": "Implements GET HybridIdentityMetadata in a vm.", + "description": "Returns the list of HybridIdentityMetadata of the given vm.", + "x-ms-examples": { + "HybridIdentityMetadataListByVm": { + "$ref": "./examples/HybridIdentityMetadata_ListByVm.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the vm." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/extensions/{extensionName}": { + "put": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_CreateOrUpdate", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "201": { + "description": "HTTP 201 (Created) if the operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension (PUT)": { + "$ref": "./examples/PUTExtension.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Update", + "description": "The operation to update the extension.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpdate" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension (PATCH)": { + "$ref": "./examples/UpdateExtension.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Delete", + "description": "The operation to delete the extension.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Machine Extension": { + "$ref": "./examples/DeleteExtension.json" + } + } + }, + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Get", + "description": "The operation to get the extension.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Machine Extension": { + "$ref": "./examples/GETExtension.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/extensions": { + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_List", + "description": "The operation to get all extensions of a non-Azure machine", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtensionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get all Machine Extensions": { + "$ref": "./examples/ListExtension.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents/{guestAgentName}": { + "put": { + "tags": [ + "GuestAgents" + ], + "operationId": "GuestAgents_Create", + "description": "Create Or Update GuestAgent.", + "summary": "Implements GuestAgent PUT method.", + "x-ms-examples": { + "CreateGuestAgent": { + "$ref": "./examples/CreateGuestAgent.json" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the vm." + }, + { + "in": "path", + "name": "guestAgentName", + "required": true, + "type": "string", + "description": "Name of the guestAgents." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "GuestAgents" + ], + "operationId": "GuestAgents_Get", + "summary": "Gets GuestAgent.", + "description": "Implements GuestAgent GET method.", + "x-ms-examples": { + "GetGuestAgent": { + "$ref": "./examples/GetGuestAgent.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the vm." + }, + { + "in": "path", + "name": "guestAgentName", + "required": true, + "type": "string", + "description": "Name of the GuestAgent." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "GuestAgents" + ], + "operationId": "GuestAgents_Delete", + "summary": "Deletes an GuestAgent.", + "description": "Implements GuestAgent DELETE method.", + "x-ms-examples": { + "DeleteGuestAgent": { + "$ref": "./examples/DeleteGuestAgent.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the vm." + }, + { + "in": "path", + "name": "guestAgentName", + "required": true, + "type": "string", + "description": "Name of the GuestAgent." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents": { + "get": { + "tags": [ + "GuestAgents" + ], + "operationId": "GuestAgents_ListByVm", + "summary": "Implements GET GuestAgent in a vm.", + "description": "Returns the list of GuestAgent of the given vm.", + "x-ms-examples": { + "GuestAgentListByVm": { + "$ref": "./examples/GuestAgent_ListByVm.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "in": "path", + "name": "virtualMachineName", + "required": true, + "type": "string", + "description": "Name of the vm." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GuestAgentList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default": { + "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" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "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" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "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" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Resource properties to update.", + "schema": { + "$ref": "#/definitions/VirtualMachineInstanceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "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" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "force", + "description": "Whether force delete was specified.", + "required": false, + "type": "boolean" + }, + { + "in": "query", + "name": "deleteFromHost", + "description": "Whether to disable the VM from azure and also delete it from VMM.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances": { + "get": { + "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": { + "GetVirtualMachine": { + "$ref": "./examples/ListVirtualMachineInstances.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/VirtualMachineInstanceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/stop": { + "post": { + "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" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Virtualmachine stop action payload.", + "schema": { + "$ref": "#/definitions/StopVirtualMachineOptions" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/VmInstanceHybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/hybridIdentityMetadata": { + "get": { + "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" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/VmInstanceHybridIdentityMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/createCheckpoint": { + "post": { + "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" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Virtualmachine create checkpoint action payload.", + "schema": { + "$ref": "#/definitions/VirtualMachineCreateCheckpoint" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Virtualmachine delete checkpoint action payload.", + "schema": { + "$ref": "#/definitions/VirtualMachineDeleteCheckpoint" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Virtualmachine restore checkpoint action payload.", + "schema": { + "$ref": "#/definitions/VirtualMachineRestoreCheckpoint" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "VMInstanceGuestAgents" + ], + "operationId": "VMInstanceGuestAgents_Get", + "summary": "Gets GuestAgent.", + "description": "Implements GuestAgent GET method.", + "x-ms-examples": { + "GetGuestAgent": { + "$ref": "./examples/GetVMInstanceGuestAgent.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/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" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents": { + "get": { + "tags": [ + "VMInstanceGuestAgents" + ], + "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" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GuestAgentList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "VMMServerProperties": { + "description": "Defines the resource properties.", + "required": [ + "fqdn" + ], + "type": "object", + "properties": { + "credentials": { + "type": "object", + "description": "Credentials to connect to VMMServer.", + "properties": { + "username": { + "type": "string", + "description": "Username to use to connect to VMMServer." + }, + "password": { + "type": "string", + "description": "Credentials to use to connect to VMMServer.", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + } + }, + "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 or sets the connection status to the vmmServer.", + "readOnly": true + }, + "errorMessage": { + "type": "string", + "description": "Gets or sets 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": { + "description": "Gets or sets the provisioning state.", + "type": "string", + "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." + } + } + }, + "VMMServer": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/VMMServerProperties" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource Name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource Type" + }, + "location": { + "description": "Gets or sets the location.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location." + } + }, + "required": [ + "location", + "properties", + "extendedLocation" + ], + "description": "The VmmServers resource definition." + }, + "VMMServerListResult": { + "type": "object", + "description": "List of VmmServers.", + "properties": { + "value": { + "type": "array", + "description": "List of VmmServers.", + "items": { + "$ref": "#/definitions/VMMServer" + } + }, + "nextLink": { + "description": "Url to follow for getting next page of resources.", + "type": "string" + } + } + }, + "ResourceProviderOperationList": { + "type": "object", + "description": "Results of the request to list operations.", + "properties": { + "value": { + "type": "array", + "description": "List of Operations.", + "items": { + "$ref": "#/definitions/ResourceProviderOperation" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "CloudProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "inventoryItemId": { + "description": "Gets or sets the inventory Item ID for the resource.", + "type": "string" + }, + "uuid": { + "type": "string", + "description": "Unique ID of the cloud.", + "minLength": 1 + }, + "vmmServerId": { + "type": "string", + "description": "ARM Id of the vmmServer resource in which this resource resides." + }, + "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": { + "type": "string", + "description": "Gets or sets the provisioning state.", + "readOnly": true + } + } + }, + "Cloud": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/CloudProperties" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource Name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource Type" + }, + "location": { + "description": "Gets or sets the location.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location." + } + }, + "required": [ + "location", + "properties", + "extendedLocation" + ], + "description": "The Clouds resource definition." + }, + "CloudListResult": { + "type": "object", + "description": "List of Clouds.", + "properties": { + "value": { + "type": "array", + "description": "List of Clouds.", + "items": { + "$ref": "#/definitions/Cloud" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "VirtualNetworkProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "inventoryItemId": { + "description": "Gets or sets the inventory Item ID for the resource.", + "type": "string" + }, + "uuid": { + "type": "string", + "description": "Unique ID of the virtual network.", + "minLength": 1 + }, + "vmmServerId": { + "type": "string", + "description": "ARM Id of the vmmServer resource in which this resource resides." + }, + "networkName": { + "type": "string", + "description": "Name of the virtual network in vmmServer.", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state.", + "readOnly": true + } + } + }, + "VirtualNetwork": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/VirtualNetworkProperties" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource Name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource Type" + }, + "location": { + "description": "Gets or sets the location.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location." + } + }, + "required": [ + "location", + "properties", + "extendedLocation" + ], + "description": "The VirtualNetworks resource definition." + }, + "VirtualNetworkListResult": { + "type": "object", + "description": "List of VirtualNetworks.", + "properties": { + "value": { + "type": "array", + "description": "List of VirtualNetworks.", + "items": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "AvailabilitySetProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "availabilitySetName": { + "type": "string", + "description": "Name of the availability set.", + "minLength": 1 + }, + "vmmServerId": { + "type": "string", + "description": "ARM Id of the vmmServer resource in which this resource resides." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state.", + "readOnly": true + } + } + }, + "AvailabilitySet": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/AvailabilitySetProperties" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource Name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource Type" + }, + "location": { + "description": "Gets or sets the location.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location." + } + }, + "description": "The AvailabilitySets resource definition." + }, + "AvailabilitySetListResult": { + "type": "object", + "description": "List of AvailabilitySets.", + "properties": { + "value": { + "type": "array", + "description": "List of AvailabilitySets.", + "items": { + "$ref": "#/definitions/AvailabilitySet" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "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" + }, + "name": { + "description": "Gets or sets the name of the availability set.", + "type": "string" + } + } + } + }, + "InfrastructureProfile": { + "type": "object", + "properties": { + "inventoryItemId": { + "description": "Gets or sets the inventory Item ID for the resource.", + "type": "string" + }, + "vmmServerId": { + "type": "string", + "description": "ARM Id of the vmmServer resource in which this resource resides." + }, + "cloudId": { + "type": "string", + "description": "ARM Id of the cloud resource to use for deploying the vm." + }, + "templateId": { + "type": "string", + "description": "ARM Id of the template resource to use for deploying the vm." + }, + "vmName": { + "type": "string", + "description": "VMName is the name of VM on the SCVMM server.", + "minLength": 1 + }, + "uuid": { + "type": "string", + "description": "Unique ID of the virtual machine." + }, + "lastRestoredVMCheckpoint": { + "description": "Last restored checkpoint in the vm.", + "$ref": "#/definitions/Checkpoint", + "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", + "format": "uuid", + "description": "Gets or sets the bios guid for the vm." + } + }, + "description": "Specifies the vmmServer infrastructure specific settings for the virtual machine instance." + }, + "VirtualMachineProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "inventoryItemId": { + "description": "Gets or sets the inventory Item ID for the resource.", + "type": "string" + }, + "vmmServerId": { + "type": "string", + "description": "ARM Id of the vmmServer resource in which this resource resides." + }, + "cloudId": { + "type": "string", + "description": "ARM Id of the cloud resource to use for deploying the vm." + }, + "templateId": { + "type": "string", + "description": "ARM Id of the template resource to use for deploying the vm." + }, + "checkpointType": { + "type": "string", + "description": "Type of checkpoint supported for the vm." + }, + "lastRestoredVMCheckpoint": { + "description": "Last restored checkpoint in the vm.", + "$ref": "#/definitions/Checkpoint", + "readOnly": true + }, + "checkpoints": { + "description": "Checkpoints in the vm.", + "type": "array", + "items": { + "description": "Checkpoint properties", + "$ref": "#/definitions/Checkpoint", + "readOnly": true + }, + "x-ms-identifiers": [ + "checkpointID" + ] + }, + "availabilitySets": { + "$ref": "#/definitions/AvailabilitySetList" + }, + "osProfile": { + "description": "OS properties.", + "$ref": "#/definitions/OsProfile" + }, + "hardwareProfile": { + "description": "Hardware properties.", + "$ref": "#/definitions/HardwareProfile" + }, + "networkProfile": { + "description": "Network properties.", + "$ref": "#/definitions/NetworkProfile" + }, + "storageProfile": { + "description": "Storage properties.", + "$ref": "#/definitions/StorageProfile" + }, + "vmName": { + "type": "string", + "description": "VMName is the name of VM on the SCVMM server.", + "minLength": 1 + }, + "uuid": { + "type": "string", + "description": "Unique ID of the virtual machine." + }, + "generation": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the generation for the vm." + }, + "powerState": { + "description": "Gets the power state of the virtual machine.", + "type": "string", + "readOnly": true + }, + "guestAgentProfile": { + "description": "Guest agent status properties.", + "$ref": "#/definitions/GuestAgentProfile" + }, + "provisioningState": { + "description": "Gets or sets the provisioning state.", + "type": "string", + "readOnly": true + } + } + }, + "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.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state.", + "type": "string", + "readOnly": true + } + } + }, + "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 + }, + "OsProfile": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "adminPassword": { + "description": "Admin password of the virtual machine.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + }, + "computerName": { + "description": "Gets or sets computer name.", + "type": "string" + }, + "osType": { + "description": "Gets or sets the type of the os.", + "$ref": "#/definitions/OsType", + "readOnly": true + }, + "osName": { + "description": "Gets or sets os name.", + "type": "string", + "readOnly": true + } + } + }, + "OsProfileForVMInstance": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "adminPassword": { + "description": "Admin password of the virtual machine.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + }, + "computerName": { + "description": "Gets or sets computer name.", + "type": "string" + }, + "osType": { + "description": "Gets or sets the type of the os.", + "$ref": "#/definitions/OsType", + "readOnly": true + }, + "osSku": { + "description": "Gets or sets os sku.", + "type": "string", + "readOnly": true + }, + "osVersion": { + "description": "Gets os version.", + "type": "string", + "readOnly": true + } + } + }, + "HardwareProfile": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "memoryMB": { + "type": "integer", + "format": "int32", + "description": "MemoryMB is the size of a virtual machine's memory, in MB." + }, + "cpuCount": { + "type": "integer", + "description": "Gets or sets the number of vCPUs for the vm.", + "format": "int32" + }, + "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" + } + }, + "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" + } + }, + "dynamicMemoryMaxMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the max dynamic memory for the vm." + }, + "dynamicMemoryMinMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the min dynamic memory for the vm." + }, + "isHighlyAvailable": { + "description": "Gets highly available property.", + "type": "string" + } + } + }, + "HardwareProfileUpdate": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "memoryMB": { + "type": "integer", + "format": "int32", + "description": "MemoryMB is the size of a virtual machine's memory, in MB." + }, + "cpuCount": { + "type": "integer", + "description": "Gets or sets the number of vCPUs for the vm.", + "format": "int32" + }, + "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" + } + }, + "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" + } + }, + "dynamicMemoryMaxMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the max dynamic memory for the vm." + }, + "dynamicMemoryMinMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the min dynamic memory for the vm." + } + } + }, + "Checkpoint": { + "description": "Defines the resource properties.", + "type": "object", + "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" + } + } + }, + "NetworkProfileUpdate": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "networkInterfaces": { + "description": "Gets or sets the list of network interfaces associated with the virtual machine.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfacesUpdate" + }, + "x-ms-identifiers": [ + "name", + "nicId" + ] + } + } + }, + "NetworkProfile": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "networkInterfaces": { + "description": "Gets or sets the list of network interfaces associated with the virtual machine.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaces" + }, + "x-ms-identifiers": [ + "name", + "nicId" + ] + } + } + }, + "AllocationMethod": { + "description": "Allocation method.", + "enum": [ + "Dynamic", + "Static" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "AllocationMethod" + }, + "type": "string" + }, + "NetworkInterfaces": { + "description": "Network Interface model", + "type": "object", + "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 or sets the nic ipv4 addresses.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "ipv6Addresses": { + "description": "Gets or sets 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" + }, + "networkName": { + "description": "Gets or sets 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" + } + } + }, + "NetworkInterfacesUpdate": { + "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" + }, + "virtualNetworkId": { + "description": "Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.", + "type": "string" + }, + "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" + } + } + }, + "CloudCapacity": { + "description": "Cloud Capacity model", + "type": "object", + "properties": { + "cpuCount": { + "type": "integer", + "format": "int64", + "description": "CPUCount specifies the maximum number of CPUs that can be allocated in the cloud." + }, + "memoryMB": { + "type": "integer", + "format": "int64", + "description": "MemoryMB specifies a memory usage limit in megabytes." + }, + "vmCount": { + "type": "integer", + "format": "int64", + "description": "VMCount gives the max number of VMs that can be deployed in the cloud." + } + }, + "readOnly": true + }, + "StorageQoSPolicyDetails": { + "description": "The StorageQoSPolicyDetails definition.", + "type": "object", + "properties": { + "name": { + "description": "The name of the policy.", + "type": "string" + }, + "id": { + "description": "The ID of the QoS policy.", + "type": "string" + } + } + }, + "VirtualDisk": { + "description": "Virtual disk model", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the name of the disk.", + "type": "string" + }, + "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", + "readOnly": true + }, + "diskId": { + "description": "Gets or sets the disk id.", + "type": "string" + }, + "diskSizeGB": { + "format": "int32", + "description": "Gets or sets the disk total size.", + "type": "integer" + }, + "maxDiskSizeGB": { + "format": "int32", + "description": "Gets or sets the max disk size.", + "type": "integer", + "readOnly": true + }, + "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" + }, + "volumeType": { + "description": "Gets or sets the disk volume type.", + "type": "string", + "readOnly": true + }, + "vhdFormatType": { + "description": "Gets the disk vhd format type.", + "type": "string", + "readOnly": true + }, + "templateDiskId": { + "description": "Gets or sets the disk id in the template.", + "type": "string" + }, + "storageQoSPolicy": { + "description": "The QoS policy for the disk.", + "$ref": "#/definitions/StorageQoSPolicyDetails" + }, + "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": "boolean", + "default": false + } + } + }, + "VirtualMachineCreateCheckpoint": { + "description": "Defines the create checkpoint action properties.", + "type": "object", + "properties": { + "name": { + "description": "Name of the checkpoint.", + "type": "string" + }, + "description": { + "description": "Description of the checkpoint.", + "type": "string" + } + } + }, + "VirtualMachineDeleteCheckpoint": { + "description": "Defines the delete checkpoint action properties.", + "type": "object", + "properties": { + "id": { + "description": "ID of the checkpoint to be deleted.", + "type": "string" + } + } + }, + "VirtualMachineRestoreCheckpoint": { + "description": "Defines the restore checkpoint action properties.", + "type": "object", + "properties": { + "id": { + "description": "ID of the checkpoint to be restored to.", + "type": "string" + } + } + }, + "VirtualMachine": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/VirtualMachineProperties" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource Name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource Type" + }, + "location": { + "description": "Gets or sets the location.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + } + }, + "required": [ + "location", + "properties", + "extendedLocation" + ], + "description": "The VirtualMachines resource definition." + }, + "VirtualMachineInstance": { + "description": "Define the virtualMachineInstance.", + "required": [ + "properties", + "extendedLocation" + ], + "type": "object", + "x-ms-azure-resource": true, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/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." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/VirtualMachineInstanceProperties" + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Gets or sets the extended location." + } + } + }, + "VirtualMachineListResult": { + "type": "object", + "description": "List of VirtualMachines.", + "properties": { + "value": { + "type": "array", + "description": "List of VirtualMachines.", + "items": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "VirtualMachineInstanceListResult": { + "type": "object", + "description": "List of VirtualMachineInstances.", + "properties": { + "value": { + "type": "array", + "description": "Array of VirtualMachineInstances.", + "items": { + "$ref": "#/definitions/VirtualMachineInstance" + } + } + } + }, + "InfrastructureProfileUpdate": { + "type": "object", + "properties": { + "checkpointType": { + "type": "string", + "description": "Type of checkpoint supported for the vm." + } + }, + "description": "Specifies the vmmServer infrastructure specific settings for the virtual machine instance for update." + }, + "VirtualMachineUpdateProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfileUpdate" + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfileUpdate" + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfileUpdate" + }, + "availabilitySets": { + "$ref": "#/definitions/AvailabilitySetList" + }, + "checkpointType": { + "type": "string", + "description": "Type of checkpoint supported for the vm." + } + } + }, + "VirtualMachineInstanceUpdateProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfileUpdate" + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfileUpdate" + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfileUpdate" + }, + "availabilitySets": { + "$ref": "#/definitions/AvailabilitySetList" + }, + "infrastructureProfile": { + "$ref": "#/definitions/InfrastructureProfileUpdate", + "description": "Gets the infrastructure profile." + } + } + }, + "VirtualMachineUpdate": { + "description": "Defines the virtualMachineUpdate.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineUpdateProperties" + }, + "tags": { + "description": "Gets or sets the Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + } + } + }, + "VirtualMachineInstanceUpdate": { + "description": "Defines the virtualMachineInstanceUpdate.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/VirtualMachineInstanceUpdateProperties" + } + } + }, + "VirtualMachineTemplateProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "inventoryItemId": { + "description": "Gets or sets the inventory Item ID for the resource.", + "type": "string" + }, + "uuid": { + "type": "string", + "description": "Unique ID of the virtual machine template.", + "minLength": 1 + }, + "vmmServerId": { + "type": "string", + "description": "ARM Id of the vmmServer resource in which this resource resides." + }, + "osType": { + "description": "Gets or sets the type of the os.", + "$ref": "#/definitions/OsType", + "readOnly": true + }, + "osName": { + "description": "Gets or sets os name.", + "type": "string", + "readOnly": true + }, + "computerName": { + "description": "Gets or sets computer name.", + "type": "string", + "readOnly": true + }, + "memoryMB": { + "type": "integer", + "format": "int32", + "description": "MemoryMB is the desired size of a virtual machine's memory, in MB.", + "readOnly": true + }, + "cpuCount": { + "type": "integer", + "description": "Gets or sets the desired number of vCPUs for the vm.", + "format": "int32", + "readOnly": true + }, + "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" + }, + "readOnly": true + }, + "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" + }, + "readOnly": true + }, + "isCustomizable": { + "type": "string", + "description": "Gets or sets a value indicating whether the vm template is customizable or not.", + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "IsCustomizable" + }, + "readOnly": true + }, + "dynamicMemoryMaxMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the max dynamic memory for the vm.", + "readOnly": true + }, + "dynamicMemoryMinMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the min dynamic memory for the vm.", + "readOnly": true + }, + "isHighlyAvailable": { + "description": "Gets highly available property.", + "type": "string", + "readOnly": true + }, + "generation": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the generation for the vm.", + "readOnly": true + }, + "networkInterfaces": { + "description": "Gets or sets the network interfaces of the template.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaces" + }, + "x-ms-identifiers": [ + "name", + "nicId" + ], + "readOnly": true + }, + "disks": { + "description": "Gets or sets the disks of the template.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDisk" + }, + "x-ms-identifiers": [ + "name", + "diskId" + ], + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state.", + "type": "string", + "readOnly": true + } + } + }, + "VirtualMachineTemplate": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/VirtualMachineTemplateProperties" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource Name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource Type" + }, + "location": { + "description": "Gets or sets the location.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extended location." + } + }, + "required": [ + "location", + "properties", + "extendedLocation" + ], + "description": "The VirtualMachineTemplates resource definition." + }, + "VirtualMachineTemplateListResult": { + "type": "object", + "description": "List of VirtualMachineTemplates.", + "properties": { + "value": { + "description": "List of VirtualMachineTemplates.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "InventoryItemsList": { + "description": "List of InventoryItems.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of InventoryItems.", + "type": "string" + }, + "value": { + "description": "Array of InventoryItems", + "type": "array", + "items": { + "$ref": "#/definitions/InventoryItem" + } + } + }, + "required": [ + "value" + ] + }, + "InventoryItem": { + "description": "Defines the inventory item.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/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/InventoryItemProperties" + }, + "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." + } + }, + "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": { + "description": "Gets the provisioning state.", + "type": "string", + "readOnly": true + } + } + }, + "InventoryType": { + "type": "string", + "description": "The inventory type.", + "enum": [ + "Cloud", + "VirtualNetwork", + "VirtualMachineTemplate", + "VirtualMachine" + ], + "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" + } + ], + "x-ms-discriminator-value": "Cloud" + }, + "VirtualNetworkInventoryItem": { + "description": "The Virtual network inventory item.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InventoryItemProperties" + } + ], + "x-ms-discriminator-value": "VirtualNetwork" + }, + "VirtualMachineTemplateInventoryItem": { + "description": "The Virtual machine template inventory item.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InventoryItemProperties" + } + ], + "properties": { + "cpuCount": { + "type": "integer", + "description": "Gets or sets 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 or sets the type of the os.", + "$ref": "#/definitions/OsType", + "readOnly": true + }, + "osName": { + "description": "Gets or sets os name.", + "type": "string", + "readOnly": true + } + }, + "x-ms-discriminator-value": "VirtualMachineTemplate" + }, + "VirtualMachineInventoryItem": { + "description": "The Virtual machine inventory item.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InventoryItemProperties" + } + ], + "properties": { + "osType": { + "description": "Gets or sets the type of the os.", + "$ref": "#/definitions/OsType", + "readOnly": true + }, + "osName": { + "description": "Gets or sets os name.", + "type": "string", + "readOnly": true + }, + "osVersion": { + "description": "Gets os version.", + "type": "string", + "readOnly": true + }, + "powerState": { + "description": "Gets the power state of the virtual machine.", + "type": "string", + "readOnly": true + }, + "ipAddresses": { + "description": "Gets or sets the nic ip addresses.", + "type": "array", + "items": { + "type": "string" + } + }, + "cloud": { + "description": "Cloud inventory resource details where the VM is present.", + "$ref": "#/definitions/InventoryItemDetails" + }, + "biosGuid": { + "description": "Gets or sets the bios guid.", + "type": "string", + "format": "uuid", + "readOnly": true + }, + "managedMachineResourceId": { + "description": "Gets the tracked resource id corresponding to the inventory resource.", + "type": "string", + "format": "arm-id", + "readOnly": true + } + }, + "x-ms-discriminator-value": "VirtualMachine" + }, + "GuestAgentProfile": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "vmUuid": { + "readOnly": true, + "type": "string", + "description": "Specifies the VM's unique SMBIOS ID." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the hybrid machine agent.", + "enum": [ + "Connected", + "Disconnected", + "Error" + ], + "x-ms-enum": { + "name": "StatusTypes", + "modelAsString": true + } + }, + "lastStatusChange": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The time of the last status change." + }, + "clientPublicKey": { + "description": "Gets or sets the Public Key provided by the client for enabling guest management.", + "type": "string" + }, + "agentVersion": { + "readOnly": true, + "type": "string", + "description": "The hybrid machine agent full version." + }, + "errorDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorDetail" + }, + "description": "Details about the error state.", + "x-ms-identifiers": [] + } + } + }, + "HybridIdentityMetadataList": { + "description": "List of HybridIdentityMetadata.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of HybridIdentityMetadata.", + "type": "string" + }, + "value": { + "description": "Array of HybridIdentityMetadata", + "type": "array", + "items": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + } + }, + "required": [ + "value" + ] + }, + "HybridIdentityMetadata": { + "description": "Defines the HybridIdentityMetadata.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/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/HybridIdentityMetadataProperties" + } + }, + "x-ms-azure-resource": true + }, + "HybridIdentityMetadataProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "resourceUid": { + "description": "Gets or sets the Vm Id.", + "type": "string" + }, + "publicKey": { + "description": "Gets or sets the Public Key.", + "type": "string" + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource.", + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state.", + "type": "string", + "readOnly": true + } + } + }, + "VmInstanceHybridIdentityMetadataList": { + "description": "List of HybridIdentityMetadata.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of HybridIdentityMetadata.", + "type": "string" + }, + "value": { + "description": "Array of HybridIdentityMetadata", + "type": "array", + "items": { + "$ref": "#/definitions/VmInstanceHybridIdentityMetadata" + } + } + }, + "required": [ + "value" + ] + }, + "VmInstanceHybridIdentityMetadata": { + "description": "Defines the HybridIdentityMetadata.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/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/VmInstanceHybridIdentityMetadataProperties" + } + }, + "x-ms-azure-resource": true + }, + "VmInstanceHybridIdentityMetadataProperties": { + "description": "Describes the properties of Hybrid Identity Metadata for a Virtual Machine.", + "type": "object", + "properties": { + "resourceUid": { + "description": "The unique identifier for the resource.", + "format": "uuid", + "type": "string" + }, + "publicKey": { + "description": "Gets or sets the Public Key.", + "type": "string" + }, + "provisioningState": { + "description": "Gets or sets the provisioning state.", + "type": "string", + "readOnly": true + } + } + }, + "Identity": { + "type": "object", + "required": [ + "type" + ], + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of managed service identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant of managed service identity." + }, + "type": { + "type": "string", + "description": "The type of managed service identity.", + "enum": [ + "None", + "SystemAssigned" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true + } + } + }, + "description": "Managed service identity." + }, + "MachineExtension": { + "x-ms-azure-resource": true, + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineExtensionProperties", + "description": "Describes Machine Extension Properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a Machine Extension." + }, + "MachineExtensionUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineExtensionUpdateProperties", + "description": "Describes Machine Extension Update Properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourcePatch" + } + ], + "description": "Describes a Machine Extension Update." + }, + "MachineExtensionProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.", + "x-ms-secret": true + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "allOf": [ + { + "$ref": "#/definitions/MachineExtensionInstanceView" + } + ], + "description": "The machine extension instance view." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionUpdateProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.", + "x-ms-secret": true + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionInstanceView": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The machine extension name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "readOnly": true, + "description": "Specifies the version of the script handler." + }, + "status": { + "type": "object", + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "The status code." + }, + "level": { + "type": "string", + "readOnly": true, + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": true + } + }, + "displayStatus": { + "type": "string", + "readOnly": true, + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + } + }, + "description": "Describes the Machine Extension Instance View." + }, + "MachineExtensionsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions." + } + }, + "description": "Describes the Machine Extensions List Result." + }, + "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.", + "type": "object", + "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", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "required": [ + "username", + "password" + ] + }, + "HttpProxyConfiguration": { + "description": "HTTP Proxy configuration for the VM.", + "type": "object", + "properties": { + "httpsProxy": { + "description": "Gets or sets httpsProxy url.", + "type": "string" + } + } + }, + "GuestAgentList": { + "description": "List of GuestAgent.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of GuestAgent.", + "type": "string" + }, + "value": { + "description": "Array of GuestAgent", + "type": "array", + "items": { + "$ref": "#/definitions/GuestAgent" + } + } + }, + "required": [ + "value" + ] + }, + "GuestAgent": { + "description": "Defines the GuestAgent.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/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 or sets a unique identifier for this resource.", + "type": "string", + "readOnly": true + }, + "credentials": { + "description": "Username / Password Credentials to provision guest agent.", + "$ref": "#/definitions/GuestCredential" + }, + "httpProxyConfig": { + "description": "HTTP Proxy configuration for the VM.", + "$ref": "#/definitions/HttpProxyConfiguration" + }, + "provisioningAction": { + "description": "Gets or sets the guest agent provisioning action.", + "$ref": "#/definitions/ProvisioningAction", + "type": "string" + }, + "status": { + "description": "Gets or sets the guest agent status.", + "type": "string", + "readOnly": true + }, + "customResourceName": { + "description": "Gets the name of the corresponding resource in Kubernetes.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceProviderOperation": { + "type": "object", + "properties": { + "isDataAction": { + "type": "string", + "description": "Indicates whether the operation applies to data-plane." + }, + "name": { + "type": "string", + "description": "Operation name, in format of {provider}/{resource}/{operation}." + }, + "display": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "description": "The resource provider." + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed." + }, + "operation": { + "type": "string", + "description": "Type of operation: read, write, delete, etc." + }, + "description": { + "type": "string", + "description": "Description of this operation." + } + }, + "description": "Display metadata associated with the operation." + } + }, + "description": "Results of the request to list operations." + }, + "ErrorResponse": { + "description": "Error response.", + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDefinition", + "description": "The error details." + } + } + }, + "ErrorDefinition": { + "description": "Error definition.", + "type": "object", + "properties": { + "code": { + "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Description of the error.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Internal error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDefinition" + }, + "x-ms-identifiers": [], + "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" + } + } + }, + "ResourcePatch": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Object containing tags updates for patch operations." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to be used with the HTTP request (e.g. YYYY-MM-DD)." + }, + "resourceUriParameter": { + "in": "path", + "name": "resourceUri", + "description": "The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "method" + } + } +} From 0ba194fde55d1ee96a8a8b77d428fa840a0327c4 Mon Sep 17 00:00:00 2001 From: Harshit Surana <139948344+hsurana06@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:37:16 +0530 Subject: [PATCH 02/14] Updates readme --- specification/scvmm/resource-manager/readme.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/specification/scvmm/resource-manager/readme.md b/specification/scvmm/resource-manager/readme.md index a19c738392f4..0339ceab67b5 100644 --- a/specification/scvmm/resource-manager/readme.md +++ b/specification/scvmm/resource-manager/readme.md @@ -27,15 +27,23 @@ These are the global settings for the scvmm. ``` yaml openapi-type: arm openapi-subtype: rpaas -tag: package-preview-2023-04 +tag: package-2023-10 ``` +### Tag: package-2023-10 + +These settings apply only when `--tag=package-2023-10` is specified on the command line. + +```yaml $(tag) == 'package-2023-10' +input-file: + - Microsoft.ScVmm/stable/2023-10-07/scvmm.json +``` ### Tag: package-preview-2023-04 These settings apply only when `--tag=package-preview-2023-04` is specified on the command line. -```yaml $(tag) == 'package-preview-2023-04' +``` yaml $(tag) == 'package-preview-2023-04' input-file: - Microsoft.ScVmm/preview/2023-04-01-preview/scvmm.json suppressions: @@ -49,6 +57,7 @@ suppressions: where: - $.definitions.VirtualMachineInstance ``` + ### Tag: package-2020-06-05-preview These settings apply only when `--tag=package-2020-06-05-preview` is specified on the command line. From be8d5d170b79bbf18d299fa07adac0365b953ab5 Mon Sep 17 00:00:00 2001 From: Harshit Surana <139948344+hsurana06@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:37:19 +0530 Subject: [PATCH 03/14] Updates API version in new specs and examples --- .../stable/2023-10-07/examples/CreateAvailabilitySet.json | 2 +- .../2023-10-07/examples/CreateCheckpointVirtualMachine.json | 2 +- .../examples/CreateCheckpointVirtualMachineInstance.json | 4 ++-- .../stable/2023-10-07/examples/CreateCloud.json | 2 +- .../stable/2023-10-07/examples/CreateGuestAgent.json | 2 +- .../2023-10-07/examples/CreateHybridIdentityMetadata.json | 2 +- .../stable/2023-10-07/examples/CreateInventoryItem.json | 2 +- .../2023-10-07/examples/CreateVMInstanceGuestAgent.json | 2 +- .../stable/2023-10-07/examples/CreateVMMServer.json | 2 +- .../stable/2023-10-07/examples/CreateVirtualMachine.json | 2 +- .../2023-10-07/examples/CreateVirtualMachineInstance.json | 2 +- .../2023-10-07/examples/CreateVirtualMachineTemplate.json | 2 +- .../stable/2023-10-07/examples/CreateVirtualNetwork.json | 2 +- .../stable/2023-10-07/examples/DeleteAvailabilitySet.json | 2 +- .../2023-10-07/examples/DeleteCheckpointVirtualMachine.json | 2 +- .../examples/DeleteCheckpointVirtualMachineInstance.json | 4 ++-- .../stable/2023-10-07/examples/DeleteCloud.json | 2 +- .../stable/2023-10-07/examples/DeleteExtension.json | 2 +- .../stable/2023-10-07/examples/DeleteGuestAgent.json | 2 +- .../2023-10-07/examples/DeleteHybridIdentityMetadata.json | 2 +- .../stable/2023-10-07/examples/DeleteInventoryItem.json | 2 +- .../2023-10-07/examples/DeleteVMInstanceGuestAgent.json | 4 ++-- .../stable/2023-10-07/examples/DeleteVMMServer.json | 2 +- .../stable/2023-10-07/examples/DeleteVirtualMachine.json | 2 +- .../2023-10-07/examples/DeleteVirtualMachineInstance.json | 4 ++-- .../2023-10-07/examples/DeleteVirtualMachineTemplate.json | 2 +- .../stable/2023-10-07/examples/DeleteVirtualNetwork.json | 2 +- .../stable/2023-10-07/examples/GETExtension.json | 2 +- .../stable/2023-10-07/examples/GetAvailabilitySet.json | 2 +- .../Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json | 2 +- .../stable/2023-10-07/examples/GetGuestAgent.json | 2 +- .../stable/2023-10-07/examples/GetHybridIdentityMetadata.json | 2 +- .../stable/2023-10-07/examples/GetInventoryItem.json | 2 +- .../stable/2023-10-07/examples/GetVMInstanceGuestAgent.json | 2 +- .../stable/2023-10-07/examples/GetVMMServer.json | 2 +- .../stable/2023-10-07/examples/GetVirtualMachine.json | 2 +- .../stable/2023-10-07/examples/GetVirtualMachineInstance.json | 2 +- .../stable/2023-10-07/examples/GetVirtualMachineTemplate.json | 2 +- .../stable/2023-10-07/examples/GetVirtualNetwork.json | 2 +- .../examples/GetVmInstanceHybridIdentityMetadata.json | 2 +- .../stable/2023-10-07/examples/GuestAgent_ListByVm.json | 2 +- .../2023-10-07/examples/HybridIdentityMetadata_ListByVm.json | 2 +- .../examples/HybridIdentityMetadata_ListByVmInstance.json | 2 +- .../examples/ListAvailabilitySetsByResourceGroup.json | 2 +- .../examples/ListAvailabilitySetsBySubscription.json | 2 +- .../stable/2023-10-07/examples/ListCloudsByResourceGroup.json | 2 +- .../stable/2023-10-07/examples/ListCloudsBySubscription.json | 2 +- .../stable/2023-10-07/examples/ListExtension.json | 2 +- .../2023-10-07/examples/ListInventoryItemsByVMMServer.json | 2 +- .../stable/2023-10-07/examples/ListOperations.json | 2 +- .../2023-10-07/examples/ListVMMServersByResourceGroup.json | 2 +- .../2023-10-07/examples/ListVMMServersBySubscription.json | 2 +- .../2023-10-07/examples/ListVirtualMachineInstances.json | 2 +- .../examples/ListVirtualMachineTemplatesByResourceGroup.json | 2 +- .../examples/ListVirtualMachineTemplatesBySubscription.json | 2 +- .../examples/ListVirtualMachinesByResourceGroup.json | 2 +- .../examples/ListVirtualMachinesBySubscription.json | 2 +- .../examples/ListVirtualNetworksByResourceGroup.json | 2 +- .../examples/ListVirtualNetworksBySubscription.json | 2 +- .../stable/2023-10-07/examples/PUTExtension.json | 2 +- .../stable/2023-10-07/examples/RestartVirtualMachine.json | 2 +- .../2023-10-07/examples/RestartVirtualMachineInstance.json | 4 ++-- .../2023-10-07/examples/RestoreCheckpointVirtualMachine.json | 2 +- .../examples/RestoreCheckpointVirtualMachineInstance.json | 4 ++-- .../stable/2023-10-07/examples/StartVirtualMachine.json | 2 +- .../2023-10-07/examples/StartVirtualMachineInstance.json | 4 ++-- .../stable/2023-10-07/examples/StopVirtualMachine.json | 2 +- .../2023-10-07/examples/StopVirtualMachineInstance.json | 4 ++-- .../stable/2023-10-07/examples/UpdateAvailabilitySet.json | 2 +- .../stable/2023-10-07/examples/UpdateCloud.json | 2 +- .../stable/2023-10-07/examples/UpdateExtension.json | 2 +- .../stable/2023-10-07/examples/UpdateVMMServer.json | 2 +- .../stable/2023-10-07/examples/UpdateVirtualMachine.json | 2 +- .../2023-10-07/examples/UpdateVirtualMachineInstance.json | 4 ++-- .../2023-10-07/examples/UpdateVirtualMachineTemplate.json | 2 +- .../stable/2023-10-07/examples/UpdateVirtualNetwork.json | 2 +- .../2023-10-07/examples/VMInstanceGuestAgent_ListByVm.json | 2 +- .../Microsoft.ScVmm/stable/2023-10-07/scvmm.json | 2 +- 78 files changed, 87 insertions(+), 87 deletions(-) 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 index 3dc0205cba10..c68e2e07abd8 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "availabilitySetName": "HRAvailabilitySet", diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json index ae7c0d77f161..eb577fcbbe74 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM", 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 index a9bea5437c09..dc9c2ba74ee8 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", "body": { "name": "Demo Checkpoint name", @@ -11,7 +11,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + "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 index 017817b16c8b..835d8d91e7e0 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "cloudName": "HRCloud", diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json index df6745363fc6..5abcf3e85623 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "ContosoVm", diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json index dfa71cbed46f..23737b08f69f 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "ContosoVm", 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 index 2f5475b5379a..8bb813424ab5 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer", 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 index cc64631c10e6..3709b72c5fa3 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", "body": { "properties": { 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 index 5be64bd2c175..04818c6bffbd 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer", diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json index 7589560f1806..8ffc64e92fd5 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM", 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 index dc50cf720850..6ee7e45d99e8 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", "body": { "extendedLocation": { 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 index 9f3b96f56866..43aa32aa0643 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineTemplateName": "HRVirtualMachineTemplate", 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 index 3c679e5e421e..fddd66df55f4 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualNetworkName": "HRVirtualNetwork", 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 index 93f21924f6d8..4b10d7fd23af 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "availabilitySetName": "HRAvailabilitySet" diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json index 058590d690c7..614b839b6112 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM", 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 index adc6379a590c..b916fd2f2410 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", "body": { "id": "Demo CheckpointID" @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + "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 index f41a6e25ddfe..813555d3ded4 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "cloudName": "HRCloud" diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json index 6dd78cc29274..07ccbe5755ac 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "virtualMachineName": "myMachine", "extensionName": "MMA", - "api-version": "2023-04-01-preview" + "api-version": "2023-10-07" }, "responses": { "200": {}, diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json index 4deb8fa93721..519a111ae382 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "ContosoVm", diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json index 9ed19688aef8..79929caa0d7b 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "ContosoVm", 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 index be05c66c4751..f491782f68ed 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer", 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 index 1d08fd5d4e64..5790b7a9ad14 100644 --- 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 @@ -1,13 +1,13 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + "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/DeleteVMMServer.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json index 0884a44ba1a5..3ffdfb83552f 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer" diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json index 9ab76e5fadca..f535ad8223cd 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM" 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 index 1d08fd5d4e64..5790b7a9ad14 100644 --- 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 @@ -1,13 +1,13 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + "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 index a09388e8ba5d..510bb1f598a8 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineTemplateName": "HRVirtualMachineTemplate" 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 index b68e71f01f79..438a42700071 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualNetworkName": "HRVirtualNetwork" diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json index de49551c5d38..5f95c822deb4 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "virtualMachineName": "myMachine", "extensionName": "CustomScriptExtension", - "api-version": "2023-04-01-preview" + "api-version": "2023-10-07" }, "responses": { "200": { 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 index 8ce23b5f5be4..ee8c245216e5 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "availabilitySetName": "HRAvailabilitySet" 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 index d3166b3721f7..3a68d19601f2 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "cloudName": "HRCloud" diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json index 7f6b034c6127..dea6b90533d3 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "ContosoVm", diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json index 45afdae842fa..279e296c3db5 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "ContosoVm", 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 index a8135484471d..1160c4fe6578 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer", 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 index 9082f22c099e..8e19a18937c3 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { 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 index a67e79c9a1f8..37b6e232b661 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer" diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json index c882fccfd372..ad30bba6b3e8 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM" 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 index 3af4ae88b42c..2470cc4b97d6 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { 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 index d7448050e5f1..05d9cc15d3ee 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineTemplateName": "HRVirtualMachineTemplate" 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 index 717669af8918..73e5b1808970 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualNetworkName": "HRVirtualNetwork" 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 index 82d89726b0ea..da65322f9af3 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json index 1c9aef0397dc..96457cff2c5f 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "ContosoVm" diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json index 66fb36eb0f9e..5b974ea38bd6 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "ContosoVm" 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 index ccdfeb18282b..3d0830810474 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { 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 index 4bd759e0b396..a2f78dff3858 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg" }, 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 index f020c76c307b..bfbb304b2244 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" }, "responses": { 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 index fdbb5bf8c496..f6159a4d4d97 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg" }, 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 index c7a41369e919..9d5f714e6173 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" }, "responses": { diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json index 6762c8199bdd..dc667b7cd550 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "virtualMachineName": "myMachine", - "api-version": "2023-04-01-preview" + "api-version": "2023-10-07" }, "responses": { "200": { 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 index dd53dbcf1117..6be4d81fd38f 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer" 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 index 7c8f60138c21..7b00dafb89d6 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview" + "api-version": "2023-10-07" }, "responses": { "200": { 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 index beefb012020a..50c22fb14b2c 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg" }, 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 index e45d006491ca..de82e88ab96b 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" }, "responses": { 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 index b76c661d21e2..482cc81c613a 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { 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 index 7d894770c3c3..c97cc35eb401 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg" }, 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 index dd1c86ee44a9..004f513aebc7 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" }, "responses": { diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json index 3eef276f58d4..d31a1f4401c5 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg" }, diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json index 57af90c4764d..b2c047fa3fd2 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" }, "responses": { 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 index 13d49176d67f..a27900dbf33e 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg" }, 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 index 9532c93aecb1..901e2ad221b6 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b" }, "responses": { diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json index d34e4411d305..a648ec24fc97 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "virtualMachineName": "myMachine", "extensionName": "CustomScriptExtension", - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "extensionParameters": { "location": "eastus2euap", "properties": { diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json index 48e9a60e7f2e..4ca6a21e38b2 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM" 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 index e7e18862d59c..cd1b8cd4ce57 100644 --- 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 @@ -1,13 +1,13 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + "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/RestoreCheckpointVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json index 058590d690c7..614b839b6112 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM", 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 index adc6379a590c..b916fd2f2410 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", "body": { "id": "Demo CheckpointID" @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + "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/StartVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json index 48e9a60e7f2e..4ca6a21e38b2 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM" 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 index e7e18862d59c..cd1b8cd4ce57 100644 --- 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 @@ -1,13 +1,13 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + "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/StopVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json index 05baf2860629..593cfe9ac17f 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM", 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 index ced6048f4a49..0ee8568adbd0 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", "body": { "skipShutdown": true @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + "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 index 80c9c8e325e1..44169f3a7bb8 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "availabilitySetName": "HRAvailabilitySet", 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 index 91cb1816c9cc..9c355d6b0f1e 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "cloudName": "HRCloud", diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json index 051455571ff2..4ba4fe544557 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "virtualMachineName": "myMachine", "extensionName": "CustomScriptExtension", - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "extensionParameters": { "properties": { "publisher": "Microsoft.Compute", 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 index b016fe9613a1..d37b8fc720a5 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer", diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json index 5aaf426b1b24..e0561aca5851 100644 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json +++ b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineName": "DemoVM", 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 index 2a7ad1978f46..0e6a5c90245c 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", "body": { "properties": { @@ -43,7 +43,7 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.ScVmm/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-04-01-preview" + "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 index d1df6fc6d457..5575a5cd448b 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualMachineTemplateName": "HRVirtualMachineTemplate", 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 index ee61b2ae0669..8181163a29f3 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "virtualNetworkName": "HRVirtualNetwork", 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 index 449bf74a7754..a78ec8eaad89 100644 --- 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 @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-04-01-preview", + "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { 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 805fa8d933e8..8878458345b4 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 @@ -3,7 +3,7 @@ "info": { "title": "SCVMM", "description": "The Microsoft.ScVmm Rest API spec.", - "version": "2023-04-01-preview" + "version": "2023-10-07" }, "host": "management.azure.com", "schemes": [ From 8cc7d196d590f5527686f97bcce9141fcfb01dfb Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Fri, 6 Oct 2023 15:48:28 +0530 Subject: [PATCH 04/14] Removed VM APIs and Definitions --- .../stable/2023-10-07/scvmm.json | 2530 ++--------------- 1 file changed, 265 insertions(+), 2265 deletions(-) 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 8878458345b4..e3eb4994f023 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 @@ -1030,17 +1030,17 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}": { "get": { "tags": [ - "VirtualMachines" + "VirtualMachineTemplates" ], - "operationId": "VirtualMachines_Get", - "summary": "Gets a VirtualMachine.", - "description": "Implements VirtualMachine GET method.", + "operationId": "VirtualMachineTemplates_Get", + "summary": "Gets a VirtualMachineTemplate.", + "description": "Implements VirtualMachineTemplate GET method.", "x-ms-examples": { - "GetVirtualMachine": { - "$ref": "./examples/GetVirtualMachine.json" + "GetVirtualMachineTemplate": { + "$ref": "./examples/GetVirtualMachineTemplate.json" } }, "parameters": [ @@ -1052,10 +1052,10 @@ }, { "in": "path", - "name": "virtualMachineName", + "name": "virtualMachineTemplateName", "required": true, "type": "string", - "description": "Name of the VirtualMachine." + "description": "Name of the VirtualMachineTemplate." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -1063,9 +1063,9 @@ ], "responses": { "200": { - "description": "Retrieves the VirtualMachines resource.", + "description": "Retrieves the VirtualMachineTemplates resource.", "schema": { - "$ref": "#/definitions/VirtualMachine" + "$ref": "#/definitions/VirtualMachineTemplate" } }, "default": { @@ -1078,14 +1078,14 @@ }, "put": { "tags": [ - "VirtualMachines" + "VirtualMachineTemplates" ], - "operationId": "VirtualMachines_CreateOrUpdate", - "description": "Creates Or Updates virtual machines deployed on scvmm fabric.", - "summary": "Implements VirtualMachines PUT method.", + "operationId": "VirtualMachineTemplates_CreateOrUpdate", + "description": "Onboards the ScVmm VM Template as an Azure VM Template resource.", + "summary": "Implements VirtualMachineTemplates PUT method.", "x-ms-examples": { - "CreateVirtualMachine": { - "$ref": "./examples/CreateVirtualMachine.json" + "CreateVirtualMachineTemplate": { + "$ref": "./examples/CreateVirtualMachineTemplate.json" } }, "parameters": [ @@ -1097,10 +1097,10 @@ }, { "in": "path", - "name": "virtualMachineName", + "name": "virtualMachineTemplateName", "required": true, "type": "string", - "description": "Name of the VirtualMachine." + "description": "Name of the VirtualMachineTemplate." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -1111,21 +1111,21 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/VirtualMachine" + "$ref": "#/definitions/VirtualMachineTemplate" } } ], "responses": { "200": { - "description": "Creates or Updates the VirtualMachines resource.", + "description": "Creates or Updates the VirtualMachineTemplates resource.", "schema": { - "$ref": "#/definitions/VirtualMachine" + "$ref": "#/definitions/VirtualMachineTemplate" } }, "201": { - "description": "Creates or Updates the VirtualMachines resource.", + "description": "Creates or Updates the VirtualMachineTemplates resource.", "schema": { - "$ref": "#/definitions/VirtualMachine" + "$ref": "#/definitions/VirtualMachineTemplate" } }, "default": { @@ -1142,14 +1142,14 @@ }, "delete": { "tags": [ - "VirtualMachines" + "VirtualMachineTemplates" ], - "operationId": "VirtualMachines_Delete", - "summary": "Implements VirtualMachine DELETE method.", - "description": "Deletes a VirtualMachine deployed on ScVmm fabric.", + "operationId": "VirtualMachineTemplates_Delete", + "description": "Deregisters the ScVmm VM Template from Azure.", + "summary": "Implements VirtualMachineTemplate DELETE method.", "x-ms-examples": { - "DeleteVirtualMachine": { - "$ref": "./examples/DeleteVirtualMachine.json" + "DeleteVirtualMachineTemplate": { + "$ref": "./examples/DeleteVirtualMachineTemplate.json" } }, "parameters": [ @@ -1161,39 +1161,25 @@ }, { "in": "path", - "name": "virtualMachineName", + "name": "virtualMachineTemplateName", "required": true, "type": "string", - "description": "Name of the VirtualMachine." + "description": "Name of the VirtualMachineTemplate." }, { "$ref": "#/parameters/ApiVersionParameter" }, - { - "in": "query", - "name": "retain", - "description": "Whether to just disable the VM from azure and retain the VM in the VMM.", - "required": false, - "type": "boolean" - }, { "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": "boolean" - }, - { - "in": "query", - "name": "deleteFromHost", - "description": "Whether to disable the VM from azure and also delete it from VMM.", - "required": false, - "type": "boolean" } ], "responses": { "200": { - "description": "Deletes the VirtualMachines resource." + "description": "Deletes the VirtualMachineTemplates resource." }, "202": { "description": "Accepted" @@ -1215,14 +1201,14 @@ }, "patch": { "tags": [ - "VirtualMachines" + "VirtualMachineTemplates" ], - "operationId": "VirtualMachines_Update", - "summary": "Implements the VirtualMachines PATCH method.", - "description": "Updates the VirtualMachines resource.", + "operationId": "VirtualMachineTemplates_Update", + "summary": "Implements the VirtualMachineTemplate PATCH method.", + "description": "Updates the VirtualMachineTemplate resource.", "x-ms-examples": { - "UpdateVirtualMachine": { - "$ref": "./examples/UpdateVirtualMachine.json" + "UpdateVirtualMachineTemplate": { + "$ref": "./examples/UpdateVirtualMachineTemplate.json" } }, "parameters": [ @@ -1237,18 +1223,18 @@ }, { "in": "path", - "name": "virtualMachineName", + "name": "virtualMachineTemplateName", "required": true, "type": "string", - "description": "Name of the VirtualMachine." + "description": "Name of the VirtualMachineTemplate." }, { "name": "body", - "description": "VirtualMachines patch payload.", + "description": "VirtualMachineTemplates patch details.", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/VirtualMachineUpdate" + "$ref": "#/definitions/ResourcePatch" } } ], @@ -1256,13 +1242,13 @@ "200": { "description": "Successful.", "schema": { - "$ref": "#/definitions/VirtualMachine" + "$ref": "#/definitions/VirtualMachineTemplate" } }, "201": { - "description": "Creates or Updates the VirtualMachines resource.", + "description": "Created", "schema": { - "$ref": "#/definitions/VirtualMachine" + "$ref": "#/definitions/VirtualMachineTemplate" } }, "202": { @@ -1281,54 +1267,36 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/stop": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates": { + "get": { "tags": [ - "VirtualMachines" + "VirtualMachineTemplates" ], - "operationId": "VirtualMachines_Stop", - "description": "Stop virtual machine.", - "summary": "Implements the operation to stop a virtual machine.", + "operationId": "VirtualMachineTemplates_ListByResourceGroup", + "summary": "Implements GET VirtualMachineTemplates in a resource group.", + "description": "List of VirtualMachineTemplates in a resource group.", "x-ms-examples": { - "StopVirtualMachine": { - "$ref": "./examples/StopVirtualMachine.json" + "ListVirtualMachineTemplatesByResourceGroup": { + "$ref": "./examples/ListVirtualMachineTemplatesByResourceGroup.json" } }, - "consumes": [ - "application/json" - ], "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachine." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "in": "body", - "name": "body", - "description": "Virtualmachine stop action payload.", - "schema": { - "$ref": "#/definitions/StopVirtualMachineOptions" - } + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Success" - }, - "202": { - "description": "Accepted" + "description": "Lists all VirtualMachineTemplates under the resource group.", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplateListResult" + } }, "default": { "description": "Error response describing why the operation failed.", @@ -1337,46 +1305,38 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/start": { - "post": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates": { + "get": { "tags": [ - "VirtualMachines" + "VirtualMachineTemplates" ], - "operationId": "VirtualMachines_Start", - "description": "Start virtual machine.", - "summary": "Implements the operation to start a virtual machine.", + "operationId": "VirtualMachineTemplates_ListBySubscription", + "summary": "Implements GET VirtualMachineTemplates in a subscription.", + "description": "List of VirtualMachineTemplates in a subscription.", "x-ms-examples": { - "StartVirtualMachine": { - "$ref": "./examples/StartVirtualMachine.json" + "ListVirtualMachineTemplatesBySubscription": { + "$ref": "./examples/ListVirtualMachineTemplatesBySubscription.json" } }, "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachine." + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Success" - }, - "202": { - "description": "Accepted" + "description": "Lists all VirtualMachineTemplates under the subscription.", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplateListResult" + } }, "default": { "description": "Error response describing why the operation failed.", @@ -1385,46 +1345,48 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/restart": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetName}": { + "get": { "tags": [ - "VirtualMachines" + "AvailabilitySets" ], - "operationId": "VirtualMachines_Restart", - "description": "Restart virtual machine.", - "summary": "Implements the operation to restart a virtual machine.", + "operationId": "AvailabilitySets_Get", + "summary": "Gets an AvailabilitySet.", + "description": "Implements AvailabilitySet GET method.", "x-ms-examples": { - "RestartVirtualMachine": { - "$ref": "./examples/RestartVirtualMachine.json" + "GetAvailabilitySet": { + "$ref": "./examples/GetAvailabilitySet.json" } }, "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ResourceGroupNameParameter" }, { "in": "path", - "name": "virtualMachineName", + "name": "availabilitySetName", "required": true, "type": "string", - "description": "Name of the VirtualMachine." + "description": "Name of the AvailabilitySet." + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Success" - }, - "202": { - "description": "Accepted" + "description": "Retrieves the AvailabilitySet resource.", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } }, "default": { "description": "Error response describing why the operation failed.", @@ -1432,58 +1394,65 @@ "$ref": "#/definitions/ErrorResponse" } } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/createCheckpoint": { - "post": { + } + }, + "put": { "tags": [ - "VirtualMachines" + "AvailabilitySets" ], - "operationId": "VirtualMachines_CreateCheckpoint", - "description": "Creates a checkpoint in virtual machine.", - "summary": "Implements the operation to creates a checkpoint in a virtual machine.", + "operationId": "AvailabilitySets_CreateOrUpdate", + "description": "Onboards the ScVmm availability set as an Azure resource.", + "summary": "Implements AvailabilitySets PUT method.", "x-ms-examples": { - "CreateCheckpointVirtualMachine": { - "$ref": "./examples/CreateCheckpointVirtualMachine.json" + "CreateAvailabilitySet": { + "$ref": "./examples/CreateAvailabilitySet.json" } }, - "consumes": [ - "application/json" - ], "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ResourceGroupNameParameter" }, { "in": "path", - "name": "virtualMachineName", + "name": "availabilitySetName", "required": true, "type": "string", - "description": "Name of the VirtualMachine." + "description": "Name of the AvailabilitySet." + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, { - "in": "body", "name": "body", - "description": "Virtualmachine create checkpoint action payload.", + "description": "Request payload.", + "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/VirtualMachineCreateCheckpoint" + "$ref": "#/definitions/AvailabilitySet" } } ], "responses": { "200": { - "description": "Success" + "description": "Creates or Updates the AvailabilitySets resource.", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } }, - "202": { - "description": "Accepted" + "201": { + "description": "Creates or Updates the AvailabilitySets resource.", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + }, + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -1492,1255 +1461,60 @@ } } }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/deleteCheckpoint": { - "post": { + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { "tags": [ - "VirtualMachines" + "AvailabilitySets" ], - "operationId": "VirtualMachines_DeleteCheckpoint", - "description": "Deletes a checkpoint in virtual machine.", - "summary": "Implements the operation to delete a checkpoint in a virtual machine.", + "operationId": "AvailabilitySets_Delete", + "description": "Deregisters the ScVmm availability set from Azure.", + "summary": "Implements AvailabilitySet DELETE method.", "x-ms-examples": { - "DeleteCheckpointVirtualMachine": { - "$ref": "./examples/DeleteCheckpointVirtualMachine.json" + "DeleteAvailabilitySet": { + "$ref": "./examples/DeleteAvailabilitySet.json" } }, - "consumes": [ - "application/json" - ], "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ResourceGroupNameParameter" }, { "in": "path", - "name": "virtualMachineName", + "name": "availabilitySetName", "required": true, "type": "string", - "description": "Name of the VirtualMachine." + "description": "Name of the AvailabilitySet." }, { - "in": "body", - "name": "body", - "description": "Virtualmachine delete checkpoint action payload.", - "schema": { - "$ref": "#/definitions/VirtualMachineDeleteCheckpoint" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/restoreCheckpoint": { - "post": { - "tags": [ - "VirtualMachines" - ], - "operationId": "VirtualMachines_RestoreCheckpoint", - "description": "Restores to a checkpoint in virtual machine.", - "summary": "Implements the operation to restores to a checkpoint in a virtual machine.", - "x-ms-examples": { - "RestoreCheckpointVirtualMachine": { - "$ref": "./examples/RestoreCheckpointVirtualMachine.json" - } - }, - "consumes": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachine." - }, - { - "in": "body", - "name": "body", - "description": "Virtualmachine restore checkpoint action payload.", - "schema": { - "$ref": "#/definitions/VirtualMachineRestoreCheckpoint" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines": { - "get": { - "tags": [ - "VirtualMachines" - ], - "operationId": "VirtualMachines_ListByResourceGroup", - "summary": "Implements GET VirtualMachines in a resource group.", - "description": "List of VirtualMachines in a resource group.", - "x-ms-examples": { - "ListVirtualMachinesByResourceGroup": { - "$ref": "./examples/ListVirtualMachinesByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Lists all VirtualMachines under the resource group.", - "schema": { - "$ref": "#/definitions/VirtualMachineListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachines": { - "get": { - "tags": [ - "VirtualMachines" - ], - "operationId": "VirtualMachines_ListBySubscription", - "summary": "Implements GET VirtualMachines in a subscription.", - "description": "List of VirtualMachines in a subscription.", - "x-ms-examples": { - "ListVirtualMachinesBySubscription": { - "$ref": "./examples/ListVirtualMachinesBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Lists all VirtualMachines under the subscription.", - "schema": { - "$ref": "#/definitions/VirtualMachineListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates/{virtualMachineTemplateName}": { - "get": { - "tags": [ - "VirtualMachineTemplates" - ], - "operationId": "VirtualMachineTemplates_Get", - "summary": "Gets a VirtualMachineTemplate.", - "description": "Implements VirtualMachineTemplate GET method.", - "x-ms-examples": { - "GetVirtualMachineTemplate": { - "$ref": "./examples/GetVirtualMachineTemplate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualMachineTemplateName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachineTemplate." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Retrieves the VirtualMachineTemplates resource.", - "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "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" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualMachineTemplateName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachineTemplate." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "body", - "description": "Request payload.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } - } - ], - "responses": { - "200": { - "description": "Creates or Updates the VirtualMachineTemplates resource.", - "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } - }, - "201": { - "description": "Creates or Updates the VirtualMachineTemplates resource.", - "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/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": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualMachineTemplateName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachineTemplate." - }, - { - "$ref": "#/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": "boolean" - } - ], - "responses": { - "200": { - "description": "Deletes the VirtualMachineTemplates resource." - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "tags": [ - "VirtualMachineTemplates" - ], - "operationId": "VirtualMachineTemplates_Update", - "summary": "Implements the VirtualMachineTemplate PATCH method.", - "description": "Updates the VirtualMachineTemplate resource.", - "x-ms-examples": { - "UpdateVirtualMachineTemplate": { - "$ref": "./examples/UpdateVirtualMachineTemplate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "in": "path", - "name": "virtualMachineTemplateName", - "required": true, - "type": "string", - "description": "Name of the VirtualMachineTemplate." - }, - { - "name": "body", - "description": "VirtualMachineTemplates patch details.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ResourcePatch" - } - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates": { - "get": { - "tags": [ - "VirtualMachineTemplates" - ], - "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" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Lists all VirtualMachineTemplates under the resource group.", - "schema": { - "$ref": "#/definitions/VirtualMachineTemplateListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates": { - "get": { - "tags": [ - "VirtualMachineTemplates" - ], - "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" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Lists all VirtualMachineTemplates under the subscription.", - "schema": { - "$ref": "#/definitions/VirtualMachineTemplateListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetName}": { - "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": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "availabilitySetName", - "required": true, - "type": "string", - "description": "Name of the AvailabilitySet." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Retrieves the AvailabilitySet resource.", - "schema": { - "$ref": "#/definitions/AvailabilitySet" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "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" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "availabilitySetName", - "required": true, - "type": "string", - "description": "Name of the AvailabilitySet." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "body", - "description": "Request payload.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AvailabilitySet" - } - } - ], - "responses": { - "200": { - "description": "Creates or Updates the AvailabilitySets resource.", - "schema": { - "$ref": "#/definitions/AvailabilitySet" - } - }, - "201": { - "description": "Creates or Updates the AvailabilitySets resource.", - "schema": { - "$ref": "#/definitions/AvailabilitySet" - }, - "headers": { - "Azure-AsyncOperation": { - "description": "Tracking URL for long running operation.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "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" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "availabilitySetName", - "required": true, - "type": "string", - "description": "Name of the AvailabilitySet." - }, - { - "$ref": "#/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": "boolean" - } - ], - "responses": { - "200": { - "description": "Deletes the AvailabilitySets resource." - }, - "202": { - "description": "Accepted", - "headers": { - "Azure-AsyncOperation": { - "description": "Tracking URL for long running operation.", - "type": "string" - } - } - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AvailabilitySets" - ], - "operationId": "AvailabilitySets_Update", - "summary": "Implements the AvailabilitySets PATCH method.", - "description": "Updates the AvailabilitySets resource.", - "x-ms-examples": { - "UpdateAvailabilitySet": { - "$ref": "./examples/UpdateAvailabilitySet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "in": "path", - "name": "availabilitySetName", - "required": true, - "type": "string", - "description": "Name of the AvailabilitySet." - }, - { - "name": "body", - "description": "AvailabilitySets patch payload.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ResourcePatch" - } - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/AvailabilitySet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/AvailabilitySet" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets": { - "get": { - "tags": [ - "AvailabilitySets" - ], - "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" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Lists all AvailabilitySets under the resource group.", - "schema": { - "$ref": "#/definitions/AvailabilitySetListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets": { - "get": { - "tags": [ - "AvailabilitySets" - ], - "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" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Lists all AvailabilitySets under the subscription.", - "schema": { - "$ref": "#/definitions/AvailabilitySetListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}": { - "put": { - "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" - ], - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "vmmServerName", - "required": true, - "type": "string", - "description": "Name of the VMMServer." - }, - { - "in": "path", - "name": "inventoryItemName", - "required": true, - "type": "string", - "description": "Name of the inventoryItem." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Request payload.", - "schema": { - "$ref": "#/definitions/InventoryItem" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/InventoryItem" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/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" - } - }, - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "vmmServerName", - "required": true, - "type": "string", - "description": "Name of the VMMServer." - }, - { - "in": "path", - "name": "inventoryItemName", - "required": true, - "type": "string", - "description": "Name of the inventoryItem." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/InventoryItem" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/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" - } - }, - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "vmmServerName", - "required": true, - "type": "string", - "description": "Name of the VMMServer." - }, - { - "in": "path", - "name": "inventoryItemName", - "required": true, - "type": "string", - "description": "Name of the inventoryItem." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems": { - "get": { - "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" - ], - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "vmmServerName", - "required": true, - "type": "string", - "description": "Name of the VMMServer." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/InventoryItemsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/hybridIdentityMetadata/{metadataName}": { - "put": { - "tags": [ - "HybridIdentityMetadata" - ], - "operationId": "HybridIdentityMetadatas_Create", - "description": "Create Or Update HybridIdentityMetadata.", - "summary": "Implements HybridIdentityMetadata PUT method.", - "x-ms-examples": { - "CreateHybridIdentityMetadata": { - "$ref": "./examples/CreateHybridIdentityMetadata.json" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "Name of the vm." - }, - { - "in": "path", - "name": "metadataName", - "required": true, - "type": "string", - "description": "Name of the hybridIdentityMetadata." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Request payload.", - "schema": { - "$ref": "#/definitions/HybridIdentityMetadata" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/HybridIdentityMetadata" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "HybridIdentityMetadata" - ], - "operationId": "HybridIdentityMetadatas_Get", - "summary": "Gets HybridIdentityMetadata.", - "description": "Implements HybridIdentityMetadata GET method.", - "x-ms-examples": { - "GetHybridIdentityMetadata": { - "$ref": "./examples/GetHybridIdentityMetadata.json" - } - }, - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "Name of the vm." - }, - { - "in": "path", - "name": "metadataName", - "required": true, - "type": "string", - "description": "Name of the HybridIdentityMetadata." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/HybridIdentityMetadata" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "HybridIdentityMetadata" - ], - "operationId": "HybridIdentityMetadatas_Delete", - "summary": "Deletes an HybridIdentityMetadata.", - "description": "Implements HybridIdentityMetadata DELETE method.", - "x-ms-examples": { - "DeleteHybridIdentityMetadata": { - "$ref": "./examples/DeleteHybridIdentityMetadata.json" - } - }, - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "Name of the vm." - }, - { - "in": "path", - "name": "metadataName", - "required": true, - "type": "string", - "description": "Name of the HybridIdentityMetadata." + "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/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": "boolean" } ], "responses": { "200": { - "description": "Success" + "description": "Deletes the AvailabilitySets resource." + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } }, "204": { "description": "No Content" @@ -2751,116 +1525,64 @@ "$ref": "#/definitions/ErrorResponse" } } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/hybridIdentityMetadata": { - "get": { + }, + "x-ms-long-running-operation": true + }, + "patch": { "tags": [ - "HybridIdentityMetadata" + "AvailabilitySets" ], - "operationId": "HybridIdentityMetadatas_ListByVm", - "summary": "Implements GET HybridIdentityMetadata in a vm.", - "description": "Returns the list of HybridIdentityMetadata of the given vm.", + "operationId": "AvailabilitySets_Update", + "summary": "Implements the AvailabilitySets PATCH method.", + "description": "Updates the AvailabilitySets resource.", "x-ms-examples": { - "HybridIdentityMetadataListByVm": { - "$ref": "./examples/HybridIdentityMetadata_ListByVm.json" + "UpdateAvailabilitySet": { + "$ref": "./examples/UpdateAvailabilitySet.json" } }, - "produces": [ - "application/json" - ], "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, { "$ref": "#/parameters/ResourceGroupNameParameter" }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "Name of the vm." - }, { "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/HybridIdentityMetadataList" - } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/extensions/{extensionName}": { - "put": { - "tags": [ - "MachineExtensions" - ], - "operationId": "MachineExtensions_CreateOrUpdate", - "description": "The operation to create or update the extension.", - "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "The name of the machine where the extension should be created or updated." - }, - { - "name": "extensionName", "in": "path", + "name": "availabilitySetName", "required": true, "type": "string", - "description": "The name of the machine extension." + "description": "Name of the AvailabilitySet." }, { - "name": "extensionParameters", + "name": "body", + "description": "AvailabilitySets patch payload.", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/MachineExtension" - }, - "description": "Parameters supplied to the Create Machine Extension operation." + "$ref": "#/definitions/ResourcePatch" + } } ], "responses": { "200": { - "description": "OK", + "description": "Successful.", "schema": { - "$ref": "#/definitions/MachineExtension" + "$ref": "#/definitions/AvailabilitySet" } }, "201": { - "description": "HTTP 201 (Created) if the operation was successfully started and will complete asynchronously.", + "description": "Created", "schema": { - "$ref": "#/definitions/MachineExtension" + "$ref": "#/definitions/AvailabilitySet" } }, + "202": { + "description": "Accepted" + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -2868,147 +1590,25 @@ } } }, - "x-ms-examples": { - "Create or Update a Machine Extension (PUT)": { - "$ref": "./examples/PUTExtension.json" - } - }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets": { + "get": { "tags": [ - "MachineExtensions" - ], - "operationId": "MachineExtensions_Update", - "description": "The operation to update the extension.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "The name of the machine where the extension should be created or updated." - }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the machine extension." - }, - { - "name": "extensionParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/MachineExtensionUpdate" - }, - "description": "Parameters supplied to the Create Machine Extension operation." - } + "AvailabilitySets" ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MachineExtension" - } - }, - "202": { - "description": "Accepted", - "headers": { - "Azure-AsyncOperation": { - "description": "Tracking URL for long running operation.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, + "operationId": "AvailabilitySets_ListByResourceGroup", + "summary": "Implements GET AvailabilitySets in a resource group.", + "description": "List of AvailabilitySets in a resource group.", "x-ms-examples": { - "Create or Update a Machine Extension (PATCH)": { - "$ref": "./examples/UpdateExtension.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "MachineExtensions" - ], - "operationId": "MachineExtensions_Delete", - "description": "The operation to delete the extension.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "The name of the machine where the extension should be created or updated." - }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the machine extension." - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } + "ListAvailabilitySetsByResourceGroup": { + "$ref": "./examples/ListAvailabilitySetsByResourceGroup.json" } }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete a Machine Extension": { - "$ref": "./examples/DeleteExtension.json" - } - } - }, - "get": { - "tags": [ - "MachineExtensions" - ], - "operationId": "MachineExtensions_Get", - "description": "The operation to get the extension.", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -3018,27 +1618,13 @@ }, { "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "The name of the machine where the extension should be created or updated." - }, - { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the machine extension." } ], "responses": { "200": { - "description": "OK", + "description": "Lists all AvailabilitySets under the resource group.", "schema": { - "$ref": "#/definitions/MachineExtension" + "$ref": "#/definitions/AvailabilitySetListResult" } }, "default": { @@ -3048,50 +1634,37 @@ } } }, - "x-ms-examples": { - "Get Machine Extension": { - "$ref": "./examples/GETExtension.json" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/extensions": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets": { "get": { "tags": [ - "MachineExtensions" + "AvailabilitySets" ], - "operationId": "MachineExtensions_List", - "description": "The operation to get all extensions of a non-Azure machine", + "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" + } + }, "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "path", - "name": "virtualMachineName", - "required": true, - "type": "string", - "description": "The name of the machine where the extension should be created or updated." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "The expand expression to apply on the operation." + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK", + "description": "Lists all AvailabilitySets under the subscription.", "schema": { - "$ref": "#/definitions/MachineExtensionsListResult" + "$ref": "#/definitions/AvailabilitySetListResult" } }, "default": { @@ -3103,25 +1676,20 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get all Machine Extensions": { - "$ref": "./examples/ListExtension.json" - } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents/{guestAgentName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}": { "put": { "tags": [ - "GuestAgents" + "InventoryItems" ], - "operationId": "GuestAgents_Create", - "description": "Create Or Update GuestAgent.", - "summary": "Implements GuestAgent PUT method.", + "operationId": "InventoryItems_Create", + "summary": "Implements InventoryItem PUT method.", + "description": "Create Or Update InventoryItem.", "x-ms-examples": { - "CreateGuestAgent": { - "$ref": "./examples/CreateGuestAgent.json" + "CreateInventoryItem": { + "$ref": "./examples/CreateInventoryItem.json" } }, "consumes": [ @@ -3139,17 +1707,17 @@ }, { "in": "path", - "name": "virtualMachineName", + "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the vm." + "description": "Name of the VMMServer." }, { "in": "path", - "name": "guestAgentName", + "name": "inventoryItemName", "required": true, "type": "string", - "description": "Name of the guestAgents." + "description": "Name of the inventoryItem." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -3159,7 +1727,7 @@ "name": "body", "description": "Request payload.", "schema": { - "$ref": "#/definitions/GuestAgent" + "$ref": "#/definitions/InventoryItem" } } ], @@ -3167,13 +1735,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/GuestAgent" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/GuestAgent" + "$ref": "#/definitions/InventoryItem" } }, "default": { @@ -3182,22 +1744,18 @@ "$ref": "#/definitions/ErrorResponse" } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" } }, "get": { "tags": [ - "GuestAgents" + "InventoryItems" ], - "operationId": "GuestAgents_Get", - "summary": "Gets GuestAgent.", - "description": "Implements GuestAgent GET method.", + "operationId": "InventoryItems_Get", + "summary": "Implements GET InventoryItem method.", + "description": "Shows an inventory item.", "x-ms-examples": { - "GetGuestAgent": { - "$ref": "./examples/GetGuestAgent.json" + "GetInventoryItem": { + "$ref": "./examples/GetInventoryItem.json" } }, "produces": [ @@ -3212,17 +1770,17 @@ }, { "in": "path", - "name": "virtualMachineName", + "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the vm." + "description": "Name of the VMMServer." }, { "in": "path", - "name": "guestAgentName", + "name": "inventoryItemName", "required": true, "type": "string", - "description": "Name of the GuestAgent." + "description": "Name of the inventoryItem." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -3232,7 +1790,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/GuestAgent" + "$ref": "#/definitions/InventoryItem" } }, "default": { @@ -3245,14 +1803,14 @@ }, "delete": { "tags": [ - "GuestAgents" + "InventoryItems" ], - "operationId": "GuestAgents_Delete", - "summary": "Deletes an GuestAgent.", - "description": "Implements GuestAgent DELETE method.", + "operationId": "InventoryItems_Delete", + "summary": "Implements inventoryItem DELETE method.", + "description": "Deletes an inventoryItem.", "x-ms-examples": { - "DeleteGuestAgent": { - "$ref": "./examples/DeleteGuestAgent.json" + "DeleteInventoryItem": { + "$ref": "./examples/DeleteInventoryItem.json" } }, "produces": [ @@ -3267,17 +1825,17 @@ }, { "in": "path", - "name": "virtualMachineName", + "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the vm." + "description": "Name of the VMMServer." }, { "in": "path", - "name": "guestAgentName", + "name": "inventoryItemName", "required": true, "type": "string", - "description": "Name of the GuestAgent." + "description": "Name of the inventoryItem." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -3287,9 +1845,6 @@ "200": { "description": "Success" }, - "202": { - "description": "Accepted" - }, "204": { "description": "No Content" }, @@ -3299,21 +1854,20 @@ "$ref": "#/definitions/ErrorResponse" } } - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/guestAgents": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems": { "get": { "tags": [ - "GuestAgents" + "InventoryItems" ], - "operationId": "GuestAgents_ListByVm", - "summary": "Implements GET GuestAgent in a vm.", - "description": "Returns the list of GuestAgent of the given vm.", + "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": { - "GuestAgentListByVm": { - "$ref": "./examples/GuestAgent_ListByVm.json" + "InventoryItemsListByVMMServer": { + "$ref": "./examples/ListInventoryItemsByVMMServer.json" } }, "produces": [ @@ -3328,10 +1882,10 @@ }, { "in": "path", - "name": "virtualMachineName", + "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the vm." + "description": "Name of the VMMServer." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -3341,7 +1895,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/GuestAgentList" + "$ref": "#/definitions/InventoryItemsList" } }, "default": { @@ -4704,96 +3258,6 @@ }, "description": "Specifies the vmmServer infrastructure specific settings for the virtual machine instance." }, - "VirtualMachineProperties": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "inventoryItemId": { - "description": "Gets or sets the inventory Item ID for the resource.", - "type": "string" - }, - "vmmServerId": { - "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides." - }, - "cloudId": { - "type": "string", - "description": "ARM Id of the cloud resource to use for deploying the vm." - }, - "templateId": { - "type": "string", - "description": "ARM Id of the template resource to use for deploying the vm." - }, - "checkpointType": { - "type": "string", - "description": "Type of checkpoint supported for the vm." - }, - "lastRestoredVMCheckpoint": { - "description": "Last restored checkpoint in the vm.", - "$ref": "#/definitions/Checkpoint", - "readOnly": true - }, - "checkpoints": { - "description": "Checkpoints in the vm.", - "type": "array", - "items": { - "description": "Checkpoint properties", - "$ref": "#/definitions/Checkpoint", - "readOnly": true - }, - "x-ms-identifiers": [ - "checkpointID" - ] - }, - "availabilitySets": { - "$ref": "#/definitions/AvailabilitySetList" - }, - "osProfile": { - "description": "OS properties.", - "$ref": "#/definitions/OsProfile" - }, - "hardwareProfile": { - "description": "Hardware properties.", - "$ref": "#/definitions/HardwareProfile" - }, - "networkProfile": { - "description": "Network properties.", - "$ref": "#/definitions/NetworkProfile" - }, - "storageProfile": { - "description": "Storage properties.", - "$ref": "#/definitions/StorageProfile" - }, - "vmName": { - "type": "string", - "description": "VMName is the name of VM on the SCVMM server.", - "minLength": 1 - }, - "uuid": { - "type": "string", - "description": "Unique ID of the virtual machine." - }, - "generation": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the generation for the vm." - }, - "powerState": { - "description": "Gets the power state of the virtual machine.", - "type": "string", - "readOnly": true - }, - "guestAgentProfile": { - "description": "Guest agent status properties.", - "$ref": "#/definitions/GuestAgentProfile" - }, - "provisioningState": { - "description": "Gets or sets the provisioning state.", - "type": "string", - "readOnly": true - } - } - }, "VirtualMachineInstanceProperties": { "description": "Defines the resource properties.", "type": "object", @@ -4847,35 +3311,6 @@ "type": "string", "readOnly": true }, - "OsProfile": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "adminPassword": { - "description": "Admin password of the virtual machine.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - }, - "computerName": { - "description": "Gets or sets computer name.", - "type": "string" - }, - "osType": { - "description": "Gets or sets the type of the os.", - "$ref": "#/definitions/OsType", - "readOnly": true - }, - "osName": { - "description": "Gets or sets os name.", - "type": "string", - "readOnly": true - } - } - }, "OsProfileForVMInstance": { "description": "Defines the resource properties.", "type": "object", @@ -5404,70 +3839,11 @@ "description": "Defines the restore checkpoint action properties.", "type": "object", "properties": { - "id": { - "description": "ID of the checkpoint to be restored to.", - "type": "string" - } - } - }, - "VirtualMachine": { - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/VirtualMachineProperties" - }, - "id": { - "type": "string", - "readOnly": true, - "description": "Resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Resource Name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource Type" - }, - "location": { - "description": "Gets or sets the location.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", - "description": "The system data." - }, - "extendedLocation": { - "$ref": "#/definitions/ExtendedLocation", - "description": "The extended location." - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - } - }, - "required": [ - "location", - "properties", - "extendedLocation" - ], - "description": "The VirtualMachines resource definition." + "id": { + "description": "ID of the checkpoint to be restored to.", + "type": "string" + } + } }, "VirtualMachineInstance": { "description": "Define the virtualMachineInstance.", @@ -5495,23 +3871,6 @@ } } }, - "VirtualMachineListResult": { - "type": "object", - "description": "List of VirtualMachines.", - "properties": { - "value": { - "type": "array", - "description": "List of VirtualMachines.", - "items": { - "$ref": "#/definitions/VirtualMachine" - } - }, - "nextLink": { - "type": "string", - "description": "Url to follow for getting next page of resources." - } - } - }, "VirtualMachineInstanceListResult": { "type": "object", "description": "List of VirtualMachineInstances.", @@ -5535,28 +3894,6 @@ }, "description": "Specifies the vmmServer infrastructure specific settings for the virtual machine instance for update." }, - "VirtualMachineUpdateProperties": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "hardwareProfile": { - "$ref": "#/definitions/HardwareProfileUpdate" - }, - "storageProfile": { - "$ref": "#/definitions/StorageProfileUpdate" - }, - "networkProfile": { - "$ref": "#/definitions/NetworkProfileUpdate" - }, - "availabilitySets": { - "$ref": "#/definitions/AvailabilitySetList" - }, - "checkpointType": { - "type": "string", - "description": "Type of checkpoint supported for the vm." - } - } - }, "VirtualMachineInstanceUpdateProperties": { "description": "Defines the resource properties.", "type": "object", @@ -5579,26 +3916,6 @@ } } }, - "VirtualMachineUpdate": { - "description": "Defines the virtualMachineUpdate.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualMachineUpdateProperties" - }, - "tags": { - "description": "Gets or sets the Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - } - } - }, "VirtualMachineInstanceUpdate": { "description": "Defines the virtualMachineInstanceUpdate.", "type": "object", @@ -6035,120 +4352,6 @@ }, "x-ms-discriminator-value": "VirtualMachine" }, - "GuestAgentProfile": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "vmUuid": { - "readOnly": true, - "type": "string", - "description": "Specifies the VM's unique SMBIOS ID." - }, - "status": { - "readOnly": true, - "type": "string", - "description": "The status of the hybrid machine agent.", - "enum": [ - "Connected", - "Disconnected", - "Error" - ], - "x-ms-enum": { - "name": "StatusTypes", - "modelAsString": true - } - }, - "lastStatusChange": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The time of the last status change." - }, - "clientPublicKey": { - "description": "Gets or sets the Public Key provided by the client for enabling guest management.", - "type": "string" - }, - "agentVersion": { - "readOnly": true, - "type": "string", - "description": "The hybrid machine agent full version." - }, - "errorDetails": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorDetail" - }, - "description": "Details about the error state.", - "x-ms-identifiers": [] - } - } - }, - "HybridIdentityMetadataList": { - "description": "List of HybridIdentityMetadata.", - "type": "object", - "properties": { - "nextLink": { - "description": "Url to follow for getting next page of HybridIdentityMetadata.", - "type": "string" - }, - "value": { - "description": "Array of HybridIdentityMetadata", - "type": "array", - "items": { - "$ref": "#/definitions/HybridIdentityMetadata" - } - } - }, - "required": [ - "value" - ] - }, - "HybridIdentityMetadata": { - "description": "Defines the HybridIdentityMetadata.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/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/HybridIdentityMetadataProperties" - } - }, - "x-ms-azure-resource": true - }, - "HybridIdentityMetadataProperties": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "resourceUid": { - "description": "Gets or sets the Vm Id.", - "type": "string" - }, - "publicKey": { - "description": "Gets or sets the Public Key.", - "type": "string" - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource.", - "readOnly": true - }, - "provisioningState": { - "description": "Gets or sets the provisioning state.", - "type": "string", - "readOnly": true - } - } - }, "VmInstanceHybridIdentityMetadataList": { "description": "List of HybridIdentityMetadata.", "type": "object", @@ -6241,209 +4444,6 @@ }, "description": "Managed service identity." }, - "MachineExtension": { - "x-ms-azure-resource": true, - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/MachineExtensionProperties", - "description": "Describes Machine Extension Properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "description": "Describes a Machine Extension." - }, - "MachineExtensionUpdate": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/MachineExtensionUpdateProperties", - "description": "Describes Machine Extension Update Properties." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ResourcePatch" - } - ], - "description": "Describes a Machine Extension Update." - }, - "MachineExtensionProperties": { - "type": "object", - "properties": { - "forceUpdateTag": { - "type": "string", - "description": "How the extension handler should be forced to update even if the extension configuration has not changed." - }, - "publisher": { - "type": "string", - "description": "The name of the extension handler publisher." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - }, - "enableAutomaticUpgrade": { - "type": "boolean", - "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." - }, - "autoUpgradeMinorVersion": { - "type": "boolean", - "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." - }, - "settings": { - "type": "object", - "description": "Json formatted public settings for the extension." - }, - "protectedSettings": { - "type": "object", - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.", - "x-ms-secret": true - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The provisioning state, which only appears in the response." - }, - "instanceView": { - "allOf": [ - { - "$ref": "#/definitions/MachineExtensionInstanceView" - } - ], - "description": "The machine extension instance view." - } - }, - "description": "Describes the properties of a Machine Extension." - }, - "MachineExtensionUpdateProperties": { - "type": "object", - "properties": { - "forceUpdateTag": { - "type": "string", - "description": "How the extension handler should be forced to update even if the extension configuration has not changed." - }, - "publisher": { - "type": "string", - "description": "The name of the extension handler publisher." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - }, - "enableAutomaticUpgrade": { - "type": "boolean", - "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." - }, - "autoUpgradeMinorVersion": { - "type": "boolean", - "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." - }, - "settings": { - "type": "object", - "description": "Json formatted public settings for the extension." - }, - "protectedSettings": { - "type": "object", - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.", - "x-ms-secret": true - } - }, - "description": "Describes the properties of a Machine Extension." - }, - "MachineExtensionInstanceView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "readOnly": true, - "description": "The machine extension name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "readOnly": true, - "description": "Specifies the version of the script handler." - }, - "status": { - "type": "object", - "properties": { - "code": { - "type": "string", - "readOnly": true, - "description": "The status code." - }, - "level": { - "type": "string", - "readOnly": true, - "description": "The level code.", - "enum": [ - "Info", - "Warning", - "Error" - ], - "x-ms-enum": { - "name": "StatusLevelTypes", - "modelAsString": true - } - }, - "displayStatus": { - "type": "string", - "readOnly": true, - "description": "The short localizable label for the status." - }, - "message": { - "type": "string", - "readOnly": true, - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "readOnly": true, - "format": "date-time", - "description": "The time of the status." - } - }, - "description": "Instance view status." - } - }, - "description": "Describes the Machine Extension Instance View." - }, - "MachineExtensionsListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/MachineExtension" - }, - "description": "The list of extensions" - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions." - } - }, - "description": "Describes the Machine Extensions List Result." - }, "ProvisioningAction": { "description": "Defines the different types of operations for guest agent.", "enum": [ From f60ac8504b22468636036bec2e948c204e762ba3 Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Fri, 6 Oct 2023 15:48:59 +0530 Subject: [PATCH 05/14] Removed VM examples --- .../CreateCheckpointVirtualMachine.json | 20 -- .../2023-10-07/examples/CreateGuestAgent.json | 47 ---- .../CreateHybridIdentityMetadata.json | 33 --- .../examples/CreateVirtualMachine.json | 78 ------- .../DeleteCheckpointVirtualMachine.json | 19 -- .../2023-10-07/examples/DeleteExtension.json | 18 -- .../2023-10-07/examples/DeleteGuestAgent.json | 18 -- .../DeleteHybridIdentityMetadata.json | 13 -- .../examples/DeleteVirtualMachine.json | 17 -- .../2023-10-07/examples/GETExtension.json | 39 ---- .../2023-10-07/examples/GetGuestAgent.json | 23 -- .../examples/GetHybridIdentityMetadata.json | 27 --- .../examples/GetVirtualMachine.json | 36 --- .../examples/GuestAgent_ListByVm.json | 26 --- .../HybridIdentityMetadata_ListByVm.json | 30 --- .../2023-10-07/examples/ListExtension.json | 64 ------ .../ListVirtualMachinesByResourceGroup.json | 39 ---- .../ListVirtualMachinesBySubscription.json | 38 ---- .../2023-10-07/examples/PUTExtension.json | 71 ------ .../examples/RestartVirtualMachine.json | 16 -- .../RestoreCheckpointVirtualMachine.json | 19 -- .../examples/StartVirtualMachine.json | 16 -- .../examples/StopVirtualMachine.json | 19 -- .../2023-10-07/examples/UpdateExtension.json | 53 ----- .../examples/UpdateVirtualMachine.json | 211 ------------------ 25 files changed, 990 deletions(-) delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json delete mode 100644 specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json deleted file mode 100644 index eb577fcbbe74..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachine.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM", - "body": { - "name": "Demo Checkpoint name", - "description": "Demo Checkpoint description" - } - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json deleted file mode 100644 index 5abcf3e85623..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateGuestAgent.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "ContosoVm", - "guestAgentName": "default", - "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.ScVmm/VirtualMachines/ContosoVm/guestAgents/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachines/guestAgents", - "properties": { - "provisioningAction": "install", - "status": "connected", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/guestAgents/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachines/guestAgents", - "properties": { - "provisioningAction": "install", - "status": "connected", - "provisioningState": "Created" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json deleted file mode 100644 index 23737b08f69f..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateHybridIdentityMetadata.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "ContosoVm", - "metadataName": "default", - "body": { - "properties": { - "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", - "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/hybridIdentityMetadatas/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachines/hybridIdentityMetadatas", - "properties": { - "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", - "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", - "identity": { - "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", - "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", - "type": "SystemAssigned" - } - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json deleted file mode 100644 index 8ffc64e92fd5..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachine.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM", - "body": { - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "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": 4096, - "cpuCount": 4 - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", - "name": "DemoVM", - "type": "Microsoft.SCVMM/VirtualMachines", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "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": 4096, - "cpuCount": 4 - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows" - }, - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", - "name": "DemoVM", - "type": "Microsoft.SCVMM/VirtualMachines", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "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": 4096, - "cpuCount": 4 - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows" - }, - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json deleted file mode 100644 index 614b839b6112..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachine.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM", - "body": { - "id": "Demo CheckpointID" - } - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json deleted file mode 100644 index 07ccbe5755ac..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteExtension.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscriptionId}", - "resourceGroupName": "myResourceGroup", - "virtualMachineName": "myMachine", - "extensionName": "MMA", - "api-version": "2023-10-07" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json deleted file mode 100644 index 519a111ae382..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteGuestAgent.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "ContosoVm", - "guestAgentName": "default" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json deleted file mode 100644 index 79929caa0d7b..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteHybridIdentityMetadata.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "ContosoVm", - "metadataName": "default" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json deleted file mode 100644 index f535ad8223cd..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachine.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json deleted file mode 100644 index 5f95c822deb4..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GETExtension.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscriptionId}", - "resourceGroupName": "myResourceGroup", - "virtualMachineName": "myMachine", - "extensionName": "CustomScriptExtension", - "api-version": "2023-10-07" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", - "name": "CustomScriptExtension", - "type": "Microsoft.ScVmm/VirtualMachines/extensions", - "location": "eastus2euap", - "properties": { - "publisher": "Microsoft.Compute", - "type": "string", - "typeHandlerVersion": "1.10.3", - "autoUpgradeMinorVersion": false, - "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}", - "provisioningState": "Succeeded", - "instanceView": { - "name": "CustomScriptExtension", - "type": "CustomScriptExtension", - "typeHandlerVersion": "1.10.3", - "status": { - "code": "success", - "level": "Information", - "displayStatus": "Provisioning succeeded", - "message": "Finished executing command, StdOut: , StdErr:", - "time": "2019-08-08T20:42:10.999Z" - } - } - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json deleted file mode 100644 index dea6b90533d3..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetGuestAgent.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "ContosoVm", - "guestAgentName": "default" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/guestAgents/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachines/guestAgents", - "properties": { - "provisioningAction": "install", - "status": "connected", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json deleted file mode 100644 index 279e296c3db5..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetHybridIdentityMetadata.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "ContosoVm", - "metadataName": "default" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/hybridIdentityMetadatas/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachines/hybridIdentityMetadatas", - "properties": { - "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", - "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", - "identity": { - "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", - "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", - "type": "SystemAssigned" - } - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json deleted file mode 100644 index ad30bba6b3e8..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachine.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", - "name": "DemoVM", - "type": "Microsoft.SCVMM/VirtualMachines", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "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": 4096, - "cpuCount": 4 - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows" - }, - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json deleted file mode 100644 index 96457cff2c5f..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgent_ListByVm.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "ContosoVm" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/guestAgents/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachines/guestAgents", - "properties": { - "provisioningAction": "install", - "status": "connected", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json deleted file mode 100644 index 5b974ea38bd6..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/HybridIdentityMetadata_ListByVm.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "ContosoVm" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ScVmm/VirtualMachines/ContosoVm/hybridIdentityMetadatas/default", - "name": "default", - "type": "Microsoft.ScVmm/VirtualMachines/hybridIdentityMetadatas", - "properties": { - "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", - "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", - "identity": { - "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", - "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", - "type": "SystemAssigned" - } - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json deleted file mode 100644 index dc667b7cd550..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListExtension.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscriptionId}", - "resourceGroupName": "myResourceGroup", - "virtualMachineName": "myMachine", - "api-version": "2023-10-07" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", - "name": "CustomScriptExtension", - "location": "eastus2euap", - "type": "Microsoft.ScVmm/VirtualMachines/extensions", - "properties": { - "publisher": "Microsoft.Compute", - "type": "CustomScriptExtension", - "typeHandlerVersion": "1.10.3", - "autoUpgradeMinorVersion": false, - "settings": { - "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" - }, - "provisioningState": "Succeeded", - "instanceView": { - "name": "CustomScriptExtension", - "type": "CustomScriptExtension", - "typeHandlerVersion": "1.10.3", - "status": { - "code": "success", - "level": "Information", - "displayStatus": "Provisioning succeeded", - "message": "formattedMessage: Finished executing command, StdOut: , StdErr: ", - "time": "2020-08-13T17:18:57.405Z" - } - } - } - }, - { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/winosupdateextension", - "name": "winosupdateextension", - "location": "eastus2euap", - "type": "Microsoft.ScVmm/VirtualMachines/extensions", - "properties": { - "publisher": "microsoft.softwareupdatemanagement.test", - "type": "windowsosupdateextension", - "typeHandlerVersion": "1.0.0.0", - "autoUpgradeMinorVersion": false, - "settings": {}, - "provisioningState": "Creating", - "instanceView": { - "name": "winosupdateextension", - "type": "windowsosupdateextension", - "typeHandlerVersion": "1.0.0.0", - "status": {} - } - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json deleted file mode 100644 index d31a1f4401c5..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesByResourceGroup.json +++ /dev/null @@ -1,39 +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/VirtualMachines/DemoVM", - "name": "DemoVM", - "type": "Microsoft.SCVMM/VirtualMachines", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "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": 4096, - "cpuCount": 4 - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows" - }, - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json deleted file mode 100644 index b2c047fa3fd2..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachinesBySubscription.json +++ /dev/null @@ -1,38 +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/VirtualMachines/DemoVM", - "name": "DemoVM", - "type": "Microsoft.SCVMM/VirtualMachines", - "location": "East US", - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "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": 4096, - "cpuCount": 4 - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows" - }, - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json deleted file mode 100644 index a648ec24fc97..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/PUTExtension.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscriptionId}", - "resourceGroupName": "myResourceGroup", - "virtualMachineName": "myMachine", - "extensionName": "CustomScriptExtension", - "api-version": "2023-10-07", - "extensionParameters": { - "location": "eastus2euap", - "properties": { - "publisher": "Microsoft.Compute", - "typeHandlerVersion": "1.10", - "type": "CustomScriptExtension", - "settings": { - "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", - "name": "CustomScriptExtension", - "type": "Microsoft.ScVmm/VirtualMachines/extensions", - "location": "eastus2euap", - "properties": { - "publisher": "Microsoft.Compute", - "type": "string", - "typeHandlerVersion": "1.10.3", - "autoUpgradeMinorVersion": false, - "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}", - "provisioningState": "Succeeded", - "instanceView": { - "name": "CustomScriptExtension", - "type": "CustomScriptExtension", - "typeHandlerVersion": "1.10.3", - "status": { - "code": "success", - "level": "Information", - "message": "Finished executing command, StdOut: , StdErr:", - "time": "2020-08-08T20:42:10.999Z" - } - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", - "name": "CustomScriptExtension", - "type": "Microsoft.ScVmm/VirtualMachines/extensions", - "location": "eastus2euap", - "properties": { - "publisher": "Microsoft.Compute", - "type": "string", - "typeHandlerVersion": "1.10.3", - "autoUpgradeMinorVersion": false, - "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}", - "provisioningState": "Created", - "instanceView": { - "name": "CustomScriptExtension", - "type": "CustomScriptExtension", - "typeHandlerVersion": "1.10.3", - "status": {} - } - } - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json deleted file mode 100644 index 4ca6a21e38b2..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachine.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json deleted file mode 100644 index 614b839b6112..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachine.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM", - "body": { - "id": "Demo CheckpointID" - } - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json deleted file mode 100644 index 4ca6a21e38b2..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachine.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json deleted file mode 100644 index 593cfe9ac17f..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachine.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM", - "body": { - "skipShutdown": true - } - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json deleted file mode 100644 index 4ba4fe544557..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateExtension.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscriptionId}", - "resourceGroupName": "myResourceGroup", - "virtualMachineName": "myMachine", - "extensionName": "CustomScriptExtension", - "api-version": "2023-10-07", - "extensionParameters": { - "properties": { - "publisher": "Microsoft.Compute", - "typeHandlerVersion": "1.10", - "type": "CustomScriptExtension", - "settings": { - "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", - "name": "CustomScriptExtension", - "type": "Microsoft.ScVmm/VirtualMachines/extensions", - "location": "eastus2euap", - "properties": { - "publisher": "Microsoft.Compute", - "type": "string", - "typeHandlerVersion": "1.10.3", - "autoUpgradeMinorVersion": false, - "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"}", - "provisioningState": "Succeeded", - "instanceView": { - "name": "CustomScriptExtension", - "type": "CustomScriptExtension", - "typeHandlerVersion": "1.10.3", - "status": { - "code": "success", - "level": "Information", - "message": "Finished executing command, StdOut: , StdErr:", - "time": "2020-01-08T20:42:10.999Z" - } - } - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json deleted file mode 100644 index e0561aca5851..000000000000 --- a/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachine.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-07", - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "testrg", - "virtualMachineName": "DemoVM", - "body": { - "properties": { - "hardwareProfile": { - "memoryMB": 4096, - "cpuCount": 4 - }, - "storageProfile": { - "disks": [ - { - "name": "test", - "diskSizeGB": 10 - } - ] - }, - "networkProfile": { - "networkInterfaces": [ - { - "name": "test", - "ipv4AddressType": "Dynamic", - "ipv6AddressType": "Dynamic", - "macAddressType": "Static" - } - ] - } - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", - "name": "DemoVM", - "type": "Microsoft.SCVMM/VirtualMachines", - "location": "East US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "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": 4096, - "cpuCount": 4, - "dynamicMemoryEnabled": "false", - "dynamicMemoryMaxMB": 0, - "dynamicMemoryMinMB": 0, - "isHighlyAvailable": "string" - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows", - "osName": "string" - }, - "networkProfile": { - "networkInterfaces": [ - { - "name": "test", - "ipv4Addresses": [ - "string" - ], - "ipv6Addresses": [ - "string" - ], - "macAddress": "string", - "virtualNetworkId": "string", - "displayName": "string", - "networkName": "string", - "ipv4AddressType": "Dynamic", - "ipv6AddressType": "Dynamic", - "macAddressType": "Static", - "nicId": "string" - } - ] - }, - "storageProfile": { - "disks": [ - { - "name": "test", - "diskId": "string", - "diskSizeGB": 10, - "maxDiskSizeGB": 10, - "displayName": "string", - "bus": 0, - "lun": 0, - "busType": "string", - "vhdType": "string", - "volumeType": "string", - "vhdFormatType": "string", - "templateDiskId": "string", - "storageQoSPolicy": { - "name": "string", - "id": "string" - }, - "createDiffDisk": "false" - } - ] - }, - "vmName": "string", - "uuid": "string", - "generation": 0, - "powerState": "string", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VirtualMachines/DemoVM", - "name": "DemoVM", - "type": "Microsoft.SCVMM/VirtualMachines", - "location": "East US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "extendedLocation": { - "type": "customLocation", - "name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso" - }, - "properties": { - "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": 4096, - "cpuCount": 4, - "dynamicMemoryEnabled": "false", - "dynamicMemoryMaxMB": 0, - "dynamicMemoryMinMB": 0, - "isHighlyAvailable": "string" - }, - "osProfile": { - "computerName": "DemoVM", - "osType": "Windows", - "osName": "string" - }, - "networkProfile": { - "networkInterfaces": [ - { - "name": "test", - "ipv4Addresses": [ - "string" - ], - "ipv6Addresses": [ - "string" - ], - "macAddress": "string", - "virtualNetworkId": "string", - "displayName": "string", - "networkName": "string", - "ipv4AddressType": "Dynamic", - "ipv6AddressType": "Dynamic", - "macAddressType": "Static", - "nicId": "string" - } - ] - }, - "storageProfile": { - "disks": [ - { - "name": "test", - "diskId": "string", - "diskSizeGB": 10, - "maxDiskSizeGB": 10, - "displayName": "string", - "bus": 0, - "lun": 0, - "busType": "string", - "vhdType": "string", - "volumeType": "string", - "vhdFormatType": "string", - "templateDiskId": "string", - "storageQoSPolicy": { - "name": "string", - "id": "string" - }, - "createDiffDisk": "false" - } - ] - }, - "vmName": "string", - "uuid": "string", - "generation": 0, - "powerState": "string", - "provisioningState": "Created" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} From 182c18d71a9c7cfd0eef2c2cbdfdb99fa63f647c Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Mon, 9 Oct 2023 01:01:26 +0530 Subject: [PATCH 06/14] Updated Examples --- .../2023-10-07/examples/CreateCloud.json | 24 +++++++++++++++---- .../CreateVirtualMachineInstance.json | 15 ++++++++---- .../CreateVirtualMachineTemplate.json | 22 +++++++++++++---- .../examples/CreateVirtualNetwork.json | 14 +++++++---- .../examples/DeleteAvailabilitySet.json | 2 +- .../2023-10-07/examples/DeleteCloud.json | 2 +- .../2023-10-07/examples/DeleteVMMServer.json | 2 +- .../DeleteVirtualMachineTemplate.json | 2 +- .../examples/DeleteVirtualNetwork.json | 2 +- .../stable/2023-10-07/examples/GetCloud.json | 11 +++++++-- .../examples/GetVirtualMachineInstance.json | 7 ++++-- .../examples/GetVirtualMachineTemplate.json | 10 ++++++-- .../examples/GetVirtualNetwork.json | 6 +++-- .../examples/ListCloudsByResourceGroup.json | 11 +++++++-- .../examples/ListCloudsBySubscription.json | 11 +++++++-- .../examples/ListVirtualMachineInstances.json | 7 ++++-- ...irtualMachineTemplatesByResourceGroup.json | 10 ++++++-- ...VirtualMachineTemplatesBySubscription.json | 10 ++++++-- .../ListVirtualNetworksByResourceGroup.json | 6 +++-- .../ListVirtualNetworksBySubscription.json | 6 +++-- .../examples/UpdateAvailabilitySet.json | 2 +- .../2023-10-07/examples/UpdateCloud.json | 24 +++++++++++++++---- .../2023-10-07/examples/UpdateVMMServer.json | 2 +- .../UpdateVirtualMachineInstance.json | 7 ++++-- .../UpdateVirtualMachineTemplate.json | 22 +++++++++++++---- .../examples/UpdateVirtualNetwork.json | 14 +++++++---- 26 files changed, 186 insertions(+), 65 deletions(-) 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 index 835d8d91e7e0..c6c7b3e5bf02 100644 --- 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 @@ -12,7 +12,7 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" } } }, @@ -29,8 +29,15 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 + } } } }, @@ -46,8 +53,15 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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/CreateVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineInstance.json index 6ee7e45d99e8..652db9992f13 100644 --- 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 @@ -35,17 +35,20 @@ "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "osProfile": { "computerName": "DemoVM", - "osType": "Windows" + "osType": "Windows", + "osSku": "Windows Server 2022", + "osVersion": "10.0.10101" }, "hardwareProfile": { "memoryMB": 4196, "cpuCount": 4 }, + "powerState": "Running", "provisioningState": "Succeeded" } } @@ -64,16 +67,20 @@ "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "osProfile": { "computerName": "DemoVM", - "osType": "Windows" + "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 index 43aa32aa0643..a4380a23f057 100644 --- 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 @@ -12,7 +12,7 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" } } }, @@ -29,8 +29,14 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 } } }, @@ -46,8 +52,14 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 index fddd66df55f4..3896a512eef2 100644 --- 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 @@ -12,7 +12,7 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" } } }, @@ -29,8 +29,10 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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" } } }, @@ -46,8 +48,10 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 index 4b10d7fd23af..152a2790d48e 100644 --- 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 @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" + "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/DeleteCloud.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCloud.json index 813555d3ded4..deed3db5ec9f 100644 --- 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 @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" + "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/DeleteVMMServer.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json index 3ffdfb83552f..4716cf21362e 100644 --- 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 @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" + "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 index 510bb1f598a8..b6b037acfefb 100644 --- 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 @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" + "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 index 438a42700071..5490ccef7c0d 100644 --- 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 @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" + "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/GetCloud.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json index 3a68d19601f2..958f2ba92540 100644 --- 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 @@ -18,8 +18,15 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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/GetVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineInstance.json index 2470cc4b97d6..1a97052e6594 100644 --- 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 @@ -18,17 +18,20 @@ "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "osProfile": { "computerName": "DemoVM", - "osType": "Windows" + "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 index 05d9cc15d3ee..c131700edcd8 100644 --- 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 @@ -18,8 +18,14 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 index 73e5b1808970..d3ba35c38d2e 100644 --- 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 @@ -18,8 +18,10 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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/ListCloudsByResourceGroup.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsByResourceGroup.json index f6159a4d4d97..0e5991784f2b 100644 --- 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 @@ -19,8 +19,15 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 index 9d5f714e6173..1bff15a10a46 100644 --- 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 @@ -18,8 +18,15 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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/ListVirtualMachineInstances.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineInstances.json index 482cc81c613a..8d5b84a8f840 100644 --- 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 @@ -20,17 +20,20 @@ "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "osProfile": { "computerName": "DemoVM", - "osType": "Windows" + "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 index c97cc35eb401..c96d0f09f268 100644 --- 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 @@ -19,8 +19,14 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 index 004f513aebc7..84c1792f0ebd 100644 --- 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 @@ -18,8 +18,14 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 index a27900dbf33e..571886a83836 100644 --- 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 @@ -19,8 +19,10 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 index 901e2ad221b6..e459967fdd8b 100644 --- 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 @@ -18,8 +18,10 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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/UpdateAvailabilitySet.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateAvailabilitySet.json index 44169f3a7bb8..739c402a5479 100644 --- 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 @@ -56,7 +56,7 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" + "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 index 9c355d6b0f1e..f5bc0d20742d 100644 --- 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 @@ -28,8 +28,15 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 + } } } }, @@ -49,14 +56,21 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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://foo.com/operationstatus" + "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 index d37b8fc720a5..7d9ab8945b08 100644 --- 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 @@ -62,7 +62,7 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" + "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 index 0e6a5c90245c..f9f2ff80766a 100644 --- 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 @@ -26,17 +26,20 @@ "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": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "biosGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "osProfile": { "computerName": "DemoVM", - "osType": "Windows" + "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/UpdateVirtualMachineTemplate.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineTemplate.json index 5575a5cd448b..2c917cedef4a 100644 --- 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 @@ -28,8 +28,14 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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 } } }, @@ -49,14 +55,20 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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://foo.com/operationstatus" + "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 index 8181163a29f3..4a4b6d49c78a 100644 --- 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 @@ -28,8 +28,10 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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" } } }, @@ -49,14 +51,16 @@ }, "properties": { "vmmServerId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer", - "uuid": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "provisioningState": "Succeeded" + "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://foo.com/operationstatus" + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.SCVMM/locations/WESTEUROPE/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-10-07" } } } From 1a27794148dec7e8784a4b11120b87e62269c5a7 Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Mon, 9 Oct 2023 01:20:13 +0530 Subject: [PATCH 07/14] Updated Descriptions for read only true props --- .../stable/2023-10-07/scvmm.json | 83 ++++++++++--------- 1 file changed, 45 insertions(+), 38 deletions(-) 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 e3eb4994f023..9ab6a587fb22 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 @@ -2133,7 +2133,7 @@ "summary": "Implements List virtual machine instances.", "description": "Lists all of the virtual machine instances within the specified parent resource.", "x-ms-examples": { - "GetVirtualMachine": { + "ListVirtualMachines": { "$ref": "./examples/ListVirtualMachineInstances.json" } }, @@ -2161,6 +2161,9 @@ "$ref": "#/definitions/ErrorResponse" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -2745,12 +2748,12 @@ }, "connectionStatus": { "type": "string", - "description": "Gets or sets the connection status to the vmmServer.", + "description": "Gets the connection status to the vmmServer.", "readOnly": true }, "errorMessage": { "type": "string", - "description": "Gets or sets any error message if connection to vmmServer is having any issue.", + "description": "Gets any error message if connection to vmmServer is having any issue.", "readOnly": true }, "uuid": { @@ -2764,7 +2767,7 @@ "readOnly": true }, "provisioningState": { - "description": "Gets or sets the provisioning state.", + "description": "Gets the provisioning state.", "type": "string", "readOnly": true } @@ -2913,7 +2916,7 @@ }, "provisioningState": { "type": "string", - "description": "Gets or sets the provisioning state.", + "description": "Gets the provisioning state.", "readOnly": true } } @@ -3014,7 +3017,7 @@ }, "provisioningState": { "type": "string", - "description": "Gets or sets the provisioning state.", + "description": "Gets the provisioning state.", "readOnly": true } } @@ -3106,7 +3109,7 @@ }, "provisioningState": { "type": "string", - "description": "Gets or sets the provisioning state.", + "description": "Gets the provisioning state.", "readOnly": true } } @@ -3291,7 +3294,7 @@ "readOnly": true }, "provisioningState": { - "description": "Gets or sets the provisioning state.", + "description": "Gets the provisioning state.", "type": "string", "readOnly": true } @@ -3329,12 +3332,12 @@ "type": "string" }, "osType": { - "description": "Gets or sets the type of the os.", + "description": "Gets the type of the os.", "$ref": "#/definitions/OsType", "readOnly": true }, "osSku": { - "description": "Gets or sets os sku.", + "description": "Gets os sku.", "type": "string", "readOnly": true }, @@ -3531,7 +3534,7 @@ "readOnly": true }, "ipv4Addresses": { - "description": "Gets or sets the nic ipv4 addresses.", + "description": "Gets the nic ipv4 addresses.", "type": "array", "items": { "type": "string" @@ -3539,7 +3542,7 @@ "readOnly": true }, "ipv6Addresses": { - "description": "Gets or sets the nic ipv6 addresses.", + "description": "Gets the nic ipv6 addresses.", "type": "array", "items": { "type": "string" @@ -3555,7 +3558,7 @@ "type": "string" }, "networkName": { - "description": "Gets or sets the name of the virtual network in vmmServer that the nic is connected to.", + "description": "Gets the name of the virtual network in vmmServer that the nic is connected to.", "type": "string", "readOnly": true }, @@ -3671,7 +3674,7 @@ }, "maxDiskSizeGB": { "format": "int32", - "description": "Gets or sets the max disk size.", + "description": "Gets the max disk size.", "type": "integer", "readOnly": true }, @@ -3694,7 +3697,7 @@ "type": "string" }, "volumeType": { - "description": "Gets or sets the disk volume type.", + "description": "Gets the disk volume type.", "type": "string", "readOnly": true }, @@ -3881,6 +3884,10 @@ "items": { "$ref": "#/definitions/VirtualMachineInstance" } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." } } }, @@ -3945,17 +3952,17 @@ "description": "ARM Id of the vmmServer resource in which this resource resides." }, "osType": { - "description": "Gets or sets the type of the os.", + "description": "Gets the type of the os.", "$ref": "#/definitions/OsType", "readOnly": true }, "osName": { - "description": "Gets or sets os name.", + "description": "Gets os name.", "type": "string", "readOnly": true }, "computerName": { - "description": "Gets or sets computer name.", + "description": "Gets computer name.", "type": "string", "readOnly": true }, @@ -3967,13 +3974,13 @@ }, "cpuCount": { "type": "integer", - "description": "Gets or sets the desired number of vCPUs for the vm.", + "description": "Gets the desired number of vCPUs for the vm.", "format": "int32", "readOnly": true }, "limitCpuForMigration": { "type": "string", - "description": "Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.", + "description": "Gets a value indicating whether to enable processor compatibility mode for live migration of VMs.", "enum": [ "false", "true" @@ -3986,7 +3993,7 @@ }, "dynamicMemoryEnabled": { "type": "string", - "description": "Gets or sets a value indicating whether to enable dynamic memory or not.", + "description": "Gets a value indicating whether to enable dynamic memory or not.", "enum": [ "false", "true" @@ -3999,7 +4006,7 @@ }, "isCustomizable": { "type": "string", - "description": "Gets or sets a value indicating whether the vm template is customizable or not.", + "description": "Gets a value indicating whether the vm template is customizable or not.", "enum": [ "false", "true" @@ -4013,13 +4020,13 @@ "dynamicMemoryMaxMB": { "type": "integer", "format": "int32", - "description": "Gets or sets the max dynamic memory for the vm.", + "description": "Gets the max dynamic memory for the vm.", "readOnly": true }, "dynamicMemoryMinMB": { "type": "integer", "format": "int32", - "description": "Gets or sets the min dynamic memory for the vm.", + "description": "Gets the min dynamic memory for the vm.", "readOnly": true }, "isHighlyAvailable": { @@ -4030,11 +4037,11 @@ "generation": { "type": "integer", "format": "int32", - "description": "Gets or sets the generation for the vm.", + "description": "Gets the generation for the vm.", "readOnly": true }, "networkInterfaces": { - "description": "Gets or sets the network interfaces of the template.", + "description": "Gets the network interfaces of the template.", "type": "array", "items": { "$ref": "#/definitions/NetworkInterfaces" @@ -4046,7 +4053,7 @@ "readOnly": true }, "disks": { - "description": "Gets or sets the disks of the template.", + "description": "Gets the disks of the template.", "type": "array", "items": { "$ref": "#/definitions/VirtualDisk" @@ -4058,7 +4065,7 @@ "readOnly": true }, "provisioningState": { - "description": "Gets or sets the provisioning state.", + "description": "Gets the provisioning state.", "type": "string", "readOnly": true } @@ -4274,7 +4281,7 @@ "properties": { "cpuCount": { "type": "integer", - "description": "Gets or sets the desired number of vCPUs for the vm.", + "description": "Gets the desired number of vCPUs for the vm.", "format": "int32", "readOnly": true }, @@ -4285,12 +4292,12 @@ "readOnly": true }, "osType": { - "description": "Gets or sets the type of the os.", + "description": "Gets the type of the os.", "$ref": "#/definitions/OsType", "readOnly": true }, "osName": { - "description": "Gets or sets os name.", + "description": "Gets os name.", "type": "string", "readOnly": true } @@ -4307,12 +4314,12 @@ ], "properties": { "osType": { - "description": "Gets or sets the type of the os.", + "description": "Gets the type of the os.", "$ref": "#/definitions/OsType", "readOnly": true }, "osName": { - "description": "Gets or sets os name.", + "description": "Gets os name.", "type": "string", "readOnly": true }, @@ -4338,7 +4345,7 @@ "$ref": "#/definitions/InventoryItemDetails" }, "biosGuid": { - "description": "Gets or sets the bios guid.", + "description": "Gets the bios guid.", "type": "string", "format": "uuid", "readOnly": true @@ -4407,7 +4414,7 @@ "type": "string" }, "provisioningState": { - "description": "Gets or sets the provisioning state.", + "description": "Gets the provisioning state.", "type": "string", "readOnly": true } @@ -4536,7 +4543,7 @@ "type": "object", "properties": { "uuid": { - "description": "Gets or sets a unique identifier for this resource.", + "description": "Gets a unique identifier for this resource.", "type": "string", "readOnly": true }, @@ -4554,7 +4561,7 @@ "type": "string" }, "status": { - "description": "Gets or sets the guest agent status.", + "description": "Gets the guest agent status.", "type": "string", "readOnly": true }, @@ -4564,7 +4571,7 @@ "readOnly": true }, "provisioningState": { - "description": "Gets or sets the provisioning state.", + "description": "Gets the provisioning state.", "type": "string", "readOnly": true } From 6449dc8ce3d723a1cae3604f8b57f040dfc54fdb Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Fri, 13 Oct 2023 19:18:53 +0530 Subject: [PATCH 08/14] Comment changes - Used Common types definition --- .../stable/2023-10-07/scvmm.json | 467 +++++++----------- 1 file changed, 177 insertions(+), 290 deletions(-) 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 9ab6a587fb22..ff7bcb81b1da 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 @@ -49,10 +49,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -62,7 +62,7 @@ "description": "Name of the VMMServer." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -75,7 +75,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -94,10 +94,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -107,7 +107,7 @@ "description": "Name of the VMMServer." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "body", @@ -135,7 +135,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -158,10 +158,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -171,7 +171,7 @@ "description": "Name of the VMMServer." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -194,7 +194,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -217,13 +217,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "in": "path", @@ -261,7 +261,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -286,13 +286,13 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -305,7 +305,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -329,10 +329,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -345,7 +345,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -368,20 +368,20 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Describe the result of a successful operation.", "schema": { - "$ref": "#/definitions/ResourceProviderOperationList" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -405,10 +405,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -418,7 +418,7 @@ "description": "Name of the Cloud." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -431,7 +431,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -450,10 +450,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -463,7 +463,7 @@ "description": "Name of the Cloud." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "body", @@ -491,7 +491,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -514,10 +514,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -527,7 +527,7 @@ "description": "Name of the Cloud." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -550,7 +550,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -573,13 +573,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "in": "path", @@ -617,7 +617,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -642,13 +642,13 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -661,7 +661,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -685,10 +685,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -701,7 +701,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -725,10 +725,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -738,7 +738,7 @@ "description": "Name of the VirtualNetwork." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -751,7 +751,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -770,10 +770,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -783,7 +783,7 @@ "description": "Name of the VirtualNetwork." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "body", @@ -811,7 +811,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -834,10 +834,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -847,7 +847,7 @@ "description": "Name of the VirtualNetwork." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -870,7 +870,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -893,13 +893,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "in": "path", @@ -937,7 +937,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -962,13 +962,13 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -981,7 +981,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1005,10 +1005,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1021,7 +1021,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1045,10 +1045,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1058,7 +1058,7 @@ "description": "Name of the VirtualMachineTemplate." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1071,7 +1071,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -1090,10 +1090,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1103,7 +1103,7 @@ "description": "Name of the VirtualMachineTemplate." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "body", @@ -1131,7 +1131,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1154,10 +1154,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1167,7 +1167,7 @@ "description": "Name of the VirtualMachineTemplate." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -1190,7 +1190,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1213,13 +1213,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "in": "path", @@ -1257,7 +1257,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1282,13 +1282,13 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1301,7 +1301,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1325,10 +1325,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1341,7 +1341,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1365,10 +1365,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1378,7 +1378,7 @@ "description": "Name of the AvailabilitySet." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1391,7 +1391,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -1410,10 +1410,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1423,7 +1423,7 @@ "description": "Name of the AvailabilitySet." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "body", @@ -1457,7 +1457,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1480,10 +1480,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1493,7 +1493,7 @@ "description": "Name of the AvailabilitySet." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -1522,7 +1522,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1542,13 +1542,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "in": "path", @@ -1586,7 +1586,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1611,13 +1611,13 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1630,7 +1630,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1654,10 +1654,10 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1670,7 +1670,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1700,10 +1700,10 @@ ], "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1720,7 +1720,7 @@ "description": "Name of the inventoryItem." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -1741,7 +1741,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -1763,10 +1763,10 @@ ], "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1783,7 +1783,7 @@ "description": "Name of the inventoryItem." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1796,7 +1796,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -1818,10 +1818,10 @@ ], "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1838,7 +1838,7 @@ "description": "Name of the inventoryItem." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1851,7 +1851,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -1875,10 +1875,10 @@ ], "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "path", @@ -1888,7 +1888,7 @@ "description": "Name of the VMMServer." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1901,7 +1901,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1931,7 +1931,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1944,7 +1944,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -1972,7 +1972,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -1999,7 +1999,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2031,7 +2031,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -2055,7 +2055,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2084,7 +2084,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2114,7 +2114,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2145,7 +2145,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -2158,7 +2158,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2188,7 +2188,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -2209,7 +2209,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2234,7 +2234,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -2247,7 +2247,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2272,7 +2272,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -2285,7 +2285,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2313,7 +2313,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -2326,7 +2326,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -2353,7 +2353,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -2366,7 +2366,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2396,7 +2396,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -2417,7 +2417,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2445,7 +2445,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -2466,7 +2466,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2494,7 +2494,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -2515,7 +2515,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2546,7 +2546,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -2573,7 +2573,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2602,7 +2602,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -2615,7 +2615,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -2640,7 +2640,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -2656,7 +2656,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2684,7 +2684,7 @@ "$ref": "#/parameters/resourceUriParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -2697,7 +2697,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2827,7 +2827,7 @@ "description": "Resource tags" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "description": "The system data." }, "extendedLocation": { @@ -2859,26 +2859,6 @@ } } }, - "ResourceProviderOperationList": { - "type": "object", - "description": "Results of the request to list operations.", - "properties": { - "value": { - "type": "array", - "description": "List of Operations.", - "items": { - "$ref": "#/definitions/ResourceProviderOperation" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "type": "string", - "description": "Url to follow for getting next page of resources." - } - } - }, "CloudProperties": { "description": "Defines the resource properties.", "type": "object", @@ -2961,7 +2941,7 @@ "description": "Resource tags" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "description": "The system data." }, "extendedLocation": { @@ -3062,7 +3042,7 @@ "description": "Resource tags" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "description": "The system data." }, "extendedLocation": { @@ -3154,7 +3134,7 @@ "description": "Resource tags" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "description": "The system data." }, "extendedLocation": { @@ -3858,7 +3838,7 @@ "x-ms-azure-resource": true, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "$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." } ], @@ -4111,7 +4091,7 @@ "description": "Resource tags" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "description": "The system data." }, "extendedLocation": { @@ -4171,7 +4151,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "$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." } ], @@ -4387,7 +4367,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "$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." } ], @@ -4525,7 +4505,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "$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." } ], @@ -4577,77 +4557,6 @@ } } }, - "ResourceProviderOperation": { - "type": "object", - "properties": { - "isDataAction": { - "type": "string", - "description": "Indicates whether the operation applies to data-plane." - }, - "name": { - "type": "string", - "description": "Operation name, in format of {provider}/{resource}/{operation}." - }, - "display": { - "type": "object", - "properties": { - "provider": { - "type": "string", - "description": "The resource provider." - }, - "resource": { - "type": "string", - "description": "Resource on which the operation is performed." - }, - "operation": { - "type": "string", - "description": "Type of operation: read, write, delete, etc." - }, - "description": { - "type": "string", - "description": "Description of this operation." - } - }, - "description": "Display metadata associated with the operation." - } - }, - "description": "Results of the request to list operations." - }, - "ErrorResponse": { - "description": "Error response.", - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ErrorDefinition", - "description": "The error details." - } - } - }, - "ErrorDefinition": { - "description": "Error definition.", - "type": "object", - "properties": { - "code": { - "description": "Service specific error code which serves as the substatus for the HTTP error code.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Description of the error.", - "type": "string", - "readOnly": true - }, - "details": { - "description": "Internal error details.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorDefinition" - }, - "x-ms-identifiers": [], - "readOnly": true - } - } - }, "StorageQoSPolicy": { "description": "The StorageQoSPolicy definition.", "type": "object", @@ -4696,28 +4605,6 @@ } }, "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to be used with the HTTP request (e.g. YYYY-MM-DD)." - }, "resourceUriParameter": { "in": "path", "name": "resourceUri", From 6c6f12d569a55b01b1f8ff2f7be109e3ddb1cf53 Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Fri, 13 Oct 2023 19:34:08 +0530 Subject: [PATCH 09/14] Changes from PR 15221 for azure-rest-api-specs-pr --- ...bridIdentityMetadata_ListByVmInstance.json | 2 +- .../stable/2023-10-07/scvmm.json | 495 +++++++----------- 2 files changed, 186 insertions(+), 311 deletions(-) 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 index 3d0830810474..23d38af0a006 100644 --- 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 @@ -8,7 +8,7 @@ "body": { "value": [ { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVMproviders/Microsoft.SCVMM/VirtualMachineInstances/default/hybridIdentityMetadata/default", + "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": { 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 ff7bcb81b1da..210fdd6bdd4c 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 @@ -2767,8 +2767,8 @@ "readOnly": true }, "provisioningState": { - "description": "Gets the provisioning state.", - "type": "string", + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } } @@ -2790,53 +2790,24 @@ "VMMServer": { "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/VMMServerProperties" }, - "id": { - "type": "string", - "readOnly": true, - "description": "Resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Resource Name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource Type" - }, - "location": { - "description": "Gets or sets the location.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "The system data." - }, "extendedLocation": { "$ref": "#/definitions/ExtendedLocation", "description": "The extended location." } }, "required": [ - "location", "properties", "extendedLocation" ], @@ -2855,7 +2826,9 @@ }, "nextLink": { "description": "Url to follow for getting next page of resources.", - "type": "string" + "type": "string", + "format": "uri", + "readOnly": true } } }, @@ -2874,7 +2847,14 @@ }, "vmmServerId": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides." + "description": "ARM Id of the vmmServer resource in which this resource resides.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/vmmServers" + } + ] + } }, "cloudName": { "type": "string", @@ -2895,8 +2875,8 @@ "readOnly": true }, "provisioningState": { - "type": "string", - "description": "Gets the provisioning state.", + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } } @@ -2904,53 +2884,24 @@ "Cloud": { "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/CloudProperties" }, - "id": { - "type": "string", - "readOnly": true, - "description": "Resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Resource Name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource Type" - }, - "location": { - "description": "Gets or sets the location.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "The system data." - }, "extendedLocation": { "$ref": "#/definitions/ExtendedLocation", "description": "The extended location." } }, "required": [ - "location", "properties", "extendedLocation" ], @@ -2969,7 +2920,9 @@ }, "nextLink": { "type": "string", - "description": "Url to follow for getting next page of resources." + "description": "Url to follow for getting next page of resources.", + "format": "uri", + "readOnly": true } } }, @@ -2988,7 +2941,14 @@ }, "vmmServerId": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides." + "description": "ARM Id of the vmmServer resource in which this resource resides.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/vmmServers" + } + ] + } }, "networkName": { "type": "string", @@ -2996,8 +2956,8 @@ "readOnly": true }, "provisioningState": { - "type": "string", - "description": "Gets the provisioning state.", + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } } @@ -3005,53 +2965,24 @@ "VirtualNetwork": { "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/VirtualNetworkProperties" }, - "id": { - "type": "string", - "readOnly": true, - "description": "Resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Resource Name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource Type" - }, - "location": { - "description": "Gets or sets the location.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "The system data." - }, "extendedLocation": { "$ref": "#/definitions/ExtendedLocation", "description": "The extended location." } }, "required": [ - "location", "properties", "extendedLocation" ], @@ -3070,7 +3001,9 @@ }, "nextLink": { "type": "string", - "description": "Url to follow for getting next page of resources." + "description": "Url to follow for getting next page of resources.", + "format": "uri", + "readOnly": true } } }, @@ -3085,11 +3018,18 @@ }, "vmmServerId": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides." + "description": "ARM Id of the vmmServer resource in which this resource resides.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/vmmServers" + } + ] + } }, "provisioningState": { - "type": "string", - "description": "Gets the provisioning state.", + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } } @@ -3097,51 +3037,27 @@ "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'" + } + ], "properties": { "properties": { "x-ms-client-flatten": true, "description": "Resource properties.", "$ref": "#/definitions/AvailabilitySetProperties" }, - "id": { - "type": "string", - "readOnly": true, - "description": "Resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Resource Name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource Type" - }, - "location": { - "description": "Gets or sets the location.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "The system data." - }, "extendedLocation": { "$ref": "#/definitions/ExtendedLocation", "description": "The extended location." } }, + "required": [ + "properties", + "extendedLocation" + ], "description": "The AvailabilitySets resource definition." }, "AvailabilitySetListResult": { @@ -3157,7 +3073,9 @@ }, "nextLink": { "type": "string", - "description": "Url to follow for getting next page of resources." + "description": "Url to follow for getting next page of resources.", + "format": "uri", + "readOnly": true } } }, @@ -3170,7 +3088,14 @@ "properties": { "id": { "description": "Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.", - "type": "string" + "type": "string", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/availabilitySets" + } + ] + } }, "name": { "description": "Gets or sets the name of the availability set.", @@ -3188,15 +3113,36 @@ }, "vmmServerId": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides." + "description": "ARM Id of the vmmServer resource in which this resource resides.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/vmmServers" + } + ] + } }, "cloudId": { "type": "string", - "description": "ARM Id of the cloud resource to use for deploying the vm." + "description": "ARM Id of the cloud resource to use for deploying the vm.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/clouds" + } + ] + } }, "templateId": { "type": "string", - "description": "ARM Id of the template resource to use for deploying the vm." + "description": "ARM Id of the template resource to use for deploying the vm.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/virtualMachineTemplates" + } + ] + } }, "vmName": { "type": "string", @@ -3274,8 +3220,8 @@ "readOnly": true }, "provisioningState": { - "description": "Gets the provisioning state.", - "type": "string", + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } } @@ -3378,57 +3324,16 @@ }, "isHighlyAvailable": { "description": "Gets highly available property.", - "type": "string" - } - } - }, - "HardwareProfileUpdate": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "memoryMB": { - "type": "integer", - "format": "int32", - "description": "MemoryMB is the size of a virtual machine's memory, in MB." - }, - "cpuCount": { - "type": "integer", - "description": "Gets or sets the number of vCPUs for the vm.", - "format": "int32" - }, - "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" - } - }, - "dynamicMemoryEnabled": { "type": "string", - "description": "Gets or sets a value indicating whether to enable dynamic memory or not.", + "readOnly": true, "enum": [ "false", "true" ], "x-ms-enum": { "modelAsString": true, - "name": "DynamicMemoryEnabled" + "name": "IsHighlyAvailable" } - }, - "dynamicMemoryMaxMB": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the max dynamic memory for the vm." - }, - "dynamicMemoryMinMB": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the min dynamic memory for the vm." } } }, @@ -3454,23 +3359,6 @@ } } }, - "NetworkProfileUpdate": { - "description": "Defines the resource properties.", - "type": "object", - "properties": { - "networkInterfaces": { - "description": "Gets or sets the list of network interfaces associated with the virtual machine.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkInterfacesUpdate" - }, - "x-ms-identifiers": [ - "name", - "nicId" - ] - } - } - }, "NetworkProfile": { "description": "Defines the resource properties.", "type": "object", @@ -3479,7 +3367,7 @@ "description": "Gets or sets the list of network interfaces associated with the virtual machine.", "type": "array", "items": { - "$ref": "#/definitions/NetworkInterfaces" + "$ref": "#/definitions/NetworkInterface" }, "x-ms-identifiers": [ "name", @@ -3500,7 +3388,7 @@ }, "type": "string" }, - "NetworkInterfaces": { + "NetworkInterface": { "description": "Network Interface model", "type": "object", "properties": { @@ -3535,7 +3423,14 @@ }, "virtualNetworkId": { "description": "Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.", - "type": "string" + "type": "string", + "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.", @@ -3560,40 +3455,6 @@ } } }, - "NetworkInterfacesUpdate": { - "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" - }, - "virtualNetworkId": { - "description": "Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.", - "type": "string" - }, - "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" - } - } - }, "CloudCapacity": { "description": "Cloud Capacity model", "type": "object", @@ -3867,7 +3728,9 @@ }, "nextLink": { "type": "string", - "description": "Url to follow for getting next page of resources." + "description": "Url to follow for getting next page of resources.", + "format": "uri", + "readOnly": true } } }, @@ -3886,13 +3749,13 @@ "type": "object", "properties": { "hardwareProfile": { - "$ref": "#/definitions/HardwareProfileUpdate" + "$ref": "#/definitions/HardwareProfile" }, "storageProfile": { "$ref": "#/definitions/StorageProfileUpdate" }, "networkProfile": { - "$ref": "#/definitions/NetworkProfileUpdate" + "$ref": "#/definitions/NetworkProfile" }, "availabilitySets": { "$ref": "#/definitions/AvailabilitySetList" @@ -3929,7 +3792,14 @@ }, "vmmServerId": { "type": "string", - "description": "ARM Id of the vmmServer resource in which this resource resides." + "description": "ARM Id of the vmmServer resource in which this resource resides.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/vmmServers" + } + ] + } }, "osType": { "description": "Gets the type of the os.", @@ -4012,7 +3882,15 @@ "isHighlyAvailable": { "description": "Gets highly available property.", "type": "string", - "readOnly": true + "readOnly": true, + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "IsHighlyAvailable" + } }, "generation": { "type": "integer", @@ -4024,7 +3902,7 @@ "description": "Gets the network interfaces of the template.", "type": "array", "items": { - "$ref": "#/definitions/NetworkInterfaces" + "$ref": "#/definitions/NetworkInterface" }, "x-ms-identifiers": [ "name", @@ -4045,8 +3923,8 @@ "readOnly": true }, "provisioningState": { - "description": "Gets the provisioning state.", - "type": "string", + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } } @@ -4054,53 +3932,24 @@ "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" }, - "id": { - "type": "string", - "readOnly": true, - "description": "Resource Id" - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Resource Name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Resource Type" - }, - "location": { - "description": "Gets or sets the location.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "The system data." - }, "extendedLocation": { "$ref": "#/definitions/ExtendedLocation", "description": "The extended location." } }, "required": [ - "location", "properties", "extendedLocation" ], @@ -4119,7 +3968,9 @@ }, "nextLink": { "type": "string", - "description": "Url to follow for getting next page of resources." + "description": "Url to follow for getting next page of resources.", + "format": "uri", + "readOnly": true } } }, @@ -4129,7 +3980,9 @@ "properties": { "nextLink": { "description": "Url to follow for getting next page of InventoryItems.", - "type": "string" + "type": "string", + "format": "uri", + "readOnly": true }, "value": { "description": "Array of InventoryItems", @@ -4196,8 +4049,8 @@ "readOnly": true }, "provisioningState": { - "description": "Gets the provisioning state.", - "type": "string", + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } } @@ -4345,7 +4198,9 @@ "properties": { "nextLink": { "description": "Url to follow for getting next page of HybridIdentityMetadata.", - "type": "string" + "type": "string", + "format": "uri", + "readOnly": true }, "value": { "description": "Array of HybridIdentityMetadata", @@ -4394,8 +4249,8 @@ "type": "string" }, "provisioningState": { - "description": "Gets the provisioning state.", - "type": "string", + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } } @@ -4483,7 +4338,9 @@ "properties": { "nextLink": { "description": "Url to follow for getting next page of GuestAgent.", - "type": "string" + "type": "string", + "format": "uri", + "readOnly": true }, "value": { "description": "Array of GuestAgent", @@ -4551,8 +4408,8 @@ "readOnly": true }, "provisioningState": { - "description": "Gets the provisioning state.", - "type": "string", + "$ref": "#/definitions/ResourceProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true } } @@ -4602,6 +4459,24 @@ } }, "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 + } } }, "parameters": { From 38d67afda2d4617e9ddd59d6bae9cb6c0f9d68b4 Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Fri, 13 Oct 2023 20:04:47 +0530 Subject: [PATCH 10/14] Added format arm-id for ARM Id properties --- .../Microsoft.ScVmm/stable/2023-10-07/scvmm.json | 9 +++++++++ 1 file changed, 9 insertions(+) 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 210fdd6bdd4c..631af5f5148f 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 @@ -2848,6 +2848,7 @@ "vmmServerId": { "type": "string", "description": "ARM Id of the vmmServer resource in which this resource resides.", + "format": "arm-id", "x-ms-arm-id-details": { "allowedResources": [ { @@ -2942,6 +2943,7 @@ "vmmServerId": { "type": "string", "description": "ARM Id of the vmmServer resource in which this resource resides.", + "format": "arm-id", "x-ms-arm-id-details": { "allowedResources": [ { @@ -3019,6 +3021,7 @@ "vmmServerId": { "type": "string", "description": "ARM Id of the vmmServer resource in which this resource resides.", + "format": "arm-id", "x-ms-arm-id-details": { "allowedResources": [ { @@ -3089,6 +3092,7 @@ "id": { "description": "Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.", "type": "string", + "format": "arm-id", "x-ms-arm-id-details": { "allowedResources": [ { @@ -3114,6 +3118,7 @@ "vmmServerId": { "type": "string", "description": "ARM Id of the vmmServer resource in which this resource resides.", + "format": "arm-id", "x-ms-arm-id-details": { "allowedResources": [ { @@ -3125,6 +3130,7 @@ "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": [ { @@ -3136,6 +3142,7 @@ "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": [ { @@ -3424,6 +3431,7 @@ "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": [ { @@ -3793,6 +3801,7 @@ "vmmServerId": { "type": "string", "description": "ARM Id of the vmmServer resource in which this resource resides.", + "format": "arm-id", "x-ms-arm-id-details": { "allowedResources": [ { From 03a81a882de9813e67b1081d8decc087fb92ba1b Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Tue, 17 Oct 2023 13:25:13 +0530 Subject: [PATCH 11/14] Revert HardwareProfileUpdate changes --- .../stable/2023-10-07/scvmm.json | 112 +++++++++++++++++- 1 file changed, 110 insertions(+), 2 deletions(-) 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 631af5f5148f..76d1ad56dd87 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 @@ -3344,6 +3344,56 @@ } } }, + "HardwareProfileUpdate": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "memoryMB": { + "type": "integer", + "format": "int32", + "description": "MemoryMB is the size of a virtual machine's memory, in MB." + }, + "cpuCount": { + "type": "integer", + "description": "Gets or sets the number of vCPUs for the vm.", + "format": "int32" + }, + "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" + } + }, + "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" + } + }, + "dynamicMemoryMaxMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the max dynamic memory for the vm." + }, + "dynamicMemoryMinMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the min dynamic memory for the vm." + } + } + }, "Checkpoint": { "description": "Defines the resource properties.", "type": "object", @@ -3366,6 +3416,23 @@ } } }, + "NetworkProfileUpdate": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "networkInterfaces": { + "description": "Gets or sets the list of network interfaces associated with the virtual machine.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceUpdate" + }, + "x-ms-identifiers": [ + "name", + "nicId" + ] + } + } + }, "NetworkProfile": { "description": "Defines the resource properties.", "type": "object", @@ -3463,6 +3530,47 @@ } } }, + "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" + }, + "virtualNetworkId": { + "description": "Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.", + "type": "string", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ScVmm/virtualNetwork" + } + ] + } + }, + "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" + } + } + }, "CloudCapacity": { "description": "Cloud Capacity model", "type": "object", @@ -3757,13 +3865,13 @@ "type": "object", "properties": { "hardwareProfile": { - "$ref": "#/definitions/HardwareProfile" + "$ref": "#/definitions/HardwareProfileUpdate" }, "storageProfile": { "$ref": "#/definitions/StorageProfileUpdate" }, "networkProfile": { - "$ref": "#/definitions/NetworkProfile" + "$ref": "#/definitions/NetworkProfileUpdate" }, "availabilitySets": { "$ref": "#/definitions/AvailabilitySetList" From d2f976a7e2ac0dc06cb3e9297a458c835c0910ae Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Wed, 18 Oct 2023 21:00:50 +0530 Subject: [PATCH 12/14] Fixed LintDiff errors --- ...reateCheckpointVirtualMachineInstance.json | 1 - .../examples/CreateInventoryItem.json | 14 + .../examples/DeleteAvailabilitySet.json | 1 - ...eleteCheckpointVirtualMachineInstance.json | 1 - .../2023-10-07/examples/DeleteCloud.json | 1 - .../examples/DeleteVMInstanceGuestAgent.json | 5 - .../2023-10-07/examples/DeleteVMMServer.json | 1 - .../DeleteVirtualMachineInstance.json | 1 - .../DeleteVirtualMachineTemplate.json | 1 - .../examples/DeleteVirtualNetwork.json | 1 - .../RestartVirtualMachineInstance.json | 1 - ...storeCheckpointVirtualMachineInstance.json | 1 - .../examples/StartVirtualMachineInstance.json | 1 - .../examples/StopVirtualMachineInstance.json | 3 +- .../examples/UpdateAvailabilitySet.json | 21 - .../2023-10-07/examples/UpdateCloud.json | 28 -- .../2023-10-07/examples/UpdateVMMServer.json | 24 - .../UpdateVirtualMachineTemplate.json | 27 -- .../examples/UpdateVirtualNetwork.json | 23 - .../stable/2023-10-07/scvmm.json | 452 ++++++++++++------ 20 files changed, 323 insertions(+), 285 deletions(-) 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 index dc9c2ba74ee8..5ce2eb461e25 100644 --- 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 @@ -8,7 +8,6 @@ } }, "responses": { - "200": {}, "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/CreateInventoryItem.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateInventoryItem.json index 8bb813424ab5..b14e1d592b04 100644 --- 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 @@ -25,6 +25,20 @@ "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/DeleteAvailabilitySet.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteAvailabilitySet.json index 152a2790d48e..af72922c8c4f 100644 --- 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 @@ -6,7 +6,6 @@ "availabilitySetName": "HRAvailabilitySet" }, "responses": { - "200": {}, "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/DeleteCheckpointVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachineInstance.json index b916fd2f2410..326344db7c80 100644 --- 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 @@ -7,7 +7,6 @@ } }, "responses": { - "200": {}, "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 index deed3db5ec9f..af58680d63c4 100644 --- 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 @@ -6,7 +6,6 @@ "cloudName": "HRCloud" }, "responses": { - "200": {}, "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/DeleteVMInstanceGuestAgent.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMInstanceGuestAgent.json index 5790b7a9ad14..b4d3711d4fe1 100644 --- 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 @@ -5,11 +5,6 @@ }, "responses": { "200": {}, - "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/DeleteVMMServer.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json index 4716cf21362e..e2e28cd4c6e3 100644 --- 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 @@ -6,7 +6,6 @@ "vmmServerName": "ContosoVMMServer" }, "responses": { - "200": {}, "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/DeleteVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineInstance.json index 5790b7a9ad14..da5b149484fb 100644 --- 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 @@ -4,7 +4,6 @@ "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { - "200": {}, "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/DeleteVirtualMachineTemplate.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineTemplate.json index b6b037acfefb..f3b5c778fcb4 100644 --- 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 @@ -6,7 +6,6 @@ "virtualMachineTemplateName": "HRVirtualMachineTemplate" }, "responses": { - "200": {}, "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/DeleteVirtualNetwork.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualNetwork.json index 5490ccef7c0d..d19cacb1fedf 100644 --- 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 @@ -6,7 +6,6 @@ "virtualNetworkName": "HRVirtualNetwork" }, "responses": { - "200": {}, "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/RestartVirtualMachineInstance.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachineInstance.json index cd1b8cd4ce57..3da1368e1980 100644 --- 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 @@ -4,7 +4,6 @@ "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { - "200": {}, "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 index b916fd2f2410..326344db7c80 100644 --- 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 @@ -7,7 +7,6 @@ } }, "responses": { - "200": {}, "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 index cd1b8cd4ce57..3da1368e1980 100644 --- 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 @@ -4,7 +4,6 @@ "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { - "200": {}, "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 index 0ee8568adbd0..70cd9dec7e95 100644 --- 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 @@ -3,11 +3,10 @@ "api-version": "2023-10-07", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM", "body": { - "skipShutdown": true + "skipShutdown": "true" } }, "responses": { - "200": {}, "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 index 739c402a5479..d90045ff678b 100644 --- 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 @@ -33,27 +33,6 @@ } } }, - "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" - }, - "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 index f5bc0d20742d..97f07c9f4159 100644 --- 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 @@ -40,34 +40,6 @@ } } }, - "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" - }, - "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 index 7d9ab8945b08..6299a0a8b0df 100644 --- 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 @@ -36,30 +36,6 @@ } } }, - "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" - }, - "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/UpdateVirtualMachineTemplate.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineTemplate.json index 2c917cedef4a..20953b9efced 100644 --- 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 @@ -39,33 +39,6 @@ } } }, - "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" - }, - "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 index 4a4b6d49c78a..efdf4556ef44 100644 --- 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 @@ -35,29 +35,6 @@ } } }, - "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" - }, - "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/scvmm.json b/specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/scvmm.json index 76d1ad56dd87..2f69cf148c53 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 @@ -59,7 +59,10 @@ "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the VMMServer." + "description": "Name of the VMMServer.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -104,7 +107,10 @@ "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the VMMServer." + "description": "Name of the VMMServer.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -149,7 +155,7 @@ "VmmServers" ], "operationId": "VmmServers_Delete", - "description": "Deboards the SCVMM fabric from Azure.", + "description": "Removes the SCVMM fabric from Azure.", "summary": "Implements VmmServers DELETE method.", "x-ms-examples": { "DeleteVMMServer": { @@ -168,7 +174,10 @@ "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the VMMServer." + "description": "Name of the VMMServer.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -178,15 +187,25 @@ "name": "force", "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", "required": false, - "type": "boolean" + "type": "string", + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "Force" + } } ], "responses": { - "200": { - "description": "Deletes the VmmServers resource." - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "204": { "description": "No Content" @@ -230,7 +249,10 @@ "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the VMMServer." + "description": "Name of the VMMServer.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "name": "body", @@ -249,14 +271,13 @@ "$ref": "#/definitions/VMMServer" } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/VMMServer" - } - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -415,7 +436,10 @@ "name": "cloudName", "required": true, "type": "string", - "description": "Name of the Cloud." + "description": "Name of the Cloud.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -460,7 +484,10 @@ "name": "cloudName", "required": true, "type": "string", - "description": "Name of the Cloud." + "description": "Name of the Cloud.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -524,7 +551,10 @@ "name": "cloudName", "required": true, "type": "string", - "description": "Name of the Cloud." + "description": "Name of the Cloud.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -534,15 +564,25 @@ "name": "force", "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", "required": false, - "type": "boolean" + "type": "string", + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "Force" + } } ], "responses": { - "200": { - "description": "Deletes the Clouds resource." - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "204": { "description": "No Content" @@ -586,7 +626,10 @@ "name": "cloudName", "required": true, "type": "string", - "description": "Name of the Cloud." + "description": "Name of the Cloud.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "name": "body", @@ -605,14 +648,13 @@ "$ref": "#/definitions/Cloud" } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/Cloud" - } - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -735,7 +777,10 @@ "name": "virtualNetworkName", "required": true, "type": "string", - "description": "Name of the VirtualNetwork." + "description": "Name of the VirtualNetwork.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -780,7 +825,10 @@ "name": "virtualNetworkName", "required": true, "type": "string", - "description": "Name of the VirtualNetwork." + "description": "Name of the VirtualNetwork.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -844,7 +892,10 @@ "name": "virtualNetworkName", "required": true, "type": "string", - "description": "Name of the VirtualNetwork." + "description": "Name of the VirtualNetwork.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -854,15 +905,25 @@ "name": "force", "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", "required": false, - "type": "boolean" + "type": "string", + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "Force" + } } ], "responses": { - "200": { - "description": "Deletes the VirtualNetworks resource." - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "204": { "description": "No Content" @@ -906,7 +967,10 @@ "name": "virtualNetworkName", "required": true, "type": "string", - "description": "Name of the VirtualNetwork." + "description": "Name of the VirtualNetwork.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "name": "body", @@ -925,14 +989,13 @@ "$ref": "#/definitions/VirtualNetwork" } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/VirtualNetwork" - } - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -1055,7 +1118,10 @@ "name": "virtualMachineTemplateName", "required": true, "type": "string", - "description": "Name of the VirtualMachineTemplate." + "description": "Name of the VirtualMachineTemplate.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1100,7 +1166,10 @@ "name": "virtualMachineTemplateName", "required": true, "type": "string", - "description": "Name of the VirtualMachineTemplate." + "description": "Name of the VirtualMachineTemplate.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1164,7 +1233,10 @@ "name": "virtualMachineTemplateName", "required": true, "type": "string", - "description": "Name of the VirtualMachineTemplate." + "description": "Name of the VirtualMachineTemplate.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1174,15 +1246,25 @@ "name": "force", "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", "required": false, - "type": "boolean" + "type": "string", + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "Force" + } } ], "responses": { - "200": { - "description": "Deletes the VirtualMachineTemplates resource." - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "204": { "description": "No Content" @@ -1226,7 +1308,10 @@ "name": "virtualMachineTemplateName", "required": true, "type": "string", - "description": "Name of the VirtualMachineTemplate." + "description": "Name of the VirtualMachineTemplate.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "name": "body", @@ -1245,14 +1330,13 @@ "$ref": "#/definitions/VirtualMachineTemplate" } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/VirtualMachineTemplate" - } - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -1375,7 +1459,10 @@ "name": "availabilitySetName", "required": true, "type": "string", - "description": "Name of the AvailabilitySet." + "description": "Name of the AvailabilitySet.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1420,7 +1507,10 @@ "name": "availabilitySetName", "required": true, "type": "string", - "description": "Name of the AvailabilitySet." + "description": "Name of the AvailabilitySet.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1490,7 +1580,10 @@ "name": "availabilitySetName", "required": true, "type": "string", - "description": "Name of the AvailabilitySet." + "description": "Name of the AvailabilitySet.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1500,19 +1593,27 @@ "name": "force", "description": "Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.", "required": false, - "type": "boolean" + "type": "string", + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "Force" + } } ], "responses": { - "200": { - "description": "Deletes the AvailabilitySets resource." - }, "202": { "description": "Accepted", "headers": { "Azure-AsyncOperation": { "description": "Tracking URL for long running operation.", "type": "string" + }, + "Location": { + "type": "string" } } }, @@ -1555,7 +1656,10 @@ "name": "availabilitySetName", "required": true, "type": "string", - "description": "Name of the AvailabilitySet." + "description": "Name of the AvailabilitySet.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "name": "body", @@ -1574,14 +1678,13 @@ "$ref": "#/definitions/AvailabilitySet" } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/AvailabilitySet" - } - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -1710,14 +1813,18 @@ "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the VMMServer." + "description": "Name of the VMMServer.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "in": "path", "name": "inventoryItemName", "required": true, "type": "string", - "description": "Name of the inventoryItem." + "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" @@ -1738,6 +1845,12 @@ "$ref": "#/definitions/InventoryItem" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/InventoryItem" + } + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -1773,14 +1886,18 @@ "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the VMMServer." + "description": "Name of the VMMServer.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "in": "path", "name": "inventoryItemName", "required": true, "type": "string", - "description": "Name of the inventoryItem." + "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" @@ -1828,14 +1945,18 @@ "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the VMMServer." + "description": "Name of the VMMServer.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "in": "path", "name": "inventoryItemName", "required": true, "type": "string", - "description": "Name of the inventoryItem." + "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" @@ -1885,7 +2006,10 @@ "name": "vmmServerName", "required": true, "type": "string", - "description": "Name of the VMMServer." + "description": "Name of the VMMServer.", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54 }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2050,7 +2174,12 @@ } }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -2091,22 +2220,40 @@ "name": "force", "description": "Whether force delete was specified.", "required": false, - "type": "boolean" + "type": "string", + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "Force" + } }, { "in": "query", "name": "deleteFromHost", "description": "Whether to disable the VM from azure and also delete it from VMM.", "required": false, - "type": "boolean" + "type": "string", + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "DeleteFromHost" + } } ], "responses": { - "200": { - "description": "Success" - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "204": { "description": "No Content" @@ -2200,11 +2347,13 @@ } ], "responses": { - "200": { - "description": "Success" - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -2238,11 +2387,13 @@ } ], "responses": { - "200": { - "description": "Success" - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -2276,11 +2427,13 @@ } ], "responses": { - "200": { - "description": "Success" - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -2408,11 +2561,13 @@ } ], "responses": { - "200": { - "description": "Success" - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -2457,11 +2612,13 @@ } ], "responses": { - "200": { - "description": "Success" - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -2506,11 +2663,13 @@ } ], "responses": { - "200": { - "description": "Success" - }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -2647,9 +2806,6 @@ "200": { "description": "Success" }, - "202": { - "description": "Accepted" - }, "204": { "description": "No Content" }, @@ -2659,8 +2815,7 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-long-running-operation": true + } } }, "/{resourceUri}/providers/Microsoft.ScVmm/virtualMachineInstances/default/guestAgents": { @@ -2716,23 +2871,8 @@ "type": "object", "properties": { "credentials": { - "type": "object", "description": "Credentials to connect to VMMServer.", - "properties": { - "username": { - "type": "string", - "description": "Username to use to connect to VMMServer." - }, - "password": { - "type": "string", - "description": "Credentials to use to connect to VMMServer.", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } + "$ref": "#/definitions/VMMCredential" }, "fqdn": { "type": "string", @@ -3188,7 +3328,6 @@ }, "biosGuid": { "type": "string", - "format": "uuid", "description": "Gets or sets the bios guid for the vm." } }, @@ -3766,8 +3905,16 @@ "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": "boolean", - "default": false + "type": "string", + "enum": [ + "false", + "true" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "SkipShutdown" + }, + "default": "false" } } }, @@ -4297,7 +4444,6 @@ "biosGuid": { "description": "Gets the bios guid.", "type": "string", - "format": "uuid", "readOnly": true }, "managedMachineResourceId": { @@ -4358,7 +4504,6 @@ "properties": { "resourceUid": { "description": "The unique identifier for the resource.", - "format": "uuid", "type": "string" }, "publicKey": { @@ -4594,6 +4739,25 @@ "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": { From ba6798cbe7fa76583af596f02c7fc42c26b013df Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Thu, 19 Oct 2023 00:33:15 +0530 Subject: [PATCH 13/14] Rename Path parameter - LintDiff --- .../stable/2023-10-07/scvmm.json | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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 2f69cf148c53..c08d6332e368 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 @@ -411,7 +411,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/clouds/{cloudResourceName}": { "get": { "tags": [ "Clouds" @@ -433,7 +433,7 @@ }, { "in": "path", - "name": "cloudName", + "name": "cloudResourceName", "required": true, "type": "string", "description": "Name of the Cloud.", @@ -481,7 +481,7 @@ }, { "in": "path", - "name": "cloudName", + "name": "cloudResourceName", "required": true, "type": "string", "description": "Name of the Cloud.", @@ -548,7 +548,7 @@ }, { "in": "path", - "name": "cloudName", + "name": "cloudResourceName", "required": true, "type": "string", "description": "Name of the Cloud.", @@ -623,7 +623,7 @@ }, { "in": "path", - "name": "cloudName", + "name": "cloudResourceName", "required": true, "type": "string", "description": "Name of the Cloud.", @@ -1434,7 +1434,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/availabilitySets/{availabilitySetResourceName}": { "get": { "tags": [ "AvailabilitySets" @@ -1456,7 +1456,7 @@ }, { "in": "path", - "name": "availabilitySetName", + "name": "availabilitySetResourceName", "required": true, "type": "string", "description": "Name of the AvailabilitySet.", @@ -1504,7 +1504,7 @@ }, { "in": "path", - "name": "availabilitySetName", + "name": "availabilitySetResourceName", "required": true, "type": "string", "description": "Name of the AvailabilitySet.", @@ -1577,7 +1577,7 @@ }, { "in": "path", - "name": "availabilitySetName", + "name": "availabilitySetResourceName", "required": true, "type": "string", "description": "Name of the AvailabilitySet.", @@ -1653,7 +1653,7 @@ }, { "in": "path", - "name": "availabilitySetName", + "name": "availabilitySetResourceName", "required": true, "type": "string", "description": "Name of the AvailabilitySet.", @@ -1782,7 +1782,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}": { "put": { "tags": [ "InventoryItems" @@ -1820,7 +1820,7 @@ }, { "in": "path", - "name": "inventoryItemName", + "name": "inventoryItemResourceName", "required": true, "type": "string", "description": "Name of the inventoryItem.", @@ -1893,7 +1893,7 @@ }, { "in": "path", - "name": "inventoryItemName", + "name": "inventoryItemResourceName", "required": true, "type": "string", "description": "Name of the inventoryItem.", @@ -1952,7 +1952,7 @@ }, { "in": "path", - "name": "inventoryItemName", + "name": "inventoryItemResourceName", "required": true, "type": "string", "description": "Name of the inventoryItem.", From 980fb6fb08b4d5f6e9fbb98fce0bfa51df3583d9 Mon Sep 17 00:00:00 2001 From: Harshit Surana Date: Thu, 19 Oct 2023 01:01:07 +0530 Subject: [PATCH 14/14] updated examples for path parameter rename --- .../stable/2023-10-07/examples/CreateAvailabilitySet.json | 2 +- .../Microsoft.ScVmm/stable/2023-10-07/examples/CreateCloud.json | 2 +- .../stable/2023-10-07/examples/CreateInventoryItem.json | 2 +- .../stable/2023-10-07/examples/DeleteAvailabilitySet.json | 2 +- .../Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCloud.json | 2 +- .../stable/2023-10-07/examples/DeleteInventoryItem.json | 2 +- .../stable/2023-10-07/examples/GetAvailabilitySet.json | 2 +- .../Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json | 2 +- .../stable/2023-10-07/examples/GetInventoryItem.json | 2 +- .../stable/2023-10-07/examples/UpdateAvailabilitySet.json | 2 +- .../Microsoft.ScVmm/stable/2023-10-07/examples/UpdateCloud.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) 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 index c68e2e07abd8..310299b81547 100644 --- 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 @@ -3,7 +3,7 @@ "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", - "availabilitySetName": "HRAvailabilitySet", + "availabilitySetResourceName": "HRAvailabilitySet", "body": { "location": "East US", "extendedLocation": { 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 index c6c7b3e5bf02..b81db907eb3d 100644 --- 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 @@ -3,7 +3,7 @@ "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", - "cloudName": "HRCloud", + "cloudResourceName": "HRCloud", "body": { "location": "East US", "extendedLocation": { 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 index b14e1d592b04..51fd8722d212 100644 --- 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 @@ -4,7 +4,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer", - "inventoryItemName": "12345678-1234-1234-1234-123456789abc", + "inventoryItemResourceName": "12345678-1234-1234-1234-123456789abc", "body": { "properties": { "inventoryType": "Cloud" 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 index af72922c8c4f..b87901257411 100644 --- 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 @@ -3,7 +3,7 @@ "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", - "availabilitySetName": "HRAvailabilitySet" + "availabilitySetResourceName": "HRAvailabilitySet" }, "responses": { "202": { 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 index af58680d63c4..6fddca86d9ca 100644 --- 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 @@ -3,7 +3,7 @@ "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", - "cloudName": "HRCloud" + "cloudResourceName": "HRCloud" }, "responses": { "202": { 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 index f491782f68ed..0b46fcfeeb79 100644 --- 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 @@ -4,7 +4,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer", - "inventoryItemName": "12345678-1234-1234-1234-123456789abc" + "inventoryItemResourceName": "12345678-1234-1234-1234-123456789abc" }, "responses": { "200": {}, 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 index ee8c245216e5..eedfdabb38f5 100644 --- 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 @@ -3,7 +3,7 @@ "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", - "availabilitySetName": "HRAvailabilitySet" + "availabilitySetResourceName": "HRAvailabilitySet" }, "responses": { "200": { 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 index 958f2ba92540..57097db0fb25 100644 --- 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 @@ -3,7 +3,7 @@ "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", - "cloudName": "HRCloud" + "cloudResourceName": "HRCloud" }, "responses": { "200": { 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 index 1160c4fe6578..155b57f20c7a 100644 --- 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 @@ -4,7 +4,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "vmmServerName": "ContosoVMMServer", - "inventoryItemName": "12345678-1234-1234-1234-123456789abc" + "inventoryItemResourceName": "12345678-1234-1234-1234-123456789abc" }, "responses": { "200": { 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 index d90045ff678b..95be09594af3 100644 --- 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 @@ -3,7 +3,7 @@ "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", - "availabilitySetName": "HRAvailabilitySet", + "availabilitySetResourceName": "HRAvailabilitySet", "body": { "tags": { "tag1": "value1", 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 index 97f07c9f4159..697d7d8721ab 100644 --- 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 @@ -3,7 +3,7 @@ "api-version": "2023-10-07", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", - "cloudName": "HRCloud", + "cloudResourceName": "HRCloud", "body": { "tags": { "tag1": "value1",