From 5e80f00f776f3bfd3d6636a43c061c89dc83c285 Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Fri, 4 Feb 2022 11:29:46 +0100
Subject: [PATCH 01/10] Adds base for updating Microsoft.DevTestLab from
version stable/2018-09-15 to version 2021-09-01
---
.../stable/2021-09-01/DTL.json | 12493 ++++++++++++++++
.../2021-09-01/examples/ArmTemplates_Get.json | 40 +
.../examples/ArmTemplates_List.json | 43 +
.../ArtifactSources_CreateOrUpdate.json | 74 +
.../examples/ArtifactSources_Delete.json | 13 +
.../examples/ArtifactSources_Get.json | 35 +
.../examples/ArtifactSources_List.json | 38 +
.../examples/ArtifactSources_Update.json | 40 +
.../Artifacts_GenerateArmTemplate.json | 68 +
.../2021-09-01/examples/Artifacts_Get.json | 38 +
.../2021-09-01/examples/Artifacts_List.json | 41 +
.../examples/Costs_CreateOrUpdate.json | 199 +
.../stable/2021-09-01/examples/Costs_Get.json | 77 +
.../examples/CustomImages_CreateOrUpdate.json | 73 +
.../examples/CustomImages_Delete.json | 14 +
.../2021-09-01/examples/CustomImages_Get.json | 35 +
.../examples/CustomImages_List.json | 35 +
.../examples/CustomImages_Update.json | 40 +
.../2021-09-01/examples/Disks_Attach.json | 17 +
.../examples/Disks_CreateOrUpdate.json | 53 +
.../2021-09-01/examples/Disks_Delete.json | 15 +
.../2021-09-01/examples/Disks_Detach.json | 17 +
.../stable/2021-09-01/examples/Disks_Get.json | 30 +
.../2021-09-01/examples/Disks_List.json | 34 +
.../2021-09-01/examples/Disks_Update.json | 37 +
.../examples/Environments_CreateOrUpdate.json | 58 +
.../examples/Environments_Delete.json | 15 +
.../2021-09-01/examples/Environments_Get.json | 31 +
.../examples/Environments_List.json | 34 +
.../examples/Environments_Update.json | 36 +
.../examples/Formulas_CreateOrUpdate.json | 164 +
.../2021-09-01/examples/Formulas_Delete.json | 13 +
.../2021-09-01/examples/Formulas_Get.json | 63 +
.../2021-09-01/examples/Formulas_List.json | 66 +
.../2021-09-01/examples/Formulas_Update.json | 70 +
.../examples/GalleryImages_List.json | 62 +
.../GlobalSchedules_CreateOrUpdate.json | 94 +
.../examples/GlobalSchedules_Delete.json | 12 +
.../examples/GlobalSchedules_Execute.json | 12 +
.../examples/GlobalSchedules_Get.json | 43 +
.../GlobalSchedules_ListByResourceGroup.json | 43 +
.../GlobalSchedules_ListBySubscription.json | 11 +
.../examples/GlobalSchedules_Retarget.json | 16 +
.../examples/GlobalSchedules_Update.json | 48 +
.../2021-09-01/examples/Labs_ClaimAnyVm.json | 13 +
.../examples/Labs_CreateEnvironment.json | 36 +
.../examples/Labs_CreateOrUpdate.json | 81 +
.../2021-09-01/examples/Labs_Delete.json | 13 +
.../examples/Labs_ExportResourceUsage.json | 16 +
.../examples/Labs_GenerateUploadUri.json | 18 +
.../stable/2021-09-01/examples/Labs_Get.json | 46 +
.../examples/Labs_ImportVirtualMachine.json | 16 +
.../examples/Labs_ListByResourceGroup.json | 45 +
.../examples/Labs_ListBySubscription.json | 82 +
.../2021-09-01/examples/Labs_ListVhds.json | 22 +
.../2021-09-01/examples/Labs_Update.json | 43 +
.../NotificationChannels_CreateOrUpdate.json | 74 +
.../examples/NotificationChannels_Delete.json | 13 +
.../examples/NotificationChannels_Get.json | 36 +
.../examples/NotificationChannels_List.json | 61 +
.../examples/NotificationChannels_Notify.json | 16 +
.../examples/NotificationChannels_Update.json | 37 +
.../2021-09-01/examples/Operations_Get.json | 22 +
.../examples/Policies_CreateOrUpdate.json | 70 +
.../2021-09-01/examples/Policies_Delete.json | 14 +
.../2021-09-01/examples/Policies_Get.json | 34 +
.../2021-09-01/examples/Policies_List.json | 38 +
.../2021-09-01/examples/Policies_Update.json | 39 +
.../examples/PolicySets_EvaluatePolicies.json | 34 +
.../examples/ProviderOperations_List.json | 859 ++
.../examples/Schedules_CreateOrUpdate.json | 126 +
.../2021-09-01/examples/Schedules_Delete.json | 13 +
.../examples/Schedules_Execute.json | 13 +
.../2021-09-01/examples/Schedules_Get.json | 52 +
.../2021-09-01/examples/Schedules_List.json | 55 +
.../examples/Schedules_ListApplicable.json | 56 +
.../2021-09-01/examples/Schedules_Update.json | 57 +
.../examples/Secrets_CreateOrUpdate.json | 37 +
.../2021-09-01/examples/Secrets_Delete.json | 14 +
.../2021-09-01/examples/Secrets_Get.json | 22 +
.../2021-09-01/examples/Secrets_List.json | 33 +
.../2021-09-01/examples/Secrets_Update.json | 27 +
...ServiceFabricSchedules_CreateOrUpdate.json | 128 +
.../ServiceFabricSchedules_Delete.json | 15 +
.../ServiceFabricSchedules_Execute.json | 15 +
.../examples/ServiceFabricSchedules_Get.json | 52 +
.../examples/ServiceFabricSchedules_List.json | 55 +
.../ServiceFabricSchedules_Update.json | 57 +
.../ServiceFabrics_CreateOrUpdate.json | 234 +
.../examples/ServiceFabrics_Delete.json | 15 +
.../examples/ServiceFabrics_Get.json | 118 +
.../examples/ServiceFabrics_List.json | 121 +
...erviceFabrics_ListApplicableSchedules.json | 103 +
.../examples/ServiceFabrics_Start.json | 14 +
.../examples/ServiceFabrics_Stop.json | 14 +
.../examples/ServiceFabrics_Update.json | 123 +
.../ServiceRunners_CreateOrUpdate.json | 57 +
.../examples/ServiceRunners_Delete.json | 13 +
.../examples/ServiceRunners_Get.json | 28 +
.../examples/Users_CreateOrUpdate.json | 84 +
.../2021-09-01/examples/Users_Delete.json | 14 +
.../stable/2021-09-01/examples/Users_Get.json | 38 +
.../2021-09-01/examples/Users_List.json | 41 +
.../2021-09-01/examples/Users_Update.json | 43 +
...irtualMachineSchedules_CreateOrUpdate.json | 125 +
.../VirtualMachineSchedules_Delete.json | 14 +
.../VirtualMachineSchedules_Execute.json | 14 +
.../examples/VirtualMachineSchedules_Get.json | 52 +
.../VirtualMachineSchedules_List.json | 55 +
.../VirtualMachineSchedules_Update.json | 57 +
.../examples/VirtualMachines_AddDataDisk.json | 21 +
.../VirtualMachines_ApplyArtifacts.json | 20 +
.../examples/VirtualMachines_Claim.json | 13 +
.../VirtualMachines_CreateOrUpdate.json | 116 +
.../examples/VirtualMachines_Delete.json | 14 +
.../VirtualMachines_DetachDataDisk.json | 16 +
.../examples/VirtualMachines_Get.json | 54 +
.../VirtualMachines_GetRdpFileContents.json | 16 +
.../examples/VirtualMachines_List.json | 57 +
...rtualMachines_ListApplicableSchedules.json | 88 +
.../examples/VirtualMachines_Redeploy.json | 14 +
.../examples/VirtualMachines_Resize.json | 17 +
.../examples/VirtualMachines_Restart.json | 14 +
.../examples/VirtualMachines_Start.json | 14 +
.../examples/VirtualMachines_Stop.json | 13 +
.../VirtualMachines_TransferDisks.json | 13 +
.../examples/VirtualMachines_UnClaim.json | 14 +
.../examples/VirtualMachines_Update.json | 55 +
.../VirtualNetworks_CreateOrUpdate.json | 47 +
.../examples/VirtualNetworks_Delete.json | 14 +
.../examples/VirtualNetworks_Get.json | 54 +
.../examples/VirtualNetworks_List.json | 57 +
.../examples/VirtualNetworks_Update.json | 52 +
133 files changed, 19265 insertions(+)
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ProviderOperations_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
new file mode 100644
index 000000000000..6bf4586940af
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
@@ -0,0 +1,12493 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-09-15",
+ "title": "DevTestLabsClient",
+ "description": "The DevTest Labs Client."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/providers/Microsoft.DevTestLab/operations": {
+ "get": {
+ "tags": [
+ "ProviderOperations"
+ ],
+ "description": "Result of the request to list REST API operations",
+ "operationId": "ProviderOperations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProviderOperationResult"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ProviderOperations_List": {
+ "$ref": "./examples/ProviderOperations_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/labs": {
+ "get": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "List labs in a subscription.",
+ "operationId": "Labs_ListBySubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LabList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Lab",
+ "x-ms-examples": {
+ "Labs_ListBySubscription": {
+ "$ref": "./examples/Labs_ListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Get operation.",
+ "operationId": "Operations_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/locationName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the operation.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationResult"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/OperationResult"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Operations_Get": {
+ "$ref": "./examples/Operations_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/schedules": {
+ "get": {
+ "tags": [
+ "GlobalSchedules"
+ ],
+ "description": "List schedules in a subscription.",
+ "operationId": "GlobalSchedules_ListBySubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ScheduleList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Schedule",
+ "x-ms-examples": {
+ "GlobalSchedules_ListBySubscription": {
+ "$ref": "./examples/GlobalSchedules_ListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs": {
+ "get": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "List labs in a resource group.",
+ "operationId": "Labs_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LabList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Lab",
+ "x-ms-examples": {
+ "Labs_ListByResourceGroup": {
+ "$ref": "./examples/Labs_ListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources": {
+ "get": {
+ "tags": [
+ "ArtifactSources"
+ ],
+ "description": "List artifact sources in a given lab.",
+ "operationId": "ArtifactSources_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=displayName)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArtifactSourceList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/ArtifactSource",
+ "x-ms-examples": {
+ "ArtifactSources_List": {
+ "$ref": "./examples/ArtifactSources_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates": {
+ "get": {
+ "tags": [
+ "ArmTemplates"
+ ],
+ "description": "List azure resource manager templates in a given artifact source.",
+ "operationId": "ArmTemplates_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactSourceName",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=displayName)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArmTemplateList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/ArmTemplate",
+ "x-ms-examples": {
+ "ArmTemplates_List": {
+ "$ref": "./examples/ArmTemplates_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates/{name}": {
+ "get": {
+ "tags": [
+ "ArmTemplates"
+ ],
+ "description": "Get azure resource manager template.",
+ "operationId": "ArmTemplates_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactSourceName",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the azure resource manager template.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=displayName)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArmTemplate"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ArmTemplates_Get": {
+ "$ref": "./examples/ArmTemplates_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts": {
+ "get": {
+ "tags": [
+ "Artifacts"
+ ],
+ "description": "List artifacts in a given artifact source.",
+ "operationId": "Artifacts_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactSourceName",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=title)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArtifactList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Artifact",
+ "x-ms-examples": {
+ "Artifacts_List": {
+ "$ref": "./examples/Artifacts_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}": {
+ "get": {
+ "tags": [
+ "Artifacts"
+ ],
+ "description": "Get artifact.",
+ "operationId": "Artifacts_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactSourceName",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=title)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Artifacts_Get": {
+ "$ref": "./examples/Artifacts_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}/generateArmTemplate": {
+ "post": {
+ "tags": [
+ "Artifacts"
+ ],
+ "description": "Generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact.",
+ "operationId": "Artifacts_GenerateArmTemplate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactSourceName",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "generateArmTemplateRequest",
+ "in": "body",
+ "description": "Parameters for generating an ARM template for deploying artifacts.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GenerateArmTemplateRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArmTemplateInfo"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Artifacts_GenerateArmTemplate": {
+ "$ref": "./examples/Artifacts_GenerateArmTemplate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}": {
+ "get": {
+ "tags": [
+ "ArtifactSources"
+ ],
+ "description": "Get artifact source.",
+ "operationId": "ArtifactSources_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=displayName)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ArtifactSources_Get": {
+ "$ref": "./examples/ArtifactSources_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ArtifactSources"
+ ],
+ "description": "Create or replace an existing artifact source.",
+ "operationId": "ArtifactSources_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactSource",
+ "in": "body",
+ "description": "Properties of an artifact source.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ArtifactSources_CreateOrUpdate": {
+ "$ref": "./examples/ArtifactSources_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ArtifactSources"
+ ],
+ "description": "Delete artifact source.",
+ "operationId": "ArtifactSources_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ArtifactSources_Delete": {
+ "$ref": "./examples/ArtifactSources_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ArtifactSources"
+ ],
+ "description": "Allows modifying tags of artifact sources. All other properties will be ignored.",
+ "operationId": "ArtifactSources_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactSource",
+ "in": "body",
+ "description": "Properties of an artifact source.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ArtifactSourceFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ArtifactSources_Update": {
+ "$ref": "./examples/ArtifactSources_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}": {
+ "get": {
+ "tags": [
+ "Costs"
+ ],
+ "description": "Get cost.",
+ "operationId": "Costs_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the cost.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($expand=labCostDetails)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LabCost"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Costs_Get": {
+ "$ref": "./examples/Costs_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Costs"
+ ],
+ "description": "Create or replace an existing cost.",
+ "operationId": "Costs_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the cost.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "labCost",
+ "in": "body",
+ "description": "A cost item.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LabCost"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LabCost"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/LabCost"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Costs_CreateOrUpdate": {
+ "$ref": "./examples/Costs_CreateOrUpdate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages": {
+ "get": {
+ "tags": [
+ "CustomImages"
+ ],
+ "description": "List custom images in a given lab.",
+ "operationId": "CustomImages_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=vm)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CustomImageList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/CustomImage",
+ "x-ms-examples": {
+ "CustomImages_List": {
+ "$ref": "./examples/CustomImages_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}": {
+ "get": {
+ "tags": [
+ "CustomImages"
+ ],
+ "description": "Get custom image.",
+ "operationId": "CustomImages_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the custom image.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=vm)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CustomImage"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomImages_Get": {
+ "$ref": "./examples/CustomImages_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "CustomImages"
+ ],
+ "description": "Create or replace an existing custom image. This operation can take a while to complete.",
+ "operationId": "CustomImages_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the custom image.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customImage",
+ "in": "body",
+ "description": "A custom image.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CustomImage"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CustomImage"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/CustomImage"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomImages_CreateOrUpdate": {
+ "$ref": "./examples/CustomImages_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "CustomImages"
+ ],
+ "description": "Delete custom image. This operation can take a while to complete.",
+ "operationId": "CustomImages_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the custom image.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomImages_Delete": {
+ "$ref": "./examples/CustomImages_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "CustomImages"
+ ],
+ "description": "Allows modifying tags of custom images. All other properties will be ignored.",
+ "operationId": "CustomImages_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the custom image.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customImage",
+ "in": "body",
+ "description": "A custom image.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CustomImageFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CustomImage"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomImages_Update": {
+ "$ref": "./examples/CustomImages_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas": {
+ "get": {
+ "tags": [
+ "Formulas"
+ ],
+ "description": "List formulas in a given lab.",
+ "operationId": "Formulas_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=description)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/FormulaList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Formula",
+ "x-ms-examples": {
+ "Formulas_List": {
+ "$ref": "./examples/Formulas_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}": {
+ "get": {
+ "tags": [
+ "Formulas"
+ ],
+ "description": "Get formula.",
+ "operationId": "Formulas_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the formula.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=description)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Formula"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Formulas_Get": {
+ "$ref": "./examples/Formulas_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Formulas"
+ ],
+ "description": "Create or replace an existing formula. This operation can take a while to complete.",
+ "operationId": "Formulas_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the formula.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "formula",
+ "in": "body",
+ "description": "A formula for creating a VM, specifying an image base and other parameters",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Formula"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Formula"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Formula"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Formulas_CreateOrUpdate": {
+ "$ref": "./examples/Formulas_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Formulas"
+ ],
+ "description": "Delete formula.",
+ "operationId": "Formulas_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the formula.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Formulas_Delete": {
+ "$ref": "./examples/Formulas_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Formulas"
+ ],
+ "description": "Allows modifying tags of formulas. All other properties will be ignored.",
+ "operationId": "Formulas_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the formula.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "formula",
+ "in": "body",
+ "description": "A formula for creating a VM, specifying an image base and other parameters",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FormulaFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Formula"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Formulas_Update": {
+ "$ref": "./examples/Formulas_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages": {
+ "get": {
+ "tags": [
+ "GalleryImages"
+ ],
+ "description": "List gallery images in a given lab.",
+ "operationId": "GalleryImages_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=author)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImageList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/GalleryImage",
+ "x-ms-examples": {
+ "GalleryImages_List": {
+ "$ref": "./examples/GalleryImages_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels": {
+ "get": {
+ "tags": [
+ "NotificationChannels"
+ ],
+ "description": "List notification channels in a given lab.",
+ "operationId": "NotificationChannels_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=webHookUrl)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/NotificationChannelList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/NotificationChannel",
+ "x-ms-examples": {
+ "NotificationChannels_List": {
+ "$ref": "./examples/NotificationChannels_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}": {
+ "get": {
+ "tags": [
+ "NotificationChannels"
+ ],
+ "description": "Get notification channel.",
+ "operationId": "NotificationChannels_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the notification channel.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=webHookUrl)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/NotificationChannel"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationChannels_Get": {
+ "$ref": "./examples/NotificationChannels_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NotificationChannels"
+ ],
+ "description": "Create or replace an existing notification channel.",
+ "operationId": "NotificationChannels_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the notification channel.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "notificationChannel",
+ "in": "body",
+ "description": "A notification.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NotificationChannel"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/NotificationChannel"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/NotificationChannel"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationChannels_CreateOrUpdate": {
+ "$ref": "./examples/NotificationChannels_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "NotificationChannels"
+ ],
+ "description": "Delete notification channel.",
+ "operationId": "NotificationChannels_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the notification channel.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationChannels_Delete": {
+ "$ref": "./examples/NotificationChannels_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "NotificationChannels"
+ ],
+ "description": "Allows modifying tags of notification channels. All other properties will be ignored.",
+ "operationId": "NotificationChannels_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the notification channel.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "notificationChannel",
+ "in": "body",
+ "description": "A notification.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NotificationChannelFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/NotificationChannel"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationChannels_Update": {
+ "$ref": "./examples/NotificationChannels_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}/notify": {
+ "post": {
+ "tags": [
+ "NotificationChannels"
+ ],
+ "description": "Send notification to provided channel.",
+ "operationId": "NotificationChannels_Notify",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the notification channel.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "notifyParameters",
+ "in": "body",
+ "description": "Properties for generating a Notification.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NotifyParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationChannels_Notify": {
+ "$ref": "./examples/NotificationChannels_Notify.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{name}/evaluatePolicies": {
+ "post": {
+ "tags": [
+ "PolicySets"
+ ],
+ "description": "Evaluates lab policy.",
+ "operationId": "PolicySets_EvaluatePolicies",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the policy set.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "evaluatePoliciesRequest",
+ "in": "body",
+ "description": "Request body for evaluating a policy set.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EvaluatePoliciesRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EvaluatePoliciesResponse"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PolicySets_EvaluatePolicies": {
+ "$ref": "./examples/PolicySets_EvaluatePolicies.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies": {
+ "get": {
+ "tags": [
+ "Policies"
+ ],
+ "description": "List policies in a given policy set.",
+ "operationId": "Policies_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "policySetName",
+ "in": "path",
+ "description": "The name of the policy set.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=description)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PolicyList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Policy",
+ "x-ms-examples": {
+ "Policies_List": {
+ "$ref": "./examples/Policies_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}": {
+ "get": {
+ "tags": [
+ "Policies"
+ ],
+ "description": "Get policy.",
+ "operationId": "Policies_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "policySetName",
+ "in": "path",
+ "description": "The name of the policy set.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the policy.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=description)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Policy"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Policies_Get": {
+ "$ref": "./examples/Policies_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Policies"
+ ],
+ "description": "Create or replace an existing policy.",
+ "operationId": "Policies_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "policySetName",
+ "in": "path",
+ "description": "The name of the policy set.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the policy.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "policy",
+ "in": "body",
+ "description": "A Policy.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Policy"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Policy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Policy"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Policies_CreateOrUpdate": {
+ "$ref": "./examples/Policies_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Policies"
+ ],
+ "description": "Delete policy.",
+ "operationId": "Policies_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "policySetName",
+ "in": "path",
+ "description": "The name of the policy set.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the policy.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Policies_Delete": {
+ "$ref": "./examples/Policies_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Policies"
+ ],
+ "description": "Allows modifying tags of policies. All other properties will be ignored.",
+ "operationId": "Policies_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "policySetName",
+ "in": "path",
+ "description": "The name of the policy set.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the policy.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "policy",
+ "in": "body",
+ "description": "A Policy.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicyFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Policy"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Policies_Update": {
+ "$ref": "./examples/Policies_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules": {
+ "get": {
+ "tags": [
+ "Schedules"
+ ],
+ "description": "List schedules in a given lab.",
+ "operationId": "Schedules_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ScheduleList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Schedule",
+ "x-ms-examples": {
+ "Schedules_List": {
+ "$ref": "./examples/Schedules_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}": {
+ "get": {
+ "tags": [
+ "Schedules"
+ ],
+ "description": "Get schedule.",
+ "operationId": "Schedules_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Schedules_Get": {
+ "$ref": "./examples/Schedules_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Schedules"
+ ],
+ "description": "Create or replace an existing schedule.",
+ "operationId": "Schedules_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "A schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Schedules_CreateOrUpdate": {
+ "$ref": "./examples/Schedules_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Schedules"
+ ],
+ "description": "Delete schedule.",
+ "operationId": "Schedules_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Schedules_Delete": {
+ "$ref": "./examples/Schedules_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Schedules"
+ ],
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
+ "operationId": "Schedules_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "A schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ScheduleFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Schedules_Update": {
+ "$ref": "./examples/Schedules_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}/execute": {
+ "post": {
+ "tags": [
+ "Schedules"
+ ],
+ "description": "Execute a schedule. This operation can take a while to complete.",
+ "operationId": "Schedules_Execute",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Schedules_Execute": {
+ "$ref": "./examples/Schedules_Execute.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}/listApplicable": {
+ "post": {
+ "tags": [
+ "Schedules"
+ ],
+ "description": "Lists all applicable schedules",
+ "operationId": "Schedules_ListApplicable",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ScheduleList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Schedules_ListApplicable": {
+ "$ref": "./examples/Schedules_ListApplicable.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}": {
+ "get": {
+ "tags": [
+ "ServiceRunners"
+ ],
+ "description": "Get service runner.",
+ "operationId": "ServiceRunners_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service runner.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceRunner"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceRunners_Get": {
+ "$ref": "./examples/ServiceRunners_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ServiceRunners"
+ ],
+ "description": "Create or replace an existing service runner.",
+ "operationId": "ServiceRunners_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service runner.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "serviceRunner",
+ "in": "body",
+ "description": "A container for a managed identity to execute DevTest lab services.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceRunner"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceRunner"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ServiceRunner"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceRunners_CreateOrUpdate": {
+ "$ref": "./examples/ServiceRunners_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ServiceRunners"
+ ],
+ "description": "Delete service runner.",
+ "operationId": "ServiceRunners_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service runner.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceRunners_Delete": {
+ "$ref": "./examples/ServiceRunners_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users": {
+ "get": {
+ "tags": [
+ "Users"
+ ],
+ "description": "List user profiles in a given lab.",
+ "operationId": "Users_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=identity)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/UserList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/User",
+ "x-ms-examples": {
+ "Users_List": {
+ "$ref": "./examples/Users_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}": {
+ "get": {
+ "tags": [
+ "Users"
+ ],
+ "description": "Get user profile.",
+ "operationId": "Users_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=identity)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Users_Get": {
+ "$ref": "./examples/Users_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Users"
+ ],
+ "description": "Create or replace an existing user profile. This operation can take a while to complete.",
+ "operationId": "Users_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "user",
+ "in": "body",
+ "description": "Profile of a lab user.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Users_CreateOrUpdate": {
+ "$ref": "./examples/Users_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Users"
+ ],
+ "description": "Delete user profile. This operation can take a while to complete.",
+ "operationId": "Users_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Users_Delete": {
+ "$ref": "./examples/Users_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Users"
+ ],
+ "description": "Allows modifying tags of user profiles. All other properties will be ignored.",
+ "operationId": "Users_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "user",
+ "in": "body",
+ "description": "Profile of a lab user.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/UserFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Users_Update": {
+ "$ref": "./examples/Users_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks": {
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "List disks in a given user profile.",
+ "operationId": "Disks_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=diskType)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Disk",
+ "x-ms-examples": {
+ "Disks_List": {
+ "$ref": "./examples/Disks_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}": {
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Get disk.",
+ "operationId": "Disks_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=diskType)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Get": {
+ "$ref": "./examples/Disks_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Create or replace an existing disk. This operation can take a while to complete.",
+ "operationId": "Disks_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "disk",
+ "in": "body",
+ "description": "A Disk.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_CreateOrUpdate": {
+ "$ref": "./examples/Disks_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Delete disk. This operation can take a while to complete.",
+ "operationId": "Disks_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Delete": {
+ "$ref": "./examples/Disks_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Allows modifying tags of disks. All other properties will be ignored.",
+ "operationId": "Disks_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "disk",
+ "in": "body",
+ "description": "A Disk.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DiskFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Update": {
+ "$ref": "./examples/Disks_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/attach": {
+ "post": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Attach and create the lease of the disk to the virtual machine. This operation can take a while to complete.",
+ "operationId": "Disks_Attach",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "attachDiskProperties",
+ "in": "body",
+ "description": "Properties of the disk to attach.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AttachDiskProperties"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Attach": {
+ "$ref": "./examples/Disks_Attach.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/detach": {
+ "post": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Detach and break the lease of the disk attached to the virtual machine. This operation can take a while to complete.",
+ "operationId": "Disks_Detach",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "detachDiskProperties",
+ "in": "body",
+ "description": "Properties of the disk to detach.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DetachDiskProperties"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Detach": {
+ "$ref": "./examples/Disks_Detach.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments": {
+ "get": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "List environments in a given user profile.",
+ "operationId": "Environments_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironmentList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/DtlEnvironment",
+ "x-ms-examples": {
+ "Environments_List": {
+ "$ref": "./examples/Environments_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}": {
+ "get": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "Get environment.",
+ "operationId": "Environments_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the environment.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Environments_Get": {
+ "$ref": "./examples/Environments_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "Create or replace an existing environment. This operation can take a while to complete.",
+ "operationId": "Environments_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the environment.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dtlEnvironment",
+ "in": "body",
+ "description": "An environment, which is essentially an ARM template deployment.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Environments_CreateOrUpdate": {
+ "$ref": "./examples/Environments_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "Delete environment. This operation can take a while to complete.",
+ "operationId": "Environments_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the environment.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Environments_Delete": {
+ "$ref": "./examples/Environments_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "Allows modifying tags of environments. All other properties will be ignored.",
+ "operationId": "Environments_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the environment.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dtlEnvironment",
+ "in": "body",
+ "description": "An environment, which is essentially an ARM template deployment.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironmentFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Environments_Update": {
+ "$ref": "./examples/Environments_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets": {
+ "get": {
+ "tags": [
+ "Secrets"
+ ],
+ "description": "List secrets in a given user profile.",
+ "operationId": "Secrets_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=value)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SecretList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Secret",
+ "x-ms-examples": {
+ "Secrets_List": {
+ "$ref": "./examples/Secrets_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}": {
+ "get": {
+ "tags": [
+ "Secrets"
+ ],
+ "description": "Get secret.",
+ "operationId": "Secrets_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the secret.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=value)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Secrets_Get": {
+ "$ref": "./examples/Secrets_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Secrets"
+ ],
+ "description": "Create or replace an existing secret. This operation can take a while to complete.",
+ "operationId": "Secrets_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the secret.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "secret",
+ "in": "body",
+ "description": "A secret.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Secrets_CreateOrUpdate": {
+ "$ref": "./examples/Secrets_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Secrets"
+ ],
+ "description": "Delete secret.",
+ "operationId": "Secrets_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the secret.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Secrets_Delete": {
+ "$ref": "./examples/Secrets_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Secrets"
+ ],
+ "description": "Allows modifying tags of secrets. All other properties will be ignored.",
+ "operationId": "Secrets_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the secret.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "secret",
+ "in": "body",
+ "description": "A secret.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SecretFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Secrets_Update": {
+ "$ref": "./examples/Secrets_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics": {
+ "get": {
+ "tags": [
+ "ServiceFabrics"
+ ],
+ "description": "List service fabrics in a given user profile.",
+ "operationId": "ServiceFabrics_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceFabricList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/ServiceFabric",
+ "x-ms-examples": {
+ "ServiceFabrics_List": {
+ "$ref": "./examples/ServiceFabrics_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}": {
+ "get": {
+ "tags": [
+ "ServiceFabrics"
+ ],
+ "description": "Get service fabric.",
+ "operationId": "ServiceFabrics_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceFabric"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabrics_Get": {
+ "$ref": "./examples/ServiceFabrics_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ServiceFabrics"
+ ],
+ "description": "Create or replace an existing service fabric. This operation can take a while to complete.",
+ "operationId": "ServiceFabrics_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "serviceFabric",
+ "in": "body",
+ "description": "A Service Fabric.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceFabric"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceFabric"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ServiceFabric"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabrics_CreateOrUpdate": {
+ "$ref": "./examples/ServiceFabrics_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "ServiceFabrics"
+ ],
+ "description": "Delete service fabric. This operation can take a while to complete.",
+ "operationId": "ServiceFabrics_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabrics_Delete": {
+ "$ref": "./examples/ServiceFabrics_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "ServiceFabrics"
+ ],
+ "description": "Allows modifying tags of service fabrics. All other properties will be ignored.",
+ "operationId": "ServiceFabrics_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "serviceFabric",
+ "in": "body",
+ "description": "A Service Fabric.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceFabricFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceFabric"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabrics_Update": {
+ "$ref": "./examples/ServiceFabrics_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/listApplicableSchedules": {
+ "post": {
+ "tags": [
+ "ServiceFabrics"
+ ],
+ "description": "Lists the applicable start/stop schedules, if any.",
+ "operationId": "ServiceFabrics_ListApplicableSchedules",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ApplicableSchedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabrics_ListApplicableSchedules": {
+ "$ref": "./examples/ServiceFabrics_ListApplicableSchedules.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/start": {
+ "post": {
+ "tags": [
+ "ServiceFabrics"
+ ],
+ "description": "Start a service fabric. This operation can take a while to complete.",
+ "operationId": "ServiceFabrics_Start",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabrics_Start": {
+ "$ref": "./examples/ServiceFabrics_Start.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/stop": {
+ "post": {
+ "tags": [
+ "ServiceFabrics"
+ ],
+ "description": "Stop a service fabric This operation can take a while to complete.",
+ "operationId": "ServiceFabrics_Stop",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabrics_Stop": {
+ "$ref": "./examples/ServiceFabrics_Stop.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules": {
+ "get": {
+ "tags": [
+ "ServiceFabricSchedules"
+ ],
+ "description": "List schedules in a given service fabric.",
+ "operationId": "ServiceFabricSchedules_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "serviceFabricName",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ScheduleList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Schedule",
+ "x-ms-examples": {
+ "ServiceFabricSchedules_List": {
+ "$ref": "./examples/ServiceFabricSchedules_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}": {
+ "get": {
+ "tags": [
+ "ServiceFabricSchedules"
+ ],
+ "description": "Get schedule.",
+ "operationId": "ServiceFabricSchedules_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "serviceFabricName",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabricSchedules_Get": {
+ "$ref": "./examples/ServiceFabricSchedules_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ServiceFabricSchedules"
+ ],
+ "description": "Create or replace an existing schedule.",
+ "operationId": "ServiceFabricSchedules_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "serviceFabricName",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "A schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabricSchedules_CreateOrUpdate": {
+ "$ref": "./examples/ServiceFabricSchedules_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ServiceFabricSchedules"
+ ],
+ "description": "Delete schedule.",
+ "operationId": "ServiceFabricSchedules_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "serviceFabricName",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabricSchedules_Delete": {
+ "$ref": "./examples/ServiceFabricSchedules_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ServiceFabricSchedules"
+ ],
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
+ "operationId": "ServiceFabricSchedules_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "serviceFabricName",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "A schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ScheduleFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabricSchedules_Update": {
+ "$ref": "./examples/ServiceFabricSchedules_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}/execute": {
+ "post": {
+ "tags": [
+ "ServiceFabricSchedules"
+ ],
+ "description": "Execute a schedule. This operation can take a while to complete.",
+ "operationId": "ServiceFabricSchedules_Execute",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "serviceFabricName",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabricSchedules_Execute": {
+ "$ref": "./examples/ServiceFabricSchedules_Execute.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines": {
+ "get": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "List virtual machines in a given lab.",
+ "operationId": "VirtualMachines_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LabVirtualMachineList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/LabVirtualMachine",
+ "x-ms-examples": {
+ "VirtualMachines_List": {
+ "$ref": "./examples/VirtualMachines_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}": {
+ "get": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Get virtual machine.",
+ "operationId": "VirtualMachines_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LabVirtualMachine"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_Get": {
+ "$ref": "./examples/VirtualMachines_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Create or replace an existing virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "labVirtualMachine",
+ "in": "body",
+ "description": "A virtual machine.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LabVirtualMachine"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LabVirtualMachine"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/LabVirtualMachine"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_CreateOrUpdate": {
+ "$ref": "./examples/VirtualMachines_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Delete virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_Delete": {
+ "$ref": "./examples/VirtualMachines_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Allows modifying tags of virtual machines. All other properties will be ignored.",
+ "operationId": "VirtualMachines_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "labVirtualMachine",
+ "in": "body",
+ "description": "A virtual machine.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LabVirtualMachineFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LabVirtualMachine"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_Update": {
+ "$ref": "./examples/VirtualMachines_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/addDataDisk": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Attach a new or existing data disk to virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_AddDataDisk",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataDiskProperties",
+ "in": "body",
+ "description": "Request body for adding a new or existing data disk to a virtual machine.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataDiskProperties"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_AddDataDisk": {
+ "$ref": "./examples/VirtualMachines_AddDataDisk.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/applyArtifacts": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Apply artifacts to virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_ApplyArtifacts",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "applyArtifactsRequest",
+ "in": "body",
+ "description": "Request body for applying artifacts to a virtual machine.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApplyArtifactsRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_ApplyArtifacts": {
+ "$ref": "./examples/VirtualMachines_ApplyArtifacts.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/claim": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Take ownership of an existing virtual machine This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Claim",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_Claim": {
+ "$ref": "./examples/VirtualMachines_Claim.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/detachDataDisk": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Detach the specified disk from the virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_DetachDataDisk",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "detachDataDiskProperties",
+ "in": "body",
+ "description": "Request body for detaching data disk from a virtual machine.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DetachDataDiskProperties"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_DetachDataDisk": {
+ "$ref": "./examples/VirtualMachines_DetachDataDisk.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Gets a string that represents the contents of the RDP file for the virtual machine",
+ "operationId": "VirtualMachines_GetRdpFileContents",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RdpConnection"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_GetRdpFileContents": {
+ "$ref": "./examples/VirtualMachines_GetRdpFileContents.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/listApplicableSchedules": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Lists the applicable start/stop schedules, if any.",
+ "operationId": "VirtualMachines_ListApplicableSchedules",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ApplicableSchedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_ListApplicableSchedules": {
+ "$ref": "./examples/VirtualMachines_ListApplicableSchedules.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/redeploy": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Redeploy a virtual machine This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Redeploy",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_Redeploy": {
+ "$ref": "./examples/VirtualMachines_Redeploy.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/resize": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Resize Virtual Machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Resize",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "resizeLabVirtualMachineProperties",
+ "in": "body",
+ "description": "Request body for resizing a virtual machine.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResizeLabVirtualMachineProperties"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_Resize": {
+ "$ref": "./examples/VirtualMachines_Resize.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/restart": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Restart a virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Restart",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_Restart": {
+ "$ref": "./examples/VirtualMachines_Restart.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/start": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Start a virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Start",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_Start": {
+ "$ref": "./examples/VirtualMachines_Start.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/stop": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Stop a virtual machine This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Stop",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_Stop": {
+ "$ref": "./examples/VirtualMachines_Stop.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/transferDisks": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Transfers all data disks attached to the virtual machine to be owned by the current user. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_TransferDisks",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_TransferDisks": {
+ "$ref": "./examples/VirtualMachines_TransferDisks.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/unClaim": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Release ownership of an existing virtual machine This operation can take a while to complete.",
+ "operationId": "VirtualMachines_UnClaim",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_UnClaim": {
+ "$ref": "./examples/VirtualMachines_UnClaim.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules": {
+ "get": {
+ "tags": [
+ "VirtualMachineSchedules"
+ ],
+ "description": "List schedules in a given virtual machine.",
+ "operationId": "VirtualMachineSchedules_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "virtualMachineName",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ScheduleList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Schedule",
+ "x-ms-examples": {
+ "VirtualMachineSchedules_List": {
+ "$ref": "./examples/VirtualMachineSchedules_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}": {
+ "get": {
+ "tags": [
+ "VirtualMachineSchedules"
+ ],
+ "description": "Get schedule.",
+ "operationId": "VirtualMachineSchedules_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "virtualMachineName",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachineSchedules_Get": {
+ "$ref": "./examples/VirtualMachineSchedules_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VirtualMachineSchedules"
+ ],
+ "description": "Create or replace an existing schedule.",
+ "operationId": "VirtualMachineSchedules_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "virtualMachineName",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "A schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachineSchedules_CreateOrUpdate": {
+ "$ref": "./examples/VirtualMachineSchedules_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "VirtualMachineSchedules"
+ ],
+ "description": "Delete schedule.",
+ "operationId": "VirtualMachineSchedules_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "virtualMachineName",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachineSchedules_Delete": {
+ "$ref": "./examples/VirtualMachineSchedules_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualMachineSchedules"
+ ],
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
+ "operationId": "VirtualMachineSchedules_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "virtualMachineName",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "A schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ScheduleFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachineSchedules_Update": {
+ "$ref": "./examples/VirtualMachineSchedules_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}/execute": {
+ "post": {
+ "tags": [
+ "VirtualMachineSchedules"
+ ],
+ "description": "Execute a schedule. This operation can take a while to complete.",
+ "operationId": "VirtualMachineSchedules_Execute",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "virtualMachineName",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachineSchedules_Execute": {
+ "$ref": "./examples/VirtualMachineSchedules_Execute.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks": {
+ "get": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "description": "List virtual networks in a given lab.",
+ "operationId": "VirtualNetworks_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/VirtualNetwork",
+ "x-ms-examples": {
+ "VirtualNetworks_List": {
+ "$ref": "./examples/VirtualNetworks_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}": {
+ "get": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "description": "Get virtual network.",
+ "operationId": "VirtualNetworks_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual network.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualNetworks_Get": {
+ "$ref": "./examples/VirtualNetworks_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "description": "Create or replace an existing virtual network. This operation can take a while to complete.",
+ "operationId": "VirtualNetworks_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual network.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "virtualNetwork",
+ "in": "body",
+ "description": "A virtual network.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualNetworks_CreateOrUpdate": {
+ "$ref": "./examples/VirtualNetworks_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "description": "Delete virtual network. This operation can take a while to complete.",
+ "operationId": "VirtualNetworks_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual network.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualNetworks_Delete": {
+ "$ref": "./examples/VirtualNetworks_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "description": "Allows modifying tags of virtual networks. All other properties will be ignored.",
+ "operationId": "VirtualNetworks_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual network.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "virtualNetwork",
+ "in": "body",
+ "description": "A virtual network.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualNetworks_Update": {
+ "$ref": "./examples/VirtualNetworks_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}": {
+ "get": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Get lab.",
+ "operationId": "Labs_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Lab"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_Get": {
+ "$ref": "./examples/Labs_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Create or replace an existing lab. This operation can take a while to complete.",
+ "operationId": "Labs_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "lab",
+ "in": "body",
+ "description": "A lab.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Lab"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Lab"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Lab"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_CreateOrUpdate": {
+ "$ref": "./examples/Labs_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Delete lab. This operation can take a while to complete.",
+ "operationId": "Labs_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_Delete": {
+ "$ref": "./examples/Labs_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Allows modifying tags of labs. All other properties will be ignored.",
+ "operationId": "Labs_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "lab",
+ "in": "body",
+ "description": "A lab.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LabFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Lab"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_Update": {
+ "$ref": "./examples/Labs_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/claimAnyVm": {
+ "post": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Claim a random claimable virtual machine in the lab. This operation can take a while to complete.",
+ "operationId": "Labs_ClaimAnyVm",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_ClaimAnyVm": {
+ "$ref": "./examples/Labs_ClaimAnyVm.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/createEnvironment": {
+ "post": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Create virtual machines in a lab. This operation can take a while to complete.",
+ "operationId": "Labs_CreateEnvironment",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "labVirtualMachineCreationParameter",
+ "in": "body",
+ "description": "Properties for creating a virtual machine.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LabVirtualMachineCreationParameter"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_CreateEnvironment": {
+ "$ref": "./examples/Labs_CreateEnvironment.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/exportResourceUsage": {
+ "post": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Exports the lab resource usage into a storage account This operation can take a while to complete.",
+ "operationId": "Labs_ExportResourceUsage",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "exportResourceUsageParameters",
+ "in": "body",
+ "description": "The parameters of the export operation.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExportResourceUsageParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_ExportResourceUsage": {
+ "$ref": "./examples/Labs_ExportResourceUsage.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/generateUploadUri": {
+ "post": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Generate a URI for uploading custom disk images to a Lab.",
+ "operationId": "Labs_GenerateUploadUri",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "generateUploadUriParameter",
+ "in": "body",
+ "description": "Properties for generating an upload URI.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GenerateUploadUriParameter"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GenerateUploadUriResponse"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_GenerateUploadUri": {
+ "$ref": "./examples/Labs_GenerateUploadUri.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/importVirtualMachine": {
+ "post": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Import a virtual machine into a different lab. This operation can take a while to complete.",
+ "operationId": "Labs_ImportVirtualMachine",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "importLabVirtualMachineRequest",
+ "in": "body",
+ "description": "This represents the payload required to import a virtual machine from a different lab into the current one",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ImportLabVirtualMachineRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_ImportVirtualMachine": {
+ "$ref": "./examples/Labs_ImportVirtualMachine.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/listVhds": {
+ "post": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "List disk images available for custom image creation.",
+ "operationId": "Labs_ListVhds",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LabVhdList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Labs_ListVhds": {
+ "$ref": "./examples/Labs_ListVhds.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules": {
+ "get": {
+ "tags": [
+ "GlobalSchedules"
+ ],
+ "description": "List schedules in a resource group.",
+ "operationId": "GlobalSchedules_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ScheduleList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Schedule",
+ "x-ms-examples": {
+ "GlobalSchedules_ListByResourceGroup": {
+ "$ref": "./examples/GlobalSchedules_ListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}": {
+ "get": {
+ "tags": [
+ "GlobalSchedules"
+ ],
+ "description": "Get schedule.",
+ "operationId": "GlobalSchedules_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GlobalSchedules_Get": {
+ "$ref": "./examples/GlobalSchedules_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "GlobalSchedules"
+ ],
+ "description": "Create or replace an existing schedule.",
+ "operationId": "GlobalSchedules_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "A schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GlobalSchedules_CreateOrUpdate": {
+ "$ref": "./examples/GlobalSchedules_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GlobalSchedules"
+ ],
+ "description": "Delete schedule.",
+ "operationId": "GlobalSchedules_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GlobalSchedules_Delete": {
+ "$ref": "./examples/GlobalSchedules_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "GlobalSchedules"
+ ],
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
+ "operationId": "GlobalSchedules_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "A schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ScheduleFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GlobalSchedules_Update": {
+ "$ref": "./examples/GlobalSchedules_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}/execute": {
+ "post": {
+ "tags": [
+ "GlobalSchedules"
+ ],
+ "description": "Execute a schedule. This operation can take a while to complete.",
+ "operationId": "GlobalSchedules_Execute",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GlobalSchedules_Execute": {
+ "$ref": "./examples/GlobalSchedules_Execute.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}/retarget": {
+ "post": {
+ "tags": [
+ "GlobalSchedules"
+ ],
+ "description": "Updates a schedule's target resource Id. This operation can take a while to complete.",
+ "operationId": "GlobalSchedules_Retarget",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the schedule.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "retargetScheduleProperties",
+ "in": "body",
+ "description": "Properties for retargeting a virtual machine schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RetargetScheduleProperties"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GlobalSchedules_Retarget": {
+ "$ref": "./examples/GlobalSchedules_Retarget.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ }
+ },
+ "definitions": {
+ "ApplicableSchedule": {
+ "description": "Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ApplicableScheduleProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ApplicableScheduleFragment": {
+ "description": "Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "ApplicableScheduleProperties": {
+ "description": "Properties of a schedules applicable to a virtual machine.",
+ "type": "object",
+ "properties": {
+ "labVmsShutdown": {
+ "$ref": "#/definitions/Schedule",
+ "description": "The auto-shutdown schedule, if one has been set at the lab or lab resource level."
+ },
+ "labVmsStartup": {
+ "$ref": "#/definitions/Schedule",
+ "description": "The auto-startup schedule, if one has been set at the lab or lab resource level."
+ }
+ }
+ },
+ "ApplicableSchedulePropertiesFragment": {
+ "description": "Properties of a schedules applicable to a virtual machine.",
+ "type": "object",
+ "properties": {}
+ },
+ "ApplyArtifactsRequest": {
+ "description": "Request body for applying artifacts to a virtual machine.",
+ "type": "object",
+ "properties": {
+ "artifacts": {
+ "description": "The list of artifacts to apply.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactInstallProperties"
+ }
+ }
+ }
+ },
+ "ArmTemplate": {
+ "description": "An Azure Resource Manager template.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ArmTemplateProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ArmTemplateInfo": {
+ "description": "Information about a generated ARM template.",
+ "type": "object",
+ "properties": {
+ "template": {
+ "description": "The template's contents.",
+ "type": "object"
+ },
+ "parameters": {
+ "description": "The parameters of the ARM template.",
+ "type": "object"
+ }
+ }
+ },
+ "ArmTemplateList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArmTemplate"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "ArmTemplateParameterProperties": {
+ "description": "Properties of an Azure Resource Manager template parameter.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the template parameter.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the template parameter.",
+ "type": "string"
+ }
+ }
+ },
+ "ArmTemplateParameterPropertiesFragment": {
+ "description": "Properties of an Azure Resource Manager template parameter.",
+ "type": "object",
+ "properties": {}
+ },
+ "ArmTemplateProperties": {
+ "description": "Properties of an Azure Resource Manager template.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "The display name of the ARM template.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The description of the ARM template.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisher": {
+ "description": "The publisher of the ARM template.",
+ "type": "string",
+ "readOnly": true
+ },
+ "icon": {
+ "description": "The URI to the icon of the ARM template.",
+ "type": "string",
+ "readOnly": true
+ },
+ "contents": {
+ "description": "The contents of the ARM template.",
+ "type": "object",
+ "readOnly": true
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the armTemplate.",
+ "type": "string",
+ "readOnly": true
+ },
+ "parametersValueFilesInfo": {
+ "description": "File name and parameter values information from all azuredeploy.*.parameters.json for the ARM template.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ParametersValueFileInfo"
+ },
+ "readOnly": true
+ },
+ "enabled": {
+ "description": "Whether or not ARM template is enabled for use by lab user.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "Artifact": {
+ "description": "An artifact.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ArtifactProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ArtifactDeploymentStatusProperties": {
+ "description": "Properties of an artifact deployment.",
+ "type": "object",
+ "properties": {
+ "deploymentStatus": {
+ "description": "The deployment status of the artifact.",
+ "type": "string"
+ },
+ "artifactsApplied": {
+ "format": "int32",
+ "description": "The total count of the artifacts that were successfully applied.",
+ "type": "integer"
+ },
+ "totalArtifacts": {
+ "format": "int32",
+ "description": "The total count of the artifacts that were tentatively applied.",
+ "type": "integer"
+ }
+ }
+ },
+ "ArtifactDeploymentStatusPropertiesFragment": {
+ "description": "Properties of an artifact deployment.",
+ "type": "object",
+ "properties": {}
+ },
+ "ArtifactInstallProperties": {
+ "description": "Properties of an artifact.",
+ "type": "object",
+ "properties": {
+ "artifactId": {
+ "description": "The artifact's identifier.",
+ "type": "string"
+ },
+ "artifactTitle": {
+ "description": "The artifact's title.",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "The parameters of the artifact.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactParameterProperties"
+ }
+ },
+ "status": {
+ "description": "The status of the artifact.",
+ "type": "string"
+ },
+ "deploymentStatusMessage": {
+ "description": "The status message from the deployment.",
+ "type": "string"
+ },
+ "vmExtensionStatusMessage": {
+ "description": "The status message from the virtual machine extension.",
+ "type": "string"
+ },
+ "installTime": {
+ "format": "date-time",
+ "description": "The time that the artifact starts to install on the virtual machine.",
+ "type": "string"
+ }
+ }
+ },
+ "ArtifactInstallPropertiesFragment": {
+ "description": "Properties of an artifact.",
+ "type": "object",
+ "properties": {}
+ },
+ "ArtifactList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "ArtifactParameterProperties": {
+ "description": "Properties of an artifact parameter.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the artifact parameter.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the artifact parameter.",
+ "type": "string"
+ }
+ }
+ },
+ "ArtifactParameterPropertiesFragment": {
+ "description": "Properties of an artifact parameter.",
+ "type": "object",
+ "properties": {}
+ },
+ "ArtifactProperties": {
+ "description": "Properties of an artifact.",
+ "type": "object",
+ "properties": {
+ "title": {
+ "description": "The artifact's title.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The artifact's description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisher": {
+ "description": "The artifact's publisher.",
+ "type": "string",
+ "readOnly": true
+ },
+ "filePath": {
+ "description": "The file path to the artifact.",
+ "type": "string",
+ "readOnly": true
+ },
+ "icon": {
+ "description": "The URI to the artifact icon.",
+ "type": "string",
+ "readOnly": true
+ },
+ "targetOsType": {
+ "description": "The artifact's target OS.",
+ "type": "string",
+ "readOnly": true
+ },
+ "parameters": {
+ "description": "The artifact's parameters.",
+ "type": "object",
+ "readOnly": true
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The artifact's creation date.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ArtifactSource": {
+ "description": "Properties of an artifact source.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ArtifactSourceProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ArtifactSourceFragment": {
+ "description": "Properties of an artifact source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "ArtifactSourceList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactSource"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "ArtifactSourceProperties": {
+ "description": "Properties of an artifact source.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "The artifact source's display name.",
+ "type": "string"
+ },
+ "uri": {
+ "description": "The artifact source's URI.",
+ "type": "string"
+ },
+ "sourceType": {
+ "description": "The artifact source's type.",
+ "enum": [
+ "VsoGit",
+ "GitHub",
+ "StorageAccount"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceControlType",
+ "modelAsString": true
+ }
+ },
+ "folderPath": {
+ "description": "The folder containing artifacts.",
+ "type": "string"
+ },
+ "armTemplateFolderPath": {
+ "description": "The folder containing Azure Resource Manager templates.",
+ "type": "string"
+ },
+ "branchRef": {
+ "description": "The artifact source's branch reference.",
+ "type": "string"
+ },
+ "securityToken": {
+ "description": "The security token to authenticate to the artifact source.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Indicates if the artifact source is enabled (values: Enabled, Disabled).",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EnableStatus",
+ "modelAsString": true
+ }
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The artifact source's creation date.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ArtifactSourcePropertiesFragment": {
+ "description": "Properties of an artifact source.",
+ "type": "object",
+ "properties": {}
+ },
+ "AttachDiskProperties": {
+ "description": "Properties of the disk to attach.",
+ "type": "object",
+ "properties": {
+ "leasedByLabVmId": {
+ "description": "The resource ID of the Lab virtual machine to which the disk is attached.",
+ "type": "string"
+ }
+ }
+ },
+ "AttachNewDataDiskOptions": {
+ "description": "Properties to attach new disk to the Virtual Machine.",
+ "type": "object",
+ "properties": {
+ "diskSizeGiB": {
+ "format": "int32",
+ "description": "Size of the disk to be attached in Gibibytes.",
+ "type": "integer"
+ },
+ "diskName": {
+ "description": "The name of the disk to be attached.",
+ "type": "string"
+ },
+ "diskType": {
+ "description": "The storage type for the disk (i.e. Standard, Premium).",
+ "enum": [
+ "Standard",
+ "Premium",
+ "StandardSSD"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AttachNewDataDiskOptionsFragment": {
+ "description": "Properties to attach new disk to the Virtual Machine.",
+ "type": "object",
+ "properties": {}
+ },
+ "BulkCreationParameters": {
+ "description": "Parameters for creating multiple virtual machines as a single action.",
+ "type": "object",
+ "properties": {
+ "instanceCount": {
+ "format": "int32",
+ "description": "The number of virtual machine instances to create.",
+ "type": "integer"
+ }
+ }
+ },
+ "BulkCreationParametersFragment": {
+ "description": "Parameters for creating multiple virtual machines as a single action.",
+ "type": "object",
+ "properties": {}
+ },
+ "CloudError": {
+ "description": "Error from a REST request.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody",
+ "description": "The cloud error that occurred"
+ }
+ },
+ "x-ms-external": true
+ },
+ "CloudErrorBody": {
+ "description": "Body of an error from a REST request.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The error target.",
+ "type": "string"
+ },
+ "details": {
+ "description": "Inner errors.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ }
+ },
+ "x-ms-external": true
+ },
+ "ComputeDataDisk": {
+ "description": "A data disks attached to a virtual machine.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Gets data disk name.",
+ "type": "string"
+ },
+ "diskUri": {
+ "description": "When backed by a blob, the URI of underlying blob.",
+ "type": "string"
+ },
+ "managedDiskId": {
+ "description": "When backed by managed disk, this is the ID of the compute disk resource.",
+ "type": "string"
+ },
+ "diskSizeGiB": {
+ "format": "int32",
+ "description": "Gets data disk size in GiB.",
+ "type": "integer"
+ }
+ }
+ },
+ "ComputeDataDiskFragment": {
+ "description": "A data disks attached to a virtual machine.",
+ "type": "object",
+ "properties": {}
+ },
+ "ComputeVmInstanceViewStatus": {
+ "description": "Status information about a virtual machine.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Gets the status Code.",
+ "type": "string"
+ },
+ "displayStatus": {
+ "description": "Gets the short localizable label for the status.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Gets the message associated with the status.",
+ "type": "string"
+ }
+ }
+ },
+ "ComputeVmInstanceViewStatusFragment": {
+ "description": "Status information about a virtual machine.",
+ "type": "object",
+ "properties": {}
+ },
+ "ComputeVmProperties": {
+ "description": "Properties of a virtual machine returned by the Microsoft.Compute API.",
+ "type": "object",
+ "properties": {
+ "statuses": {
+ "description": "Gets the statuses of the virtual machine.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ComputeVmInstanceViewStatus"
+ }
+ },
+ "osType": {
+ "description": "Gets the OS type of the virtual machine.",
+ "type": "string"
+ },
+ "vmSize": {
+ "description": "Gets the size of the virtual machine.",
+ "type": "string"
+ },
+ "networkInterfaceId": {
+ "description": "Gets the network interface ID of the virtual machine.",
+ "type": "string"
+ },
+ "osDiskId": {
+ "description": "Gets OS disk blob uri for the virtual machine.",
+ "type": "string"
+ },
+ "dataDiskIds": {
+ "description": "Gets data disks blob uri for the virtual machine.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "dataDisks": {
+ "description": "Gets all data disks attached to the virtual machine.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ComputeDataDisk"
+ }
+ }
+ }
+ },
+ "ComputeVmPropertiesFragment": {
+ "description": "Properties of a virtual machine returned by the Microsoft.Compute API.",
+ "type": "object",
+ "properties": {}
+ },
+ "CostThresholdProperties": {
+ "description": "Properties of a cost threshold item.",
+ "type": "object",
+ "properties": {
+ "thresholdId": {
+ "description": "The ID of the cost threshold item.",
+ "type": "string"
+ },
+ "percentageThreshold": {
+ "$ref": "#/definitions/PercentageCostThresholdProperties",
+ "description": "The value of the percentage cost threshold."
+ },
+ "displayOnChart": {
+ "description": "Indicates whether this threshold will be displayed on cost charts.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CostThresholdStatus",
+ "modelAsString": true
+ }
+ },
+ "sendNotificationWhenExceeded": {
+ "description": "Indicates whether notifications will be sent when this threshold is exceeded.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CostThresholdStatus",
+ "modelAsString": true
+ }
+ },
+ "notificationSent": {
+ "description": "Indicates the datetime when notifications were last sent for this threshold.",
+ "type": "string"
+ }
+ }
+ },
+ "CustomImage": {
+ "description": "A custom image.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/CustomImageProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "CustomImageFragment": {
+ "description": "A custom image.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "CustomImageList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CustomImage"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "CustomImageProperties": {
+ "description": "Properties of a custom image.",
+ "type": "object",
+ "properties": {
+ "vm": {
+ "$ref": "#/definitions/CustomImagePropertiesFromVm",
+ "description": "The virtual machine from which the image is to be created."
+ },
+ "vhd": {
+ "$ref": "#/definitions/CustomImagePropertiesCustom",
+ "description": "The VHD from which the image is to be created."
+ },
+ "description": {
+ "description": "The description of the custom image.",
+ "type": "string"
+ },
+ "author": {
+ "description": "The author of the custom image.",
+ "type": "string"
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The creation date of the custom image.",
+ "type": "string",
+ "readOnly": true
+ },
+ "managedImageId": {
+ "description": "The Managed Image Id backing the custom image.",
+ "type": "string"
+ },
+ "managedSnapshotId": {
+ "description": "The Managed Snapshot Id backing the custom image.",
+ "type": "string"
+ },
+ "dataDiskStorageInfo": {
+ "description": "Storage information about the data disks present in the custom image",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataDiskStorageTypeInfo"
+ }
+ },
+ "customImagePlan": {
+ "$ref": "#/definitions/CustomImagePropertiesFromPlan",
+ "description": "Storage information about the plan related to this custom image"
+ },
+ "isPlanAuthorized": {
+ "description": "Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment",
+ "type": "boolean"
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "CustomImagePropertiesCustom": {
+ "description": "Properties for creating a custom image from a VHD.",
+ "required": [
+ "osType"
+ ],
+ "type": "object",
+ "properties": {
+ "imageName": {
+ "description": "The image name.",
+ "type": "string"
+ },
+ "sysPrep": {
+ "description": "Indicates whether sysprep has been run on the VHD.",
+ "type": "boolean"
+ },
+ "osType": {
+ "description": "The OS type of the custom image (i.e. Windows, Linux)",
+ "enum": [
+ "Windows",
+ "Linux",
+ "None"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CustomImageOsType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "CustomImagePropertiesCustomFragment": {
+ "description": "Properties for creating a custom image from a VHD.",
+ "type": "object",
+ "properties": {}
+ },
+ "CustomImagePropertiesFragment": {
+ "description": "Properties of a custom image.",
+ "type": "object",
+ "properties": {}
+ },
+ "CustomImagePropertiesFromPlan": {
+ "description": "Properties for plan on a custom image.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The id of the plan, equivalent to name of the plan",
+ "type": "string"
+ },
+ "publisher": {
+ "description": "The publisher for the plan from the marketplace image the custom image is derived from",
+ "type": "string"
+ },
+ "offer": {
+ "description": "The offer for the plan from the marketplace image the custom image is derived from",
+ "type": "string"
+ }
+ }
+ },
+ "CustomImagePropertiesFromPlanFragment": {
+ "description": "Properties for plan on a custom image.",
+ "type": "object",
+ "properties": {}
+ },
+ "CustomImagePropertiesFromVm": {
+ "description": "Properties for creating a custom image from a virtual machine.",
+ "type": "object",
+ "properties": {
+ "sourceVmId": {
+ "description": "The source vm identifier.",
+ "type": "string"
+ },
+ "windowsOsInfo": {
+ "$ref": "#/definitions/WindowsOsInfo",
+ "description": "The Windows OS information of the VM."
+ },
+ "linuxOsInfo": {
+ "$ref": "#/definitions/LinuxOsInfo",
+ "description": "The Linux OS information of the VM."
+ }
+ }
+ },
+ "CustomImagePropertiesFromVmFragment": {
+ "description": "Properties for creating a custom image from a virtual machine.",
+ "type": "object",
+ "properties": {}
+ },
+ "DataDiskProperties": {
+ "description": "Request body for adding a new or existing data disk to a virtual machine.",
+ "type": "object",
+ "properties": {
+ "attachNewDataDiskOptions": {
+ "$ref": "#/definitions/AttachNewDataDiskOptions",
+ "description": "Specifies options to attach a new disk to the virtual machine."
+ },
+ "existingLabDiskId": {
+ "description": "Specifies the existing lab disk id to attach to virtual machine.",
+ "type": "string"
+ },
+ "hostCaching": {
+ "description": "Caching option for a data disk (i.e. None, ReadOnly, ReadWrite).",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "HostCachingOptions",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "DataDiskPropertiesFragment": {
+ "description": "Request body for adding a new or existing data disk to a virtual machine.",
+ "type": "object",
+ "properties": {}
+ },
+ "DataDiskStorageTypeInfo": {
+ "description": "Storage information about the data disks present in the custom image",
+ "type": "object",
+ "properties": {
+ "lun": {
+ "description": "Disk Lun",
+ "type": "string"
+ },
+ "storageType": {
+ "description": "Disk Storage Type",
+ "enum": [
+ "Standard",
+ "Premium",
+ "StandardSSD"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "DataDiskStorageTypeInfoFragment": {
+ "description": "Storage information about the data disks present in the custom image",
+ "type": "object",
+ "properties": {}
+ },
+ "DayDetails": {
+ "description": "Properties of a daily schedule.",
+ "type": "object",
+ "properties": {
+ "time": {
+ "description": "The time of day the schedule will occur.",
+ "type": "string"
+ }
+ }
+ },
+ "DayDetailsFragment": {
+ "description": "Properties of a daily schedule.",
+ "type": "object",
+ "properties": {}
+ },
+ "DetachDataDiskProperties": {
+ "description": "Request body for detaching data disk from a virtual machine.",
+ "type": "object",
+ "properties": {
+ "existingLabDiskId": {
+ "description": "Specifies the disk resource ID to detach from virtual machine.",
+ "type": "string"
+ }
+ }
+ },
+ "DetachDiskProperties": {
+ "description": "Properties of the disk to detach.",
+ "type": "object",
+ "properties": {
+ "leasedByLabVmId": {
+ "description": "The resource ID of the Lab VM to which the disk is attached.",
+ "type": "string"
+ }
+ }
+ },
+ "Disk": {
+ "description": "A Disk.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/DiskProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DiskFragment": {
+ "description": "A Disk.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "DiskList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "DiskProperties": {
+ "description": "Properties of a disk.",
+ "type": "object",
+ "properties": {
+ "diskType": {
+ "description": "The storage type for the disk (i.e. Standard, Premium).",
+ "enum": [
+ "Standard",
+ "Premium",
+ "StandardSSD"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageType",
+ "modelAsString": true
+ }
+ },
+ "diskSizeGiB": {
+ "format": "int32",
+ "description": "The size of the disk in Gibibytes.",
+ "type": "integer"
+ },
+ "leasedByLabVmId": {
+ "description": "The resource ID of the VM to which this disk is leased.",
+ "type": "string"
+ },
+ "diskBlobName": {
+ "description": "When backed by a blob, the name of the VHD blob without extension.",
+ "type": "string"
+ },
+ "diskUri": {
+ "description": "When backed by a blob, the URI of underlying blob.",
+ "type": "string"
+ },
+ "storageAccountId": {
+ "description": "When backed by a blob, the storage account where the blob is.",
+ "type": "string"
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the disk.",
+ "type": "string",
+ "readOnly": true
+ },
+ "hostCaching": {
+ "description": "The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite).",
+ "type": "string"
+ },
+ "managedDiskId": {
+ "description": "When backed by managed disk, this is the ID of the compute disk resource.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DiskPropertiesFragment": {
+ "description": "Properties of a disk.",
+ "type": "object",
+ "properties": {}
+ },
+ "DtlEnvironment": {
+ "description": "An environment, which is essentially an ARM template deployment.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EnvironmentProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DtlEnvironmentFragment": {
+ "description": "An environment, which is essentially an ARM template deployment.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "DtlEnvironmentList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "EnvironmentDeploymentProperties": {
+ "description": "Properties of an environment deployment.",
+ "type": "object",
+ "properties": {
+ "armTemplateId": {
+ "description": "The Azure Resource Manager template's identifier.",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "The parameters of the Azure Resource Manager template.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArmTemplateParameterProperties"
+ }
+ }
+ }
+ },
+ "EnvironmentDeploymentPropertiesFragment": {
+ "description": "Properties of an environment deployment.",
+ "type": "object",
+ "properties": {}
+ },
+ "EnvironmentProperties": {
+ "description": "Properties of an environment.",
+ "type": "object",
+ "properties": {
+ "deploymentProperties": {
+ "$ref": "#/definitions/EnvironmentDeploymentProperties",
+ "description": "The deployment properties of the environment."
+ },
+ "armTemplateDisplayName": {
+ "description": "The display name of the Azure Resource Manager template that produced the environment.",
+ "type": "string"
+ },
+ "resourceGroupId": {
+ "description": "The identifier of the resource group containing the environment's resources.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdByUser": {
+ "description": "The creator of the environment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "EnvironmentPropertiesFragment": {
+ "description": "Properties of an environment.",
+ "type": "object",
+ "properties": {}
+ },
+ "EvaluatePoliciesProperties": {
+ "description": "Properties for evaluating a policy set.",
+ "type": "object",
+ "properties": {
+ "factName": {
+ "description": "The fact name.",
+ "type": "string"
+ },
+ "factData": {
+ "description": "The fact data.",
+ "type": "string"
+ },
+ "valueOffset": {
+ "description": "The value offset.",
+ "type": "string"
+ },
+ "userObjectId": {
+ "description": "The user for which policies will be evaluated",
+ "type": "string"
+ }
+ }
+ },
+ "EvaluatePoliciesRequest": {
+ "description": "Request body for evaluating a policy set.",
+ "type": "object",
+ "properties": {
+ "policies": {
+ "description": "Policies to evaluate.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EvaluatePoliciesProperties"
+ }
+ }
+ }
+ },
+ "EvaluatePoliciesResponse": {
+ "description": "Response body for evaluating a policy set.",
+ "type": "object",
+ "properties": {
+ "results": {
+ "description": "Results of evaluating a policy set.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicySetResult"
+ }
+ }
+ }
+ },
+ "Event": {
+ "description": "An event to be notified for.",
+ "type": "object",
+ "properties": {
+ "eventName": {
+ "description": "The event type for which this notification is enabled (i.e. AutoShutdown, Cost)",
+ "enum": [
+ "AutoShutdown",
+ "Cost"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "NotificationChannelEventType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "EventFragment": {
+ "description": "An event to be notified for.",
+ "type": "object",
+ "properties": {}
+ },
+ "ExportResourceUsageParameters": {
+ "description": "The parameters of the export operation.",
+ "type": "object",
+ "properties": {
+ "blobStorageAbsoluteSasUri": {
+ "description": "The blob storage absolute sas uri with write permission to the container which the usage data needs to be uploaded to.",
+ "type": "string"
+ },
+ "usageStartDate": {
+ "format": "date-time",
+ "description": "The start time of the usage. If not provided, usage will be reported since the beginning of data collection.",
+ "type": "string"
+ }
+ }
+ },
+ "ExternalSubnet": {
+ "description": "Subnet information as returned by the Microsoft.Network API.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets the identifier.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Gets or sets the name.",
+ "type": "string"
+ }
+ }
+ },
+ "ExternalSubnetFragment": {
+ "description": "Subnet information as returned by the Microsoft.Network API.",
+ "type": "object",
+ "properties": {}
+ },
+ "Formula": {
+ "description": "A formula for creating a VM, specifying an image base and other parameters",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/FormulaProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "FormulaFragment": {
+ "description": "A formula for creating a VM, specifying an image base and other parameters",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "FormulaList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Formula"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "FormulaProperties": {
+ "description": "Properties of a formula.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "The description of the formula.",
+ "type": "string"
+ },
+ "author": {
+ "description": "The author of the formula.",
+ "type": "string",
+ "readOnly": true
+ },
+ "osType": {
+ "description": "The OS type of the formula.",
+ "type": "string"
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The creation date of the formula.",
+ "type": "string",
+ "readOnly": true
+ },
+ "formulaContent": {
+ "$ref": "#/definitions/LabVirtualMachineCreationParameter",
+ "description": "The content of the formula."
+ },
+ "vm": {
+ "$ref": "#/definitions/FormulaPropertiesFromVm",
+ "description": "Information about a VM from which a formula is to be created."
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "FormulaPropertiesFragment": {
+ "description": "Properties of a formula.",
+ "type": "object",
+ "properties": {}
+ },
+ "FormulaPropertiesFromVm": {
+ "description": "Information about a VM from which a formula is to be created.",
+ "type": "object",
+ "properties": {
+ "labVmId": {
+ "description": "The identifier of the VM from which a formula is to be created.",
+ "type": "string"
+ }
+ }
+ },
+ "FormulaPropertiesFromVmFragment": {
+ "description": "Information about a VM from which a formula is to be created.",
+ "type": "object",
+ "properties": {}
+ },
+ "GalleryImage": {
+ "description": "A gallery image.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/GalleryImageProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "GalleryImageList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryImage"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "GalleryImageProperties": {
+ "description": "Properties of a gallery image.",
+ "type": "object",
+ "properties": {
+ "author": {
+ "description": "The author of the gallery image.",
+ "type": "string"
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the gallery image.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The description of the gallery image.",
+ "type": "string"
+ },
+ "imageReference": {
+ "$ref": "#/definitions/GalleryImageReference",
+ "description": "The image reference of the gallery image."
+ },
+ "icon": {
+ "description": "The icon of the gallery image.",
+ "type": "string"
+ },
+ "enabled": {
+ "description": "Indicates whether this gallery image is enabled.",
+ "type": "boolean"
+ },
+ "planId": {
+ "description": "The third party plan that applies to this image",
+ "type": "string"
+ },
+ "isPlanAuthorized": {
+ "description": "Indicates if the plan has been authorized for programmatic deployment.",
+ "type": "boolean"
+ }
+ }
+ },
+ "GalleryImageReference": {
+ "description": "The reference information for an Azure Marketplace image.",
+ "type": "object",
+ "properties": {
+ "offer": {
+ "description": "The offer of the gallery image.",
+ "type": "string"
+ },
+ "publisher": {
+ "description": "The publisher of the gallery image.",
+ "type": "string"
+ },
+ "sku": {
+ "description": "The SKU of the gallery image.",
+ "type": "string"
+ },
+ "osType": {
+ "description": "The OS type of the gallery image.",
+ "type": "string"
+ },
+ "version": {
+ "description": "The version of the gallery image.",
+ "type": "string"
+ }
+ }
+ },
+ "GalleryImageReferenceFragment": {
+ "description": "The reference information for an Azure Marketplace image.",
+ "type": "object",
+ "properties": {}
+ },
+ "GenerateArmTemplateRequest": {
+ "description": "Parameters for generating an ARM template for deploying artifacts.",
+ "type": "object",
+ "properties": {
+ "virtualMachineName": {
+ "description": "The resource name of the virtual machine.",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "The parameters of the ARM template.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ParameterInfo"
+ }
+ },
+ "location": {
+ "description": "The location of the virtual machine.",
+ "type": "string"
+ },
+ "fileUploadOptions": {
+ "description": "Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.",
+ "enum": [
+ "UploadFilesAndGenerateSasTokens",
+ "None"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "FileUploadOptions",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "GenerateUploadUriParameter": {
+ "description": "Properties for generating an upload URI.",
+ "type": "object",
+ "properties": {
+ "blobName": {
+ "description": "The blob name of the upload URI.",
+ "type": "string"
+ }
+ }
+ },
+ "GenerateUploadUriResponse": {
+ "description": "Response body for generating an upload URI.",
+ "type": "object",
+ "properties": {
+ "uploadUri": {
+ "description": "The upload URI for the VHD.",
+ "type": "string"
+ }
+ }
+ },
+ "HourDetails": {
+ "description": "Properties of an hourly schedule.",
+ "type": "object",
+ "properties": {
+ "minute": {
+ "format": "int32",
+ "description": "Minutes of the hour the schedule will run.",
+ "type": "integer"
+ }
+ }
+ },
+ "HourDetailsFragment": {
+ "description": "Properties of an hourly schedule.",
+ "type": "object",
+ "properties": {}
+ },
+ "IdentityProperties": {
+ "description": "Properties of a managed identity",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Managed identity.",
+ "enum": [
+ "None",
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned,UserAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ManagedIdentityType",
+ "modelAsString": true
+ }
+ },
+ "principalId": {
+ "description": "The principal id of resource identity.",
+ "type": "string"
+ },
+ "tenantId": {
+ "description": "The tenant identifier of resource.",
+ "type": "string"
+ },
+ "clientSecretUrl": {
+ "description": "The client secret URL of the identity.",
+ "type": "string"
+ }
+ }
+ },
+ "ImportLabVirtualMachineRequest": {
+ "description": "This represents the payload required to import a virtual machine from a different lab into the current one",
+ "type": "object",
+ "properties": {
+ "sourceVirtualMachineResourceId": {
+ "description": "The full resource ID of the virtual machine to be imported.",
+ "type": "string"
+ },
+ "destinationVirtualMachineName": {
+ "description": "The name of the virtual machine in the destination lab",
+ "type": "string"
+ }
+ }
+ },
+ "InboundNatRule": {
+ "description": "A rule for NAT - exposing a VM's port (backendPort) on the public IP address using a load balancer.",
+ "type": "object",
+ "properties": {
+ "transportProtocol": {
+ "description": "The transport protocol for the endpoint.",
+ "enum": [
+ "Tcp",
+ "Udp"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TransportProtocol",
+ "modelAsString": true
+ }
+ },
+ "frontendPort": {
+ "format": "int32",
+ "description": "The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically.",
+ "type": "integer"
+ },
+ "backendPort": {
+ "format": "int32",
+ "description": "The port to which the external traffic will be redirected.",
+ "type": "integer"
+ }
+ }
+ },
+ "InboundNatRuleFragment": {
+ "description": "A rule for NAT - exposing a VM's port (backendPort) on the public IP address using a load balancer.",
+ "type": "object",
+ "properties": {}
+ },
+ "Lab": {
+ "description": "A lab.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/LabProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "LabAnnouncementProperties": {
+ "description": "Properties of a lab's announcement banner",
+ "type": "object",
+ "properties": {
+ "title": {
+ "description": "The plain text title for the lab announcement",
+ "type": "string"
+ },
+ "markdown": {
+ "description": "The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.",
+ "type": "string"
+ },
+ "enabled": {
+ "description": "Is the lab announcement active/enabled at this time?",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EnableStatus",
+ "modelAsString": true
+ }
+ },
+ "expirationDate": {
+ "format": "date-time",
+ "description": "The time at which the announcement expires (null for never)",
+ "type": "string"
+ },
+ "expired": {
+ "description": "Has this announcement expired?",
+ "type": "boolean"
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "LabAnnouncementPropertiesFragment": {
+ "description": "Properties of a lab's announcement banner",
+ "type": "object",
+ "properties": {}
+ },
+ "LabCost": {
+ "description": "A cost item.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/LabCostProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "LabCostDetailsProperties": {
+ "description": "The properties of a lab cost item.",
+ "type": "object",
+ "properties": {
+ "date": {
+ "format": "date-time",
+ "description": "The date of the cost item.",
+ "type": "string"
+ },
+ "cost": {
+ "format": "double",
+ "description": "The cost component of the cost item.",
+ "type": "number"
+ },
+ "costType": {
+ "description": "The type of the cost.",
+ "enum": [
+ "Unavailable",
+ "Reported",
+ "Projected"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CostType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "LabCostProperties": {
+ "description": "Properties of a cost item.",
+ "type": "object",
+ "properties": {
+ "targetCost": {
+ "$ref": "#/definitions/TargetCostProperties",
+ "description": "The target cost properties"
+ },
+ "labCostSummary": {
+ "$ref": "#/definitions/LabCostSummaryProperties",
+ "description": "The lab cost summary component of the cost data.",
+ "readOnly": true
+ },
+ "labCostDetails": {
+ "description": "The lab cost details component of the cost data.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LabCostDetailsProperties"
+ },
+ "readOnly": true
+ },
+ "resourceCosts": {
+ "description": "The resource cost component of the cost data.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LabResourceCostProperties"
+ },
+ "readOnly": true
+ },
+ "currencyCode": {
+ "description": "The currency code of the cost.",
+ "type": "string"
+ },
+ "startDateTime": {
+ "format": "date-time",
+ "description": "The start time of the cost data.",
+ "type": "string"
+ },
+ "endDateTime": {
+ "format": "date-time",
+ "description": "The end time of the cost data.",
+ "type": "string"
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the cost.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "LabCostSummaryProperties": {
+ "description": "The properties of the cost summary.",
+ "type": "object",
+ "properties": {
+ "estimatedLabCost": {
+ "format": "double",
+ "description": "The cost component of the cost item.",
+ "type": "number"
+ }
+ }
+ },
+ "LabFragment": {
+ "description": "A lab.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "LabList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Lab"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "LabProperties": {
+ "description": "Properties of a lab.",
+ "type": "object",
+ "properties": {
+ "defaultStorageAccount": {
+ "description": "The lab's default storage account.",
+ "type": "string",
+ "readOnly": true
+ },
+ "defaultPremiumStorageAccount": {
+ "description": "The lab's default premium storage account.",
+ "type": "string",
+ "readOnly": true
+ },
+ "artifactsStorageAccount": {
+ "description": "The lab's artifact storage account.",
+ "type": "string",
+ "readOnly": true
+ },
+ "premiumDataDiskStorageAccount": {
+ "description": "The lab's premium data disk storage account.",
+ "type": "string",
+ "readOnly": true
+ },
+ "vaultName": {
+ "description": "The lab's Key vault.",
+ "type": "string",
+ "readOnly": true
+ },
+ "labStorageType": {
+ "description": "Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.",
+ "default": "Premium",
+ "enum": [
+ "Standard",
+ "Premium",
+ "StandardSSD"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageType",
+ "modelAsString": true
+ }
+ },
+ "mandatoryArtifactsResourceIdsLinux": {
+ "description": "The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "mandatoryArtifactsResourceIdsWindows": {
+ "description": "The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the lab.",
+ "type": "string",
+ "readOnly": true
+ },
+ "premiumDataDisks": {
+ "description": "The setting to enable usage of premium data disks.\r\nWhen its value is 'Enabled', creation of standard or premium data disks is allowed.\r\nWhen its value is 'Disabled', only creation of standard data disks is allowed.",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PremiumDataDisk",
+ "modelAsString": true
+ }
+ },
+ "environmentPermission": {
+ "description": "The access rights to be granted to the user when provisioning an environment",
+ "enum": [
+ "Reader",
+ "Contributor"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EnvironmentPermission",
+ "modelAsString": true
+ }
+ },
+ "announcement": {
+ "$ref": "#/definitions/LabAnnouncementProperties",
+ "description": "The properties of any lab announcement associated with this lab"
+ },
+ "support": {
+ "$ref": "#/definitions/LabSupportProperties",
+ "description": "The properties of any lab support message associated with this lab"
+ },
+ "vmCreationResourceGroup": {
+ "description": "The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publicIpId": {
+ "description": "The public IP address for the lab's load balancer.",
+ "type": "string",
+ "readOnly": true
+ },
+ "loadBalancerId": {
+ "description": "The load balancer used to for lab VMs that use shared IP address.",
+ "type": "string",
+ "readOnly": true
+ },
+ "networkSecurityGroupId": {
+ "description": "The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.",
+ "type": "string",
+ "readOnly": true
+ },
+ "extendedProperties": {
+ "description": "Extended properties of the lab used for experimental features",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "LabPropertiesFragment": {
+ "description": "Properties of a lab.",
+ "type": "object",
+ "properties": {}
+ },
+ "LabResourceCostProperties": {
+ "description": "The properties of a resource cost item.",
+ "type": "object",
+ "properties": {
+ "resourcename": {
+ "description": "The name of the resource.",
+ "type": "string"
+ },
+ "resourceUId": {
+ "description": "The unique identifier of the resource.",
+ "type": "string"
+ },
+ "resourceCost": {
+ "format": "double",
+ "description": "The cost component of the resource cost item.",
+ "type": "number"
+ },
+ "resourceType": {
+ "description": "The logical resource type (ex. virtualmachine, storageaccount)",
+ "type": "string"
+ },
+ "resourceOwner": {
+ "description": "The owner of the resource (ex. janedoe@microsoft.com)",
+ "type": "string"
+ },
+ "resourcePricingTier": {
+ "description": "The category of the resource (ex. Premium_LRS, Standard_DS1)",
+ "type": "string"
+ },
+ "resourceStatus": {
+ "description": "The status of the resource (ex. Active)",
+ "type": "string"
+ },
+ "resourceId": {
+ "description": "The ID of the resource",
+ "type": "string"
+ },
+ "externalResourceId": {
+ "description": "The ID of the external resource",
+ "type": "string"
+ }
+ }
+ },
+ "LabSupportProperties": {
+ "description": "Properties of a lab's support banner",
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "description": "Is the lab support banner active/enabled at this time?",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EnableStatus",
+ "modelAsString": true
+ }
+ },
+ "markdown": {
+ "description": "The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.",
+ "type": "string"
+ }
+ }
+ },
+ "LabSupportPropertiesFragment": {
+ "description": "Properties of a lab's support banner",
+ "type": "object",
+ "properties": {}
+ },
+ "LabVhd": {
+ "description": "Properties of a VHD in the lab.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The URI to the VHD.",
+ "type": "string"
+ }
+ }
+ },
+ "LabVhdList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LabVhd"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "LabVirtualMachine": {
+ "description": "A virtual machine.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/LabVirtualMachineProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "LabVirtualMachineCreationParameter": {
+ "description": "Properties for creating a virtual machine.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/LabVirtualMachineCreationParameterProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ },
+ "name": {
+ "description": "The name of the virtual machine or environment",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location of the new virtual machine or environment",
+ "type": "string"
+ },
+ "tags": {
+ "description": "The tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "LabVirtualMachineCreationParameterFragment": {
+ "description": "Properties for creating a virtual machine.",
+ "type": "object",
+ "properties": {}
+ },
+ "LabVirtualMachineCreationParameterProperties": {
+ "description": "Properties for virtual machine creation.",
+ "type": "object",
+ "properties": {
+ "bulkCreationParameters": {
+ "$ref": "#/definitions/BulkCreationParameters",
+ "description": "The number of virtual machine instances to create."
+ },
+ "notes": {
+ "description": "The notes of the virtual machine.",
+ "type": "string"
+ },
+ "ownerObjectId": {
+ "description": "The object identifier of the owner of the virtual machine.",
+ "default": "dynamicValue",
+ "type": "string"
+ },
+ "ownerUserPrincipalName": {
+ "description": "The user principal name of the virtual machine owner.",
+ "type": "string"
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the virtual machine.",
+ "type": "string"
+ },
+ "customImageId": {
+ "description": "The custom image identifier of the virtual machine.",
+ "type": "string"
+ },
+ "size": {
+ "description": "The size of the virtual machine.",
+ "type": "string"
+ },
+ "userName": {
+ "description": "The user name of the virtual machine.",
+ "type": "string"
+ },
+ "password": {
+ "description": "The password of the virtual machine administrator.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "sshKey": {
+ "description": "The SSH key of the virtual machine administrator.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "isAuthenticationWithSshKey": {
+ "description": "Indicates whether this virtual machine uses an SSH key for authentication.",
+ "type": "boolean"
+ },
+ "labSubnetName": {
+ "description": "The lab subnet name of the virtual machine.",
+ "type": "string"
+ },
+ "labVirtualNetworkId": {
+ "description": "The lab virtual network identifier of the virtual machine.",
+ "type": "string"
+ },
+ "disallowPublicIpAddress": {
+ "description": "Indicates whether the virtual machine is to be created without a public IP address.",
+ "default": false,
+ "type": "boolean"
+ },
+ "artifacts": {
+ "description": "The artifacts to be installed on the virtual machine.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactInstallProperties"
+ }
+ },
+ "galleryImageReference": {
+ "$ref": "#/definitions/GalleryImageReference",
+ "description": "The Microsoft Azure Marketplace image reference of the virtual machine."
+ },
+ "planId": {
+ "description": "The id of the plan associated with the virtual machine image",
+ "type": "string"
+ },
+ "networkInterface": {
+ "$ref": "#/definitions/NetworkInterfaceProperties",
+ "description": "The network interface properties."
+ },
+ "expirationDate": {
+ "format": "date-time",
+ "description": "The expiration date for VM.",
+ "type": "string"
+ },
+ "allowClaim": {
+ "description": "Indicates whether another user can take ownership of the virtual machine",
+ "default": false,
+ "type": "boolean"
+ },
+ "storageType": {
+ "description": "Storage type to use for virtual machine (i.e. Standard, Premium).",
+ "default": "labStorageType",
+ "type": "string"
+ },
+ "environmentId": {
+ "description": "The resource ID of the environment that contains this virtual machine, if any.",
+ "type": "string"
+ },
+ "dataDiskParameters": {
+ "description": "New or existing data disks to attach to the virtual machine after creation",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataDiskProperties"
+ }
+ },
+ "scheduleParameters": {
+ "description": "Virtual Machine schedules to be created",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScheduleCreationParameter"
+ }
+ }
+ }
+ },
+ "LabVirtualMachineCreationParameterPropertiesFragment": {
+ "description": "Properties for virtual machine creation.",
+ "type": "object",
+ "properties": {}
+ },
+ "LabVirtualMachineFragment": {
+ "description": "A virtual machine.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "LabVirtualMachineList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LabVirtualMachine"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "LabVirtualMachineProperties": {
+ "description": "Properties of a virtual machine.",
+ "type": "object",
+ "properties": {
+ "notes": {
+ "description": "The notes of the virtual machine.",
+ "type": "string"
+ },
+ "ownerObjectId": {
+ "description": "The object identifier of the owner of the virtual machine.",
+ "default": "dynamicValue",
+ "type": "string"
+ },
+ "ownerUserPrincipalName": {
+ "description": "The user principal name of the virtual machine owner.",
+ "type": "string"
+ },
+ "createdByUserId": {
+ "description": "The object identifier of the creator of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdByUser": {
+ "description": "The email address of creator of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the virtual machine.",
+ "type": "string"
+ },
+ "computeId": {
+ "description": "The resource identifier (Microsoft.Compute) of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
+ "customImageId": {
+ "description": "The custom image identifier of the virtual machine.",
+ "type": "string"
+ },
+ "osType": {
+ "description": "The OS type of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
+ "size": {
+ "description": "The size of the virtual machine.",
+ "type": "string"
+ },
+ "userName": {
+ "description": "The user name of the virtual machine.",
+ "type": "string"
+ },
+ "password": {
+ "description": "The password of the virtual machine administrator.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "sshKey": {
+ "description": "The SSH key of the virtual machine administrator.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "isAuthenticationWithSshKey": {
+ "description": "Indicates whether this virtual machine uses an SSH key for authentication.",
+ "type": "boolean"
+ },
+ "fqdn": {
+ "description": "The fully-qualified domain name of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
+ "labSubnetName": {
+ "description": "The lab subnet name of the virtual machine.",
+ "type": "string"
+ },
+ "labVirtualNetworkId": {
+ "description": "The lab virtual network identifier of the virtual machine.",
+ "type": "string"
+ },
+ "disallowPublicIpAddress": {
+ "description": "Indicates whether the virtual machine is to be created without a public IP address.",
+ "default": false,
+ "type": "boolean"
+ },
+ "artifacts": {
+ "description": "The artifacts to be installed on the virtual machine.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactInstallProperties"
+ }
+ },
+ "artifactDeploymentStatus": {
+ "$ref": "#/definitions/ArtifactDeploymentStatusProperties",
+ "description": "The artifact deployment status for the virtual machine.",
+ "readOnly": true
+ },
+ "galleryImageReference": {
+ "$ref": "#/definitions/GalleryImageReference",
+ "description": "The Microsoft Azure Marketplace image reference of the virtual machine."
+ },
+ "planId": {
+ "description": "The id of the plan associated with the virtual machine image",
+ "type": "string"
+ },
+ "computeVm": {
+ "$ref": "#/definitions/ComputeVmProperties",
+ "description": "The compute virtual machine properties.",
+ "readOnly": true
+ },
+ "networkInterface": {
+ "$ref": "#/definitions/NetworkInterfaceProperties",
+ "description": "The network interface properties."
+ },
+ "applicableSchedule": {
+ "$ref": "#/definitions/ApplicableSchedule",
+ "description": "The applicable schedule for the virtual machine.",
+ "readOnly": true
+ },
+ "expirationDate": {
+ "format": "date-time",
+ "description": "The expiration date for VM.",
+ "type": "string"
+ },
+ "allowClaim": {
+ "description": "Indicates whether another user can take ownership of the virtual machine",
+ "default": false,
+ "type": "boolean"
+ },
+ "storageType": {
+ "description": "Storage type to use for virtual machine (i.e. Standard, Premium).",
+ "default": "labStorageType",
+ "type": "string"
+ },
+ "virtualMachineCreationSource": {
+ "description": "Tells source of creation of lab virtual machine. Output property only.",
+ "enum": [
+ "FromCustomImage",
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "VirtualMachineCreationSource",
+ "modelAsString": true
+ }
+ },
+ "environmentId": {
+ "description": "The resource ID of the environment that contains this virtual machine, if any.",
+ "type": "string"
+ },
+ "dataDiskParameters": {
+ "description": "New or existing data disks to attach to the virtual machine after creation",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataDiskProperties"
+ }
+ },
+ "scheduleParameters": {
+ "description": "Virtual Machine schedules to be created",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScheduleCreationParameter"
+ }
+ },
+ "lastKnownPowerState": {
+ "description": "Last known compute power state captured in DTL",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "LabVirtualMachinePropertiesFragment": {
+ "description": "Properties of a virtual machine.",
+ "type": "object",
+ "properties": {}
+ },
+ "LinuxOsInfo": {
+ "description": "Information about a Linux OS.",
+ "type": "object",
+ "properties": {
+ "linuxOsState": {
+ "description": "The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).",
+ "enum": [
+ "NonDeprovisioned",
+ "DeprovisionRequested",
+ "DeprovisionApplied"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "LinuxOsState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "LinuxOsInfoFragment": {
+ "description": "Information about a Linux OS.",
+ "type": "object",
+ "properties": {}
+ },
+ "NetworkInterfaceProperties": {
+ "description": "Properties of a network interface.",
+ "type": "object",
+ "properties": {
+ "virtualNetworkId": {
+ "description": "The resource ID of the virtual network.",
+ "type": "string"
+ },
+ "subnetId": {
+ "description": "The resource ID of the sub net.",
+ "type": "string"
+ },
+ "publicIpAddressId": {
+ "description": "The resource ID of the public IP address.",
+ "type": "string"
+ },
+ "publicIpAddress": {
+ "description": "The public IP address.",
+ "type": "string"
+ },
+ "privateIpAddress": {
+ "description": "The private IP address.",
+ "type": "string"
+ },
+ "dnsName": {
+ "description": "The DNS name.",
+ "type": "string"
+ },
+ "rdpAuthority": {
+ "description": "The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).",
+ "type": "string"
+ },
+ "sshAuthority": {
+ "description": "The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.",
+ "type": "string"
+ },
+ "sharedPublicIpAddressConfiguration": {
+ "$ref": "#/definitions/SharedPublicIpAddressConfiguration",
+ "description": "The configuration for sharing a public IP address across multiple virtual machines."
+ }
+ }
+ },
+ "NetworkInterfacePropertiesFragment": {
+ "description": "Properties of a network interface.",
+ "type": "object",
+ "properties": {}
+ },
+ "NotificationChannel": {
+ "description": "A notification.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/NotificationChannelProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "NotificationChannelFragment": {
+ "description": "A notification.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "NotificationChannelList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NotificationChannel"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "NotificationChannelProperties": {
+ "description": "Properties of a schedule.",
+ "type": "object",
+ "properties": {
+ "webHookUrl": {
+ "description": "The webhook URL to send notifications to.",
+ "type": "string"
+ },
+ "emailRecipient": {
+ "description": "The email recipient to send notifications to (can be a list of semi-colon separated email addresses).",
+ "type": "string"
+ },
+ "notificationLocale": {
+ "description": "The locale to use when sending a notification (fallback for unsupported languages is EN).",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of notification.",
+ "type": "string"
+ },
+ "events": {
+ "description": "The list of event for which this notification is enabled.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Event"
+ }
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the notification channel.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "NotificationChannelPropertiesFragment": {
+ "description": "Properties of a schedule.",
+ "type": "object",
+ "properties": {}
+ },
+ "NotificationSettings": {
+ "description": "Notification settings for a schedule.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "If notifications are enabled for this schedule (i.e. Enabled, Disabled).",
+ "default": "Disabled",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EnableStatus",
+ "modelAsString": true
+ }
+ },
+ "timeInMinutes": {
+ "format": "int32",
+ "description": "Time in minutes before event at which notification will be sent.",
+ "type": "integer"
+ },
+ "webhookUrl": {
+ "description": "The webhook URL to which the notification will be sent.",
+ "type": "string"
+ },
+ "emailRecipient": {
+ "description": "The email recipient to send notifications to (can be a list of semi-colon separated email addresses).",
+ "type": "string"
+ },
+ "notificationLocale": {
+ "description": "The locale to use when sending a notification (fallback for unsupported languages is EN).",
+ "type": "string"
+ }
+ }
+ },
+ "NotificationSettingsFragment": {
+ "description": "Notification settings for a schedule.",
+ "type": "object",
+ "properties": {}
+ },
+ "NotifyParameters": {
+ "description": "Properties for generating a Notification.",
+ "type": "object",
+ "properties": {
+ "eventName": {
+ "description": "The type of event (i.e. AutoShutdown, Cost)",
+ "enum": [
+ "AutoShutdown",
+ "Cost"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "NotificationChannelEventType",
+ "modelAsString": true
+ }
+ },
+ "jsonPayload": {
+ "description": "Properties for the notification in json format.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationError": {
+ "description": "Error details for the operation in case of a failure.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code of the operation error.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The error message of the operation error.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationMetadata": {
+ "description": "The REST API operation supported by DevTestLab ResourceProvider.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "$ref": "#/definitions/OperationMetadataDisplay",
+ "description": "The object that describes the operations"
+ }
+ }
+ },
+ "OperationMetadataDisplay": {
+ "description": "The object that describes the operations",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "Friendly name of the resource provider",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource type on which the operation is performed.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation type: read, write, delete, listKeys/action, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Friendly name of the operation",
+ "type": "string"
+ }
+ }
+ },
+ "OperationResult": {
+ "description": "An Operation Result",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The operation status.",
+ "type": "string"
+ },
+ "statusCode": {
+ "description": "The status code for the operation.",
+ "enum": [
+ "Continue",
+ "SwitchingProtocols",
+ "OK",
+ "Created",
+ "Accepted",
+ "NonAuthoritativeInformation",
+ "NoContent",
+ "ResetContent",
+ "PartialContent",
+ "MultipleChoices",
+ "Ambiguous",
+ "MovedPermanently",
+ "Moved",
+ "Found",
+ "Redirect",
+ "SeeOther",
+ "RedirectMethod",
+ "NotModified",
+ "UseProxy",
+ "Unused",
+ "TemporaryRedirect",
+ "RedirectKeepVerb",
+ "BadRequest",
+ "Unauthorized",
+ "PaymentRequired",
+ "Forbidden",
+ "NotFound",
+ "MethodNotAllowed",
+ "NotAcceptable",
+ "ProxyAuthenticationRequired",
+ "RequestTimeout",
+ "Conflict",
+ "Gone",
+ "LengthRequired",
+ "PreconditionFailed",
+ "RequestEntityTooLarge",
+ "RequestUriTooLong",
+ "UnsupportedMediaType",
+ "RequestedRangeNotSatisfiable",
+ "ExpectationFailed",
+ "UpgradeRequired",
+ "InternalServerError",
+ "NotImplemented",
+ "BadGateway",
+ "ServiceUnavailable",
+ "GatewayTimeout",
+ "HttpVersionNotSupported"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "HttpStatusCode",
+ "modelAsString": true
+ }
+ },
+ "error": {
+ "$ref": "#/definitions/OperationError",
+ "description": "Error details for the operation in case of a failure."
+ }
+ }
+ },
+ "ParameterInfo": {
+ "description": "Information about an artifact's parameter.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the artifact parameter.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the artifact parameter.",
+ "type": "string"
+ }
+ }
+ },
+ "ParametersValueFileInfo": {
+ "description": "A file containing a set of parameter values for an ARM template.",
+ "type": "object",
+ "properties": {
+ "fileName": {
+ "description": "File name.",
+ "type": "string"
+ },
+ "parametersValueInfo": {
+ "description": "Contents of the file.",
+ "type": "object"
+ }
+ }
+ },
+ "PercentageCostThresholdProperties": {
+ "description": "Properties of a percentage cost threshold.",
+ "type": "object",
+ "properties": {
+ "thresholdValue": {
+ "format": "double",
+ "description": "The cost threshold value.",
+ "type": "number"
+ }
+ }
+ },
+ "Policy": {
+ "description": "A Policy.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PolicyProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "PolicyFragment": {
+ "description": "A Policy.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "PolicyList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Policy"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "PolicyProperties": {
+ "description": "Properties of a Policy.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "The description of the policy.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status of the policy.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PolicyStatus",
+ "modelAsString": true
+ }
+ },
+ "factName": {
+ "description": "The fact name of the policy (e.g. LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc.",
+ "enum": [
+ "UserOwnedLabVmCount",
+ "UserOwnedLabPremiumVmCount",
+ "LabVmCount",
+ "LabPremiumVmCount",
+ "LabVmSize",
+ "GalleryImage",
+ "UserOwnedLabVmCountInSubnet",
+ "LabTargetCost",
+ "EnvironmentTemplate",
+ "ScheduleEditPermission"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PolicyFactName",
+ "modelAsString": true
+ }
+ },
+ "factData": {
+ "description": "The fact data of the policy.",
+ "type": "string"
+ },
+ "threshold": {
+ "description": "The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for AllowedValuesPolicy).",
+ "type": "string"
+ },
+ "evaluatorType": {
+ "description": "The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy).",
+ "enum": [
+ "AllowedValuesPolicy",
+ "MaxValuePolicy"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PolicyEvaluatorType",
+ "modelAsString": true
+ }
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the policy.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PolicyPropertiesFragment": {
+ "description": "Properties of a Policy.",
+ "type": "object",
+ "properties": {}
+ },
+ "PolicySetResult": {
+ "description": "Result of a policy set evaluation.",
+ "type": "object",
+ "properties": {
+ "hasError": {
+ "description": "A value indicating whether this policy set evaluation has discovered violations.",
+ "type": "boolean"
+ },
+ "policyViolations": {
+ "description": "The list of policy violations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicyViolation"
+ }
+ }
+ }
+ },
+ "PolicyViolation": {
+ "description": "Policy violation.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The code of the policy violation.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The message of the policy violation.",
+ "type": "string"
+ }
+ }
+ },
+ "Port": {
+ "description": "Properties of a network port.",
+ "type": "object",
+ "properties": {
+ "transportProtocol": {
+ "description": "Protocol type of the port.",
+ "enum": [
+ "Tcp",
+ "Udp"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TransportProtocol",
+ "modelAsString": true
+ }
+ },
+ "backendPort": {
+ "format": "int32",
+ "description": "Backend port of the target virtual machine.",
+ "type": "integer"
+ }
+ }
+ },
+ "PortFragment": {
+ "description": "Properties of a network port.",
+ "type": "object",
+ "properties": {}
+ },
+ "ProviderOperationResult": {
+ "description": "Result of the request to list REST API operations",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of operations supported by the resource provider.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationMetadata"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "RdpConnection": {
+ "description": "Represents a .rdp file",
+ "type": "object",
+ "properties": {
+ "contents": {
+ "description": "The contents of the .rdp file",
+ "type": "string"
+ }
+ }
+ },
+ "ResizeLabVirtualMachineProperties": {
+ "description": "Request body for resizing a virtual machine.",
+ "type": "object",
+ "properties": {
+ "size": {
+ "description": "Specifies the size of the virtual machine.",
+ "type": "string"
+ }
+ }
+ },
+ "Resource": {
+ "description": "An Azure resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The identifier of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "location": {
+ "description": "The location of the resource.",
+ "type": "string"
+ },
+ "tags": {
+ "description": "The tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "RetargetScheduleProperties": {
+ "description": "Properties for retargeting a virtual machine schedule.",
+ "type": "object",
+ "properties": {
+ "currentResourceId": {
+ "description": "The resource Id of the virtual machine on which the schedule operates",
+ "type": "string"
+ },
+ "targetResourceId": {
+ "description": "The resource Id of the virtual machine that the schedule should be retargeted to",
+ "type": "string"
+ }
+ }
+ },
+ "Schedule": {
+ "description": "A schedule.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ScheduleProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ScheduleCreationParameter": {
+ "description": "Properties for creating a schedule.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ScheduleCreationParameterProperties",
+ "description": "The properties of the schedule.",
+ "x-ms-client-flatten": true
+ },
+ "name": {
+ "description": "The name of the virtual machine or environment",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location of the new virtual machine or environment",
+ "type": "string",
+ "readOnly": true
+ },
+ "tags": {
+ "description": "The tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ScheduleCreationParameterFragment": {
+ "description": "Properties for creating a schedule.",
+ "type": "object",
+ "properties": {}
+ },
+ "ScheduleCreationParameterProperties": {
+ "description": "Properties for schedule creation.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The status of the schedule (i.e. Enabled, Disabled)",
+ "default": "Disabled",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EnableStatus",
+ "modelAsString": true
+ }
+ },
+ "taskType": {
+ "description": "The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).",
+ "type": "string"
+ },
+ "weeklyRecurrence": {
+ "$ref": "#/definitions/WeekDetails",
+ "description": "If the schedule will occur only some days of the week, specify the weekly recurrence."
+ },
+ "dailyRecurrence": {
+ "$ref": "#/definitions/DayDetails",
+ "description": "If the schedule will occur once each day of the week, specify the daily recurrence."
+ },
+ "hourlyRecurrence": {
+ "$ref": "#/definitions/HourDetails",
+ "description": "If the schedule will occur multiple times a day, specify the hourly recurrence."
+ },
+ "timeZoneId": {
+ "description": "The time zone ID (e.g. Pacific Standard time).",
+ "type": "string"
+ },
+ "notificationSettings": {
+ "$ref": "#/definitions/NotificationSettings",
+ "description": "Notification settings."
+ },
+ "targetResourceId": {
+ "description": "The resource ID to which the schedule belongs",
+ "type": "string"
+ }
+ }
+ },
+ "ScheduleCreationParameterPropertiesFragment": {
+ "description": "Properties for schedule creation.",
+ "type": "object",
+ "properties": {}
+ },
+ "ScheduleFragment": {
+ "description": "A schedule.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "ScheduleList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "ScheduleProperties": {
+ "description": "Properties of a schedule.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The status of the schedule (i.e. Enabled, Disabled)",
+ "default": "Disabled",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EnableStatus",
+ "modelAsString": true
+ }
+ },
+ "taskType": {
+ "description": "The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).",
+ "type": "string"
+ },
+ "weeklyRecurrence": {
+ "$ref": "#/definitions/WeekDetails",
+ "description": "If the schedule will occur only some days of the week, specify the weekly recurrence."
+ },
+ "dailyRecurrence": {
+ "$ref": "#/definitions/DayDetails",
+ "description": "If the schedule will occur once each day of the week, specify the daily recurrence."
+ },
+ "hourlyRecurrence": {
+ "$ref": "#/definitions/HourDetails",
+ "description": "If the schedule will occur multiple times a day, specify the hourly recurrence."
+ },
+ "timeZoneId": {
+ "description": "The time zone ID (e.g. Pacific Standard time).",
+ "type": "string"
+ },
+ "notificationSettings": {
+ "$ref": "#/definitions/NotificationSettings",
+ "description": "Notification settings."
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the schedule.",
+ "type": "string",
+ "readOnly": true
+ },
+ "targetResourceId": {
+ "description": "The resource ID to which the schedule belongs",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SchedulePropertiesFragment": {
+ "description": "Properties of a schedule.",
+ "type": "object",
+ "properties": {}
+ },
+ "Secret": {
+ "description": "A secret.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SecretProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "SecretFragment": {
+ "description": "A secret.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "SecretList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Secret"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "SecretProperties": {
+ "description": "Properties of a secret.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value of the secret for secret creation.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SecretPropertiesFragment": {
+ "description": "Properties of a secret.",
+ "type": "object",
+ "properties": {}
+ },
+ "ServiceFabric": {
+ "description": "A Service Fabric.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ServiceFabricProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ServiceFabricFragment": {
+ "description": "A Service Fabric.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "ServiceFabricList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceFabric"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "ServiceFabricProperties": {
+ "description": "Properties of a service fabric.",
+ "type": "object",
+ "properties": {
+ "externalServiceFabricId": {
+ "description": "The backing service fabric resource's id",
+ "type": "string"
+ },
+ "environmentId": {
+ "description": "The resource id of the environment under which the service fabric resource is present",
+ "type": "string"
+ },
+ "applicableSchedule": {
+ "$ref": "#/definitions/ApplicableSchedule",
+ "description": "The applicable schedule for the virtual machine.",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServiceFabricPropertiesFragment": {
+ "description": "Properties of a service fabric.",
+ "type": "object",
+ "properties": {}
+ },
+ "ServiceRunner": {
+ "description": "A container for a managed identity to execute DevTest lab services.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/IdentityProperties",
+ "description": "The identity of the resource."
+ }
+ }
+ },
+ "ServiceRunnerList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceRunner"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "SharedPublicIpAddressConfiguration": {
+ "description": "Properties of a virtual machine that determine how it is connected to a load balancer.",
+ "type": "object",
+ "properties": {
+ "inboundNatRules": {
+ "description": "The incoming NAT rules",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InboundNatRule"
+ }
+ }
+ }
+ },
+ "SharedPublicIpAddressConfigurationFragment": {
+ "description": "Properties of a virtual machine that determine how it is connected to a load balancer.",
+ "type": "object",
+ "properties": {}
+ },
+ "ShutdownNotificationContent": {
+ "description": "The contents of a shutdown notification. Webhooks can use this type to deserialize the request body when they get notified of an imminent shutdown.",
+ "type": "object",
+ "properties": {
+ "skipUrl": {
+ "description": "The URL to skip auto-shutdown.",
+ "type": "string"
+ },
+ "delayUrl60": {
+ "description": "The URL to delay shutdown by 60 minutes.",
+ "type": "string"
+ },
+ "delayUrl120": {
+ "description": "The URL to delay shutdown by 2 hours.",
+ "type": "string"
+ },
+ "vmName": {
+ "description": "The virtual machine to be shut down.",
+ "type": "string"
+ },
+ "guid": {
+ "description": "The GUID for the virtual machine to be shut down.",
+ "type": "string"
+ },
+ "owner": {
+ "description": "The owner of the virtual machine.",
+ "type": "string"
+ },
+ "vmUrl": {
+ "description": "The URL of the virtual machine.",
+ "type": "string"
+ },
+ "minutesUntilShutdown": {
+ "description": "Minutes remaining until shutdown",
+ "type": "string"
+ },
+ "eventType": {
+ "description": "The event for which a notification will be sent.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The text for the notification.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "The subscription ID for the schedule.",
+ "type": "string"
+ },
+ "resourceGroupName": {
+ "description": "The resource group name for the schedule.",
+ "type": "string"
+ },
+ "labName": {
+ "description": "The lab for the schedule.",
+ "type": "string"
+ }
+ }
+ },
+ "Subnet": {
+ "description": "Subnet information.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The resource ID of the subnet.",
+ "type": "string"
+ },
+ "labSubnetName": {
+ "description": "The name of the subnet as seen in the lab.",
+ "type": "string"
+ },
+ "allowPublicIp": {
+ "description": "The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).",
+ "enum": [
+ "Default",
+ "Deny",
+ "Allow"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "UsagePermissionType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SubnetFragment": {
+ "description": "Subnet information.",
+ "type": "object",
+ "properties": {}
+ },
+ "SubnetOverride": {
+ "description": "Property overrides on a subnet of a virtual network.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The resource ID of the subnet.",
+ "type": "string"
+ },
+ "labSubnetName": {
+ "description": "The name given to the subnet within the lab.",
+ "type": "string"
+ },
+ "useInVmCreationPermission": {
+ "description": "Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).",
+ "enum": [
+ "Default",
+ "Deny",
+ "Allow"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "UsagePermissionType",
+ "modelAsString": true
+ }
+ },
+ "usePublicIpAddressPermission": {
+ "description": "Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).",
+ "enum": [
+ "Default",
+ "Deny",
+ "Allow"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "UsagePermissionType",
+ "modelAsString": true
+ }
+ },
+ "sharedPublicIpAddressConfiguration": {
+ "$ref": "#/definitions/SubnetSharedPublicIpAddressConfiguration",
+ "description": "Properties that virtual machines on this subnet will share."
+ },
+ "virtualNetworkPoolName": {
+ "description": "The virtual network pool associated with this subnet.",
+ "type": "string"
+ }
+ }
+ },
+ "SubnetOverrideFragment": {
+ "description": "Property overrides on a subnet of a virtual network.",
+ "type": "object",
+ "properties": {}
+ },
+ "SubnetSharedPublicIpAddressConfiguration": {
+ "description": "Configuration for public IP address sharing.",
+ "type": "object",
+ "properties": {
+ "allowedPorts": {
+ "description": "Backend ports that virtual machines on this subnet are allowed to expose",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Port"
+ }
+ }
+ }
+ },
+ "SubnetSharedPublicIpAddressConfigurationFragment": {
+ "description": "Configuration for public IP address sharing.",
+ "type": "object",
+ "properties": {}
+ },
+ "TargetCostProperties": {
+ "description": "Properties of a cost target.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "Target cost status",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TargetCostStatus",
+ "modelAsString": true
+ }
+ },
+ "target": {
+ "format": "int32",
+ "description": "Lab target cost",
+ "type": "integer"
+ },
+ "costThresholds": {
+ "description": "Cost thresholds.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CostThresholdProperties"
+ }
+ },
+ "cycleStartDateTime": {
+ "format": "date-time",
+ "description": "Reporting cycle start date.",
+ "type": "string"
+ },
+ "cycleEndDateTime": {
+ "format": "date-time",
+ "description": "Reporting cycle end date.",
+ "type": "string"
+ },
+ "cycleType": {
+ "description": "Reporting cycle type.",
+ "enum": [
+ "CalendarMonth",
+ "Custom"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ReportingCycleType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "UpdateResource": {
+ "description": "Represents an update resource",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "The tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "User": {
+ "description": "Profile of a lab user.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/UserProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "UserFragment": {
+ "description": "Profile of a lab user.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "UserIdentity": {
+ "description": "Identity attributes of a lab user.",
+ "type": "object",
+ "properties": {
+ "principalName": {
+ "description": "Set to the principal name / UPN of the client JWT making the request.",
+ "type": "string"
+ },
+ "principalId": {
+ "description": "Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.",
+ "type": "string"
+ },
+ "tenantId": {
+ "description": "Set to the tenant ID of the client JWT making the request.",
+ "type": "string"
+ },
+ "objectId": {
+ "description": "Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.",
+ "type": "string"
+ },
+ "appId": {
+ "description": "Set to the app Id of the client JWT making the request.",
+ "type": "string"
+ }
+ }
+ },
+ "UserIdentityFragment": {
+ "description": "Identity attributes of a lab user.",
+ "type": "object",
+ "properties": {}
+ },
+ "UserList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "UserProperties": {
+ "description": "Properties of a lab user profile.",
+ "type": "object",
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/UserIdentity",
+ "description": "The identity of the user."
+ },
+ "secretStore": {
+ "$ref": "#/definitions/UserSecretStore",
+ "description": "The secret store of the user."
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the user profile.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UserPropertiesFragment": {
+ "description": "Properties of a lab user profile.",
+ "type": "object",
+ "properties": {}
+ },
+ "UserSecretStore": {
+ "description": "Properties of a user's secret store.",
+ "type": "object",
+ "properties": {
+ "keyVaultUri": {
+ "description": "The URI of the user's Key vault.",
+ "type": "string"
+ },
+ "keyVaultId": {
+ "description": "The ID of the user's Key vault.",
+ "type": "string"
+ }
+ }
+ },
+ "UserSecretStoreFragment": {
+ "description": "Properties of a user's secret store.",
+ "type": "object",
+ "properties": {}
+ },
+ "VirtualNetwork": {
+ "description": "A virtual network.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/VirtualNetworkProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "VirtualNetworkFragment": {
+ "description": "A virtual network.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "VirtualNetworkList": {
+ "description": "The response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of the list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ "nextLink": {
+ "description": "Link for next set of results.",
+ "type": "string"
+ }
+ }
+ },
+ "VirtualNetworkProperties": {
+ "description": "Properties of a virtual network.",
+ "type": "object",
+ "properties": {
+ "allowedSubnets": {
+ "description": "The allowed subnets of the virtual network.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Subnet"
+ }
+ },
+ "description": {
+ "description": "The description of the virtual network.",
+ "type": "string"
+ },
+ "externalProviderResourceId": {
+ "description": "The Microsoft.Network resource identifier of the virtual network.",
+ "type": "string"
+ },
+ "externalSubnets": {
+ "description": "The external subnet properties.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExternalSubnet"
+ },
+ "readOnly": true
+ },
+ "subnetOverrides": {
+ "description": "The subnet overrides of the virtual network.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubnetOverride"
+ }
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the virtual network.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "VirtualNetworkPropertiesFragment": {
+ "description": "Properties of a virtual network.",
+ "type": "object",
+ "properties": {}
+ },
+ "WeekDetails": {
+ "description": "Properties of a weekly schedule.",
+ "type": "object",
+ "properties": {
+ "weekdays": {
+ "description": "The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "time": {
+ "description": "The time of the day the schedule will occur.",
+ "type": "string"
+ }
+ }
+ },
+ "WeekDetailsFragment": {
+ "description": "Properties of a weekly schedule.",
+ "type": "object",
+ "properties": {}
+ },
+ "WindowsOsInfo": {
+ "description": "Information about a Windows OS.",
+ "type": "object",
+ "properties": {
+ "windowsOsState": {
+ "description": "The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).",
+ "enum": [
+ "NonSysprepped",
+ "SysprepRequested",
+ "SysprepApplied"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "WindowsOsState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "WindowsOsInfoFragment": {
+ "description": "Information about a Windows OS.",
+ "type": "object",
+ "properties": {}
+ }
+ },
+ "parameters": {
+ "api-version": {
+ "name": "api-version",
+ "in": "query",
+ "description": "Client API version.",
+ "required": true,
+ "type": "string",
+ "default": "2018-09-15"
+ },
+ "locationName": {
+ "name": "locationName",
+ "in": "path",
+ "description": "The name of the location.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "resourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "subscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID.",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "Access Microsoft Azure"
+ },
+ "type": "oauth2",
+ "description": "OAuth2 Implicit Grant"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json
new file mode 100644
index 000000000000..256a3a892913
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "artifactSourceName": "{artifactSourceName}",
+ "name": "{armTemplateName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "displayName": "Template1",
+ "publisher": "Microsoft",
+ "contents": {
+ "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "variables": {
+ "resourceNamePrefix": "[take(uniqueString(resourceGroup().id), 3)]",
+ "hostingPlanName": "[toLower(concat(variables('resourceNamePrefix'), '-', take(uniqueString(resourceGroup().id), 6), '-sp'))]",
+ "siteName": "[toLower(concat(variables('resourceNamePrefix'), '-', take(uniqueString(resourceGroup().id), 6)))]"
+ },
+ "resources": []
+ },
+ "parametersValueFilesInfo": [],
+ "enabled": true
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}",
+ "name": "Template1",
+ "type": "Microsoft.DevTestLab/labs/artifactSources/armTemplates",
+ "location": "{location}",
+ "tags": {
+ "MyTag": "MyValue"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json
new file mode 100644
index 000000000000..da36a2960411
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "artifactSourceName": "{artifactSourceName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "displayName": "Template1",
+ "publisher": "Microsoft",
+ "contents": {
+ "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "variables": {
+ "resourceNamePrefix": "[take(uniqueString(resourceGroup().id), 3)]",
+ "hostingPlanName": "[toLower(concat(variables('resourceNamePrefix'), '-', take(uniqueString(resourceGroup().id), 6), '-sp'))]",
+ "siteName": "[toLower(concat(variables('resourceNamePrefix'), '-', take(uniqueString(resourceGroup().id), 6)))]"
+ },
+ "resources": []
+ },
+ "parametersValueFilesInfo": [],
+ "enabled": true
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}",
+ "name": "Template1",
+ "type": "Microsoft.DevTestLab/labs/artifactSources/armTemplates",
+ "location": "{location}",
+ "tags": {
+ "MyTag": "MyValue"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json
new file mode 100644
index 000000000000..7b7f009c9848
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{artifactSourceName}",
+ "artifactSource": {
+ "properties": {
+ "displayName": "{displayName}",
+ "uri": "{artifactSourceUri}",
+ "sourceType": "{VsoGit|GitHub|StorageAccount}",
+ "folderPath": "{folderPath}",
+ "armTemplateFolderPath": "{armTemplateFolderPath}",
+ "branchRef": "{branchRef}",
+ "securityToken": "{securityToken}",
+ "status": "{Enabled|Disabled}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "displayName": "{displayName}",
+ "uri": "{artifactSourceUri}",
+ "sourceType": "{VsoGit|GitHub|StorageAccount}",
+ "folderPath": "{folderPath}",
+ "armTemplateFolderPath": "{armTemplateFolderPath}",
+ "branchRef": "{branchRef}",
+ "securityToken": "{securityToken}",
+ "status": "{Enabled|Disabled}",
+ "createdDate": "2020-12-16T16:53:02.4830866-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
+ "name": "{artifactSourceName}",
+ "type": "Microsoft.DevTestLab/labs/artifactsources",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "displayName": "{displayName}",
+ "uri": "{artifactSourceUri}",
+ "sourceType": "{VsoGit|GitHub|StorageAccount}",
+ "folderPath": "{folderPath}",
+ "armTemplateFolderPath": "{armTemplateFolderPath}",
+ "branchRef": "{branchRef}",
+ "securityToken": "{securityToken}",
+ "status": "{Enabled|Disabled}",
+ "createdDate": "2020-12-16T16:53:02.4830866-07:00",
+ "provisioningState": "Created",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
+ "name": "{artifactSourceName}",
+ "type": "Microsoft.DevTestLab/labs/artifactsources",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json
new file mode 100644
index 000000000000..578e1c14237a
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{artifactSourceName}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json
new file mode 100644
index 000000000000..7462ce9e8a1d
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{artifactSourceName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "displayName": "{displayName}",
+ "uri": "{artifactSourceUri}",
+ "sourceType": "{VsoGit|GitHub|StorageAccount}",
+ "folderPath": "{folderPath}",
+ "armTemplateFolderPath": "{armTemplateFolderPath}",
+ "branchRef": "{branchRef}",
+ "securityToken": "{securityToken}",
+ "status": "{Enabled|Disabled}",
+ "createdDate": "2020-12-16T16:53:02.4830866-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
+ "name": "{artifactSourceName}",
+ "type": "Microsoft.DevTestLab/labs/artifactsources",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json
new file mode 100644
index 000000000000..824805c6ef0e
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "displayName": "{displayName}",
+ "uri": "{artifactSourceUri}",
+ "sourceType": "{VsoGit|GitHub|StorageAccount}",
+ "folderPath": "{folderPath}",
+ "armTemplateFolderPath": "{armTemplateFolderPath}",
+ "branchRef": "{branchRef}",
+ "securityToken": "{securityToken}",
+ "status": "{Enabled|Disabled}",
+ "createdDate": "2020-12-16T16:53:02.4830866-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
+ "name": "{artifactSourceName}",
+ "type": "Microsoft.DevTestLab/labs/artifactsources",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json
new file mode 100644
index 000000000000..52d5dd71bd30
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{artifactSourceName}",
+ "artifactSource": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "displayName": "{displayName}",
+ "uri": "{artifactSourceUri}",
+ "sourceType": "{VsoGit|GitHub|StorageAccount}",
+ "folderPath": "{folderPath}",
+ "armTemplateFolderPath": "{armTemplateFolderPath}",
+ "branchRef": "{branchRef}",
+ "securityToken": "{securityToken}",
+ "status": "{Enabled|Disabled}",
+ "createdDate": "2020-12-16T16:53:02.4830866-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
+ "name": "{artifactSourceName}",
+ "type": "Microsoft.DevTestLab/labs/artifactsources",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json
new file mode 100644
index 000000000000..46ae7179d783
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "artifactSourceName": "{artifactSourceName}",
+ "name": "{artifactName}",
+ "generateArmTemplateRequest": {
+ "fileUploadOptions": "None",
+ "location": "{location}",
+ "virtualMachineName": "{vmName}"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "template": {
+ "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
+ "contentVersion": "1.0.0.0",
+ "parameters": {
+ "location": {
+ "type": "string"
+ },
+ "extensionName": {
+ "type": "string"
+ }
+ },
+ "variables": {
+ "_commandToExecute": "{commandToExecute}."
+ },
+ "resources": [
+ {
+ "type": "Microsoft.Compute/virtualMachines/extensions",
+ "name": "[parameters('extensionName')]",
+ "apiVersion": "2015-06-15",
+ "location": "[parameters('location')]",
+ "properties": {
+ "publisher": "Microsoft.Compute",
+ "type": "CustomScriptExtension",
+ "typeHandlerVersion": "1.9",
+ "autoUpgradeMinorVersion": "true",
+ "forceUpdateTag": "15/10/2018 00:00:00 +00:00",
+ "settings": {
+ "fileUris": [
+ "{MsDtlArtifactFileUris}"
+ ],
+ "commandToExecute": ""
+ },
+ "protectedSettings": {
+ "commandToExecute": "[concat('cd {MsDtlScriptFolder}/scripts && ', variables('_commandToExecute'))]"
+ }
+ }
+ }
+ ]
+ },
+ "parameters": {
+ "extensionName": {
+ "value": "{vmName}/CustomScriptExtension"
+ },
+ "location": {
+ "value": "{location}"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json
new file mode 100644
index 000000000000..bde3dd481677
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "artifactSourceName": "{artifactSourceName}",
+ "name": "{artifactName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "title": "Sample Artifact Title",
+ "description": "Sample artifact description.",
+ "publisher": "Microsoft",
+ "filePath": "{artifactsPath}/{artifactName}",
+ "targetOsType": "Windows",
+ "parameters": {
+ "uri": {
+ "type": "string",
+ "displayName": "Sample Parameter 1",
+ "description": "Sample parameter 1 description.",
+ "defaultValue": "https://{labStorageAccount}.blob.core.windows.net/{artifactName}/..."
+ }
+ }
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/artifacts/{artifactName}",
+ "name": "{artifactName}",
+ "type": "Microsoft.DevTestLab/labs/artifactSources/artifacts",
+ "location": "{location}",
+ "tags": {
+ "MyTag": "MyValue"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json
new file mode 100644
index 000000000000..ec9b5d2237cc
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "artifactSourceName": "{artifactSourceName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "title": "Sample Artifact Title",
+ "description": "Sample artifact description.",
+ "publisher": "Microsoft",
+ "filePath": "{artifactsPath}/{artifactName}",
+ "targetOsType": "Windows",
+ "parameters": {
+ "uri": {
+ "type": "string",
+ "displayName": "Sample Parameter 1",
+ "description": "Sample parameter 1 description.",
+ "defaultValue": "https://{labStorageAccount}.blob.core.windows.net/{artifactName}/..."
+ }
+ }
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/artifacts/{artifactName}",
+ "name": "{artifactName}",
+ "type": "Microsoft.DevTestLab/labs/artifactSources/artifacts",
+ "location": "{location}",
+ "tags": {
+ "MyTag": "MyValue"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json
new file mode 100644
index 000000000000..d7433affa979
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json
@@ -0,0 +1,199 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "targetCost",
+ "labCost": {
+ "properties": {
+ "currencyCode": "USD",
+ "startDateTime": "2020-12-01T00:00:00Z",
+ "endDateTime": "2020-12-31T23:59:59Z",
+ "targetCost": {
+ "costThresholds": [
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "percentageThreshold": {
+ "thresholdValue": 25
+ }
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000002",
+ "displayOnChart": "Enabled",
+ "sendNotificationWhenExceeded": "Enabled",
+ "percentageThreshold": {
+ "thresholdValue": 50
+ }
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000003",
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "percentageThreshold": {
+ "thresholdValue": 75
+ }
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000004",
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "percentageThreshold": {
+ "thresholdValue": 100
+ }
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000005",
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "percentageThreshold": {
+ "thresholdValue": 125
+ }
+ }
+ ],
+ "target": 100,
+ "cycleStartDateTime": "2020-12-01T00:00:00.000Z",
+ "cycleEndDateTime": "2020-12-31T00:00:00.000Z",
+ "cycleType": "CalendarMonth",
+ "status": "Enabled"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "targetCost": {
+ "costThresholds": [
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 25.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 50.0
+ },
+ "displayOnChart": "Enabled",
+ "sendNotificationWhenExceeded": "Enabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 75.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 100.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 125.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ }
+ ],
+ "status": "Enabled",
+ "target": 100,
+ "cycleStartDateTime": "2020-12-01T00:00:00+00:00",
+ "cycleEndDateTime": "2020-12-31T23:59:59+00:00",
+ "cycleType": "CalendarMonth"
+ },
+ "currencyCode": "USD",
+ "startDateTime": "2020-12-01T00:00:00Z",
+ "endDateTime": "2020-12-31T23:59:59Z",
+ "createdDate": "2020-12-23T22:43:54.7253204+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "targetCost": {
+ "costThresholds": [
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 25.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 50.0
+ },
+ "displayOnChart": "Enabled",
+ "sendNotificationWhenExceeded": "Enabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 75.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 100.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 125.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ }
+ ],
+ "status": "Enabled",
+ "target": 100,
+ "cycleStartDateTime": "2020-12-01T00:00:00+00:00",
+ "cycleEndDateTime": "2020-12-31T23:59:59+00:00",
+ "cycleType": "CalendarMonth"
+ },
+ "currencyCode": "USD",
+ "startDateTime": "2020-12-01T00:00:00Z",
+ "endDateTime": "2020-12-31T23:59:59Z",
+ "createdDate": "2020-12-23T22:43:54.7253204+00:00",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json
new file mode 100644
index 000000000000..518660e9963b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "targetCost"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "targetCost": {
+ "costThresholds": [
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 25.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 50.0
+ },
+ "displayOnChart": "Enabled",
+ "sendNotificationWhenExceeded": "Enabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 75.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 100.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ },
+ {
+ "thresholdId": "00000000-0000-0000-0000-000000000001",
+ "percentageThreshold": {
+ "thresholdValue": 125.0
+ },
+ "displayOnChart": "Disabled",
+ "sendNotificationWhenExceeded": "Disabled",
+ "notificationSent": "0001-01-01T00:00:00.0000000"
+ }
+ ],
+ "status": "Enabled",
+ "target": 100,
+ "cycleStartDateTime": "2020-12-01T00:00:00+00:00",
+ "cycleEndDateTime": "2020-12-31T23:59:59+00:00",
+ "cycleType": "CalendarMonth"
+ },
+ "currencyCode": "USD",
+ "startDateTime": "2020-12-01T00:00:00Z",
+ "endDateTime": "2020-12-31T23:59:59Z",
+ "createdDate": "2020-12-23T22:43:54.7253204+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json
new file mode 100644
index 000000000000..ef0ae2da61e3
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json
@@ -0,0 +1,73 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{customImageName}",
+ "customImage": {
+ "properties": {
+ "vm": {
+ "linuxOsInfo": {
+ "linuxOsState": "NonDeprovisioned"
+ },
+ "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ },
+ "description": "My Custom Image"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
+ "name": "{customImageName}",
+ "type": "Microsoft.DevTestLab/labs/customImages",
+ "location": "{location}",
+ "properties": {
+ "vm": {
+ "linuxOsInfo": {
+ "linuxOsState": "NonDeprovisioned"
+ },
+ "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ },
+ "description": "My Custom Image",
+ "author": "{authorName}",
+ "creationDate": "2021-10-10T09:59:28.7985144+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
+ "name": "{customImageName}",
+ "type": "Microsoft.DevTestLab/labs/customImages",
+ "location": "{location}",
+ "properties": {
+ "vm": {
+ "linuxOsInfo": {
+ "linuxOsState": "NonDeprovisioned"
+ },
+ "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ },
+ "description": "My Custom Image",
+ "author": "{authorName}",
+ "creationDate": "2021-10-10T09:59:28.7985144+00:00",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json
new file mode 100644
index 000000000000..4544a0e9ea5b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{customImageName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json
new file mode 100644
index 000000000000..6d7a830fe954
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{customImageName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
+ "name": "{customImageName}",
+ "type": "Microsoft.DevTestLab/labs/customImages",
+ "location": "{location}",
+ "properties": {
+ "description": "My Custom Image",
+ "author": "{authorName}",
+ "creationDate": "2021-10-10T09:59:28.7985144+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}",
+ "vm": {
+ "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
+ "linuxOsInfo": {
+ "linuxOsState": "NonDeprovisioned"
+ }
+ }
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json
new file mode 100644
index 000000000000..b2ae535593ed
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
+ "name": "{customImageName}",
+ "type": "Microsoft.DevTestLab/labs/customImages",
+ "location": "{location}",
+ "properties": {
+ "description": "My Custom Image",
+ "author": "{authorName}",
+ "creationDate": "2021-10-10T09:59:28.7985144+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}",
+ "vm": {
+ "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
+ "linuxOsInfo": {
+ "linuxOsState": "NonDeprovisioned"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json
new file mode 100644
index 000000000000..67aa1c3e83ec
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{customImageName}",
+ "customImage": {
+ "tags": {
+ "tagName1": "tagValue2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
+ "name": "{customImageName}",
+ "type": "Microsoft.DevTestLab/labs/customImages",
+ "location": "{location}",
+ "properties": {
+ "vm": {
+ "linuxOsInfo": {
+ "linuxOsState": "NonDeprovisioned"
+ },
+ "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ },
+ "description": "My Custom Image",
+ "author": "{authorName}",
+ "creationDate": "2021-10-10T09:59:28.7985144+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue2"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json
new file mode 100644
index 000000000000..f6ea4ce0ac1c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userId}",
+ "name": "{diskName}",
+ "attachDiskProperties": {
+ "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json
new file mode 100644
index 000000000000..9d9e3b789b37
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userId}",
+ "name": "{diskName}",
+ "disk": {
+ "properties": {
+ "diskType": "Standard",
+ "diskSizeGiB": 1023,
+ "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "diskType": "Standard",
+ "diskSizeGiB": 1023,
+ "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "diskUri": "",
+ "createdDate": "2021-01-04T20:21:02.0182357+00:00",
+ "hostCaching": "None",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "b7183ac5-1097-4513-b597-4d9d23e0a820"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/l{labName}/users/{userId}/disks/{diskName}",
+ "name": "{diskName}",
+ "type": "Microsoft.DevTestLab/labs/users/disks"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "diskType": "Standard",
+ "diskSizeGiB": 1023,
+ "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "diskUri": "",
+ "createdDate": "2021-01-04T20:21:02.0182357+00:00",
+ "hostCaching": "None",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "b7183ac5-1097-4513-b597-4d9d23e0a820"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/l{labName}/users/{userId}/disks/{diskName}",
+ "name": "{diskName}",
+ "type": "Microsoft.DevTestLab/labs/users/disks"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json
new file mode 100644
index 000000000000..a5811909aad4
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userId}",
+ "name": "{diskName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json
new file mode 100644
index 000000000000..ee642e61810b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userId}",
+ "name": "{diskName}",
+ "detachDiskProperties": {
+ "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json
new file mode 100644
index 000000000000..83f49c4d0ef5
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{diskName}",
+ "userName": "@me"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userId}/disks/{diskName}",
+ "name": "{diskName}",
+ "type": "Microsoft.DevTestLab/labs/users/disks",
+ "properties": {
+ "diskType": "Standard",
+ "diskSizeGiB": 1023,
+ "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "diskUri": "",
+ "createdDate": "2021-01-04T20:27:32.1445632+00:00",
+ "hostCaching": "None",
+ "managedDiskId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/disks/{diskName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "9bf098d1-1b64-41a5-aa05-286767074a0b"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json
new file mode 100644
index 000000000000..7c8d9a77c86e
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{diskName}",
+ "userName": "@me"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userId}/disks/{diskName}",
+ "name": "{diskName}",
+ "type": "Microsoft.DevTestLab/labs/users/disks",
+ "properties": {
+ "diskType": "Standard",
+ "diskSizeGiB": 1023,
+ "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "diskUri": "",
+ "createdDate": "2021-01-04T20:27:32.1445632+00:00",
+ "hostCaching": "None",
+ "managedDiskId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/disks/{diskName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "9bf098d1-1b64-41a5-aa05-286767074a0b"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json
new file mode 100644
index 000000000000..251c0369afe7
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "name": "diskName",
+ "disk": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{user-id}/disks/{diskName}",
+ "name": "{disk-name}",
+ "type": "Microsoft.DevTestLab/labs/users/disks",
+ "properties": {
+ "diskType": "Standard",
+ "diskSizeGiB": 1023,
+ "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "diskUri": "",
+ "createdDate": "2021-01-04T20:21:02.0182357+00:00",
+ "hostCaching": "None",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "b7183ac5-1097-4513-b597-4d9d23e0a820"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json
new file mode 100644
index 000000000000..e2b8239ceed2
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "name": "{environmentName}",
+ "dtlEnvironment": {
+ "properties": {
+ "deploymentProperties": {
+ "parameters": [],
+ "armTemplateId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "name": "{environmentName}",
+ "type": "Microsoft.DevTestLab/labs/users/environments",
+ "location": "{location}",
+ "properties": {
+ "deploymentProperties": {
+ "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ },
+ "createdByUser": "user@contoso.com",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "name": "{environmentName}",
+ "type": "Microsoft.DevTestLab/labs/users/environments",
+ "location": "{location}",
+ "properties": {
+ "deploymentProperties": {
+ "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ },
+ "createdByUser": "user@contoso.com",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json
new file mode 100644
index 000000000000..9e90092d0426
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "name": "{environmentName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json
new file mode 100644
index 000000000000..94797da37d8b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "name": "{environmentName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "name": "{environmentName}",
+ "type": "Microsoft.DevTestLab/labs/users/environments",
+ "location": "{location}",
+ "properties": {
+ "deploymentProperties": {
+ "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ },
+ "createdByUser": "user@contoso.com",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json
new file mode 100644
index 000000000000..0e56ddf279ba
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "name": "{environmentName}",
+ "type": "Microsoft.DevTestLab/labs/users/environments",
+ "location": "{location}",
+ "properties": {
+ "deploymentProperties": {
+ "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ },
+ "createdByUser": "user@contoso.com",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json
new file mode 100644
index 000000000000..33168792b7cc
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "name": "{environmentName}",
+ "dtlEnvironment": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "name": "{environmentName}",
+ "type": "Microsoft.DevTestLab/labs/users/environments",
+ "location": "{location}",
+ "properties": {
+ "deploymentProperties": {
+ "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ },
+ "createdByUser": "user@contoso.com",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json
new file mode 100644
index 000000000000..77aec0ba019f
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json
@@ -0,0 +1,164 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{formulaName}",
+ "formula": {
+ "location": "{location}",
+ "properties": {
+ "description": "Formula using a Linux base",
+ "formulaContent": {
+ "properties": {
+ "notes": "Ubuntu Server 20.10",
+ "size": "Standard_B1ms",
+ "userName": "user",
+ "isAuthenticationWithSshKey": false,
+ "labSubnetName": "Dtl{labName}Subnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "disallowPublicIpAddress": true,
+ "galleryImageReference": {
+ "offer": "0001-com-ubuntu-server-groovy",
+ "publisher": "canonical",
+ "sku": "20_10",
+ "osType": "Linux",
+ "version": "latest"
+ },
+ "artifacts": [
+ {
+ "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "parameters": []
+ }
+ ],
+ "networkInterface": {
+ "sharedPublicIpAddressConfiguration": {
+ "inboundNatRules": [
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 22
+ }
+ ]
+ }
+ },
+ "allowClaim": false,
+ "storageType": "Standard"
+ },
+ "location": "{location}"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Formula using a Linux base",
+ "author": "username@contoso.com",
+ "creationDate": "2018-12-22T21:25:42.9254696+00:00",
+ "formulaContent": {
+ "properties": {
+ "notes": "Ubuntu Server 20.10",
+ "size": "Standard_B1ms",
+ "userName": "user",
+ "isAuthenticationWithSshKey": false,
+ "labSubnetName": "Dtl{labName}Subnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "disallowPublicIpAddress": true,
+ "artifacts": [
+ {
+ "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "parameters": []
+ }
+ ],
+ "galleryImageReference": {
+ "offer": "0001-com-ubuntu-server-groovy",
+ "publisher": "canonical",
+ "sku": "20_10",
+ "osType": "Linux",
+ "version": "latest"
+ },
+ "networkInterface": {
+ "sharedPublicIpAddressConfiguration": {
+ "inboundNatRules": [
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 22
+ }
+ ]
+ }
+ },
+ "allowClaim": false,
+ "storageType": "Standard"
+ },
+ "location": "{location}"
+ },
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "name": "{formulaName}",
+ "type": "Microsoft.DevTestLab/labs/formulas",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "description": "Formula using a Linux base",
+ "author": "username@contoso.com",
+ "creationDate": "2018-12-22T21:25:42.9254696+00:00",
+ "formulaContent": {
+ "properties": {
+ "notes": "Ubuntu Server 20.10",
+ "size": "Standard_B1ms",
+ "userName": "user",
+ "isAuthenticationWithSshKey": false,
+ "labSubnetName": "Dtl{labName}Subnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "disallowPublicIpAddress": true,
+ "artifacts": [
+ {
+ "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "parameters": []
+ }
+ ],
+ "galleryImageReference": {
+ "offer": "0001-com-ubuntu-server-groovy",
+ "publisher": "canonical",
+ "sku": "20_10",
+ "osType": "Linux",
+ "version": "latest"
+ },
+ "networkInterface": {
+ "sharedPublicIpAddressConfiguration": {
+ "inboundNatRules": [
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 22
+ }
+ ]
+ }
+ },
+ "allowClaim": false,
+ "storageType": "Standard"
+ },
+ "location": "{location}"
+ },
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "name": "{formulaName}",
+ "type": "Microsoft.DevTestLab/labs/formulas",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json
new file mode 100644
index 000000000000..949e2690afac
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{formulaName}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json
new file mode 100644
index 000000000000..7d969c8897d8
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{formulaName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "name": "{formulaName}",
+ "type": "Microsoft.DevTestLab/labs/formulas",
+ "properties": {
+ "description": "Formula used to create a Linux VM",
+ "author": "user@contoso.com",
+ "osType": "Linux",
+ "creationDate": "2018-12-22T19:13:35.9922091+00:00",
+ "formulaContent": {
+ "properties": {
+ "notes": "Ubuntu Server 20.10",
+ "size": "Standard_B1ms",
+ "userName": "user",
+ "isAuthenticationWithSshKey": false,
+ "labSubnetName": "Dtl{labName}Subnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "disallowPublicIpAddress": true,
+ "galleryImageReference": {
+ "offer": "0001-com-ubuntu-server-groovy",
+ "publisher": "canonical",
+ "sku": "20_10",
+ "osType": "Linux",
+ "version": "latest"
+ },
+ "artifacts": [
+ {
+ "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "parameters": []
+ }
+ ],
+ "networkInterface": {
+ "sharedPublicIpAddressConfiguration": {
+ "inboundNatRules": [
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 22
+ }
+ ]
+ }
+ },
+ "allowClaim": false,
+ "storageType": "Standard"
+ },
+ "location": "{location}"
+ },
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "7a7d20ab-8a50-46fb-8dc6-7c6c1443a01b"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json
new file mode 100644
index 000000000000..d47848c5a7e8
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "Formula used to create a Linux VM",
+ "author": "user@contoso.com",
+ "osType": "Linux",
+ "creationDate": "2018-12-22T19:13:35.9922091+00:00",
+ "formulaContent": {
+ "properties": {
+ "notes": "Ubuntu Server 20.10",
+ "size": "Standard_B1ms",
+ "userName": "user",
+ "isAuthenticationWithSshKey": false,
+ "labSubnetName": "Dtl{labName}Subnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "disallowPublicIpAddress": true,
+ "galleryImageReference": {
+ "offer": "0001-com-ubuntu-server-groovy",
+ "publisher": "canonical",
+ "sku": "20_10",
+ "osType": "Linux",
+ "version": "latest"
+ },
+ "artifacts": [
+ {
+ "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "parameters": []
+ }
+ ],
+ "networkInterface": {
+ "sharedPublicIpAddressConfiguration": {
+ "inboundNatRules": [
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 22
+ }
+ ]
+ }
+ },
+ "allowClaim": false,
+ "storageType": "Standard"
+ },
+ "location": "{location}"
+ },
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "7a7d20ab-8a50-46fb-8dc6-7c6c1443a01b"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "name": "{formulaName}",
+ "type": "Microsoft.DevTestLab/labs/formulas"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json
new file mode 100644
index 000000000000..d2113559a14c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{formulaName}",
+ "formula": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "name": "{formulaName}",
+ "type": "Microsoft.DevTestLab/labs/formulas",
+ "properties": {
+ "description": "Formula using a Linux base",
+ "author": "username@contoso.com",
+ "creationDate": "2018-12-22T21:25:42.9254696+00:00",
+ "formulaContent": {
+ "properties": {
+ "notes": "Ubuntu Server 20.10",
+ "size": "Standard_B1ms",
+ "userName": "user",
+ "isAuthenticationWithSshKey": false,
+ "labSubnetName": "Dtl{labName}Subnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "disallowPublicIpAddress": true,
+ "artifacts": [
+ {
+ "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "parameters": []
+ }
+ ],
+ "galleryImageReference": {
+ "offer": "0001-com-ubuntu-server-groovy",
+ "publisher": "canonical",
+ "sku": "20_10",
+ "osType": "Linux",
+ "version": "latest"
+ },
+ "networkInterface": {
+ "sharedPublicIpAddressConfiguration": {
+ "inboundNatRules": [
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 22
+ }
+ ]
+ }
+ },
+ "allowClaim": false,
+ "storageType": "Standard"
+ },
+ "location": "{location}"
+ },
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json
new file mode 100644
index 000000000000..d0f1ddf9f2f1
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "author": "Canonical",
+ "createdDate": "2020-12-14T23:43:43.7643542+00:00",
+ "description": "Ubuntu Server is the world's most popular Linux for cloud environments. Updates and patches for Ubuntu Server 20.04 LTS will be available until April 2025. Ubuntu Server is the perfect virtual machine (VM) platform for all workloads from web applications to NoSQL databases and Hadoop. For more information see Ubuntu on Azure and using Juju to deploy your workloads.
By clicking the Create button, I acknowledge that I am getting this software from Canonical and that the legal terms of Canonical apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Canonical.
",
+ "imageReference": {
+ "offer": "0001-com-ubuntu-server-focal",
+ "publisher": "canonical",
+ "sku": "20_04-lts",
+ "osType": "Linux",
+ "version": "latest"
+ },
+ "icon": "https://106c4.wpc.azureedge.net/80106C4/Gallery-Prod/cdn/2015-02-24/prod20161101-microsoft-windowsazure-gallery/canonical.0001-com-ubuntu-server-focal20_04-lts-ARM.1.0.22/Icons/Small.png",
+ "enabled": true
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/galleryimages/ubuntu server 20.04 lts",
+ "name": "Ubuntu Server 20.04 LTS",
+ "type": "Microsoft.DevTestLab/labs/galleryImages",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ {
+ "properties": {
+ "author": "Microsoft",
+ "createdDate": "2020-12-14T21:33:33.2464999+00:00",
+ "description": "This software is provided by Microsoft. Use of this software in Microsoft Azure is not permitted except under a volume licensing agreement with Microsoft. By clicking Create, I acknowledge that I or the company I work for is licensed to use this software under a volume licensing agreement with Microsoft and that the right to use it will be subject to that agreement.
By clicking the Create button, I acknowledge that I am getting this software from Microsoft and that the legal terms of Microsoft apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Microsoft.
",
+ "imageReference": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "20h2-ent",
+ "osType": "Windows",
+ "version": "latest"
+ },
+ "icon": "https://106c4.wpc.azureedge.net/80106C4/Gallery-Prod/cdn/2015-02-24/prod20161101-microsoft-windowsazure-gallery/microsoftwindowsdesktop.windows-1020h2-ent.1.0.238/Icons/Small.png",
+ "enabled": true
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/galleryimages/windows 10 enterprise, version 20h2",
+ "name": "Windows 10 Enterprise, Version 20H2",
+ "type": "Microsoft.DevTestLab/labs/galleryImages",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json
new file mode 100644
index 000000000000..639b08e47064
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "labvmautostart",
+ "schedule": {
+ "properties": {
+ "status": "Enabled",
+ "timeZoneId": "Hawaiian Standard Time",
+ "taskType": "LabVmsStartupTask",
+ "weeklyRecurrence": {
+ "time": "0700",
+ "weekdays": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsStartupTask",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "time": "0700"
+ },
+ "timeZoneId": "Hawaiian Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 0
+ },
+ "createdDate": "2020-12-29T22:54:54.9335182+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{id}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "name": "LabVmAutoStart",
+ "type": "microsoft.devtestlab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsStartupTask",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "time": "0700"
+ },
+ "timeZoneId": "Hawaiian Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 0
+ },
+ "createdDate": "2020-12-29T22:54:54.9335182+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{id}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "name": "LabVmAutoStart",
+ "type": "microsoft.devtestlab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json
new file mode 100644
index 000000000000..511e24bfa6a4
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "labvmautostart"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json
new file mode 100644
index 000000000000..9e5b8fce4caf
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "labvmautostart"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json
new file mode 100644
index 000000000000..2a1fef560483
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "labvmautostart"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsStartupTask",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "time": "0700"
+ },
+ "timeZoneId": "Hawaiian Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 0
+ },
+ "createdDate": "2020-12-29T22:54:54.9335182+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{id}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "name": "LabVmAutoStart",
+ "type": "microsoft.devtestlab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json
new file mode 100644
index 000000000000..b717ff966019
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "name": "LabVmAutoStart",
+ "type": "microsoft.devtestlab/labs/schedules",
+ "location": "{location}",
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsStartupTask",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "time": "0700"
+ },
+ "timeZoneId": "Hawaiian Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 0
+ },
+ "createdDate": "2020-12-29T22:54:54.9335182+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json
new file mode 100644
index 000000000000..ff294dcc4c3f
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}"
+ },
+ "responses": {
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json
new file mode 100644
index 000000000000..ec3aeab43737
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{scheduleName}",
+ "retargetScheduleProperties": {
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{currentLab}",
+ "currentResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{targetLab}"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json
new file mode 100644
index 000000000000..f31c11fcda3e
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "labvmautostart",
+ "schedule": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsStartupTask",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "time": "0700"
+ },
+ "timeZoneId": "Hawaiian Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 0
+ },
+ "createdDate": "2020-12-29T22:54:54.9335182+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "name": "LabVmAutoStart",
+ "type": "microsoft.devtestlab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json
new file mode 100644
index 000000000000..97163b3995e6
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}",
+ "monitor": "true"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json
new file mode 100644
index 000000000000..fc38fe83e18b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}",
+ "labVirtualMachineCreationParameter": {
+ "properties": {
+ "size": "Standard_A2_v2",
+ "userName": "{userName}",
+ "password": "{userPassword}",
+ "labSubnetName": "{virtualnetwork-subnet-name}",
+ "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "disallowPublicIpAddress": true,
+ "galleryImageReference": {
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04-LTS",
+ "osType": "Linux",
+ "version": "Latest"
+ },
+ "allowClaim": true,
+ "storageType": "Standard"
+ },
+ "name": "{vmName}",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json
new file mode 100644
index 000000000000..54e2c9c17dbd
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json
@@ -0,0 +1,81 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}",
+ "lab": {
+ "properties": {
+ "labStorageType": "{Standard|Premium}"
+ },
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "labStorageType": "Standard",
+ "mandatoryArtifactsResourceIdsLinux": [],
+ "mandatoryArtifactsResourceIdsWindows": [],
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "premiumDataDisks": "Disabled",
+ "environmentPermission": "Reader",
+ "announcement": {
+ "title": "",
+ "markdown": "",
+ "enabled": "Disabled",
+ "expired": false
+ },
+ "support": {
+ "enabled": "Disabled",
+ "markdown": ""
+ },
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "labStorageType": "Standard",
+ "mandatoryArtifactsResourceIdsLinux": [],
+ "mandatoryArtifactsResourceIdsWindows": [],
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "premiumDataDisks": "Disabled",
+ "environmentPermission": "Reader",
+ "announcement": {
+ "title": "",
+ "markdown": "",
+ "enabled": "Disabled",
+ "expired": false
+ },
+ "support": {
+ "enabled": "Disabled",
+ "markdown": ""
+ },
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json
new file mode 100644
index 000000000000..8e02f5d2a666
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json
new file mode 100644
index 000000000000..4ccd32dab878
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}",
+ "exportResourceUsageParameters": {
+ "blobStorageAbsoluteSasUri": "https://invalid.blob.core.windows.net/export.blob?sv=2015-07-08&sig={sas}&sp=rcw",
+ "usageStartDate": "2020-12-01T00:00:00Z"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json
new file mode 100644
index 000000000000..566933707217
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}",
+ "generateUploadUriParameter": {
+ "blobName": "{blob-name}"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "uploadUri": "https://{storageName}.blob.core.windows.net/uploads/{blobName}?sv=2017-04-17&sr=b&sig={signature}&st=2018-10-02T01:55:24Z&se=2018-10-03T02:10:23Z&sp=rcw"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json
new file mode 100644
index 000000000000..a0a415d4d74b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "defaultStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "defaultPremiumStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "artifactsStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "premiumDataDiskStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
+ "labStorageType": "Standard",
+ "mandatoryArtifactsResourceIdsLinux": [],
+ "mandatoryArtifactsResourceIdsWindows": [],
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "premiumDataDisks": "Disabled",
+ "environmentPermission": "Reader",
+ "announcement": {
+ "title": "",
+ "markdown": "",
+ "enabled": "Disabled",
+ "expired": false
+ },
+ "support": {
+ "enabled": "Disabled",
+ "markdown": ""
+ },
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json
new file mode 100644
index 000000000000..f1b5413013c5
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}",
+ "importLabVirtualMachineRequest": {
+ "sourceVirtualMachineResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{otherResourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}",
+ "destinationVirtualMachineName": "{vmName}"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json
new file mode 100644
index 000000000000..df7a0c1352dc
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
+ "labStorageType": "Standard",
+ "mandatoryArtifactsResourceIdsLinux": [],
+ "mandatoryArtifactsResourceIdsWindows": [],
+ "createdDate": "2018-10-02T10:23:20.9573599-07:00",
+ "premiumDataDisks": "Disabled",
+ "environmentPermission": "Reader",
+ "announcement": {
+ "title": "",
+ "markdown": "",
+ "enabled": "Disabled",
+ "expired": false
+ },
+ "support": {
+ "enabled": "Disabled",
+ "markdown": ""
+ },
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json
new file mode 100644
index 000000000000..c381a81ac1f0
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "defaultStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "defaultPremiumStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "artifactsStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "premiumDataDiskStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
+ "labStorageType": "Premium",
+ "mandatoryArtifactsResourceIdsLinux": [],
+ "mandatoryArtifactsResourceIdsWindows": [],
+ "createdDate": "2018-09-30T08:38:13.1973609-07:00",
+ "premiumDataDisks": "Disabled",
+ "environmentPermission": "Reader",
+ "announcement": {
+ "title": "",
+ "markdown": "",
+ "enabled": "Disabled",
+ "expired": false
+ },
+ "support": {
+ "enabled": "Disabled",
+ "markdown": ""
+ },
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName1}",
+ "name": "{labName1}",
+ "type": "Microsoft.DevTestLab/labs",
+ "location": "westcentralus",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ {
+ "properties": {
+ "defaultStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
+ "defaultPremiumStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
+ "artifactsStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
+ "premiumDataDiskStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
+ "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.KeyVault/vaults/{keyVaultName2}",
+ "labStorageType": "Premium",
+ "mandatoryArtifactsResourceIdsLinux": [],
+ "mandatoryArtifactsResourceIdsWindows": [],
+ "createdDate": "2018-09-30T09:37:52.9675083-07:00",
+ "premiumDataDisks": "Disabled",
+ "environmentPermission": "Reader",
+ "announcement": {
+ "title": "",
+ "markdown": "",
+ "enabled": "Disabled",
+ "expired": false
+ },
+ "support": {
+ "enabled": "Disabled",
+ "markdown": ""
+ },
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName2}/providers/microsoft.devtestlab/labs/{labName2}",
+ "name": "{labName2}",
+ "type": "Microsoft.DevTestLab/labs",
+ "location": "japaneast",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json
new file mode 100644
index 000000000000..0c51db641f2c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "https://{labStorageAccountName}.blob.core.windows.net/vhds/vhd1"
+ },
+ {
+ "id": "https://{labStorageAccountName}.blob.core.windows.net/vhds/vhd2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json
new file mode 100644
index 000000000000..ad69884d157f
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}",
+ "lab": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
+ "labStorageType": "Standard",
+ "mandatoryArtifactsResourceIdsLinux": [],
+ "mandatoryArtifactsResourceIdsWindows": [],
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "premiumDataDisks": "Disabled",
+ "environmentPermission": "Reader",
+ "announcement": {
+ "title": "",
+ "markdown": "",
+ "enabled": "Disabled",
+ "expired": false
+ },
+ "support": {
+ "enabled": "Disabled",
+ "markdown": ""
+ },
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json
new file mode 100644
index 000000000000..918867c894fa
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{notificationChannelName}",
+ "notificationChannel": {
+ "properties": {
+ "description": "Integration configured for auto-shutdown",
+ "events": [
+ {
+ "eventName": "AutoShutdown"
+ }
+ ],
+ "webHookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "en"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "webHookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "en",
+ "description": "Integration configured for auto-shutdown",
+ "events": [
+ {
+ "eventName": "AutoShutdown"
+ }
+ ],
+ "createdDate": "2021-01-05T02:14:05.2392034+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "name": "{notificationChannelName}",
+ "type": "Microsoft.DevTestLab/labs/notificationChannels",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "webHookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "en",
+ "description": "Integration configured for auto-shutdown",
+ "events": [
+ {
+ "eventName": "AutoShutdown"
+ }
+ ],
+ "createdDate": "2021-01-05T02:14:05.2392034+00:00",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "name": "{notificationChannelName}",
+ "type": "Microsoft.DevTestLab/labs/notificationChannels",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json
new file mode 100644
index 000000000000..c6016c7324a8
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{notificationChannelName}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json
new file mode 100644
index 000000000000..e59ca23b17f8
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{notificationChannelName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "webHookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "en",
+ "description": "Integration configured for auto-shutdown",
+ "events": [
+ {
+ "eventName": "AutoShutdown"
+ }
+ ],
+ "createdDate": "2021-01-05T02:14:05.2392034+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "name": "{notificationChannelName}",
+ "type": "Microsoft.DevTestLab/labs/notificationChannels",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json
new file mode 100644
index 000000000000..7723abf785f1
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "webHookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "en",
+ "description": "Integration configured for auto-shutdown",
+ "events": [
+ {
+ "eventName": "AutoShutdown"
+ }
+ ],
+ "createdDate": "2021-01-05T02:12:10.6566371+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "name": "autoshutdown",
+ "type": "Microsoft.DevTestLab/labs/notificationChannels",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ {
+ "properties": {
+ "webHookUrl": "{webhookUrl}",
+ "notificationLocale": "en",
+ "description": "Integration configured for cost",
+ "events": [
+ {
+ "eventName": "Cost"
+ }
+ ],
+ "createdDate": "2021-01-05T02:14:05.2392034+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "name": "costThreshold",
+ "type": "Microsoft.DevTestLab/labs/notificationChannels",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json
new file mode 100644
index 000000000000..fc9c74f6928d
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{notificationChannelName}",
+ "notifyParameters": {
+ "eventName": "AutoShutdown",
+ "jsonPayload": "{\"eventType\":\"AutoShutdown\",\"subscriptionId\":\"{subscriptionId}\",\"resourceGroupName\":\"resourceGroupName\",\"labName\":\"{labName}\"}"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json
new file mode 100644
index 000000000000..2135cb607801
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{notificationChannelName}",
+ "notificationChannel": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "webHookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "en",
+ "description": "Integration configured for auto-shutdown",
+ "events": [
+ {
+ "eventName": "AutoShutdown"
+ }
+ ],
+ "createdDate": "2021-01-05T02:14:05.2392034+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "name": "{notificationChannelName}",
+ "type": "Microsoft.DevTestLab/labs/notificationChannels",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json
new file mode 100644
index 000000000000..2b31221157f0
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "locationName": "{locationName}",
+ "name": "{operationName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "Running",
+ "statusCode": "OK"
+ }
+ },
+ "202": {
+ "body": {
+ "status": "Running",
+ "statusCode": "Accepted"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json
new file mode 100644
index 000000000000..97926527b254
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "policySetName": "{policySetName}",
+ "name": "{policyName}",
+ "policy": {
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ },
+ "properties": {
+ "description": "{policyDescription}",
+ "status": "{policyStatus}",
+ "factName": "{policyFactName}",
+ "factData": "{policyFactData}",
+ "threshold": "{policyThreshold}",
+ "evaluatorType": "{policyEvaluatorType}"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs/policies",
+ "location": "{location}",
+ "properties": {
+ "description": "{policyDescription}",
+ "status": "{policyStatus}",
+ "factName": "{policyFactName}",
+ "factData": "{policyFactData}",
+ "threshold": "{policyThreshold}",
+ "evaluatorType": "{policyEvaluatorType}",
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs/policySets/policies",
+ "location": "{location}",
+ "properties": {
+ "description": "{policyDescription}",
+ "status": "{policyStatus}",
+ "factName": "{policyFactName}",
+ "factData": "{policyFactData}",
+ "threshold": "{policyThreshold}",
+ "evaluatorType": "{policyEvaluatorType}",
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json
new file mode 100644
index 000000000000..896696109998
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "policySetName": "{policySetName}",
+ "name": "{policyName}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json
new file mode 100644
index 000000000000..f07a9fe077d3
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "policySetName": "{policySetName}",
+ "name": "{policyName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "{policyDescription}",
+ "status": "{policyStatus}",
+ "factName": "{policyFactName}",
+ "factData": "{policyFactData}",
+ "threshold": "{policyThreshold}",
+ "evaluatorType": "{policyEvaluatorType}",
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs/policySets/policies",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json
new file mode 100644
index 000000000000..e419f2c69e08
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "policySetName": "{policySetName}",
+ "name": "{policyName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "{policyDescription}",
+ "status": "{policyStatus}",
+ "factName": "{policyFactName}",
+ "factData": "{policyFactData}",
+ "threshold": "{policyThreshold}",
+ "evaluatorType": "{policyEvaluatorType}",
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs/policySets/policies",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json
new file mode 100644
index 000000000000..aa1a9957a355
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "policySetName": "{policySetName}",
+ "name": "{policyName}",
+ "policy": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs/policies",
+ "location": "{location}",
+ "properties": {
+ "description": "{policyDescription}",
+ "status": "{policyStatus}",
+ "factName": "{policyFactName}",
+ "factData": "{policyFactData}",
+ "threshold": "{policyThreshold}",
+ "evaluatorType": "{policyEvaluatorType}",
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json
new file mode 100644
index 000000000000..551545c15666
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{policySetName}",
+ "evaluatePoliciesRequest": {
+ "policies": [
+ {
+ "factName": "LabVmCount",
+ "valueOffset": "1"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "results": [
+ {
+ "hasError": true,
+ "policyViolations": [
+ {
+ "code": "MaxValuePolicy",
+ "message": "You cannot exceed the limit (1) of virtual machines that can be created in this lab."
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ProviderOperations_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ProviderOperations_List.json
new file mode 100644
index 000000000000..8addc4ae0350
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ProviderOperations_List.json
@@ -0,0 +1,859 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DevTestLab/register/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "register",
+ "operation": "Register Subscription",
+ "description": "Registers the subscription"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/policySets/EvaluatePolicies/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "policy sets",
+ "operation": "Evaluate policy",
+ "description": "Evaluates lab policy."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Labs",
+ "operation": "Delete labs.",
+ "description": "Delete labs."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Labs",
+ "operation": "Read labs.",
+ "description": "Read labs."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Labs",
+ "operation": "Add or modify labs.",
+ "description": "Add or modify labs."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/ListVhds/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Labs",
+ "operation": "List VHDs",
+ "description": "List disk images available for custom image creation."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/GenerateUploadUri/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Labs",
+ "operation": "Generate image upload URI",
+ "description": "Generate a URI for uploading custom disk images to a Lab."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/CreateEnvironment/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Labs",
+ "operation": "Create a virtual machine",
+ "description": "Create virtual machines in a lab."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/ClaimAnyVm/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Labs",
+ "operation": "Claim Any Virtual Machine",
+ "description": "Claim a random claimable virtual machine in the lab."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/ExportResourceUsage/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Labs",
+ "operation": "Exports the lab resource usage into a storage account",
+ "description": "Exports the lab resource usage into a storage account"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/ImportVirtualMachine/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Labs",
+ "operation": "Import a virtual machine",
+ "description": "Import a virtual machine into a different lab."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/policySets/policies/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "policies",
+ "operation": "Delete policies.",
+ "description": "Delete policies."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/policySets/policies/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "policies",
+ "operation": "Read policies.",
+ "description": "Read policies."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/policySets/policies/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "policies",
+ "operation": "Add or modify policies.",
+ "description": "Add or modify policies."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/schedules/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Delete schedules.",
+ "description": "Delete schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/schedules/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Read schedules.",
+ "description": "Read schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/schedules/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Add or modify schedules.",
+ "description": "Add or modify schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/schedules/Execute/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Execute schedule",
+ "description": "Execute a schedule."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/schedules/ListApplicable/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "List all applicable schedules",
+ "description": "Lists all applicable schedules"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/schedules/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Delete schedules.",
+ "description": "Delete schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/schedules/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Read schedules.",
+ "description": "Read schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/schedules/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Add or modify schedules.",
+ "description": "Add or modify schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/schedules/Execute/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Execute schedule",
+ "description": "Execute a schedule."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/schedules/Retarget/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Retarget schedule.",
+ "description": "Updates a schedule's target resource Id."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/schedules/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Delete schedules.",
+ "description": "Delete schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/schedules/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Read schedules.",
+ "description": "Read schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/schedules/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Add or modify schedules.",
+ "description": "Add or modify schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/schedules/Execute/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Execute schedule",
+ "description": "Execute a schedule."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/schedules/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Delete schedules.",
+ "description": "Delete schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/schedules/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Read schedules.",
+ "description": "Read schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/schedules/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Add or modify schedules.",
+ "description": "Add or modify schedules."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/schedules/Execute/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "schedules",
+ "operation": "Execute schedule",
+ "description": "Execute a schedule."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/artifactSources/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Artifact sources",
+ "operation": "Delete artifact sources.",
+ "description": "Delete artifact sources."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/artifactSources/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Artifact sources",
+ "operation": "Read artifact sources.",
+ "description": "Read artifact sources."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/artifactSources/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Artifact sources",
+ "operation": "Add or modify artifact sources.",
+ "description": "Add or modify artifact sources."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/artifactSources/artifacts/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Artifacts",
+ "operation": "Read artifacts.",
+ "description": "Read artifacts."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/artifactSources/artifacts/GenerateArmTemplate/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Artifacts",
+ "operation": "Generates an ARM template for the given artifact",
+ "description": "Generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/galleryImages/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "gallery images",
+ "operation": "Read gallery images.",
+ "description": "Read gallery images."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/customImages/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "custom images",
+ "operation": "Delete custom images.",
+ "description": "Delete custom images."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/customImages/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "custom images",
+ "operation": "Read custom images.",
+ "description": "Read custom images."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/customImages/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "custom images",
+ "operation": "Add or modify custom images.",
+ "description": "Add or modify custom images."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualNetworks/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "virtual networks",
+ "operation": "Delete virtual networks.",
+ "description": "Delete virtual networks."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualNetworks/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "virtual networks",
+ "operation": "Read virtual networks.",
+ "description": "Read virtual networks."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualNetworks/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "virtual networks",
+ "operation": "Add or modify virtual networks.",
+ "description": "Add or modify virtual networks."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Delete virtual machines.",
+ "description": "Delete virtual machines."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Read virtual machines.",
+ "description": "Read virtual machines."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Add or modify virtual machines.",
+ "description": "Add or modify virtual machines."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/Start/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Start virtual machine",
+ "description": "Start a virtual machine."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/Stop/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Stop virtual machine",
+ "description": "Stop a virtual machine"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/Restart/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Restart virtual machine",
+ "description": "Restart a virtual machine."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/Redeploy/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Redeploy a virtual machine",
+ "description": "Redeploy a virtual machine"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/Resize/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Resize Virtual Machine.",
+ "description": "Resize Virtual Machine."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/ApplyArtifacts/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Apply artifacts to virtual machine",
+ "description": "Apply artifacts to virtual machine."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/AddDataDisk/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Add or attach a data disk",
+ "description": "Attach a new or existing data disk to virtual machine."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/DetachDataDisk/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Detach the specified disk from the virtual machine",
+ "description": "Detach the specified disk from the virtual machine."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/Claim/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Claim a virtual machine",
+ "description": "Take ownership of an existing virtual machine"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/UnClaim/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Unclaim a virtual machine",
+ "description": "Release ownership of an existing virtual machine"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/TransferDisks/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Transfer data disks to yourself",
+ "description": "Transfer ownership of virtual machine data disks to yourself"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/ListApplicableSchedules/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "List all applicable schedules",
+ "description": "Lists all applicable schedules"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/virtualMachines/GetRdpFileContents/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Virtual machines",
+ "operation": "Get RDP file contents",
+ "description": "Gets a string that represents the contents of the RDP file for the virtual machine"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/formulas/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Formulas",
+ "operation": "Delete formulas.",
+ "description": "Delete formulas."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/formulas/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Formulas",
+ "operation": "Read formulas.",
+ "description": "Read formulas."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/formulas/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Formulas",
+ "operation": "Add or modify formulas.",
+ "description": "Add or modify formulas."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/costs/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "costs",
+ "operation": "Read costs.",
+ "description": "Read costs."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/costs/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "costs",
+ "operation": "Add or modify costs.",
+ "description": "Add or modify costs."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/disks/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "disks",
+ "operation": "Delete disks.",
+ "description": "Delete disks."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/disks/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "disks",
+ "operation": "Read disks.",
+ "description": "Read disks."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/disks/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "disks",
+ "operation": "Add or modify disks.",
+ "description": "Add or modify disks."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/disks/Attach/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "disks",
+ "operation": "Attach disk",
+ "description": "Attach and create the lease of the disk to the virtual machine."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/disks/Detach/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "disks",
+ "operation": "Detach and break the lease of the disk attached to the virtual machine",
+ "description": "Detach and break the lease of the disk attached to the virtual machine."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "user profiles",
+ "operation": "Delete user profiles.",
+ "description": "Delete user profiles."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "user profiles",
+ "operation": "Read user profiles.",
+ "description": "Read user profiles."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "user profiles",
+ "operation": "Add or modify user profiles.",
+ "description": "Add or modify user profiles."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/notificationChannels/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "notificationChannels",
+ "operation": "Delete notification channels.",
+ "description": "Delete notification channels."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/notificationChannels/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "notificationChannels",
+ "operation": "Read notification channels.",
+ "description": "Read notification channels."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/notificationChannels/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "notificationChannels",
+ "operation": "Add or modify notification channels.",
+ "description": "Add or modify notification channels."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/notificationChannels/Notify/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "notificationChannels",
+ "operation": "Notify",
+ "description": "Send notification to provided channel."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/secrets/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "secrets",
+ "operation": "Delete secrets.",
+ "description": "Delete secrets."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/secrets/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "secrets",
+ "operation": "Read secrets.",
+ "description": "Read secrets."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/secrets/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "secrets",
+ "operation": "Add or modify secrets.",
+ "description": "Add or modify secrets."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/locations/operations/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "operations",
+ "operation": "Read operations.",
+ "description": "Read operations."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/artifactSources/armTemplates/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Azure Resource Manager templates",
+ "operation": "Read azure resource manager templates.",
+ "description": "Read azure resource manager templates."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/environments/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "environments",
+ "operation": "Delete environments.",
+ "description": "Delete environments."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/environments/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "environments",
+ "operation": "Read environments.",
+ "description": "Read environments."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/environments/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "environments",
+ "operation": "Add or modify environments.",
+ "description": "Add or modify environments."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/serviceRunners/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Service runners",
+ "operation": "Delete service runners.",
+ "description": "Delete service runners."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/serviceRunners/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Service runners",
+ "operation": "Read service runners.",
+ "description": "Read service runners."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/serviceRunners/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Service runners",
+ "operation": "Add or modify service runners.",
+ "description": "Add or modify service runners."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/delete",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Service Fabrics",
+ "operation": "Delete service fabrics.",
+ "description": "Delete service fabrics."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/read",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Service Fabrics",
+ "operation": "Read service fabrics.",
+ "description": "Read service fabrics."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/write",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Service Fabrics",
+ "operation": "Add or modify service fabrics.",
+ "description": "Add or modify service fabrics."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/Start/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Service Fabrics",
+ "operation": "Start service fabric",
+ "description": "Start a service fabric."
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/Stop/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Service Fabrics",
+ "operation": "Stop service fabric",
+ "description": "Stop a service fabric"
+ }
+ },
+ {
+ "name": "Microsoft.DevTestLab/labs/users/serviceFabrics/ListApplicableSchedules/action",
+ "display": {
+ "provider": "Microsoft DevTest Labs",
+ "resource": "Service Fabrics",
+ "operation": "List all applicable schedules",
+ "description": "Lists all applicable schedules"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json
new file mode 100644
index 000000000000..3da352bda297
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json
@@ -0,0 +1,126 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{scheduleName}",
+ "schedule": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}"
+ },
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json
new file mode 100644
index 000000000000..c42f7b046183
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{scheduleName}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json
new file mode 100644
index 000000000000..af0f56a08717
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{scheduleName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json
new file mode 100644
index 000000000000..da04dd288866
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{scheduleName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json
new file mode 100644
index 000000000000..330e80fe2c19
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json
new file mode 100644
index 000000000000..df90a36c097b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{scheduleName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json
new file mode 100644
index 000000000000..407f17837a6b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{scheduleName}",
+ "schedule": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json
new file mode 100644
index 000000000000..c4165ca23f8f
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{secretName}",
+ "secret": {
+ "properties": {
+ "value": "{secret}"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
+ "name": "{secretName}",
+ "type": "Microsoft.DevTestLab/labs/users/secrets"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
+ "name": "{secretName}",
+ "type": "Microsoft.DevTestLab/labs/users/secrets"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json
new file mode 100644
index 000000000000..c90cc62c868c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{secretName}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json
new file mode 100644
index 000000000000..ad0c8c5355eb
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{secretName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
+ "name": "{secretName}",
+ "type": "Microsoft.DevTestLab/labs/users/secrets"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json
new file mode 100644
index 000000000000..aa23320df573
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/secret1",
+ "name": "secret1",
+ "type": "Microsoft.DevTestLab/labs/users/secrets"
+ },
+ {
+ "properties": {
+ "uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/secret2",
+ "name": "secret2",
+ "type": "Microsoft.DevTestLab/labs/users/secrets"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json
new file mode 100644
index 000000000000..9f938c6220a4
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{secretName}",
+ "secret": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
+ "name": "{secretName}",
+ "type": "Microsoft.DevTestLab/labs/users/secrets"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json
new file mode 100644
index 000000000000..fe45fc60d4ab
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json
@@ -0,0 +1,128 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "serviceFabricName": "{serviceFrabicName}",
+ "name": "{scheduleName}",
+ "schedule": {
+ "location": "{location}",
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{Unknown|LabVmsShutdownTask|LabVmsStartupTask|LabVmReclamationTask|ComputeVmShutdownTask}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "time": "19:00"
+ },
+ "dailyRecurrence": {
+ "time": "19:00"
+ },
+ "hourlyRecurrence": {
+ "minute": 0
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhoolUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "Unknown",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "time": "1900"
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-09-15T00:00:00.0000000-00:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "Unknown",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "time": "1900"
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-09-15T00:00:00.0000000-00:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json
new file mode 100644
index 000000000000..22616b091427
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "serviceFabricName": "{serviceFrabicName}",
+ "name": "{scheduleName}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json
new file mode 100644
index 000000000000..4e1cb328d509
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "serviceFabricName": "{serviceFrabicName}",
+ "name": "{scheduleName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json
new file mode 100644
index 000000000000..a3ae785deb4d
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "serviceFabricName": "{serviceFrabicName}",
+ "name": "{scheduleName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "Unknown",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "time": "1900"
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-09-15T00:00:00.0000000-00:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json
new file mode 100644
index 000000000000..1e925dce6c48
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "serviceFabricName": "{serviceFrabicName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "Unknown",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "time": "1900"
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-09-15T00:00:00.0000000-00:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json
new file mode 100644
index 000000000000..906353aa75b6
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "@me",
+ "serviceFabricName": "{serviceFrabicName}",
+ "name": "{scheduleName}",
+ "schedule": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Disabled",
+ "taskType": "Unknown",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "time": "1900"
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-09-15T00:00:00.0000000-00:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json
new file mode 100644
index 000000000000..14c2b35de6ca
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json
@@ -0,0 +1,234 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{serviceFabricName}",
+ "serviceFabric": {
+ "properties": {
+ "environmentId": "{environmentId}",
+ "externalServiceFabricId": "{serviceFabricId}"
+ },
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
+ "name": "{serviceFabricName}",
+ "type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
+ "location": "{location}",
+ "properties": {
+ "applicableSchedule": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "location": "{location}",
+ "name": "{scheduleName}",
+ "properties": {
+ "labVmsShutdown": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "labVmsStartup": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "type": "{scheduleType}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "environmentId": "{environmentId}",
+ "externalServiceFabricId": "{serviceFabricId}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
+ "name": "{serviceFabricName}",
+ "type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
+ "location": "{location}",
+ "properties": {
+ "applicableSchedule": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "location": "{location}",
+ "name": "{scheduleName}",
+ "properties": {
+ "labVmsShutdown": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "labVmsStartup": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "type": "{scheduleType}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "environmentId": "{environmentId}",
+ "externalServiceFabricId": "{serviceFabricId}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json
new file mode 100644
index 000000000000..7a231b99a145
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{serviceFabricName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json
new file mode 100644
index 000000000000..6138b1eb11b9
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json
@@ -0,0 +1,118 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{serviceFabricName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
+ "name": "{serviceFabricName}",
+ "type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
+ "location": "{location}",
+ "properties": {
+ "applicableSchedule": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "location": "{location}",
+ "name": "{scheduleName}",
+ "properties": {
+ "labVmsShutdown": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "labVmsStartup": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "type": "{scheduleType}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "environmentId": "{environmentId}",
+ "externalServiceFabricId": "{serviceFabricId}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json
new file mode 100644
index 000000000000..404314057355
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json
@@ -0,0 +1,121 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
+ "name": "{serviceFabricName}",
+ "type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
+ "location": "{location}",
+ "properties": {
+ "applicableSchedule": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "location": "{location}",
+ "name": "{scheduleName}",
+ "properties": {
+ "labVmsShutdown": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "labVmsStartup": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "type": "{scheduleType}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "environmentId": "{environmentId}",
+ "externalServiceFabricId": "{serviceFabricId}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json
new file mode 100644
index 000000000000..29a071f07508
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json
@@ -0,0 +1,103 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{serviceFabricName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "location": "{location}",
+ "name": "{scheduleName}",
+ "properties": {
+ "labVmsShutdown": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "labVmsStartup": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "type": "{scheduleType}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json
new file mode 100644
index 000000000000..d22512cdb394
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{serviceFabricName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json
new file mode 100644
index 000000000000..d22512cdb394
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{serviceFabricName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json
new file mode 100644
index 000000000000..7a0c1acc8c84
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json
@@ -0,0 +1,123 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "userName": "{userName}",
+ "name": "{serviceFabricName}",
+ "serviceFabric": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
+ "name": "{serviceFabricName}",
+ "type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
+ "location": "{location}",
+ "properties": {
+ "applicableSchedule": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "location": "{location}",
+ "name": "{scheduleName}",
+ "properties": {
+ "labVmsShutdown": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "labVmsStartup": {
+ "properties": {
+ "status": "{Enabled|Disabled}",
+ "taskType": "{myLabVmTaskType}",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Wednesday",
+ "Friday"
+ ],
+ "time": "{timeOfTheDayTheScheduleWillOccurOnThoseDays}"
+ },
+ "dailyRecurrence": {
+ "time": "{timeOfTheDayTheScheduleWillOccurEveryDay}"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "{Enabled|Disabled}",
+ "timeInMinutes": 15,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "name": "{scheduleName}",
+ "type": "Microsoft.DevTestLab/labs/schedules",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "type": "{scheduleType}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "environmentId": "{environmentId}",
+ "externalServiceFabricId": "{serviceFabricId}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
new file mode 100644
index 000000000000..78627a8a2d6f
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{devtestlabName}",
+ "name": "{servicerunnerName}",
+ "serviceRunner": {
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ },
+ "identity": {
+ "type": "{identityType}",
+ "principalId": "{identityPrincipalId}",
+ "tenantId": "{identityTenantId}",
+ "clientSecretUrl": "{identityClientSecretUrl}"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "identity": {
+ "type": "{identityType}",
+ "principalId": "{identityPrincipalId}",
+ "tenantId": "{identityTenantId}",
+ "clientSecretUrl": "{identityClientSecretUrl}"
+ }
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
+ "name": "{serviceRunnerName}",
+ "type": "Microsoft.DevTestLab/labs/serviceRunners",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "201": {
+ "body": {
+ "identity": {
+ "type": "{identityType}",
+ "principalId": "{identityPrincipalId}",
+ "tenantId": "{identityTenantId}",
+ "clientSecretUrl": "{identityClientSecretUrl}"
+ }
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
+ "name": "{serviceRunnerName}",
+ "type": "Microsoft.DevTestLab/labs/serviceRunners",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
new file mode 100644
index 000000000000..6c34c7502026
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{devtestlabName}",
+ "name": "{servicerunnerName}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
new file mode 100644
index 000000000000..ef2d8ea9dea4
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{devtestlabName}",
+ "name": "{servicerunnerName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "identity": {
+ "type": "{identityType}",
+ "principalId": "{identityPrincipalId}",
+ "tenantId": "{identityTenantId}",
+ "clientSecretUrl": "{identityClientSecretUrl}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
+ "name": "{serviceRunnerName}",
+ "type": "Microsoft.DevTestLab/labs/serviceRunners",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
new file mode 100644
index 000000000000..5be0d8a50a24
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{devtestlabName}",
+ "name": "{userName}",
+ "user": {
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ },
+ "properties": {
+ "identity": {
+ "principalName": "{principalName}",
+ "principalId": "{principalId}",
+ "tenantId": "{tenantId}",
+ "objectId": "{objectId}",
+ "appId": "{appId}"
+ },
+ "secretStore": {
+ "keyVaultUri": "{keyVaultUri}",
+ "keyVaultId": "{keyVaultId}"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "identity": {
+ "principalName": "{principalName}",
+ "principalId": "{principalId}",
+ "tenantId": "{tenantId}",
+ "objectId": "{objectId}",
+ "appId": "{appId}"
+ },
+ "secretStore": {
+ "keyVaultUri": "{keyVaultUri}",
+ "keyVaultId": "{keyVaultId}"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
+ "name": "{userName}",
+ "type": "Microsoft.DevTestLab/labs/users",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "identity": {
+ "principalName": "{principalName}",
+ "principalId": "{principalId}",
+ "tenantId": "{tenantId}",
+ "objectId": "{objectId}",
+ "appId": "{appId}"
+ },
+ "secretStore": {
+ "keyVaultUri": "{keyVaultUri}",
+ "keyVaultId": "{keyVaultId}"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
+ "name": "{userName}",
+ "type": "Microsoft.DevTestLab/labs/users",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
new file mode 100644
index 000000000000..a39cade57f8b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{devtestlabName}",
+ "name": "{userName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
new file mode 100644
index 000000000000..15a41b03c614
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{devtestlabName}",
+ "name": "{userName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "identity": {
+ "principalName": "{principalName}",
+ "principalId": "{principalId}",
+ "tenantId": "{tenantId}",
+ "objectId": "{objectId}",
+ "appId": "{appId}"
+ },
+ "secretStore": {
+ "keyVaultUri": "{keyVaultUri}",
+ "keyVaultId": "{keyVaultId}"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
+ "name": "{userName}",
+ "type": "Microsoft.DevTestLab/labs/users",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
new file mode 100644
index 000000000000..61d9fb05ba79
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{devtestlabName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "identity": {
+ "principalName": "{principalName}",
+ "principalId": "{principalId}",
+ "tenantId": "{tenantId}",
+ "objectId": "{objectId}",
+ "appId": "{appId}"
+ },
+ "secretStore": {
+ "keyVaultUri": "{keyVaultUri}",
+ "keyVaultId": "{keyVaultId}"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
+ "name": "{userName}",
+ "type": "Microsoft.DevTestLab/labs/users",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
new file mode 100644
index 000000000000..82c8198f3612
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{devtestlabName}",
+ "name": "{userName}",
+ "user": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "identity": {
+ "principalName": "{principalName}",
+ "principalId": "{principalId}",
+ "tenantId": "{tenantId}",
+ "objectId": "{objectId}",
+ "appId": "{appId}"
+ },
+ "secretStore": {
+ "keyVaultUri": "users/{userName}",
+ "keyVaultId": "{keyVaultId}"
+ },
+ "createdDate": "2018-10-01T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
+ "name": "{userName}",
+ "type": "Microsoft.DevTestLab/labs/users",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json
new file mode 100644
index 000000000000..163dddcb27e0
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json
@@ -0,0 +1,125 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualMachineName": "{vmName}",
+ "name": "LabVmsShutdown",
+ "schedule": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsShutdownTask",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "time": "1700"
+ },
+ "dailyRecurrence": {
+ "time": "1900"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Enabled",
+ "timeInMinutes": 30,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ },
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsShutdownTask",
+ "createdDate": "2020-12-31T18:40:48.1739018-07:00",
+ "provisioningState": "Created",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "time": "1700"
+ },
+ "dailyRecurrence": {
+ "time": "1900"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Enabled",
+ "timeInMinutes": 30,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ },
+ "location": "{location}",
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/LabVmsShutdown",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
+ "name": "LabVmsShutdown",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsShutdownTask",
+ "createdDate": "2020-12-31T18:40:48.1739018-07:00",
+ "provisioningState": "Created",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "time": "1700"
+ },
+ "dailyRecurrence": {
+ "time": "1900"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Enabled",
+ "timeInMinutes": 30,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ },
+ "location": "{location}",
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/LabVmsShutdown",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
+ "name": "LabVmsShutdown",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json
new file mode 100644
index 000000000000..58cfb84c7381
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualMachineName": "{vmName}",
+ "name": "LabVmsShutdown"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json
new file mode 100644
index 000000000000..46133bc16dce
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualMachineName": "{vmName}",
+ "name": "LabVmsShutdown"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json
new file mode 100644
index 000000000000..c53d38dd8e88
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualMachineName": "{vmName}",
+ "name": "LabVmsShutdown"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsShutdownTask",
+ "createdDate": "2020-12-31T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "time": "1700"
+ },
+ "dailyRecurrence": {
+ "time": "1900"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Enabled",
+ "timeInMinutes": 30,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ },
+ "location": "{location}",
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/mySchedule",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
+ "name": "LabVmsShutdown",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json
new file mode 100644
index 000000000000..7e303deffc3c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualMachineName": "{vmName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsShutdownTask",
+ "createdDate": "2020-12-31T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "time": "1700"
+ },
+ "dailyRecurrence": {
+ "time": "1900"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Enabled",
+ "timeInMinutes": 30,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/labName}/virtualMachines/{vmName}"
+ },
+ "location": "{location}",
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/mySchedule",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
+ "name": "LabVmsShutdown",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json
new file mode 100644
index 000000000000..4c7537fb0a50
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualMachineName": "{vmName}",
+ "name": "LabVmsShutdown",
+ "schedule": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsShutdownTask",
+ "createdDate": "2020-12-31T18:40:48.1739018-07:00",
+ "provisioningState": "Succeeded",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "time": "1700"
+ },
+ "dailyRecurrence": {
+ "time": "1900"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Enabled",
+ "timeInMinutes": 30,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ },
+ "location": "{location}",
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/mySchedule",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
+ "name": "LabVmsShutdown",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json
new file mode 100644
index 000000000000..e67ed77d20bf
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{virtualMachineName}",
+ "dataDiskProperties": {
+ "attachNewDataDiskOptions": {
+ "diskSizeGiB": 127,
+ "diskName": "{diskName}",
+ "diskType": "{diskType}"
+ }
+ },
+ "hostCaching": "none|readOnly|readWrite"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json
new file mode 100644
index 000000000000..5ce835a61093
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}",
+ "applyArtifactsRequest": {
+ "artifacts": [
+ {
+ "artifactId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/public repo/artifacts/windows-restart"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json
new file mode 100644
index 000000000000..0cef32cf7ca9
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json
new file mode 100644
index 000000000000..9c695f3613de
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json
@@ -0,0 +1,116 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}",
+ "labVirtualMachine": {
+ "properties": {
+ "size": "Standard_A2_v2",
+ "userName": "{userName}",
+ "password": "{userPassword}",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "disallowPublicIpAddress": true,
+ "galleryImageReference": {
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04-LTS",
+ "osType": "Linux",
+ "version": "Latest"
+ },
+ "allowClaim": true,
+ "storageType": "Standard"
+ },
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "ownerObjectId": "",
+ "ownerUserPrincipalName": "",
+ "createdByUserId": "",
+ "createdByUser": "",
+ "createdDate": "2018-10-01T16:53:02.4830866-07:00",
+ "size": "Standard_A2_v2",
+ "userName": "{userName}",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "disallowPublicIpAddress": true,
+ "artifactDeploymentStatus": {
+ "artifactsApplied": 0,
+ "totalArtifacts": 0
+ },
+ "galleryImageReference": {
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04-LTS",
+ "osType": "Linux",
+ "version": "Latest"
+ },
+ "networkInterface": {},
+ "allowClaim": true,
+ "storageType": "Standard",
+ "virtualMachineCreationSource": "FromGalleryImage",
+ "dataDiskParameters": [],
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
+ "name": "{vmName}",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "ownerObjectId": "",
+ "ownerUserPrincipalName": "",
+ "createdByUserId": "",
+ "createdByUser": "",
+ "createdDate": "2018-10-01T16:53:02.4830866-07:00",
+ "size": "Standard_A2_v2",
+ "userName": "{userName}",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "disallowPublicIpAddress": true,
+ "artifactDeploymentStatus": {
+ "artifactsApplied": 0,
+ "totalArtifacts": 0
+ },
+ "galleryImageReference": {
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04-LTS",
+ "osType": "Linux",
+ "version": "Latest"
+ },
+ "networkInterface": {},
+ "allowClaim": true,
+ "storageType": "Standard",
+ "virtualMachineCreationSource": "FromGalleryImage",
+ "dataDiskParameters": [],
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
+ "name": "{vmName}",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json
new file mode 100644
index 000000000000..4cee5f86bb5c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json
new file mode 100644
index 000000000000..60059a0f391d
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{virtualMachineName}",
+ "detachDataDiskProperties": {
+ "existingLabDiskId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{virtualMachineName}"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json
new file mode 100644
index 000000000000..fc67f9ece136
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "ownerObjectId": "",
+ "ownerUserPrincipalName": "",
+ "createdByUserId": "",
+ "createdByUser": "",
+ "createdDate": "2018-10-01T16:53:02.4830866-07:00",
+ "computeId": "/subscriptions/{subscriptionId}/resourceGroups/{labName}-{vmName}-{randomSuffix}/providers/Microsoft.Compute/virtualMachines/{vmName}",
+ "osType": "Linux",
+ "size": "Standard_A2_v2",
+ "userName": "{userName}",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "disallowPublicIpAddress": true,
+ "artifactDeploymentStatus": {
+ "artifactsApplied": 0,
+ "totalArtifacts": 0
+ },
+ "galleryImageReference": {
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04-LTS",
+ "osType": "Linux",
+ "version": "Latest"
+ },
+ "networkInterface": {},
+ "allowClaim": true,
+ "storageType": "Standard",
+ "virtualMachineCreationSource": "FromGalleryImage",
+ "dataDiskParameters": [],
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
+ "name": "{vmName}",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json
new file mode 100644
index 000000000000..0f96308651c7
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "contents": "full address:s:10.0.0.4\r\nprompt for credentials:i:1\r\nusername:s:{vmName}\\{userName}\r\n"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json
new file mode 100644
index 000000000000..b287ca5a0a0b
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "ownerObjectId": "",
+ "ownerUserPrincipalName": "",
+ "createdByUserId": "",
+ "createdByUser": "",
+ "createdDate": "2018-10-01T16:53:02.4830866-07:00",
+ "computeId": "/subscriptions/{subscriptionId}/resourceGroups/{labName}-{vmName}-{randomSuffix}/providers/Microsoft.Compute/virtualMachines/{vmName}",
+ "osType": "Linux",
+ "size": "Standard_A2_v2",
+ "userName": "{userName}",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "disallowPublicIpAddress": true,
+ "artifactDeploymentStatus": {
+ "artifactsApplied": 0,
+ "totalArtifacts": 0
+ },
+ "galleryImageReference": {
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04-LTS",
+ "osType": "Linux",
+ "version": "Latest"
+ },
+ "networkInterface": {},
+ "allowClaim": true,
+ "storageType": "Standard",
+ "virtualMachineCreationSource": "FromGalleryImage",
+ "dataDiskParameters": [],
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
+ "name": "{vmName}",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json
new file mode 100644
index 000000000000..dc5587c5e036
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "labVmsShutdown": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsShutdownTask",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "time": "1700"
+ },
+ "dailyRecurrence": {
+ "time": "1900"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Enabled",
+ "timeInMinutes": 30,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2020-12-29T21:48:14.1369355+00:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{vmName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "4acf0408-1c10-49cb-96b7-28ce655c8320"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/myAutoShutdownSchedule",
+ "name": "LabVmsShutdown",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
+ "location": "{location}"
+ },
+ "labVmsStartup": {
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsStartupTask",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "time": "1000"
+ },
+ "dailyRecurrence": {
+ "time": "0900"
+ },
+ "hourlyRecurrence": {
+ "minute": 30
+ },
+ "timeZoneId": "Pacific Standard Time",
+ "notificationSettings": {
+ "status": "Enabled",
+ "timeInMinutes": 30,
+ "webhookUrl": "{webhookUrl}",
+ "emailRecipient": "{email}",
+ "notificationLocale": "EN"
+ },
+ "createdDate": "2020-12-29T21:46:37.0473976+00:00",
+ "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{vmName}",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/myAutoStartSchedule",
+ "name": "LabVmAutoStart",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
+ "location": "{location}"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json
new file mode 100644
index 000000000000..c89c47c9a98c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}",
+ "monitor": "true"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json
new file mode 100644
index 000000000000..d3df73279f50
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}",
+ "monitor": "true",
+ "resizeLabVirtualMachineProperties": {
+ "size": "Standard_A4_v2"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json
new file mode 100644
index 000000000000..c89c47c9a98c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}",
+ "monitor": "true"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json
new file mode 100644
index 000000000000..c89c47c9a98c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}",
+ "monitor": "true"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json
new file mode 100644
index 000000000000..0cef32cf7ca9
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json
new file mode 100644
index 000000000000..7ab22eeeb7fa
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{virtualmachineName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json
new file mode 100644
index 000000000000..c89c47c9a98c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}",
+ "monitor": "true"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json
new file mode 100644
index 000000000000..fdf8f531b30a
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmName}",
+ "labVirtualMachine": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "ownerObjectId": "",
+ "ownerUserPrincipalName": "",
+ "createdByUserId": "",
+ "createdByUser": "",
+ "createdDate": "2018-10-01T16:53:02.4830866-07:00",
+ "computeId": "/subscriptions/{subscriptionId}/resourceGroups/{labName}-{vmName}-{randomSuffix}/providers/Microsoft.Compute/virtualMachines/{vmName}",
+ "osType": "Linux",
+ "size": "Standard_A2_v2",
+ "userName": "{userName}",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "disallowPublicIpAddress": true,
+ "artifactDeploymentStatus": {
+ "artifactsApplied": 0,
+ "totalArtifacts": 0
+ },
+ "galleryImageReference": {
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04-LTS",
+ "osType": "Linux",
+ "version": "Latest"
+ },
+ "networkInterface": {},
+ "allowClaim": true,
+ "storageType": "Standard",
+ "virtualMachineCreationSource": "FromGalleryImage",
+ "dataDiskParameters": [],
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
+ "name": "{vmName}",
+ "type": "Microsoft.DevTestLab/labs/virtualMachines",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json
new file mode 100644
index 000000000000..8430de043975
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{virtualNetworkName}",
+ "virtualNetwork": {
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "createdDate": "2018-10-01T13:01:44.6005134-07:00",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "name": "{virtualNetworkName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "createdDate": "2018-10-01T13:01:44.6005134-07:00",
+ "provisioningState": "Creating",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "name": "{virtualNetworkName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json
new file mode 100644
index 000000000000..34e8dea51a36
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{virtualNetworkName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json
new file mode 100644
index 000000000000..b32f9e475555
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{virtualNetworkName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "allowedSubnets": [
+ {
+ "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "allowPublicIp": "Allow"
+ }
+ ],
+ "externalProviderResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}",
+ "subnetOverrides": [
+ {
+ "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "useInVmCreationPermission": "Allow",
+ "usePublicIpAddressPermission": "Allow",
+ "sharedPublicIpAddressConfiguration": {
+ "allowedPorts": [
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 3389
+ },
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 22
+ }
+ ]
+ }
+ }
+ ],
+ "createdDate": "2018-10-01T13:01:44.6005134-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "name": "{virtualNetworkName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json
new file mode 100644
index 000000000000..f4ef4126dea3
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "allowedSubnets": [
+ {
+ "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "allowPublicIp": "Allow"
+ }
+ ],
+ "externalProviderResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}",
+ "subnetOverrides": [
+ {
+ "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "useInVmCreationPermission": "Allow",
+ "usePublicIpAddressPermission": "Allow",
+ "sharedPublicIpAddressConfiguration": {
+ "allowedPorts": [
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 3389
+ },
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 22
+ }
+ ]
+ }
+ }
+ ],
+ "createdDate": "2018-10-01T13:01:44.6005134-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "name": "{virtualNetworkName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json
new file mode 100644
index 000000000000..90c3b01a3f51
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2018-09-15",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{virtualNetworkName}",
+ "virtualNetwork": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "externalProviderResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}",
+ "subnetOverrides": [
+ {
+ "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
+ "labSubnetName": "{virtualNetworkName}Subnet",
+ "useInVmCreationPermission": "Allow",
+ "usePublicIpAddressPermission": "Allow",
+ "sharedPublicIpAddressConfiguration": {
+ "allowedPorts": [
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 3389
+ },
+ {
+ "transportProtocol": "Tcp",
+ "backendPort": 22
+ }
+ ]
+ }
+ }
+ ],
+ "createdDate": "2018-10-01T13:01:44.6005134-07:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "name": "{virtualNetworkName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
From befb0112c5f043d2a6bd7e144808bd7fd2b75161 Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Fri, 4 Feb 2022 11:29:50 +0100
Subject: [PATCH 02/10] Add scenarios Scenarios depend on an environment with
the following properties: repo_cloneuri, a link to a github or ado git
repository repo_type, the type of repository (GitHub or VsoGit) repo_pat,
personal access token to the repository repo_folderPath, path to the
artifacts folder in the repository repo_branchref, name of the branch in the
repository
---
.../stable/2021-09-01/DTL.json | 6847 ++++++++++-------
.../2021-09-01/examples/ArmTemplates_Get.json | 8 +-
.../examples/ArmTemplates_List.json | 8 +-
.../ArtifactSources_CreateOrUpdate.json | 7 +-
.../examples/ArtifactSources_Delete.json | 2 +-
.../examples/ArtifactSources_Get.json | 2 +-
.../examples/ArtifactSources_List.json | 2 +-
.../examples/ArtifactSources_Update.json | 2 +-
.../Artifacts_GenerateArmTemplate.json | 2 +-
.../2021-09-01/examples/Artifacts_Get.json | 8 +-
.../2021-09-01/examples/Artifacts_List.json | 8 +-
.../examples/BastionHosts_CreateOrUpdate.json | 45 +
.../examples/BastionHosts_Delete.json | 15 +
.../2021-09-01/examples/BastionHosts_Get.json | 27 +
.../examples/BastionHosts_List.json | 30 +
.../examples/BastionHosts_Update.json | 32 +
.../examples/Costs_CreateOrUpdate.json | 2 +-
.../stable/2021-09-01/examples/Costs_Get.json | 2 +-
.../examples/CustomImages_CreateOrUpdate.json | 3 +-
.../examples/CustomImages_Delete.json | 2 +-
.../2021-09-01/examples/CustomImages_Get.json | 2 +-
.../examples/CustomImages_List.json | 2 +-
.../examples/CustomImages_Update.json | 2 +-
.../2021-09-01/examples/Disks_Attach.json | 2 +-
.../examples/Disks_CreateOrUpdate.json | 19 +-
.../2021-09-01/examples/Disks_Delete.json | 2 +-
.../2021-09-01/examples/Disks_Detach.json | 2 +-
.../stable/2021-09-01/examples/Disks_Get.json | 5 +-
.../2021-09-01/examples/Disks_List.json | 5 +-
.../2021-09-01/examples/Disks_Update.json | 3 +-
.../examples/Environments_CreateOrUpdate.json | 7 +-
.../examples/Environments_Delete.json | 2 +-
.../2021-09-01/examples/Environments_Get.json | 2 +-
.../examples/Environments_List.json | 2 +-
.../examples/Environments_Update.json | 2 +-
.../examples/Formulas_CreateOrUpdate.json | 2 +-
.../2021-09-01/examples/Formulas_Delete.json | 2 +-
.../2021-09-01/examples/Formulas_Get.json | 6 +-
.../2021-09-01/examples/Formulas_List.json | 8 +-
.../2021-09-01/examples/Formulas_Update.json | 3 +-
.../examples/GalleryImages_Get.json | 32 +
.../examples/GalleryImages_List.json | 14 +-
.../GlobalSchedules_CreateOrUpdate.json | 7 +-
.../examples/GlobalSchedules_Delete.json | 2 +-
.../examples/GlobalSchedules_Execute.json | 2 +-
.../examples/GlobalSchedules_Get.json | 2 +-
.../GlobalSchedules_ListByResourceGroup.json | 2 +-
.../GlobalSchedules_ListBySubscription.json | 35 +-
.../examples/GlobalSchedules_Retarget.json | 2 +-
.../examples/GlobalSchedules_Update.json | 2 +-
.../examples/LabSecrets_CreateOrUpdate.json | 35 +
.../examples/LabSecrets_Delete.json | 14 +
.../2021-09-01/examples/LabSecrets_Get.json | 26 +
.../2021-09-01/examples/LabSecrets_List.json | 41 +
.../examples/LabSecrets_Update.json | 34 +
.../2021-09-01/examples/Labs_ClaimAnyVm.json | 2 +-
.../examples/Labs_CreateEnvironment.json | 2 +-
.../examples/Labs_CreateOrUpdate.json | 8 +-
.../2021-09-01/examples/Labs_Delete.json | 2 +-
.../Labs_EnsureCurrentUserProfile.json | 11 +
.../examples/Labs_ExportResourceUsage.json | 2 +-
.../examples/Labs_GenerateUploadUri.json | 2 +-
.../stable/2021-09-01/examples/Labs_Get.json | 2 +-
.../examples/Labs_ImportVirtualMachine.json | 2 +-
.../examples/Labs_ListByResourceGroup.json | 2 +-
.../examples/Labs_ListBySubscription.json | 10 +-
.../2021-09-01/examples/Labs_ListVhds.json | 2 +-
.../2021-09-01/examples/Labs_Update.json | 2 +-
.../NotificationChannels_CreateOrUpdate.json | 5 +-
.../examples/NotificationChannels_Delete.json | 2 +-
.../examples/NotificationChannels_Get.json | 2 +-
.../examples/NotificationChannels_List.json | 2 +-
.../examples/NotificationChannels_Notify.json | 2 +-
.../examples/NotificationChannels_Update.json | 2 +-
.../2021-09-01/examples/Operations_Get.json | 7 +-
.../examples/Policies_CreateOrUpdate.json | 2 +-
.../2021-09-01/examples/Policies_Delete.json | 2 +-
.../2021-09-01/examples/Policies_Get.json | 16 +-
.../2021-09-01/examples/Policies_List.json | 2 +-
.../2021-09-01/examples/Policies_Update.json | 2 +-
.../examples/PolicySets_EvaluatePolicies.json | 2 +-
.../2021-09-01/examples/PolicySets_List.json | 22 +
.../examples/ProviderOperations_List.json | 14 +-
.../examples/Schedules_CreateOrUpdate.json | 4 +-
.../2021-09-01/examples/Schedules_Delete.json | 2 +-
.../examples/Schedules_Execute.json | 2 +-
.../2021-09-01/examples/Schedules_Get.json | 4 +-
.../2021-09-01/examples/Schedules_List.json | 4 +-
.../examples/Schedules_ListApplicable.json | 4 +-
.../2021-09-01/examples/Schedules_Update.json | 4 +-
.../examples/Secrets_CreateOrUpdate.json | 7 +-
.../2021-09-01/examples/Secrets_Delete.json | 2 +-
.../2021-09-01/examples/Secrets_Get.json | 3 +-
.../2021-09-01/examples/Secrets_List.json | 4 +-
.../2021-09-01/examples/Secrets_Update.json | 5 +-
...ServiceFabricSchedules_CreateOrUpdate.json | 2 +-
.../ServiceFabricSchedules_Delete.json | 2 +-
.../ServiceFabricSchedules_Execute.json | 2 +-
.../examples/ServiceFabricSchedules_Get.json | 4 +-
.../examples/ServiceFabricSchedules_List.json | 4 +-
.../ServiceFabricSchedules_Update.json | 4 +-
.../ServiceFabrics_CreateOrUpdate.json | 34 +-
.../examples/ServiceFabrics_Delete.json | 2 +-
.../examples/ServiceFabrics_Get.json | 22 +-
.../examples/ServiceFabrics_List.json | 21 +-
...erviceFabrics_ListApplicableSchedules.json | 22 +-
.../examples/ServiceFabrics_Start.json | 2 +-
.../examples/ServiceFabrics_Stop.json | 2 +-
.../examples/ServiceFabrics_Update.json | 8 +-
.../ServiceRunners_CreateOrUpdate.json | 47 +-
.../examples/ServiceRunners_Delete.json | 3 +-
.../examples/ServiceRunners_Get.json | 5 +-
.../examples/ServiceRunners_List.json | 34 +
.../SharedGalleries_CreateOrUpdate.json | 55 +
.../examples/SharedGalleries_Delete.json | 13 +
.../examples/SharedGalleries_Get.json | 28 +
.../examples/SharedGalleries_List.json | 31 +
.../examples/SharedGalleries_Update.json | 33 +
.../examples/SharedImages_CreateOrUpdate.json | 59 +
.../examples/SharedImages_Delete.json | 14 +
.../2021-09-01/examples/SharedImages_Get.json | 29 +
.../examples/SharedImages_List.json | 32 +
.../examples/SharedImages_Update.json | 34 +
.../examples/Users_CreateOrUpdate.json | 34 +-
.../2021-09-01/examples/Users_Delete.json | 2 +-
.../stable/2021-09-01/examples/Users_Get.json | 8 +-
.../2021-09-01/examples/Users_List.json | 8 +-
.../2021-09-01/examples/Users_Update.json | 20 +-
...irtualMachineSchedules_CreateOrUpdate.json | 4 +-
.../VirtualMachineSchedules_Delete.json | 2 +-
.../VirtualMachineSchedules_Execute.json | 2 +-
.../examples/VirtualMachineSchedules_Get.json | 2 +-
.../VirtualMachineSchedules_List.json | 2 +-
.../VirtualMachineSchedules_Update.json | 2 +-
.../examples/VirtualMachines_AddDataDisk.json | 4 +-
.../VirtualMachines_ApplyArtifacts.json | 2 +-
.../examples/VirtualMachines_Claim.json | 2 +-
.../VirtualMachines_ClearArtifactResults.json | 12 +
.../VirtualMachines_CreateOrUpdate.json | 7 +-
.../examples/VirtualMachines_Delete.json | 2 +-
.../VirtualMachines_DetachDataDisk.json | 2 +-
.../examples/VirtualMachines_Get.json | 2 +-
.../VirtualMachines_GetRdpFileContents.json | 2 +-
.../examples/VirtualMachines_List.json | 2 +-
...rtualMachines_ListApplicableSchedules.json | 2 +-
.../examples/VirtualMachines_Redeploy.json | 2 +-
.../examples/VirtualMachines_Resize.json | 2 +-
.../examples/VirtualMachines_Restart.json | 2 +-
.../examples/VirtualMachines_Start.json | 2 +-
.../examples/VirtualMachines_Stop.json | 2 +-
.../VirtualMachines_TransferDisks.json | 2 +-
.../examples/VirtualMachines_UnClaim.json | 2 +-
.../examples/VirtualMachines_Update.json | 2 +-
.../VirtualNetworks_CreateOrUpdate.json | 17 +-
.../examples/VirtualNetworks_Delete.json | 2 +-
.../examples/VirtualNetworks_Get.json | 7 +-
.../examples/VirtualNetworks_List.json | 7 +-
.../examples/VirtualNetworks_Update.json | 13 +-
.../scenarios/ArtifactScenarios.yaml | 72 +
.../2021-09-01/scenarios/LabScenarios.yaml | 49 +
.../scenarios/LabSecretScenarios.yaml | 59 +
.../scenarios/LabUserScenarios.yaml | 55 +
.../scenarios/UserSecretScenarios.yaml | 67 +
.../scenarios/VirtualMachineScenarios.yaml | 113 +
.../scenarios/VirtualNetworkScenarios.yaml | 63 +
.../stable/2021-09-01/types.json | 671 ++
.../devtestlabs/resource-manager/readme.md | 203 +-
167 files changed, 6600 insertions(+), 3049 deletions(-)
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_EnsureCurrentUserProfile.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_CreateOrUpdate.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Delete.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Get.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_List.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Update.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ClearArtifactResults.json
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/ArtifactScenarios.yaml
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabScenarios.yaml
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabSecretScenarios.yaml
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabUserScenarios.yaml
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/UserSecretScenarios.yaml
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/VirtualMachineScenarios.yaml
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/VirtualNetworkScenarios.yaml
create mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/types.json
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
index 6bf4586940af..0c75f6be4574 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2018-09-15",
+ "version": "2021-09-01",
"title": "DevTestLabsClient",
"description": "The DevTest Labs Client."
},
@@ -15,6 +15,17 @@
"produces": [
"application/json"
],
+ "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": {
"/providers/Microsoft.DevTestLab/operations": {
"get": {
@@ -30,7 +41,7 @@
],
"responses": {
"200": {
- "description": "Success",
+ "description": "OK",
"schema": {
"$ref": "#/definitions/ProviderOperationResult"
}
@@ -72,7 +83,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -136,7 +147,9 @@
"in": "path",
"description": "The name of the operation.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "minLength": 1
},
{
"$ref": "#/parameters/api-version"
@@ -189,7 +202,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -257,7 +270,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -317,11 +330,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "$expand",
@@ -332,7 +341,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -392,18 +401,10 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "artifactSourceName",
- "in": "path",
- "description": "The name of the artifact source.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/artifactSourceName"
},
{
"name": "$expand",
@@ -414,7 +415,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -474,25 +475,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "artifactSourceName",
- "in": "path",
- "description": "The name of the artifact source.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/artifactSourceName"
},
{
"name": "name",
"in": "path",
"description": "The name of the azure resource manager template.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -540,18 +534,10 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "artifactSourceName",
- "in": "path",
- "description": "The name of the artifact source.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/artifactSourceName"
},
{
"name": "$expand",
@@ -562,7 +548,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -622,25 +608,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "artifactSourceName",
- "in": "path",
- "description": "The name of the artifact source.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/artifactSourceName"
},
{
"name": "name",
"in": "path",
"description": "The name of the artifact.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -688,25 +667,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "artifactSourceName",
- "in": "path",
- "description": "The name of the artifact source.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/artifactSourceName"
},
{
"name": "name",
"in": "path",
"description": "The name of the artifact.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "generateArmTemplateRequest",
@@ -757,18 +729,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the artifact source.",
- "required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
"name": "$expand",
@@ -814,18 +783,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the artifact source.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "artifactSource",
@@ -880,18 +846,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the artifact source.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -902,7 +865,7 @@
"description": "OK"
},
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -931,23 +894,20 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the artifact source.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "artifactSource",
"in": "body",
- "description": "Properties of an artifact source.",
+ "description": "Allows modifying tags of artifact sources. All other properties will be ignored.",
"required": true,
"schema": {
"$ref": "#/definitions/ArtifactSourceFragment"
@@ -993,18 +953,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the cost.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -1050,18 +1007,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the cost.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "labCost",
@@ -1118,11 +1072,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "$expand",
@@ -1133,7 +1083,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -1193,18 +1143,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the custom image.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -1250,18 +1197,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the custom image.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "customImage",
@@ -1317,18 +1261,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the custom image.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -1342,7 +1283,7 @@
"description": "Accepted"
},
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -1372,23 +1313,20 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the custom image.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "customImage",
"in": "body",
- "description": "A custom image.",
+ "description": "Allows modifying tags of custom images. All other properties will be ignored.",
"required": true,
"schema": {
"$ref": "#/definitions/CustomImageFragment"
@@ -1434,11 +1372,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "$expand",
@@ -1449,7 +1383,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -1509,18 +1443,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the formula.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -1556,7 +1487,7 @@
"tags": [
"Formulas"
],
- "description": "Create or replace an existing formula. This operation can take a while to complete.",
+ "description": "Create or replace an existing Formula. This operation can take a while to complete.",
"operationId": "Formulas_CreateOrUpdate",
"parameters": [
{
@@ -1566,18 +1497,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the formula.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "formula",
@@ -1633,18 +1561,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the formula.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -1655,7 +1580,7 @@
"description": "OK"
},
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -1684,23 +1609,20 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the formula.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "formula",
"in": "body",
- "description": "A formula for creating a VM, specifying an image base and other parameters",
+ "description": "Allows modifying tags of formulas. All other properties will be ignored.",
"required": true,
"schema": {
"$ref": "#/definitions/FormulaFragment"
@@ -1746,11 +1668,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "$expand",
@@ -1761,7 +1679,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -1806,6 +1724,56 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages/{name}": {
+ "get": {
+ "tags": [
+ "GalleryImages"
+ ],
+ "description": "Get gallery image.",
+ "operationId": "GalleryImages_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the gallery image.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImage"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GalleryImages_Get": {
+ "$ref": "./examples/GalleryImages_Get.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels": {
"get": {
"tags": [
@@ -1821,11 +1789,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "$expand",
@@ -1836,7 +1800,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -1896,18 +1860,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the notification channel.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -1943,7 +1904,7 @@
"tags": [
"NotificationChannels"
],
- "description": "Create or replace an existing notification channel.",
+ "description": "Create or replace an existing Notification Channel.",
"operationId": "NotificationChannels_CreateOrUpdate",
"parameters": [
{
@@ -1953,18 +1914,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the notification channel.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "notificationChannel",
@@ -2019,18 +1977,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the notification channel.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -2041,7 +1996,7 @@
"description": "OK"
},
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -2070,23 +2025,20 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the notification channel.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "notificationChannel",
"in": "body",
- "description": "A notification.",
+ "description": "Allows modifying tags of notification channels. All other properties will be ignored.",
"required": true,
"schema": {
"$ref": "#/definitions/NotificationChannelFragment"
@@ -2132,18 +2084,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the notification channel.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "notifyParameters",
@@ -2176,13 +2125,13 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{name}/evaluatePolicies": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets": {
+ "get": {
"tags": [
"PolicySets"
],
- "description": "Evaluates lab policy.",
- "operationId": "PolicySets_EvaluatePolicies",
+ "description": "List policy sets in a given lab.",
+ "operationId": "PolicySets_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -2191,27 +2140,26 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "name",
- "in": "path",
- "description": "The name of the policy set.",
- "required": true,
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
- "name": "evaluatePoliciesRequest",
- "in": "body",
- "description": "Request body for evaluating a policy set.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/EvaluatePoliciesRequest"
- }
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
},
{
"$ref": "#/parameters/api-version"
@@ -2221,7 +2169,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/EvaluatePoliciesResponse"
+ "$ref": "#/definitions/PolicySetList"
}
},
"default": {
@@ -2231,20 +2179,24 @@
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/PolicySet",
"x-ms-examples": {
- "PolicySets_EvaluatePolicies": {
- "$ref": "./examples/PolicySets_EvaluatePolicies.json"
+ "PolicySets_List": {
+ "$ref": "./examples/PolicySets_List.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies": {
- "get": {
- "tags": [
- "Policies"
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{name}/evaluatePolicies": {
+ "post": {
+ "tags": [
+ "PolicySets"
],
- "description": "List policies in a given policy set.",
- "operationId": "Policies_List",
+ "description": "Evaluates lab policy.",
+ "operationId": "PolicySets_EvaluatePolicies",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -2253,18 +2205,69 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "policySetName",
+ "name": "name",
"in": "path",
"description": "The name of the policy set.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "evaluatePoliciesRequest",
+ "in": "body",
+ "description": "Request body for evaluating a policy set.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EvaluatePoliciesRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EvaluatePoliciesResponse"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PolicySets_EvaluatePolicies": {
+ "$ref": "./examples/PolicySets_EvaluatePolicies.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies": {
+ "get": {
+ "tags": [
+ "Policies"
+ ],
+ "description": "List policies in a given policy set.",
+ "operationId": "Policies_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/policySetName"
},
{
"name": "$expand",
@@ -2275,7 +2278,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -2335,25 +2338,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "policySetName",
- "in": "path",
- "description": "The name of the policy set.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/policySetName"
},
{
"name": "name",
"in": "path",
"description": "The name of the policy.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -2399,25 +2395,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "policySetName",
- "in": "path",
- "description": "The name of the policy set.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/policySetName"
},
{
"name": "name",
"in": "path",
"description": "The name of the policy.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "policy",
@@ -2472,25 +2461,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "policySetName",
- "in": "path",
- "description": "The name of the policy set.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/policySetName"
},
{
"name": "name",
"in": "path",
"description": "The name of the policy.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -2501,7 +2483,7 @@
"description": "OK"
},
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -2530,30 +2512,23 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "policySetName",
- "in": "path",
- "description": "The name of the policy set.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/policySetName"
},
{
"name": "name",
"in": "path",
"description": "The name of the policy.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "policy",
"in": "body",
- "description": "A Policy.",
+ "description": "Allows modifying tags of policies. All other properties will be ignored.",
"required": true,
"schema": {
"$ref": "#/definitions/PolicyFragment"
@@ -2599,11 +2574,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "$expand",
@@ -2614,7 +2585,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -2674,18 +2645,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -2731,18 +2699,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "schedule",
@@ -2797,18 +2762,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -2819,7 +2781,7 @@
"description": "OK"
},
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -2848,23 +2810,20 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "schedule",
"in": "body",
- "description": "A schedule.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"required": true,
"schema": {
"$ref": "#/definitions/ScheduleFragment"
@@ -2910,18 +2869,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -2964,18 +2920,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -3005,13 +2958,13 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/secrets": {
"get": {
"tags": [
- "ServiceRunners"
+ "LabSecrets"
],
- "description": "Get service runner.",
- "operationId": "ServiceRunners_Get",
+ "description": "List lab secrets in a given lab.",
+ "operationId": "LabSecrets_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3020,17 +2973,25 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
- "name": "name",
- "in": "path",
- "description": "The name of the service runner.",
- "required": true,
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
"type": "string"
},
{
@@ -3041,7 +3002,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/ServiceRunner"
+ "$ref": "#/definitions/LabSecretList"
}
},
"default": {
@@ -3051,18 +3012,24 @@
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Secret",
"x-ms-examples": {
- "ServiceRunners_Get": {
- "$ref": "./examples/ServiceRunners_Get.json"
+ "LabSecrets_List": {
+ "$ref": "./examples/LabSecrets_List.json"
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/secrets/{name}": {
+ "get": {
"tags": [
- "ServiceRunners"
+ "LabSecrets"
],
- "description": "Create or replace an existing service runner.",
- "operationId": "ServiceRunners_CreateOrUpdate",
+ "description": "Get lab secret.",
+ "operationId": "LabSecrets_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3071,27 +3038,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the service runner.",
- "required": true,
- "type": "string"
- },
- {
- "name": "serviceRunner",
- "in": "body",
- "description": "A container for a managed identity to execute DevTest lab services.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServiceRunner"
- }
+ "description": "The name of the lab secret.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
"$ref": "#/parameters/api-version"
@@ -3101,13 +3056,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/ServiceRunner"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/ServiceRunner"
+ "$ref": "#/definitions/LabSecret"
}
},
"default": {
@@ -3118,17 +3067,18 @@
}
},
"x-ms-examples": {
- "ServiceRunners_CreateOrUpdate": {
- "$ref": "./examples/ServiceRunners_CreateOrUpdate.json"
+ "LabSecrets_Get": {
+ "$ref": "./examples/LabSecrets_Get.json"
}
}
},
- "delete": {
+ "put": {
"tags": [
- "ServiceRunners"
+ "LabSecrets"
],
- "description": "Delete service runner.",
- "operationId": "ServiceRunners_Delete",
+ "description": "Create or replace an existing Lab Secret. This operation can take a while to complete.",
+ "operationId": "LabSecrets_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3137,29 +3087,35 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the service runner.",
- "required": true,
- "type": "string"
+ "description": "The name of the lab secret.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
"$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "labSecret",
+ "in": "body",
+ "description": "A shared secret in a lab.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LabSecret"
+ }
}
],
"responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "No Content"
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/LabSecret"
+ }
},
"default": {
"description": "BadRequest",
@@ -3169,19 +3125,18 @@
}
},
"x-ms-examples": {
- "ServiceRunners_Delete": {
- "$ref": "./examples/ServiceRunners_Delete.json"
+ "LabSecrets_CreateOrUpdate": {
+ "$ref": "./examples/LabSecrets_CreateOrUpdate.json"
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users": {
- "get": {
+ },
+ "delete": {
"tags": [
- "Users"
+ "LabSecrets"
],
- "description": "List user profiles in a given lab.",
- "operationId": "Users_List",
+ "description": "Delete lab secret. This operation can take a while to complete.",
+ "operationId": "LabSecrets_Delete",
+ "x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3190,46 +3145,85 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "$expand",
- "in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=identity)'",
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "$filter",
- "in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "type": "string"
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab secret.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
- "name": "$top",
- "in": "query",
- "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "type": "integer",
- "format": "int32"
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
},
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LabSecrets_Delete": {
+ "$ref": "./examples/LabSecrets_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "LabSecrets"
+ ],
+ "description": "Allows modifying tags of lab secrets. All other properties will be ignored.",
+ "operationId": "LabSecrets_Update",
+ "parameters": [
{
- "name": "$orderby",
- "in": "query",
- "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "type": "string"
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab secret.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
"$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "secret",
+ "in": "body",
+ "description": "Allows modifying tags of lab secrets. All other properties will be ignored.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SecretFragment"
+ }
}
],
"responses": {
- "200": {
+ "201": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/UserList"
+ "$ref": "#/definitions/LabSecret"
}
},
"default": {
@@ -3239,24 +3233,20 @@
}
}
},
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/User",
"x-ms-examples": {
- "Users_List": {
- "$ref": "./examples/Users_List.json"
+ "LabSecrets_Update": {
+ "$ref": "./examples/LabSecrets_Update.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners": {
"get": {
"tags": [
- "Users"
+ "ServiceRunners"
],
- "description": "Get user profile.",
- "operationId": "Users_Get",
+ "description": "List service runners in a given lab.",
+ "operationId": "ServiceRunners_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3265,23 +3255,25 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "name",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
- "name": "$expand",
+ "name": "$top",
"in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=identity)'",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
"type": "string"
},
{
@@ -3292,7 +3284,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/User"
+ "$ref": "#/definitions/ServiceRunnerList"
}
},
"default": {
@@ -3302,18 +3294,24 @@
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/ServiceRunner",
"x-ms-examples": {
- "Users_Get": {
- "$ref": "./examples/Users_Get.json"
+ "ServiceRunners_List": {
+ "$ref": "./examples/ServiceRunners_List.json"
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}": {
+ "get": {
"tags": [
- "Users"
+ "ServiceRunners"
],
- "description": "Create or replace an existing user profile. This operation can take a while to complete.",
- "operationId": "Users_CreateOrUpdate",
+ "description": "Get service runner.",
+ "operationId": "ServiceRunners_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3322,27 +3320,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
- },
- {
- "name": "user",
- "in": "body",
- "description": "Profile of a lab user.",
+ "description": "The name of the service runner.",
"required": true,
- "schema": {
- "$ref": "#/definitions/User"
- }
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -3352,13 +3338,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/User"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/User"
+ "$ref": "#/definitions/ServiceRunner"
}
},
"default": {
@@ -3369,18 +3349,17 @@
}
},
"x-ms-examples": {
- "Users_CreateOrUpdate": {
- "$ref": "./examples/Users_CreateOrUpdate.json"
+ "ServiceRunners_Get": {
+ "$ref": "./examples/ServiceRunners_Get.json"
}
- },
- "x-ms-long-running-operation": true
+ }
},
- "delete": {
+ "put": {
"tags": [
- "Users"
+ "ServiceRunners"
],
- "description": "Delete user profile. This operation can take a while to complete.",
- "operationId": "Users_Delete",
+ "description": "Create or replace an existing Service runner. This operation can take a while to complete.",
+ "operationId": "ServiceRunners_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3389,18 +3368,24 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the user profile.",
+ "description": "The name of the service runner.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "serviceRunner",
+ "in": "body",
+ "description": "A container for a managed identity to execute DevTest lab services.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceRunner"
+ }
},
{
"$ref": "#/parameters/api-version"
@@ -3408,13 +3393,16 @@
],
"responses": {
"200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServiceRunner"
+ }
},
- "204": {
- "description": "No Content"
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ServiceRunner"
+ }
},
"default": {
"description": "BadRequest",
@@ -3424,18 +3412,19 @@
}
},
"x-ms-examples": {
- "Users_Delete": {
- "$ref": "./examples/Users_Delete.json"
+ "ServiceRunners_CreateOrUpdate": {
+ "$ref": "./examples/ServiceRunners_CreateOrUpdate.json"
}
},
"x-ms-long-running-operation": true
},
- "patch": {
+ "delete": {
"tags": [
- "Users"
+ "ServiceRunners"
],
- "description": "Allows modifying tags of user profiles. All other properties will be ignored.",
- "operationId": "Users_Update",
+ "description": "Delete service runner. This operation can take a while to complete.",
+ "operationId": "ServiceRunners_Delete",
+ "x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3444,27 +3433,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
- },
- {
- "name": "user",
- "in": "body",
- "description": "Profile of a lab user.",
+ "description": "The name of the service runner.",
"required": true,
- "schema": {
- "$ref": "#/definitions/UserFragment"
- }
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -3472,10 +3449,13 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/User"
- }
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -3485,19 +3465,19 @@
}
},
"x-ms-examples": {
- "Users_Update": {
- "$ref": "./examples/Users_Update.json"
+ "ServiceRunners_Delete": {
+ "$ref": "./examples/ServiceRunners_Delete.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/sharedgalleries": {
"get": {
"tags": [
- "Disks"
+ "SharedGalleries"
],
- "description": "List disks in a given user profile.",
- "operationId": "Disks_List",
+ "description": "List shared galleries in a given lab.",
+ "operationId": "SharedGalleries_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3506,29 +3486,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "$expand",
"in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=diskType)'",
+ "description": "Specify the $expand query. Example: 'properties($select=identity)'",
"type": "string"
},
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -3552,7 +3521,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DiskList"
+ "$ref": "#/definitions/SharedGalleryList"
}
},
"default": {
@@ -3565,21 +3534,21 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
- "x-ms-odata": "#/definitions/Disk",
+ "x-ms-odata": "#/definitions/SharedGallery",
"x-ms-examples": {
- "Disks_List": {
- "$ref": "./examples/Disks_List.json"
+ "SharedGalleries_List": {
+ "$ref": "./examples/SharedGalleries_List.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/sharedgalleries/{name}": {
"get": {
"tags": [
- "Disks"
+ "SharedGalleries"
],
- "description": "Get disk.",
- "operationId": "Disks_Get",
+ "description": "Get shared gallery.",
+ "operationId": "SharedGalleries_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3588,30 +3557,20 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the disk.",
- "required": true,
- "type": "string"
+ "description": "The name of the shared gallery.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
"name": "$expand",
"in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=diskType)'",
+ "description": "Specify the $expand query. Example: 'properties($select=identity)'",
"type": "string"
},
{
@@ -3622,7 +3581,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Disk"
+ "$ref": "#/definitions/SharedGallery"
}
},
"default": {
@@ -3633,17 +3592,17 @@
}
},
"x-ms-examples": {
- "Disks_Get": {
- "$ref": "./examples/Disks_Get.json"
+ "SharedGalleries_Get": {
+ "$ref": "./examples/SharedGalleries_Get.json"
}
}
},
"put": {
"tags": [
- "Disks"
+ "SharedGalleries"
],
- "description": "Create or replace an existing disk. This operation can take a while to complete.",
- "operationId": "Disks_CreateOrUpdate",
+ "description": "Create or replace an existing Shared Gallery.",
+ "operationId": "SharedGalleries_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3652,50 +3611,40 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
+ "name": "name",
"in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "description": "The name of the shared gallery.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
- "name": "name",
- "in": "path",
- "description": "The name of the disk.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/api-version"
},
{
- "name": "disk",
+ "name": "sharedGallery",
"in": "body",
- "description": "A Disk.",
+ "description": "Properties of a shared gallery",
"required": true,
"schema": {
- "$ref": "#/definitions/Disk"
+ "$ref": "#/definitions/SharedGallery"
}
- },
- {
- "$ref": "#/parameters/api-version"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Disk"
+ "$ref": "#/definitions/SharedGallery"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/Disk"
+ "$ref": "#/definitions/SharedGallery"
}
},
"default": {
@@ -3706,18 +3655,17 @@
}
},
"x-ms-examples": {
- "Disks_CreateOrUpdate": {
- "$ref": "./examples/Disks_CreateOrUpdate.json"
+ "SharedGalleries_CreateOrUpdate": {
+ "$ref": "./examples/SharedGalleries_CreateOrUpdate.json"
}
- },
- "x-ms-long-running-operation": true
+ }
},
"delete": {
"tags": [
- "Disks"
+ "SharedGalleries"
],
- "description": "Delete disk. This operation can take a while to complete.",
- "operationId": "Disks_Delete",
+ "description": "Delete shared gallery.",
+ "operationId": "SharedGalleries_Delete",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3726,25 +3674,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the disk.",
- "required": true,
- "type": "string"
+ "description": "The name of the shared gallery.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
"$ref": "#/parameters/api-version"
@@ -3754,11 +3692,8 @@
"200": {
"description": "OK"
},
- "202": {
- "description": "Accepted"
- },
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -3768,18 +3703,17 @@
}
},
"x-ms-examples": {
- "Disks_Delete": {
- "$ref": "./examples/Disks_Delete.json"
+ "SharedGalleries_Delete": {
+ "$ref": "./examples/SharedGalleries_Delete.json"
}
- },
- "x-ms-long-running-operation": true
+ }
},
"patch": {
"tags": [
- "Disks"
+ "SharedGalleries"
],
- "description": "Allows modifying tags of disks. All other properties will be ignored.",
- "operationId": "Disks_Update",
+ "description": "Allows modifying tags of shared galleries. All other properties will be ignored.",
+ "operationId": "SharedGalleries_Update",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3788,44 +3722,34 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
+ "name": "name",
"in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "description": "The name of the shared gallery.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
- "name": "name",
- "in": "path",
- "description": "The name of the disk.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/api-version"
},
{
- "name": "disk",
+ "name": "sharedGallery",
"in": "body",
- "description": "A Disk.",
+ "description": "Allows modifying tags of shared galleries. All other properties will be ignored.",
"required": true,
"schema": {
- "$ref": "#/definitions/DiskFragment"
+ "$ref": "#/definitions/SharedGalleryFragment"
}
- },
- {
- "$ref": "#/parameters/api-version"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Disk"
+ "$ref": "#/definitions/SharedGallery"
}
},
"default": {
@@ -3836,19 +3760,19 @@
}
},
"x-ms-examples": {
- "Disks_Update": {
- "$ref": "./examples/Disks_Update.json"
+ "SharedGalleries_Update": {
+ "$ref": "./examples/SharedGalleries_Update.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/attach": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages": {
+ "get": {
"tags": [
- "Disks"
+ "SharedImages"
],
- "description": "Attach and create the lease of the disk to the virtual machine. This operation can take a while to complete.",
- "operationId": "Disks_Attach",
+ "description": "List shared images in a given shared gallery.",
+ "operationId": "SharedImages_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3857,34 +3781,35 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
+ "$ref": "#/parameters/sharedGalleryName"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($expand=versions)'",
"type": "string"
},
{
- "name": "name",
- "in": "path",
- "description": "The name of the disk.",
- "required": true,
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
- "name": "attachDiskProperties",
- "in": "body",
- "description": "Properties of the disk to attach.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AttachDiskProperties"
- }
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
},
{
"$ref": "#/parameters/api-version"
@@ -3892,10 +3817,10 @@
],
"responses": {
"200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SharedImageList"
+ }
},
"default": {
"description": "BadRequest",
@@ -3904,21 +3829,24 @@
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/SharedImage",
"x-ms-examples": {
- "Disks_Attach": {
- "$ref": "./examples/Disks_Attach.json"
+ "SharedImages_List": {
+ "$ref": "./examples/SharedImages_List.json"
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/detach": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}": {
+ "get": {
"tags": [
- "Disks"
+ "SharedImages"
],
- "description": "Detach and break the lease of the disk attached to the virtual machine. This operation can take a while to complete.",
- "operationId": "Disks_Detach",
+ "description": "Get shared image.",
+ "operationId": "SharedImages_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3927,34 +3855,24 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/sharedGalleryName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the disk.",
- "required": true,
- "type": "string"
+ "description": "The name of the shared image.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
- "name": "detachDiskProperties",
- "in": "body",
- "description": "Properties of the disk to detach.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DetachDiskProperties"
- }
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($expand=versions)'",
+ "type": "string"
},
{
"$ref": "#/parameters/api-version"
@@ -3962,10 +3880,10 @@
],
"responses": {
"200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SharedImage"
+ }
},
"default": {
"description": "BadRequest",
@@ -3975,20 +3893,17 @@
}
},
"x-ms-examples": {
- "Disks_Detach": {
- "$ref": "./examples/Disks_Detach.json"
+ "SharedImages_Get": {
+ "$ref": "./examples/SharedImages_Get.json"
}
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments": {
- "get": {
+ }
+ },
+ "put": {
"tags": [
- "Environments"
+ "SharedImages"
],
- "description": "List environments in a given user profile.",
- "operationId": "Environments_List",
+ "description": "Create or replace an existing Shared Image.",
+ "operationId": "SharedImages_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -3997,53 +3912,43 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
- },
- {
- "name": "$expand",
- "in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "$filter",
- "in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "type": "string"
+ "$ref": "#/parameters/sharedGalleryName"
},
{
- "name": "$top",
- "in": "query",
- "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "type": "integer",
- "format": "int32"
+ "name": "name",
+ "in": "path",
+ "description": "The name of the shared image.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
- "name": "$orderby",
- "in": "query",
- "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "type": "string"
+ "$ref": "#/parameters/api-version"
},
{
- "$ref": "#/parameters/api-version"
+ "name": "sharedImage",
+ "in": "body",
+ "description": "Properties of a shared image",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SharedImage"
+ }
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DtlEnvironmentList"
+ "$ref": "#/definitions/SharedImage"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/SharedImage"
}
},
"default": {
@@ -4053,24 +3958,18 @@
}
}
},
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/DtlEnvironment",
"x-ms-examples": {
- "Environments_List": {
- "$ref": "./examples/Environments_List.json"
+ "SharedImages_CreateOrUpdate": {
+ "$ref": "./examples/SharedImages_CreateOrUpdate.json"
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}": {
- "get": {
+ },
+ "delete": {
"tags": [
- "Environments"
+ "SharedImages"
],
- "description": "Get environment.",
- "operationId": "Environments_Get",
+ "description": "Delete shared image.",
+ "operationId": "SharedImages_Delete",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4079,32 +3978,1205 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/sharedGalleryName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the environment.",
- "required": true,
- "type": "string"
+ "description": "The name of the shared image.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
- "name": "$expand",
- "in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
- "type": "string"
- },
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SharedImages_Delete": {
+ "$ref": "./examples/SharedImages_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "SharedImages"
+ ],
+ "description": "Allows modifying tags of shared images. All other properties will be ignored.",
+ "operationId": "SharedImages_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/sharedGalleryName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the shared image.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "sharedImage",
+ "in": "body",
+ "description": "Allows modifying tags of shared images. All other properties will be ignored.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SharedImageFragment"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SharedImage"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SharedImages_Update": {
+ "$ref": "./examples/SharedImages_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users": {
+ "get": {
+ "tags": [
+ "Users"
+ ],
+ "description": "List user profiles in a given lab.",
+ "operationId": "Users_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=identity)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/UserList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/User",
+ "x-ms-examples": {
+ "Users_List": {
+ "$ref": "./examples/Users_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}": {
+ "get": {
+ "tags": [
+ "Users"
+ ],
+ "description": "Get user profile.",
+ "operationId": "Users_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=identity)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Users_Get": {
+ "$ref": "./examples/Users_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Users"
+ ],
+ "description": "Create or replace an existing user profile. This operation can take a while to complete.",
+ "operationId": "Users_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "user",
+ "in": "body",
+ "description": "Profile of a lab user.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Users_CreateOrUpdate": {
+ "$ref": "./examples/Users_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Users"
+ ],
+ "description": "Delete user profile. This operation can take a while to complete.",
+ "operationId": "Users_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Users_Delete": {
+ "$ref": "./examples/Users_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Users"
+ ],
+ "description": "Allows modifying tags of user profiles. All other properties will be ignored.",
+ "operationId": "Users_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "user",
+ "in": "body",
+ "description": "Allows modifying tags of user profiles. All other properties will be ignored.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/UserFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Users_Update": {
+ "$ref": "./examples/Users_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks": {
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "List disks in a given user profile.",
+ "operationId": "Disks_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=diskType)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Disk",
+ "x-ms-examples": {
+ "Disks_List": {
+ "$ref": "./examples/Disks_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}": {
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Get disk.",
+ "operationId": "Disks_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=diskType)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Get": {
+ "$ref": "./examples/Disks_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Create or replace an existing disk. This operation can take a while to complete.",
+ "operationId": "Disks_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "disk",
+ "in": "body",
+ "description": "A Disk.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_CreateOrUpdate": {
+ "$ref": "./examples/Disks_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Delete disk. This operation can take a while to complete.",
+ "operationId": "Disks_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Delete": {
+ "$ref": "./examples/Disks_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Allows modifying tags of disks. All other properties will be ignored.",
+ "operationId": "Disks_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "disk",
+ "in": "body",
+ "description": "Allows modifying tags of disks. All other properties will be ignored.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DiskFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Update": {
+ "$ref": "./examples/Disks_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/attach": {
+ "post": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Attach and create the lease of the disk to the virtual machine. This operation can take a while to complete.",
+ "operationId": "Disks_Attach",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "attachDiskProperties",
+ "in": "body",
+ "description": "Properties of the disk to attach.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AttachDiskProperties"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Attach": {
+ "$ref": "./examples/Disks_Attach.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/detach": {
+ "post": {
+ "tags": [
+ "Disks"
+ ],
+ "description": "Detach and break the lease of the disk attached to the virtual machine. This operation can take a while to complete.",
+ "operationId": "Disks_Detach",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the disk.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "detachDiskProperties",
+ "in": "body",
+ "description": "Properties of the disk to detach.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DetachDiskProperties"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Disks_Detach": {
+ "$ref": "./examples/Disks_Detach.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments": {
+ "get": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "List environments in a given user profile.",
+ "operationId": "Environments_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironmentList"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/DtlEnvironment",
+ "x-ms-examples": {
+ "Environments_List": {
+ "$ref": "./examples/Environments_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}": {
+ "get": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "Get environment.",
+ "operationId": "Environments_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the environment.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Environments_Get": {
+ "$ref": "./examples/Environments_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "Create or replace an existing environment. This operation can take a while to complete.",
+ "operationId": "Environments_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the environment.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "dtlEnvironment",
+ "in": "body",
+ "description": "An environment, which is essentially an ARM template deployment.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Environments_CreateOrUpdate": {
+ "$ref": "./examples/Environments_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "Delete environment. This operation can take a while to complete.",
+ "operationId": "Environments_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the environment.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Environments_Delete": {
+ "$ref": "./examples/Environments_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Environments"
+ ],
+ "description": "Allows modifying tags of environments. All other properties will be ignored.",
+ "operationId": "Environments_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the environment.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "dtlEnvironment",
+ "in": "body",
+ "description": "Allows modifying tags of environments. All other properties will be ignored.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironmentFragment"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DtlEnvironment"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Environments_Update": {
+ "$ref": "./examples/Environments_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets": {
+ "get": {
+ "tags": [
+ "Secrets"
+ ],
+ "description": "List secrets in a given user profile.",
+ "operationId": "Secrets_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=value)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
+ },
{
"$ref": "#/parameters/api-version"
}
@@ -4113,7 +5185,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DtlEnvironment"
+ "$ref": "#/definitions/SecretList"
}
},
"default": {
@@ -4123,18 +5195,24 @@
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Secret",
"x-ms-examples": {
- "Environments_Get": {
- "$ref": "./examples/Environments_Get.json"
+ "Secrets_List": {
+ "$ref": "./examples/Secrets_List.json"
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}": {
+ "get": {
"tags": [
- "Environments"
+ "Secrets"
],
- "description": "Create or replace an existing environment. This operation can take a while to complete.",
- "operationId": "Environments_CreateOrUpdate",
+ "description": "Get secret.",
+ "operationId": "Secrets_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4143,33 +5221,83 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "name": "name",
"in": "path",
- "description": "The name of the user profile.",
+ "description": "The name of the secret.",
"required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=value)'",
"type": "string"
},
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Secrets_Get": {
+ "$ref": "./examples/Secrets_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Secrets"
+ ],
+ "description": "Create or replace an existing secret. This operation can take a while to complete.",
+ "operationId": "Secrets_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
{
"name": "name",
"in": "path",
- "description": "The name of the environment.",
+ "description": "The name of the secret.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "dtlEnvironment",
+ "name": "secret",
"in": "body",
- "description": "An environment, which is essentially an ARM template deployment.",
+ "description": "A secret.",
"required": true,
"schema": {
- "$ref": "#/definitions/DtlEnvironment"
+ "$ref": "#/definitions/Secret"
}
},
{
@@ -4180,13 +5308,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DtlEnvironment"
+ "$ref": "#/definitions/Secret"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/DtlEnvironment"
+ "$ref": "#/definitions/Secret"
}
},
"default": {
@@ -4197,18 +5325,18 @@
}
},
"x-ms-examples": {
- "Environments_CreateOrUpdate": {
- "$ref": "./examples/Environments_CreateOrUpdate.json"
+ "Secrets_CreateOrUpdate": {
+ "$ref": "./examples/Secrets_CreateOrUpdate.json"
}
},
"x-ms-long-running-operation": true
},
"delete": {
"tags": [
- "Environments"
+ "Secrets"
],
- "description": "Delete environment. This operation can take a while to complete.",
- "operationId": "Environments_Delete",
+ "description": "Delete secret.",
+ "operationId": "Secrets_Delete",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4217,25 +5345,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the environment.",
+ "description": "The name of the secret.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -4245,11 +5366,8 @@
"200": {
"description": "OK"
},
- "202": {
- "description": "Accepted"
- },
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -4259,18 +5377,17 @@
}
},
"x-ms-examples": {
- "Environments_Delete": {
- "$ref": "./examples/Environments_Delete.json"
+ "Secrets_Delete": {
+ "$ref": "./examples/Secrets_Delete.json"
}
- },
- "x-ms-long-running-operation": true
+ }
},
"patch": {
"tags": [
- "Environments"
+ "Secrets"
],
- "description": "Allows modifying tags of environments. All other properties will be ignored.",
- "operationId": "Environments_Update",
+ "description": "Allows modifying tags of secrets. All other properties will be ignored.",
+ "operationId": "Secrets_Update",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4279,33 +5396,26 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the environment.",
+ "description": "The name of the secret.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "dtlEnvironment",
+ "name": "secret",
"in": "body",
- "description": "An environment, which is essentially an ARM template deployment.",
+ "description": "Allows modifying tags of secrets. All other properties will be ignored.",
"required": true,
"schema": {
- "$ref": "#/definitions/DtlEnvironmentFragment"
+ "$ref": "#/definitions/SecretFragment"
}
},
{
@@ -4316,7 +5426,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DtlEnvironment"
+ "$ref": "#/definitions/Secret"
}
},
"default": {
@@ -4327,19 +5437,19 @@
}
},
"x-ms-examples": {
- "Environments_Update": {
- "$ref": "./examples/Environments_Update.json"
+ "Secrets_Update": {
+ "$ref": "./examples/Secrets_Update.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics": {
"get": {
"tags": [
- "Secrets"
+ "ServiceFabrics"
],
- "description": "List secrets in a given user profile.",
- "operationId": "Secrets_List",
+ "description": "List service fabrics in a given user profile.",
+ "operationId": "ServiceFabrics_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4348,29 +5458,21 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
},
{
"name": "$expand",
"in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=value)'",
+ "description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
"type": "string"
},
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -4394,7 +5496,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/SecretList"
+ "$ref": "#/definitions/ServiceFabricList"
}
},
"default": {
@@ -4407,21 +5509,21 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
- "x-ms-odata": "#/definitions/Secret",
+ "x-ms-odata": "#/definitions/ServiceFabric",
"x-ms-examples": {
- "Secrets_List": {
- "$ref": "./examples/Secrets_List.json"
+ "ServiceFabrics_List": {
+ "$ref": "./examples/ServiceFabrics_List.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}": {
"get": {
"tags": [
- "Secrets"
+ "ServiceFabrics"
],
- "description": "Get secret.",
- "operationId": "Secrets_Get",
+ "description": "Get service fabric.",
+ "operationId": "ServiceFabrics_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4430,30 +5532,23 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the secret.",
+ "description": "The name of the service fabric.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
"in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=value)'",
+ "description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
"type": "string"
},
{
@@ -4464,7 +5559,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Secret"
+ "$ref": "#/definitions/ServiceFabric"
}
},
"default": {
@@ -4475,17 +5570,17 @@
}
},
"x-ms-examples": {
- "Secrets_Get": {
- "$ref": "./examples/Secrets_Get.json"
+ "ServiceFabrics_Get": {
+ "$ref": "./examples/ServiceFabrics_Get.json"
}
}
},
"put": {
"tags": [
- "Secrets"
+ "ServiceFabrics"
],
- "description": "Create or replace an existing secret. This operation can take a while to complete.",
- "operationId": "Secrets_CreateOrUpdate",
+ "description": "Create or replace an existing Service Fabric. This operation can take a while to complete.",
+ "operationId": "ServiceFabrics_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4494,33 +5589,26 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the secret.",
+ "description": "The name of the service fabric.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "secret",
+ "name": "serviceFabric",
"in": "body",
- "description": "A secret.",
+ "description": "A Service Fabric.",
"required": true,
"schema": {
- "$ref": "#/definitions/Secret"
+ "$ref": "#/definitions/ServiceFabric"
}
},
{
@@ -4531,13 +5619,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Secret"
+ "$ref": "#/definitions/ServiceFabric"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/Secret"
+ "$ref": "#/definitions/ServiceFabric"
}
},
"default": {
@@ -4548,18 +5636,18 @@
}
},
"x-ms-examples": {
- "Secrets_CreateOrUpdate": {
- "$ref": "./examples/Secrets_CreateOrUpdate.json"
+ "ServiceFabrics_CreateOrUpdate": {
+ "$ref": "./examples/ServiceFabrics_CreateOrUpdate.json"
}
},
"x-ms-long-running-operation": true
},
"delete": {
"tags": [
- "Secrets"
+ "ServiceFabrics"
],
- "description": "Delete secret.",
- "operationId": "Secrets_Delete",
+ "description": "Delete service fabric. This operation can take a while to complete.",
+ "operationId": "ServiceFabrics_Delete",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4568,25 +5656,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the secret.",
+ "description": "The name of the service fabric.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -4596,8 +5677,11 @@
"200": {
"description": "OK"
},
+ "202": {
+ "description": "Accepted"
+ },
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -4607,17 +5691,18 @@
}
},
"x-ms-examples": {
- "Secrets_Delete": {
- "$ref": "./examples/Secrets_Delete.json"
+ "ServiceFabrics_Delete": {
+ "$ref": "./examples/ServiceFabrics_Delete.json"
}
- }
+ },
+ "x-ms-long-running-operation": true
},
"patch": {
"tags": [
- "Secrets"
+ "ServiceFabrics"
],
- "description": "Allows modifying tags of secrets. All other properties will be ignored.",
- "operationId": "Secrets_Update",
+ "description": "Allows modifying tags of service fabrics. All other properties will be ignored.",
+ "operationId": "ServiceFabrics_Update",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4626,33 +5711,26 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the secret.",
+ "description": "The name of the service fabric.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "secret",
+ "name": "serviceFabric",
"in": "body",
- "description": "A secret.",
+ "description": "Allows modifying tags of service fabrics. All other properties will be ignored.",
"required": true,
"schema": {
- "$ref": "#/definitions/SecretFragment"
+ "$ref": "#/definitions/ServiceFabricFragment"
}
},
{
@@ -4663,7 +5741,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Secret"
+ "$ref": "#/definitions/ServiceFabric"
}
},
"default": {
@@ -4674,19 +5752,19 @@
}
},
"x-ms-examples": {
- "Secrets_Update": {
- "$ref": "./examples/Secrets_Update.json"
+ "ServiceFabrics_Update": {
+ "$ref": "./examples/ServiceFabrics_Update.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/listApplicableSchedules": {
+ "post": {
"tags": [
"ServiceFabrics"
],
- "description": "List service fabrics in a given user profile.",
- "operationId": "ServiceFabrics_List",
+ "description": "Lists the applicable start/stop schedules, if any.",
+ "operationId": "ServiceFabrics_ListApplicableSchedules",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4695,43 +5773,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
- },
- {
- "name": "$expand",
- "in": "query",
- "description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
- "type": "string"
- },
- {
- "name": "$filter",
- "in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "$top",
- "in": "query",
- "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "type": "integer",
- "format": "int32"
+ "$ref": "#/parameters/userName"
},
{
- "name": "$orderby",
- "in": "query",
- "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "type": "string"
+ "name": "name",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -4741,7 +5794,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/ServiceFabricList"
+ "$ref": "#/definitions/ApplicableSchedule"
}
},
"default": {
@@ -4751,24 +5804,20 @@
}
}
},
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/ServiceFabric",
"x-ms-examples": {
- "ServiceFabrics_List": {
- "$ref": "./examples/ServiceFabrics_List.json"
+ "ServiceFabrics_ListApplicableSchedules": {
+ "$ref": "./examples/ServiceFabrics_ListApplicableSchedules.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/start": {
+ "post": {
"tags": [
"ServiceFabrics"
],
- "description": "Get service fabric.",
- "operationId": "ServiceFabrics_Get",
+ "description": "Start a service fabric. This operation can take a while to complete.",
+ "operationId": "ServiceFabrics_Start",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4777,31 +5826,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
},
{
"name": "name",
"in": "path",
"description": "The name of the service fabric.",
"required": true,
- "type": "string"
- },
- {
- "name": "$expand",
- "in": "query",
- "description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -4809,10 +5845,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServiceFabric"
- }
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
},
"default": {
"description": "BadRequest",
@@ -4822,17 +5858,20 @@
}
},
"x-ms-examples": {
- "ServiceFabrics_Get": {
- "$ref": "./examples/ServiceFabrics_Get.json"
+ "ServiceFabrics_Start": {
+ "$ref": "./examples/ServiceFabrics_Start.json"
}
- }
- },
- "put": {
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/stop": {
+ "post": {
"tags": [
"ServiceFabrics"
],
- "description": "Create or replace an existing service fabric. This operation can take a while to complete.",
- "operationId": "ServiceFabrics_CreateOrUpdate",
+ "description": "Stop a service fabric This operation can take a while to complete.",
+ "operationId": "ServiceFabrics_Stop",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4841,34 +5880,92 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
},
{
"name": "name",
"in": "path",
"description": "The name of the service fabric.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "serviceFabric",
- "in": "body",
- "description": "A Service Fabric.",
- "required": true,
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "BadRequest",
"schema": {
- "$ref": "#/definitions/ServiceFabric"
+ "$ref": "#/definitions/CloudError"
}
+ }
+ },
+ "x-ms-examples": {
+ "ServiceFabrics_Stop": {
+ "$ref": "./examples/ServiceFabrics_Stop.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules": {
+ "get": {
+ "tags": [
+ "ServiceFabricSchedules"
+ ],
+ "description": "List schedules in a given service fabric.",
+ "operationId": "ServiceFabricSchedules_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "$ref": "#/parameters/serviceFabricName"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
},
{
"$ref": "#/parameters/api-version"
@@ -4878,13 +5975,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/ServiceFabric"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/ServiceFabric"
+ "$ref": "#/definitions/ScheduleList"
}
},
"default": {
@@ -4894,19 +5985,24 @@
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Schedule",
"x-ms-examples": {
- "ServiceFabrics_CreateOrUpdate": {
- "$ref": "./examples/ServiceFabrics_CreateOrUpdate.json"
+ "ServiceFabricSchedules_List": {
+ "$ref": "./examples/ServiceFabricSchedules_List.json"
}
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}": {
+ "get": {
"tags": [
- "ServiceFabrics"
+ "ServiceFabricSchedules"
],
- "description": "Delete service fabric. This operation can take a while to complete.",
- "operationId": "ServiceFabrics_Delete",
+ "description": "Get schedule.",
+ "operationId": "ServiceFabricSchedules_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4915,24 +6011,26 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "$ref": "#/parameters/serviceFabricName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the service fabric.",
+ "description": "The name of the schedule.",
"required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
"type": "string"
},
{
@@ -4941,13 +6039,10 @@
],
"responses": {
"200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "No Content"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
},
"default": {
"description": "BadRequest",
@@ -4957,18 +6052,17 @@
}
},
"x-ms-examples": {
- "ServiceFabrics_Delete": {
- "$ref": "./examples/ServiceFabrics_Delete.json"
+ "ServiceFabricSchedules_Get": {
+ "$ref": "./examples/ServiceFabricSchedules_Get.json"
}
- },
- "x-ms-long-running-operation": true
+ }
},
- "patch": {
+ "put": {
"tags": [
- "ServiceFabrics"
+ "ServiceFabricSchedules"
],
- "description": "Allows modifying tags of service fabrics. All other properties will be ignored.",
- "operationId": "ServiceFabrics_Update",
+ "description": "Create or replace an existing schedule.",
+ "operationId": "ServiceFabricSchedules_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -4977,33 +6071,29 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "$ref": "#/parameters/serviceFabricName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the service fabric.",
+ "description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "serviceFabric",
+ "name": "schedule",
"in": "body",
- "description": "A Service Fabric.",
+ "description": "A schedule.",
"required": true,
"schema": {
- "$ref": "#/definitions/ServiceFabricFragment"
+ "$ref": "#/definitions/Schedule"
}
},
{
@@ -5014,7 +6104,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/ServiceFabric"
+ "$ref": "#/definitions/Schedule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
}
},
"default": {
@@ -5025,19 +6121,17 @@
}
},
"x-ms-examples": {
- "ServiceFabrics_Update": {
- "$ref": "./examples/ServiceFabrics_Update.json"
+ "ServiceFabricSchedules_CreateOrUpdate": {
+ "$ref": "./examples/ServiceFabricSchedules_CreateOrUpdate.json"
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/listApplicableSchedules": {
- "post": {
+ },
+ "delete": {
"tags": [
- "ServiceFabrics"
+ "ServiceFabricSchedules"
],
- "description": "Lists the applicable start/stop schedules, if any.",
- "operationId": "ServiceFabrics_ListApplicableSchedules",
+ "description": "Delete schedule.",
+ "operationId": "ServiceFabricSchedules_Delete",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5046,25 +6140,21 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "$ref": "#/parameters/serviceFabricName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the service fabric.",
+ "description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -5072,10 +6162,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ApplicableSchedule"
- }
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -5085,19 +6175,17 @@
}
},
"x-ms-examples": {
- "ServiceFabrics_ListApplicableSchedules": {
- "$ref": "./examples/ServiceFabrics_ListApplicableSchedules.json"
+ "ServiceFabricSchedules_Delete": {
+ "$ref": "./examples/ServiceFabricSchedules_Delete.json"
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/start": {
- "post": {
+ },
+ "patch": {
"tags": [
- "ServiceFabrics"
+ "ServiceFabricSchedules"
],
- "description": "Start a service fabric. This operation can take a while to complete.",
- "operationId": "ServiceFabrics_Start",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
+ "operationId": "ServiceFabricSchedules_Update",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5106,25 +6194,30 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "$ref": "#/parameters/serviceFabricName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the service fabric.",
+ "description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ScheduleFragment"
+ }
},
{
"$ref": "#/parameters/api-version"
@@ -5132,10 +6225,10 @@
],
"responses": {
"200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
},
"default": {
"description": "BadRequest",
@@ -5145,20 +6238,19 @@
}
},
"x-ms-examples": {
- "ServiceFabrics_Start": {
- "$ref": "./examples/ServiceFabrics_Start.json"
+ "ServiceFabricSchedules_Update": {
+ "$ref": "./examples/ServiceFabricSchedules_Update.json"
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/stop": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}/execute": {
"post": {
"tags": [
- "ServiceFabrics"
+ "ServiceFabricSchedules"
],
- "description": "Stop a service fabric This operation can take a while to complete.",
- "operationId": "ServiceFabrics_Stop",
+ "description": "Execute a schedule. This operation can take a while to complete.",
+ "operationId": "ServiceFabricSchedules_Execute",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5167,25 +6259,21 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/userName"
+ },
+ {
+ "$ref": "#/parameters/serviceFabricName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the service fabric.",
+ "description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -5206,20 +6294,20 @@
}
},
"x-ms-examples": {
- "ServiceFabrics_Stop": {
- "$ref": "./examples/ServiceFabrics_Stop.json"
+ "ServiceFabricSchedules_Execute": {
+ "$ref": "./examples/ServiceFabricSchedules_Execute.json"
}
},
"x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines": {
"get": {
"tags": [
- "ServiceFabricSchedules"
+ "VirtualMachines"
],
- "description": "List schedules in a given service fabric.",
- "operationId": "ServiceFabricSchedules_List",
+ "description": "List virtual machines in a given lab.",
+ "operationId": "VirtualMachines_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5228,36 +6316,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
- },
- {
- "name": "serviceFabricName",
- "in": "path",
- "description": "The name of the service fabric.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "$expand",
"in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
"type": "string"
},
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -5281,7 +6351,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/ScheduleList"
+ "$ref": "#/definitions/LabVirtualMachineList"
}
},
"default": {
@@ -5294,21 +6364,21 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
- "x-ms-odata": "#/definitions/Schedule",
+ "x-ms-odata": "#/definitions/LabVirtualMachine",
"x-ms-examples": {
- "ServiceFabricSchedules_List": {
- "$ref": "./examples/ServiceFabricSchedules_List.json"
+ "VirtualMachines_List": {
+ "$ref": "./examples/VirtualMachines_List.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}": {
"get": {
"tags": [
- "ServiceFabricSchedules"
+ "VirtualMachines"
],
- "description": "Get schedule.",
- "operationId": "ServiceFabricSchedules_Get",
+ "description": "Get virtual machine.",
+ "operationId": "VirtualMachines_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5317,37 +6387,20 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
- },
- {
- "name": "serviceFabricName",
- "in": "path",
- "description": "The name of the service fabric.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the schedule.",
+ "description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
"in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
"type": "string"
},
{
@@ -5358,7 +6411,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/LabVirtualMachine"
}
},
"default": {
@@ -5369,17 +6422,17 @@
}
},
"x-ms-examples": {
- "ServiceFabricSchedules_Get": {
- "$ref": "./examples/ServiceFabricSchedules_Get.json"
+ "VirtualMachines_Get": {
+ "$ref": "./examples/VirtualMachines_Get.json"
}
}
},
"put": {
"tags": [
- "ServiceFabricSchedules"
+ "VirtualMachines"
],
- "description": "Create or replace an existing schedule.",
- "operationId": "ServiceFabricSchedules_CreateOrUpdate",
+ "description": "Create or replace an existing Virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5388,40 +6441,23 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
- },
- {
- "name": "serviceFabricName",
- "in": "path",
- "description": "The name of the service fabric.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the schedule.",
+ "description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "schedule",
+ "name": "labVirtualMachine",
"in": "body",
- "description": "A schedule.",
+ "description": "A virtual machine.",
"required": true,
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/LabVirtualMachine"
}
},
{
@@ -5432,13 +6468,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/LabVirtualMachine"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/LabVirtualMachine"
}
},
"default": {
@@ -5449,17 +6485,18 @@
}
},
"x-ms-examples": {
- "ServiceFabricSchedules_CreateOrUpdate": {
- "$ref": "./examples/ServiceFabricSchedules_CreateOrUpdate.json"
+ "VirtualMachines_CreateOrUpdate": {
+ "$ref": "./examples/VirtualMachines_CreateOrUpdate.json"
}
- }
+ },
+ "x-ms-long-running-operation": true
},
"delete": {
"tags": [
- "ServiceFabricSchedules"
+ "VirtualMachines"
],
- "description": "Delete schedule.",
- "operationId": "ServiceFabricSchedules_Delete",
+ "description": "Delete virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Delete",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5468,32 +6505,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
- },
- {
- "name": "serviceFabricName",
- "in": "path",
- "description": "The name of the service fabric.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the schedule.",
+ "description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -5503,8 +6523,11 @@
"200": {
"description": "OK"
},
+ "202": {
+ "description": "Accepted"
+ },
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -5514,17 +6537,18 @@
}
},
"x-ms-examples": {
- "ServiceFabricSchedules_Delete": {
- "$ref": "./examples/ServiceFabricSchedules_Delete.json"
+ "VirtualMachines_Delete": {
+ "$ref": "./examples/VirtualMachines_Delete.json"
}
- }
+ },
+ "x-ms-long-running-operation": true
},
"patch": {
"tags": [
- "ServiceFabricSchedules"
+ "VirtualMachines"
],
- "description": "Allows modifying tags of schedules. All other properties will be ignored.",
- "operationId": "ServiceFabricSchedules_Update",
+ "description": "Allows modifying tags of virtual machines. All other properties will be ignored.",
+ "operationId": "VirtualMachines_Update",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5533,40 +6557,23 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
- },
- {
- "name": "serviceFabricName",
- "in": "path",
- "description": "The name of the service fabric.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the schedule.",
- "required": true,
- "type": "string"
+ "description": "The name of the virtual machine.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
- "name": "schedule",
+ "name": "labVirtualMachine",
"in": "body",
- "description": "A schedule.",
+ "description": "Allows modifying tags of virtual machines. All other properties will be ignored.",
"required": true,
"schema": {
- "$ref": "#/definitions/ScheduleFragment"
+ "$ref": "#/definitions/LabVirtualMachineFragment"
}
},
{
@@ -5577,7 +6584,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/LabVirtualMachine"
}
},
"default": {
@@ -5588,19 +6595,19 @@
}
},
"x-ms-examples": {
- "ServiceFabricSchedules_Update": {
- "$ref": "./examples/ServiceFabricSchedules_Update.json"
+ "VirtualMachines_Update": {
+ "$ref": "./examples/VirtualMachines_Update.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}/execute": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/addDataDisk": {
"post": {
"tags": [
- "ServiceFabricSchedules"
+ "VirtualMachines"
],
- "description": "Execute a schedule. This operation can take a while to complete.",
- "operationId": "ServiceFabricSchedules_Execute",
+ "description": "Attach a new or existing data disk to virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_AddDataDisk",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5609,32 +6616,24 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "userName",
- "in": "path",
- "description": "The name of the user profile.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "serviceFabricName",
+ "name": "name",
"in": "path",
- "description": "The name of the service fabric.",
+ "description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "name",
- "in": "path",
- "description": "The name of the schedule.",
+ "name": "dataDiskProperties",
+ "in": "body",
+ "description": "Request body for adding a new or existing data disk to a virtual machine.",
"required": true,
- "type": "string"
+ "schema": {
+ "$ref": "#/definitions/DataDiskProperties"
+ }
},
{
"$ref": "#/parameters/api-version"
@@ -5655,20 +6654,20 @@
}
},
"x-ms-examples": {
- "ServiceFabricSchedules_Execute": {
- "$ref": "./examples/ServiceFabricSchedules_Execute.json"
+ "VirtualMachines_AddDataDisk": {
+ "$ref": "./examples/VirtualMachines_AddDataDisk.json"
}
},
"x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/applyArtifacts": {
+ "post": {
"tags": [
"VirtualMachines"
],
- "description": "List virtual machines in a given lab.",
- "operationId": "VirtualMachines_List",
+ "description": "Apply artifacts to virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_ApplyArtifacts",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5677,36 +6676,75 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "name",
"in": "path",
- "description": "The name of the lab.",
+ "description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "$expand",
- "in": "query",
- "description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
- "type": "string"
+ "name": "applyArtifactsRequest",
+ "in": "body",
+ "description": "Request body for applying artifacts to a virtual machine.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApplyArtifactsRequest"
+ }
},
{
- "name": "$filter",
- "in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "type": "string"
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
},
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualMachines_ApplyArtifacts": {
+ "$ref": "./examples/VirtualMachines_ApplyArtifacts.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/claim": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "description": "Take ownership of an existing virtual machine This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Claim",
+ "parameters": [
{
- "name": "$top",
- "in": "query",
- "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "type": "integer",
- "format": "int32"
+ "$ref": "#/parameters/subscriptionId"
},
{
- "name": "$orderby",
- "in": "query",
- "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "type": "string"
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -5714,10 +6752,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/LabVirtualMachineList"
- }
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
},
"default": {
"description": "BadRequest",
@@ -5726,24 +6764,21 @@
}
}
},
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/LabVirtualMachine",
"x-ms-examples": {
- "VirtualMachines_List": {
- "$ref": "./examples/VirtualMachines_List.json"
+ "VirtualMachines_Claim": {
+ "$ref": "./examples/VirtualMachines_Claim.json"
}
- }
+ },
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/clearArtifactResults": {
+ "post": {
"tags": [
"VirtualMachines"
],
- "description": "Get virtual machine.",
- "operationId": "VirtualMachines_Get",
+ "description": "Clears the artifact results of the virtual machine.",
+ "operationId": "VirtualMachines_ClearArtifactResults",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5752,24 +6787,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
- "required": true,
- "type": "string"
- },
- {
- "name": "$expand",
- "in": "query",
- "description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
"$ref": "#/parameters/api-version"
@@ -5777,10 +6803,7 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/LabVirtualMachine"
- }
+ "description": "OK"
},
"default": {
"description": "BadRequest",
@@ -5790,17 +6813,19 @@
}
},
"x-ms-examples": {
- "VirtualMachines_Get": {
- "$ref": "./examples/VirtualMachines_Get.json"
+ "VirtualMachines_ClearArtifactResults": {
+ "$ref": "./examples/VirtualMachines_ClearArtifactResults.json"
}
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/detachDataDisk": {
+ "post": {
"tags": [
"VirtualMachines"
],
- "description": "Create or replace an existing virtual machine. This operation can take a while to complete.",
- "operationId": "VirtualMachines_CreateOrUpdate",
+ "description": "Detach the specified disk from the virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_DetachDataDisk",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5809,26 +6834,23 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "labVirtualMachine",
+ "name": "detachDataDiskProperties",
"in": "body",
- "description": "A virtual machine.",
+ "description": "Request body for detaching data disk from a virtual machine.",
"required": true,
"schema": {
- "$ref": "#/definitions/LabVirtualMachine"
+ "$ref": "#/definitions/DetachDataDiskProperties"
}
},
{
@@ -5837,16 +6859,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/LabVirtualMachine"
- }
+ "description": "OK"
},
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/LabVirtualMachine"
- }
+ "202": {
+ "description": "Accepted"
},
"default": {
"description": "BadRequest",
@@ -5856,18 +6872,20 @@
}
},
"x-ms-examples": {
- "VirtualMachines_CreateOrUpdate": {
- "$ref": "./examples/VirtualMachines_CreateOrUpdate.json"
+ "VirtualMachines_DetachDataDisk": {
+ "$ref": "./examples/VirtualMachines_DetachDataDisk.json"
}
},
"x-ms-long-running-operation": true
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents": {
+ "post": {
"tags": [
"VirtualMachines"
],
- "description": "Delete virtual machine. This operation can take a while to complete.",
- "operationId": "VirtualMachines_Delete",
+ "description": "Gets a string that represents the contents of the RDP file for the virtual machine",
+ "operationId": "VirtualMachines_GetRdpFileContents",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5876,18 +6894,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -5895,13 +6910,10 @@
],
"responses": {
"200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "No Content"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RdpConnection"
+ }
},
"default": {
"description": "BadRequest",
@@ -5911,18 +6923,19 @@
}
},
"x-ms-examples": {
- "VirtualMachines_Delete": {
- "$ref": "./examples/VirtualMachines_Delete.json"
+ "VirtualMachines_GetRdpFileContents": {
+ "$ref": "./examples/VirtualMachines_GetRdpFileContents.json"
}
- },
- "x-ms-long-running-operation": true
- },
- "patch": {
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/listApplicableSchedules": {
+ "post": {
"tags": [
"VirtualMachines"
],
- "description": "Allows modifying tags of virtual machines. All other properties will be ignored.",
- "operationId": "VirtualMachines_Update",
+ "description": "Lists the applicable start/stop schedules, if any.",
+ "operationId": "VirtualMachines_ListApplicableSchedules",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5931,27 +6944,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
- },
- {
- "name": "labVirtualMachine",
- "in": "body",
- "description": "A virtual machine.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/LabVirtualMachineFragment"
- }
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -5961,7 +6962,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/LabVirtualMachine"
+ "$ref": "#/definitions/ApplicableSchedule"
}
},
"default": {
@@ -5972,19 +6973,19 @@
}
},
"x-ms-examples": {
- "VirtualMachines_Update": {
- "$ref": "./examples/VirtualMachines_Update.json"
+ "VirtualMachines_ListApplicableSchedules": {
+ "$ref": "./examples/VirtualMachines_ListApplicableSchedules.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/addDataDisk": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/redeploy": {
"post": {
"tags": [
"VirtualMachines"
],
- "description": "Attach a new or existing data disk to virtual machine. This operation can take a while to complete.",
- "operationId": "VirtualMachines_AddDataDisk",
+ "description": "Redeploy a virtual machine This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Redeploy",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -5993,27 +6994,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
- },
- {
- "name": "dataDiskProperties",
- "in": "body",
- "description": "Request body for adding a new or existing data disk to a virtual machine.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DataDiskProperties"
- }
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -6034,20 +7023,20 @@
}
},
"x-ms-examples": {
- "VirtualMachines_AddDataDisk": {
- "$ref": "./examples/VirtualMachines_AddDataDisk.json"
+ "VirtualMachines_Redeploy": {
+ "$ref": "./examples/VirtualMachines_Redeploy.json"
}
},
"x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/applyArtifacts": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/resize": {
"post": {
"tags": [
"VirtualMachines"
],
- "description": "Apply artifacts to virtual machine. This operation can take a while to complete.",
- "operationId": "VirtualMachines_ApplyArtifacts",
+ "description": "Resize Virtual Machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Resize",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6056,26 +7045,23 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "applyArtifactsRequest",
+ "name": "resizeLabVirtualMachineProperties",
"in": "body",
- "description": "Request body for applying artifacts to a virtual machine.",
+ "description": "Request body for resizing a virtual machine.",
"required": true,
"schema": {
- "$ref": "#/definitions/ApplyArtifactsRequest"
+ "$ref": "#/definitions/ResizeLabVirtualMachineProperties"
}
},
{
@@ -6097,20 +7083,20 @@
}
},
"x-ms-examples": {
- "VirtualMachines_ApplyArtifacts": {
- "$ref": "./examples/VirtualMachines_ApplyArtifacts.json"
+ "VirtualMachines_Resize": {
+ "$ref": "./examples/VirtualMachines_Resize.json"
}
},
"x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/claim": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/restart": {
"post": {
"tags": [
"VirtualMachines"
],
- "description": "Take ownership of an existing virtual machine This operation can take a while to complete.",
- "operationId": "VirtualMachines_Claim",
+ "description": "Restart a virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Restart",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6119,18 +7105,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -6151,20 +7134,20 @@
}
},
"x-ms-examples": {
- "VirtualMachines_Claim": {
- "$ref": "./examples/VirtualMachines_Claim.json"
+ "VirtualMachines_Restart": {
+ "$ref": "./examples/VirtualMachines_Restart.json"
}
},
"x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/detachDataDisk": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/start": {
"post": {
"tags": [
"VirtualMachines"
],
- "description": "Detach the specified disk from the virtual machine. This operation can take a while to complete.",
- "operationId": "VirtualMachines_DetachDataDisk",
+ "description": "Start a virtual machine. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Start",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6173,27 +7156,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
- },
- {
- "name": "detachDataDiskProperties",
- "in": "body",
- "description": "Request body for detaching data disk from a virtual machine.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DetachDataDiskProperties"
- }
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -6214,20 +7185,20 @@
}
},
"x-ms-examples": {
- "VirtualMachines_DetachDataDisk": {
- "$ref": "./examples/VirtualMachines_DetachDataDisk.json"
+ "VirtualMachines_Start": {
+ "$ref": "./examples/VirtualMachines_Start.json"
}
},
"x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/stop": {
"post": {
"tags": [
"VirtualMachines"
],
- "description": "Gets a string that represents the contents of the RDP file for the virtual machine",
- "operationId": "VirtualMachines_GetRdpFileContents",
+ "description": "Stop a virtual machine This operation can take a while to complete.",
+ "operationId": "VirtualMachines_Stop",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6236,18 +7207,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -6255,10 +7223,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RdpConnection"
- }
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
},
"default": {
"description": "BadRequest",
@@ -6268,19 +7236,20 @@
}
},
"x-ms-examples": {
- "VirtualMachines_GetRdpFileContents": {
- "$ref": "./examples/VirtualMachines_GetRdpFileContents.json"
+ "VirtualMachines_Stop": {
+ "$ref": "./examples/VirtualMachines_Stop.json"
}
- }
+ },
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/listApplicableSchedules": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/transferDisks": {
"post": {
"tags": [
"VirtualMachines"
],
- "description": "Lists the applicable start/stop schedules, if any.",
- "operationId": "VirtualMachines_ListApplicableSchedules",
+ "description": "Transfers all data disks attached to the virtual machine to be owned by the current user. This operation can take a while to complete.",
+ "operationId": "VirtualMachines_TransferDisks",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6289,18 +7258,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -6308,10 +7274,10 @@
],
"responses": {
"200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ApplicableSchedule"
- }
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
},
"default": {
"description": "BadRequest",
@@ -6321,19 +7287,20 @@
}
},
"x-ms-examples": {
- "VirtualMachines_ListApplicableSchedules": {
- "$ref": "./examples/VirtualMachines_ListApplicableSchedules.json"
+ "VirtualMachines_TransferDisks": {
+ "$ref": "./examples/VirtualMachines_TransferDisks.json"
}
- }
+ },
+ "x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/redeploy": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/unClaim": {
"post": {
"tags": [
"VirtualMachines"
],
- "description": "Redeploy a virtual machine This operation can take a while to complete.",
- "operationId": "VirtualMachines_Redeploy",
+ "description": "Release ownership of an existing virtual machine This operation can take a while to complete.",
+ "operationId": "VirtualMachines_UnClaim",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6342,18 +7309,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
"description": "The name of the virtual machine.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -6374,20 +7338,20 @@
}
},
"x-ms-examples": {
- "VirtualMachines_Redeploy": {
- "$ref": "./examples/VirtualMachines_Redeploy.json"
+ "VirtualMachines_UnClaim": {
+ "$ref": "./examples/VirtualMachines_UnClaim.json"
}
},
"x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/resize": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules": {
+ "get": {
"tags": [
- "VirtualMachines"
+ "VirtualMachineSchedules"
],
- "description": "Resize Virtual Machine. This operation can take a while to complete.",
- "operationId": "VirtualMachines_Resize",
+ "description": "List schedules in a given virtual machine.",
+ "operationId": "VirtualMachineSchedules_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6396,27 +7360,35 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/virtualMachineName"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
"type": "string"
},
{
- "name": "name",
- "in": "path",
- "description": "The name of the virtual machine.",
- "required": true,
+ "name": "$filter",
+ "in": "query",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
- "name": "resizeLabVirtualMachineProperties",
- "in": "body",
- "description": "Request body for resizing a virtual machine.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ResizeLabVirtualMachineProperties"
- }
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
+ "type": "string"
},
{
"$ref": "#/parameters/api-version"
@@ -6424,10 +7396,10 @@
],
"responses": {
"200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ScheduleList"
+ }
},
"default": {
"description": "BadRequest",
@@ -6436,21 +7408,24 @@
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Schedule",
"x-ms-examples": {
- "VirtualMachines_Resize": {
- "$ref": "./examples/VirtualMachines_Resize.json"
+ "VirtualMachineSchedules_List": {
+ "$ref": "./examples/VirtualMachineSchedules_List.json"
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/restart": {
- "post": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}": {
+ "get": {
"tags": [
- "VirtualMachines"
+ "VirtualMachineSchedules"
],
- "description": "Restart a virtual machine. This operation can take a while to complete.",
- "operationId": "VirtualMachines_Restart",
+ "description": "Get schedule.",
+ "operationId": "VirtualMachineSchedules_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6459,17 +7434,23 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/virtualMachineName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the virtual machine.",
+ "description": "The name of the schedule.",
"required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "description": "Specify the $expand query. Example: 'properties($select=status)'",
"type": "string"
},
{
@@ -6478,10 +7459,10 @@
],
"responses": {
"200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
},
"default": {
"description": "BadRequest",
@@ -6491,20 +7472,17 @@
}
},
"x-ms-examples": {
- "VirtualMachines_Restart": {
- "$ref": "./examples/VirtualMachines_Restart.json"
+ "VirtualMachineSchedules_Get": {
+ "$ref": "./examples/VirtualMachineSchedules_Get.json"
}
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/start": {
- "post": {
+ }
+ },
+ "put": {
"tags": [
- "VirtualMachines"
+ "VirtualMachineSchedules"
],
- "description": "Start a virtual machine. This operation can take a while to complete.",
- "operationId": "VirtualMachines_Start",
+ "description": "Create or replace an existing schedule.",
+ "operationId": "VirtualMachineSchedules_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6513,18 +7491,27 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/virtualMachineName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the virtual machine.",
+ "description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "A schedule.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
},
{
"$ref": "#/parameters/api-version"
@@ -6532,10 +7519,16 @@
],
"responses": {
"200": {
- "description": "OK"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
},
- "202": {
- "description": "Accepted"
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
},
"default": {
"description": "BadRequest",
@@ -6545,20 +7538,17 @@
}
},
"x-ms-examples": {
- "VirtualMachines_Start": {
- "$ref": "./examples/VirtualMachines_Start.json"
+ "VirtualMachineSchedules_CreateOrUpdate": {
+ "$ref": "./examples/VirtualMachineSchedules_CreateOrUpdate.json"
}
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/stop": {
- "post": {
+ }
+ },
+ "delete": {
"tags": [
- "VirtualMachines"
+ "VirtualMachineSchedules"
],
- "description": "Stop a virtual machine This operation can take a while to complete.",
- "operationId": "VirtualMachines_Stop",
+ "description": "Delete schedule.",
+ "operationId": "VirtualMachineSchedules_Delete",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6567,18 +7557,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/virtualMachineName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the virtual machine.",
+ "description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -6588,8 +7578,8 @@
"200": {
"description": "OK"
},
- "202": {
- "description": "Accepted"
+ "204": {
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -6599,20 +7589,17 @@
}
},
"x-ms-examples": {
- "VirtualMachines_Stop": {
- "$ref": "./examples/VirtualMachines_Stop.json"
+ "VirtualMachineSchedules_Delete": {
+ "$ref": "./examples/VirtualMachineSchedules_Delete.json"
}
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/transferDisks": {
- "post": {
+ }
+ },
+ "patch": {
"tags": [
- "VirtualMachines"
+ "VirtualMachineSchedules"
],
- "description": "Transfers all data disks attached to the virtual machine to be owned by the current user. This operation can take a while to complete.",
- "operationId": "VirtualMachines_TransferDisks",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
+ "operationId": "VirtualMachineSchedules_Update",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6621,18 +7608,27 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/virtualMachineName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the virtual machine.",
+ "description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "schedule",
+ "in": "body",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ScheduleFragment"
+ }
},
{
"$ref": "#/parameters/api-version"
@@ -6640,10 +7636,10 @@
],
"responses": {
"200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Schedule"
+ }
},
"default": {
"description": "BadRequest",
@@ -6653,20 +7649,19 @@
}
},
"x-ms-examples": {
- "VirtualMachines_TransferDisks": {
- "$ref": "./examples/VirtualMachines_TransferDisks.json"
+ "VirtualMachineSchedules_Update": {
+ "$ref": "./examples/VirtualMachineSchedules_Update.json"
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/unClaim": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}/execute": {
"post": {
"tags": [
- "VirtualMachines"
+ "VirtualMachineSchedules"
],
- "description": "Release ownership of an existing virtual machine This operation can take a while to complete.",
- "operationId": "VirtualMachines_UnClaim",
+ "description": "Execute a schedule. This operation can take a while to complete.",
+ "operationId": "VirtualMachineSchedules_Execute",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6674,19 +7669,19 @@
{
"$ref": "#/parameters/resourceGroupName"
},
- {
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ {
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/virtualMachineName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the virtual machine.",
+ "description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -6707,20 +7702,20 @@
}
},
"x-ms-examples": {
- "VirtualMachines_UnClaim": {
- "$ref": "./examples/VirtualMachines_UnClaim.json"
+ "VirtualMachineSchedules_Execute": {
+ "$ref": "./examples/VirtualMachineSchedules_Execute.json"
}
},
"x-ms-long-running-operation": true
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks": {
"get": {
"tags": [
- "VirtualMachineSchedules"
+ "VirtualNetworks"
],
- "description": "List schedules in a given virtual machine.",
- "operationId": "VirtualMachineSchedules_List",
+ "description": "List virtual networks in a given lab.",
+ "operationId": "VirtualNetworks_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6729,29 +7724,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "virtualMachineName",
- "in": "path",
- "description": "The name of the virtual machine.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "$expand",
"in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
"type": "string"
},
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -6775,7 +7759,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/ScheduleList"
+ "$ref": "#/definitions/VirtualNetworkList"
}
},
"default": {
@@ -6788,21 +7772,21 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
- "x-ms-odata": "#/definitions/Schedule",
+ "x-ms-odata": "#/definitions/VirtualNetwork",
"x-ms-examples": {
- "VirtualMachineSchedules_List": {
- "$ref": "./examples/VirtualMachineSchedules_List.json"
+ "VirtualNetworks_List": {
+ "$ref": "./examples/VirtualNetworks_List.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}": {
"get": {
"tags": [
- "VirtualMachineSchedules"
+ "VirtualNetworks"
],
- "description": "Get schedule.",
- "operationId": "VirtualMachineSchedules_Get",
+ "description": "Get virtual network.",
+ "operationId": "VirtualNetworks_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6811,30 +7795,20 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "virtualMachineName",
- "in": "path",
- "description": "The name of the virtual machine.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the schedule.",
+ "description": "The name of the virtual network.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
"in": "query",
- "description": "Specify the $expand query. Example: 'properties($select=status)'",
+ "description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
"type": "string"
},
{
@@ -6845,7 +7819,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/VirtualNetwork"
}
},
"default": {
@@ -6856,17 +7830,17 @@
}
},
"x-ms-examples": {
- "VirtualMachineSchedules_Get": {
- "$ref": "./examples/VirtualMachineSchedules_Get.json"
+ "VirtualNetworks_Get": {
+ "$ref": "./examples/VirtualNetworks_Get.json"
}
}
},
"put": {
"tags": [
- "VirtualMachineSchedules"
+ "VirtualNetworks"
],
- "description": "Create or replace an existing schedule.",
- "operationId": "VirtualMachineSchedules_CreateOrUpdate",
+ "description": "Create or replace an existing virtual network. This operation can take a while to complete.",
+ "operationId": "VirtualNetworks_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6875,33 +7849,23 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "virtualMachineName",
- "in": "path",
- "description": "The name of the virtual machine.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the schedule.",
+ "description": "The name of the virtual network.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "schedule",
+ "name": "virtualNetwork",
"in": "body",
- "description": "A schedule.",
+ "description": "A virtual network.",
"required": true,
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/VirtualNetwork"
}
},
{
@@ -6912,13 +7876,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/VirtualNetwork"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/VirtualNetwork"
}
},
"default": {
@@ -6929,17 +7893,18 @@
}
},
"x-ms-examples": {
- "VirtualMachineSchedules_CreateOrUpdate": {
- "$ref": "./examples/VirtualMachineSchedules_CreateOrUpdate.json"
+ "VirtualNetworks_CreateOrUpdate": {
+ "$ref": "./examples/VirtualNetworks_CreateOrUpdate.json"
}
- }
+ },
+ "x-ms-long-running-operation": true
},
"delete": {
"tags": [
- "VirtualMachineSchedules"
+ "VirtualNetworks"
],
- "description": "Delete schedule.",
- "operationId": "VirtualMachineSchedules_Delete",
+ "description": "Delete virtual network. This operation can take a while to complete.",
+ "operationId": "VirtualNetworks_Delete",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -6948,25 +7913,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "virtualMachineName",
- "in": "path",
- "description": "The name of the virtual machine.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the schedule.",
+ "description": "The name of the virtual network.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -6976,8 +7931,11 @@
"200": {
"description": "OK"
},
+ "202": {
+ "description": "Accepted"
+ },
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -6987,17 +7945,18 @@
}
},
"x-ms-examples": {
- "VirtualMachineSchedules_Delete": {
- "$ref": "./examples/VirtualMachineSchedules_Delete.json"
+ "VirtualNetworks_Delete": {
+ "$ref": "./examples/VirtualNetworks_Delete.json"
}
- }
+ },
+ "x-ms-long-running-operation": true
},
"patch": {
"tags": [
- "VirtualMachineSchedules"
+ "VirtualNetworks"
],
- "description": "Allows modifying tags of schedules. All other properties will be ignored.",
- "operationId": "VirtualMachineSchedules_Update",
+ "description": "Allows modifying tags of virtual networks. All other properties will be ignored.",
+ "operationId": "VirtualNetworks_Update",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -7006,33 +7965,23 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "virtualMachineName",
- "in": "path",
- "description": "The name of the virtual machine.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the schedule.",
+ "description": "The name of the virtual network.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
- "name": "schedule",
+ "name": "virtualNetwork",
"in": "body",
- "description": "A schedule.",
+ "description": "Allows modifying tags of virtual networks. All other properties will be ignored.",
"required": true,
"schema": {
- "$ref": "#/definitions/ScheduleFragment"
+ "$ref": "#/definitions/VirtualNetworkFragment"
}
},
{
@@ -7043,7 +7992,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/Schedule"
+ "$ref": "#/definitions/VirtualNetwork"
}
},
"default": {
@@ -7054,80 +8003,19 @@
}
},
"x-ms-examples": {
- "VirtualMachineSchedules_Update": {
- "$ref": "./examples/VirtualMachineSchedules_Update.json"
+ "VirtualNetworks_Update": {
+ "$ref": "./examples/VirtualNetworks_Update.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}/execute": {
- "post": {
- "tags": [
- "VirtualMachineSchedules"
- ],
- "description": "Execute a schedule. This operation can take a while to complete.",
- "operationId": "VirtualMachineSchedules_Execute",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupName"
- },
- {
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "virtualMachineName",
- "in": "path",
- "description": "The name of the virtual machine.",
- "required": true,
- "type": "string"
- },
- {
- "name": "name",
- "in": "path",
- "description": "The name of the schedule.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "default": {
- "description": "BadRequest",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "VirtualMachineSchedules_Execute": {
- "$ref": "./examples/VirtualMachineSchedules_Execute.json"
- }
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts": {
"get": {
"tags": [
- "VirtualNetworks"
+ "BastionHosts"
],
- "description": "List virtual networks in a given lab.",
- "operationId": "VirtualNetworks_List",
+ "description": "List bastionhosts in a given virtual network.",
+ "operationId": "BastionHosts_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -7136,22 +8024,15 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "$expand",
- "in": "query",
- "description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
- "type": "string"
+ "$ref": "#/parameters/virtualNetworkName"
},
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -7175,7 +8056,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/VirtualNetworkList"
+ "$ref": "#/definitions/BastionHostList"
}
},
"default": {
@@ -7188,21 +8069,21 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
- "x-ms-odata": "#/definitions/VirtualNetwork",
+ "x-ms-odata": "#/definitions/BastionHost",
"x-ms-examples": {
- "VirtualNetworks_List": {
- "$ref": "./examples/VirtualNetworks_List.json"
+ "BastionHosts_List": {
+ "$ref": "./examples/BastionHosts_List.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{name}": {
"get": {
"tags": [
- "VirtualNetworks"
+ "BastionHosts"
],
- "description": "Get virtual network.",
- "operationId": "VirtualNetworks_Get",
+ "description": "Get bastionhost.",
+ "operationId": "BastionHosts_Get",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -7211,24 +8092,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
},
{
- "name": "name",
- "in": "path",
- "description": "The name of the virtual network.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/virtualNetworkName"
},
{
- "name": "$expand",
- "in": "query",
- "description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
- "type": "string"
+ "name": "name",
+ "in": "path",
+ "description": "The name of the bastionhost.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
"$ref": "#/parameters/api-version"
@@ -7238,7 +8113,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/VirtualNetwork"
+ "$ref": "#/definitions/BastionHost"
}
},
"default": {
@@ -7249,17 +8124,17 @@
}
},
"x-ms-examples": {
- "VirtualNetworks_Get": {
- "$ref": "./examples/VirtualNetworks_Get.json"
+ "BastionHosts_Get": {
+ "$ref": "./examples/BastionHosts_Get.json"
}
}
},
"put": {
"tags": [
- "VirtualNetworks"
+ "BastionHosts"
],
- "description": "Create or replace an existing virtual network. This operation can take a while to complete.",
- "operationId": "VirtualNetworks_CreateOrUpdate",
+ "description": "Create or replace an existing bastionHost. This operation can take a while to complete.",
+ "operationId": "BastionHosts_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -7268,26 +8143,26 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/virtualNetworkName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the virtual network.",
- "required": true,
- "type": "string"
+ "description": "The name of the bastionhost.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
- "name": "virtualNetwork",
+ "name": "bastionHost",
"in": "body",
- "description": "A virtual network.",
+ "description": "Profile of a Bastion Host",
"required": true,
"schema": {
- "$ref": "#/definitions/VirtualNetwork"
+ "$ref": "#/definitions/BastionHost"
}
},
{
@@ -7298,13 +8173,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/VirtualNetwork"
+ "$ref": "#/definitions/BastionHost"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/VirtualNetwork"
+ "$ref": "#/definitions/BastionHost"
}
},
"default": {
@@ -7315,18 +8190,18 @@
}
},
"x-ms-examples": {
- "VirtualNetworks_CreateOrUpdate": {
- "$ref": "./examples/VirtualNetworks_CreateOrUpdate.json"
+ "BastionHosts_CreateOrUpdate": {
+ "$ref": "./examples/BastionHosts_CreateOrUpdate.json"
}
},
"x-ms-long-running-operation": true
},
"delete": {
"tags": [
- "VirtualNetworks"
+ "BastionHosts"
],
- "description": "Delete virtual network. This operation can take a while to complete.",
- "operationId": "VirtualNetworks_Delete",
+ "description": "Delete bastionhost. This operation can take a while to complete.",
+ "operationId": "BastionHosts_Delete",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -7335,18 +8210,18 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/virtualNetworkName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the virtual network.",
- "required": true,
- "type": "string"
+ "description": "The name of the bastionhost.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
"$ref": "#/parameters/api-version"
@@ -7360,7 +8235,7 @@
"description": "Accepted"
},
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -7370,18 +8245,18 @@
}
},
"x-ms-examples": {
- "VirtualNetworks_Delete": {
- "$ref": "./examples/VirtualNetworks_Delete.json"
+ "BastionHosts_Delete": {
+ "$ref": "./examples/BastionHosts_Delete.json"
}
},
"x-ms-long-running-operation": true
},
"patch": {
"tags": [
- "VirtualNetworks"
+ "BastionHosts"
],
- "description": "Allows modifying tags of virtual networks. All other properties will be ignored.",
- "operationId": "VirtualNetworks_Update",
+ "description": "Allows modifying tags of bastionhosts. All other properties will be ignored.",
+ "operationId": "BastionHosts_Update",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -7390,26 +8265,26 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
+ "$ref": "#/parameters/labName"
+ },
+ {
+ "$ref": "#/parameters/virtualNetworkName"
},
{
"name": "name",
"in": "path",
- "description": "The name of the virtual network.",
- "required": true,
- "type": "string"
+ "description": "The name of the bastionhost.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
},
{
- "name": "virtualNetwork",
+ "name": "bastionHost",
"in": "body",
- "description": "A virtual network.",
+ "description": "Allows modifying tags of bastionhosts. All other properties will be ignored.",
"required": true,
"schema": {
- "$ref": "#/definitions/VirtualNetworkFragment"
+ "$ref": "#/definitions/BastionHostFragment"
}
},
{
@@ -7420,7 +8295,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/VirtualNetwork"
+ "$ref": "#/definitions/BastionHost"
}
},
"default": {
@@ -7431,8 +8306,8 @@
}
},
"x-ms-examples": {
- "VirtualNetworks_Update": {
- "$ref": "./examples/VirtualNetworks_Update.json"
+ "BastionHosts_Update": {
+ "$ref": "./examples/BastionHosts_Update.json"
}
}
}
@@ -7456,7 +8331,8 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -7506,7 +8382,8 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "lab",
@@ -7566,7 +8443,8 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -7580,7 +8458,7 @@
"description": "Accepted"
},
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -7614,12 +8492,13 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "lab",
"in": "body",
- "description": "A lab.",
+ "description": "Allows modifying tags of labs. All other properties will be ignored.",
"required": true,
"schema": {
"$ref": "#/definitions/LabFragment"
@@ -7669,7 +8548,8 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -7716,7 +8596,8 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "labVirtualMachineCreationParameter",
@@ -7753,6 +8634,50 @@
"x-ms-long-running-operation": true
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/ensureCurrentUserProfile": {
+ "post": {
+ "tags": [
+ "Labs"
+ ],
+ "description": "Ensure the current user has a valid profile in the lab.",
+ "operationId": "Labs_EnsureCurrentUserProfile",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the lab.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Labs_EnsureCurrentUserProfile": {
+ "$ref": "./examples/Labs_EnsureCurrentUserProfile.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/exportResourceUsage": {
"post": {
"tags": [
@@ -7772,7 +8697,8 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "exportResourceUsageParameters",
@@ -7828,7 +8754,8 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "generateUploadUriParameter",
@@ -7883,7 +8810,8 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "importLabVirtualMachineRequest",
@@ -7939,7 +8867,8 @@
"in": "path",
"description": "The name of the lab.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -7992,7 +8921,7 @@
{
"name": "$filter",
"in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
+ "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')'",
"type": "string"
},
{
@@ -8056,7 +8985,8 @@
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "$expand",
@@ -8106,7 +9036,8 @@
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "schedule",
@@ -8165,7 +9096,8 @@
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -8176,7 +9108,7 @@
"description": "OK"
},
"204": {
- "description": "No Content"
+ "description": "NoContent"
},
"default": {
"description": "BadRequest",
@@ -8209,12 +9141,13 @@
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "schedule",
"in": "body",
- "description": "A schedule.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"required": true,
"schema": {
"$ref": "#/definitions/ScheduleFragment"
@@ -8264,7 +9197,8 @@
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"$ref": "#/parameters/api-version"
@@ -8311,7 +9245,8 @@
"in": "path",
"description": "The name of the schedule.",
"required": true,
- "type": "string"
+ "type": "string",
+ "x-ms-parameter-location": "method"
},
{
"name": "retargetScheduleProperties",
@@ -8358,7 +9293,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -8366,38 +9301,30 @@
"$ref": "#/definitions/ApplicableScheduleProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
- "ApplicableScheduleFragment": {
- "description": "Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/UpdateResource"
- }
- ],
- "properties": {}
- },
"ApplicableScheduleProperties": {
"description": "Properties of a schedules applicable to a virtual machine.",
"type": "object",
"properties": {
"labVmsShutdown": {
"$ref": "#/definitions/Schedule",
- "description": "The auto-shutdown schedule, if one has been set at the lab or lab resource level."
+ "description": "The auto-shutdown schedule, if one has been set at the lab or lab resource level.",
+ "x-ms-client-flatten": true
},
"labVmsStartup": {
"$ref": "#/definitions/Schedule",
- "description": "The auto-startup schedule, if one has been set at the lab or lab resource level."
+ "description": "The auto-startup schedule, if one has been set at the lab or lab resource level.",
+ "x-ms-client-flatten": true
}
}
},
- "ApplicableSchedulePropertiesFragment": {
- "description": "Properties of a schedules applicable to a virtual machine.",
- "type": "object",
- "properties": {}
- },
"ApplyArtifactsRequest": {
"description": "Request body for applying artifacts to a virtual machine.",
"type": "object",
@@ -8407,7 +9334,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/ArtifactInstallProperties"
- }
+ },
+ "x-ms-identifiers": [
+ "artifactId"
+ ]
}
}
},
@@ -8419,7 +9349,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -8427,6 +9357,11 @@
"$ref": "#/definitions/ArmTemplateProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
@@ -8445,25 +9380,25 @@
}
},
"ArmTemplateList": {
- "description": "The response of a list operation.",
"type": "object",
+ "description": "Contains a list of armTemplates and their properties",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of armTemplates and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/ArmTemplate"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
},
"ArmTemplateParameterProperties": {
- "description": "Properties of an Azure Resource Manager template parameter.",
"type": "object",
+ "description": "Properties of an Azure Resource Manager template parameter.",
"properties": {
"name": {
"description": "The name of the template parameter.",
@@ -8475,14 +9410,9 @@
}
}
},
- "ArmTemplateParameterPropertiesFragment": {
- "description": "Properties of an Azure Resource Manager template parameter.",
- "type": "object",
- "properties": {}
- },
"ArmTemplateProperties": {
- "description": "Properties of an Azure Resource Manager template.",
"type": "object",
+ "description": "Properties of an Azure Resource Manager template.",
"properties": {
"displayName": {
"description": "The display name of the ARM template.",
@@ -8510,10 +9440,10 @@
"readOnly": true
},
"createdDate": {
- "format": "date-time",
"description": "The creation date of the armTemplate.",
"type": "string",
- "readOnly": true
+ "readOnly": true,
+ "format": "date-time"
},
"parametersValueFilesInfo": {
"description": "File name and parameter values information from all azuredeploy.*.parameters.json for the ARM template.",
@@ -8521,7 +9451,10 @@
"items": {
"$ref": "#/definitions/ParametersValueFileInfo"
},
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": [
+ "fileName"
+ ]
},
"enabled": {
"description": "Whether or not ARM template is enabled for use by lab user.",
@@ -8538,7 +9471,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -8546,6 +9479,11 @@
"$ref": "#/definitions/ArtifactProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
@@ -8569,11 +9507,6 @@
}
}
},
- "ArtifactDeploymentStatusPropertiesFragment": {
- "description": "Properties of an artifact deployment.",
- "type": "object",
- "properties": {}
- },
"ArtifactInstallProperties": {
"description": "Properties of an artifact.",
"type": "object",
@@ -8612,24 +9545,19 @@
}
}
},
- "ArtifactInstallPropertiesFragment": {
- "description": "Properties of an artifact.",
- "type": "object",
- "properties": {}
- },
"ArtifactList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of artifacts and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of artifacts and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/Artifact"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -8648,11 +9576,6 @@
}
}
},
- "ArtifactParameterPropertiesFragment": {
- "description": "Properties of an artifact parameter.",
- "type": "object",
- "properties": {}
- },
"ArtifactProperties": {
"description": "Properties of an artifact.",
"type": "object",
@@ -8708,7 +9631,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -8716,11 +9639,16 @@
"$ref": "#/definitions/ArtifactSourceProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"ArtifactSourceFragment": {
- "description": "Properties of an artifact source.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -8730,18 +9658,18 @@
"properties": {}
},
"ArtifactSourceList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of artifactSources and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of artifactSources and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/ArtifactSource"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -8817,14 +9745,9 @@
}
}
},
- "ArtifactSourcePropertiesFragment": {
- "description": "Properties of an artifact source.",
- "type": "object",
- "properties": {}
- },
"AttachDiskProperties": {
- "description": "Properties of the disk to attach.",
"type": "object",
+ "description": "Properties of the disk to attach.",
"properties": {
"leasedByLabVmId": {
"description": "The resource ID of the Lab virtual machine to which the disk is attached.",
@@ -8860,27 +9783,94 @@
}
}
},
- "AttachNewDataDiskOptionsFragment": {
- "description": "Properties to attach new disk to the Virtual Machine.",
+ "BastionHost": {
+ "description": "Profile of a Bastion Host",
"type": "object",
- "properties": {}
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BastionHostProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
+ }
+ }
+ },
+ "BastionHostFragment": {
+ "type": "object",
+ "description": "Patch",
+ "properties": {},
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ]
+ },
+ "BastionHostList": {
+ "description": "Contains a list of bastionHosts and their properties",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of bastionHosts and their properties",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BastionHost"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any",
+ "type": "string"
+ }
+ }
+ },
+ "BastionHostProperties": {
+ "description": "Properties of a BastionHost profile.",
+ "type": "object",
+ "properties": {
+ "externalBastionHostId": {
+ "description": "The ID of the external BastionHost resource that corresponds to this DTL BastionHost",
+ "type": "string",
+ "readOnly": true
+ },
+ "ipAddressId": {
+ "description": "The ID of the PublicIpAddress resource that is created by and paired with this BastionHost",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
},
"BulkCreationParameters": {
- "description": "Parameters for creating multiple virtual machines as a single action.",
"type": "object",
+ "description": "Parameters for creating multiple virtual machines as a single action.",
"properties": {
"instanceCount": {
- "format": "int32",
"description": "The number of virtual machine instances to create.",
- "type": "integer"
+ "type": "integer",
+ "format": "int32"
}
}
},
- "BulkCreationParametersFragment": {
- "description": "Parameters for creating multiple virtual machines as a single action.",
- "type": "object",
- "properties": {}
- },
"CloudError": {
"description": "Error from a REST request.",
"type": "object",
@@ -8941,11 +9931,6 @@
}
}
},
- "ComputeDataDiskFragment": {
- "description": "A data disks attached to a virtual machine.",
- "type": "object",
- "properties": {}
- },
"ComputeVmInstanceViewStatus": {
"description": "Status information about a virtual machine.",
"type": "object",
@@ -8964,11 +9949,6 @@
}
}
},
- "ComputeVmInstanceViewStatusFragment": {
- "description": "Status information about a virtual machine.",
- "type": "object",
- "properties": {}
- },
"ComputeVmProperties": {
"description": "Properties of a virtual machine returned by the Microsoft.Compute API.",
"type": "object",
@@ -9008,14 +9988,36 @@
"type": "array",
"items": {
"$ref": "#/definitions/ComputeDataDisk"
- }
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ }
+ },
+ "Cost": {
+ "type": "object",
+ "description": "A cost item.",
+ "properties": {
+ "properties": {
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/LabCostProperties"
+ },
+ "systemData": {
+ "description": "The system metadata relating to this resource",
+ "readOnly": true,
+ "$ref": "types.json#/definitions/systemData"
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "types.json#/definitions/Resource"
}
- }
- },
- "ComputeVmPropertiesFragment": {
- "description": "Properties of a virtual machine returned by the Microsoft.Compute API.",
- "type": "object",
- "properties": {}
+ ]
},
"CostThresholdProperties": {
"description": "Properties of a cost threshold item.",
@@ -9027,7 +10029,8 @@
},
"percentageThreshold": {
"$ref": "#/definitions/PercentageCostThresholdProperties",
- "description": "The value of the percentage cost threshold."
+ "description": "The value of the percentage cost threshold.",
+ "x-ms-client-flatten": true
},
"displayOnChart": {
"description": "Indicates whether this threshold will be displayed on cost charts.",
@@ -9067,7 +10070,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -9075,11 +10078,16 @@
"$ref": "#/definitions/CustomImageProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"CustomImageFragment": {
- "description": "A custom image.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -9089,18 +10097,18 @@
"properties": {}
},
"CustomImageList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of customImages and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of customImages and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/CustomImage"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -9111,11 +10119,13 @@
"properties": {
"vm": {
"$ref": "#/definitions/CustomImagePropertiesFromVm",
- "description": "The virtual machine from which the image is to be created."
+ "description": "The virtual machine from which the image is to be created.",
+ "x-ms-client-flatten": true
},
"vhd": {
"$ref": "#/definitions/CustomImagePropertiesCustom",
- "description": "The VHD from which the image is to be created."
+ "description": "The VHD from which the image is to be created.",
+ "x-ms-client-flatten": true
},
"description": {
"description": "The description of the custom image.",
@@ -9148,7 +10158,8 @@
},
"customImagePlan": {
"$ref": "#/definitions/CustomImagePropertiesFromPlan",
- "description": "Storage information about the plan related to this custom image"
+ "description": "Storage information about the plan related to this custom image",
+ "x-ms-client-flatten": true
},
"isPlanAuthorized": {
"description": "Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment",
@@ -9196,16 +10207,6 @@
}
}
},
- "CustomImagePropertiesCustomFragment": {
- "description": "Properties for creating a custom image from a VHD.",
- "type": "object",
- "properties": {}
- },
- "CustomImagePropertiesFragment": {
- "description": "Properties of a custom image.",
- "type": "object",
- "properties": {}
- },
"CustomImagePropertiesFromPlan": {
"description": "Properties for plan on a custom image.",
"type": "object",
@@ -9227,7 +10228,20 @@
"CustomImagePropertiesFromPlanFragment": {
"description": "Properties for plan on a custom image.",
"type": "object",
- "properties": {}
+ "properties": {
+ "id": {
+ "description": "The id of the plan, equivalent to name of the plan",
+ "type": "string"
+ },
+ "publisher": {
+ "description": "The publisher for the plan from the marketplace image the custom image is derived from",
+ "type": "string"
+ },
+ "offer": {
+ "description": "The offer for the plan from the marketplace image the custom image is derived from",
+ "type": "string"
+ }
+ }
},
"CustomImagePropertiesFromVm": {
"description": "Properties for creating a custom image from a virtual machine.",
@@ -9239,26 +10253,24 @@
},
"windowsOsInfo": {
"$ref": "#/definitions/WindowsOsInfo",
- "description": "The Windows OS information of the VM."
+ "description": "The Windows OS information of the VM.",
+ "x-ms-client-flatten": true
},
"linuxOsInfo": {
"$ref": "#/definitions/LinuxOsInfo",
- "description": "The Linux OS information of the VM."
+ "description": "The Linux OS information of the VM.",
+ "x-ms-client-flatten": true
}
}
},
- "CustomImagePropertiesFromVmFragment": {
- "description": "Properties for creating a custom image from a virtual machine.",
- "type": "object",
- "properties": {}
- },
"DataDiskProperties": {
"description": "Request body for adding a new or existing data disk to a virtual machine.",
"type": "object",
"properties": {
"attachNewDataDiskOptions": {
"$ref": "#/definitions/AttachNewDataDiskOptions",
- "description": "Specifies options to attach a new disk to the virtual machine."
+ "description": "Specifies options to attach a new disk to the virtual machine.",
+ "x-ms-client-flatten": true
},
"existingLabDiskId": {
"description": "Specifies the existing lab disk id to attach to virtual machine.",
@@ -9279,11 +10291,6 @@
}
}
},
- "DataDiskPropertiesFragment": {
- "description": "Request body for adding a new or existing data disk to a virtual machine.",
- "type": "object",
- "properties": {}
- },
"DataDiskStorageTypeInfo": {
"description": "Storage information about the data disks present in the custom image",
"type": "object",
@@ -9307,11 +10314,6 @@
}
}
},
- "DataDiskStorageTypeInfoFragment": {
- "description": "Storage information about the data disks present in the custom image",
- "type": "object",
- "properties": {}
- },
"DayDetails": {
"description": "Properties of a daily schedule.",
"type": "object",
@@ -9322,11 +10324,6 @@
}
}
},
- "DayDetailsFragment": {
- "description": "Properties of a daily schedule.",
- "type": "object",
- "properties": {}
- },
"DetachDataDiskProperties": {
"description": "Request body for detaching data disk from a virtual machine.",
"type": "object",
@@ -9355,7 +10352,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -9363,11 +10360,16 @@
"$ref": "#/definitions/DiskProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"DiskFragment": {
- "description": "A Disk.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -9377,18 +10379,18 @@
"properties": {}
},
"DiskList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of disks and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of disks and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/Disk"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -9457,11 +10459,6 @@
}
}
},
- "DiskPropertiesFragment": {
- "description": "Properties of a disk.",
- "type": "object",
- "properties": {}
- },
"DtlEnvironment": {
"description": "An environment, which is essentially an ARM template deployment.",
"required": [
@@ -9470,7 +10467,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -9478,33 +10475,60 @@
"$ref": "#/definitions/EnvironmentProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"DtlEnvironmentFragment": {
- "description": "An environment, which is essentially an ARM template deployment.",
"type": "object",
+ "description": "Patch",
+ "properties": {},
"allOf": [
{
"$ref": "#/definitions/UpdateResource"
}
- ],
- "properties": {}
+ ]
},
"DtlEnvironmentList": {
- "description": "The response of a list operation.",
"type": "object",
+ "description": "Contains a list of environments and their properties",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of environments and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/DtlEnvironment"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
+ "type": "string"
+ }
+ }
+ },
+ "Encryption": {
+ "description": "Encryption settings",
+ "type": "object",
+ "properties": {
+ "diskEncryptionSetId": {
+ "description": "Gets or sets resourceId of the disk encryption set to use for enabling encryption at rest.",
"type": "string"
+ },
+ "type": {
+ "description": "Gets or sets the type of key used to encrypt the data of the disk. Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey'",
+ "enum": [
+ "EncryptionAtRestWithPlatformKey",
+ "EncryptionAtRestWithCustomerKey"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EncryptionType",
+ "modelAsString": true
+ }
}
}
},
@@ -9525,18 +10549,14 @@
}
}
},
- "EnvironmentDeploymentPropertiesFragment": {
- "description": "Properties of an environment deployment.",
- "type": "object",
- "properties": {}
- },
"EnvironmentProperties": {
"description": "Properties of an environment.",
"type": "object",
"properties": {
"deploymentProperties": {
"$ref": "#/definitions/EnvironmentDeploymentProperties",
- "description": "The deployment properties of the environment."
+ "description": "The deployment properties of the environment.",
+ "x-ms-client-flatten": true
},
"armTemplateDisplayName": {
"description": "The display name of the Azure Resource Manager template that produced the environment.",
@@ -9564,11 +10584,6 @@
}
}
},
- "EnvironmentPropertiesFragment": {
- "description": "Properties of an environment.",
- "type": "object",
- "properties": {}
- },
"EvaluatePoliciesProperties": {
"description": "Properties for evaluating a policy set.",
"type": "object",
@@ -9635,11 +10650,6 @@
}
}
},
- "EventFragment": {
- "description": "An event to be notified for.",
- "type": "object",
- "properties": {}
- },
"ExportResourceUsageParameters": {
"description": "The parameters of the export operation.",
"type": "object",
@@ -9669,11 +10679,6 @@
}
}
},
- "ExternalSubnetFragment": {
- "description": "Subnet information as returned by the Microsoft.Network API.",
- "type": "object",
- "properties": {}
- },
"Formula": {
"description": "A formula for creating a VM, specifying an image base and other parameters",
"required": [
@@ -9682,7 +10687,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -9690,11 +10695,16 @@
"$ref": "#/definitions/FormulaProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"FormulaFragment": {
- "description": "A formula for creating a VM, specifying an image base and other parameters",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -9704,18 +10714,18 @@
"properties": {}
},
"FormulaList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of formulas and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of formulas and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/Formula"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -9745,11 +10755,13 @@
},
"formulaContent": {
"$ref": "#/definitions/LabVirtualMachineCreationParameter",
- "description": "The content of the formula."
+ "description": "The content of the formula.",
+ "x-ms-client-flatten": true
},
"vm": {
"$ref": "#/definitions/FormulaPropertiesFromVm",
- "description": "Information about a VM from which a formula is to be created."
+ "description": "Information about a VM from which a formula is to be created.",
+ "x-ms-client-flatten": true
},
"provisioningState": {
"description": "The provisioning status of the resource.",
@@ -9763,11 +10775,6 @@
}
}
},
- "FormulaPropertiesFragment": {
- "description": "Properties of a formula.",
- "type": "object",
- "properties": {}
- },
"FormulaPropertiesFromVm": {
"description": "Information about a VM from which a formula is to be created.",
"type": "object",
@@ -9778,11 +10785,6 @@
}
}
},
- "FormulaPropertiesFromVmFragment": {
- "description": "Information about a VM from which a formula is to be created.",
- "type": "object",
- "properties": {}
- },
"GalleryImage": {
"description": "A gallery image.",
"required": [
@@ -9791,7 +10793,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -9799,22 +10801,27 @@
"$ref": "#/definitions/GalleryImageProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"GalleryImageList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of galleryImages and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of galleryImages and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/GalleryImage"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -9839,7 +10846,8 @@
},
"imageReference": {
"$ref": "#/definitions/GalleryImageReference",
- "description": "The image reference of the gallery image."
+ "description": "The image reference of the gallery image.",
+ "x-ms-client-flatten": true
},
"icon": {
"description": "The icon of the gallery image.",
@@ -9885,11 +10893,6 @@
}
}
},
- "GalleryImageReferenceFragment": {
- "description": "The reference information for an Azure Marketplace image.",
- "type": "object",
- "properties": {}
- },
"GenerateArmTemplateRequest": {
"description": "Parameters for generating an ARM template for deploying artifacts.",
"type": "object",
@@ -9954,17 +10957,12 @@
}
}
},
- "HourDetailsFragment": {
- "description": "Properties of an hourly schedule.",
- "type": "object",
- "properties": {}
- },
"IdentityProperties": {
"description": "Properties of a managed identity",
"type": "object",
"properties": {
"type": {
- "description": "Managed identity.",
+ "description": "Type of identity (SystemAssigned, UserAssigned, None)",
"enum": [
"None",
"SystemAssigned",
@@ -9988,6 +10986,23 @@
"clientSecretUrl": {
"description": "The client secret URL of the identity.",
"type": "string"
+ },
+ "userAssignedIdentities": {
+ "description": "If Type is 'UserAssigned': List of user assigned identities.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ }
+ },
+ "ImageVersionProperties": {
+ "type": "object",
+ "description": "Properties for a shared image version.",
+ "properties": {
+ "name": {
+ "description": "Image version name",
+ "type": "string"
}
}
},
@@ -10033,17 +11048,12 @@
}
}
},
- "InboundNatRuleFragment": {
- "description": "A rule for NAT - exposing a VM's port (backendPort) on the public IP address using a load balancer.",
- "type": "object",
- "properties": {}
- },
"Lab": {
"description": "A lab.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -10051,6 +11061,16 @@
"$ref": "#/definitions/LabProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "identity": {
+ "description": "The identity of the resource.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IdentityProperties"
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
@@ -10099,20 +11119,12 @@
}
}
},
- "LabAnnouncementPropertiesFragment": {
- "description": "Properties of a lab's announcement banner",
- "type": "object",
- "properties": {}
- },
"LabCost": {
"description": "A cost item.",
- "required": [
- "properties"
- ],
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -10120,6 +11132,11 @@
"$ref": "#/definitions/LabCostProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
@@ -10152,17 +11169,36 @@
}
}
},
+ "LabCostList": {
+ "description": "Contains a list of costs and their properties",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of costs and their properties",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LabCost"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any",
+ "type": "string"
+ }
+ }
+ },
"LabCostProperties": {
"description": "Properties of a cost item.",
"type": "object",
"properties": {
"targetCost": {
"$ref": "#/definitions/TargetCostProperties",
- "description": "The target cost properties"
+ "description": "The target cost properties",
+ "x-ms-client-flatten": true
},
"labCostSummary": {
"$ref": "#/definitions/LabCostSummaryProperties",
"description": "The lab cost summary component of the cost data.",
+ "x-ms-client-flatten": true,
"readOnly": true
},
"labCostDetails": {
@@ -10224,7 +11260,7 @@
}
},
"LabFragment": {
- "description": "A lab.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -10234,18 +11270,18 @@
"properties": {}
},
"LabList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of labs and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of labs and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/Lab"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -10339,14 +11375,16 @@
},
"announcement": {
"$ref": "#/definitions/LabAnnouncementProperties",
- "description": "The properties of any lab announcement associated with this lab"
+ "description": "The properties of any lab announcement associated with this lab",
+ "x-ms-client-flatten": true
},
"support": {
"$ref": "#/definitions/LabSupportProperties",
- "description": "The properties of any lab support message associated with this lab"
+ "description": "The properties of any lab support message associated with this lab",
+ "x-ms-client-flatten": true
},
"vmCreationResourceGroup": {
- "description": "The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.",
+ "description": "The resource group ID in which all new lab virtual machines will be created. Ex: /subscriptions/subId/resourceGroups/rgName To let DevTest Labs manage resource group creation, set this value to null.",
"type": "string",
"readOnly": true
},
@@ -10372,6 +11410,50 @@
"type": "string"
}
},
+ "browserConnect": {
+ "description": "Is browser connect enabled for the lab",
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "EnableStatus",
+ "modelAsString": true
+ }
+ },
+ "disableAutoUpgradeCseMinorVersion": {
+ "description": "Is auto upgrade of CSE disabled for the lab?",
+ "type": "boolean"
+ },
+ "managementIdentities": {
+ "description": "List of identities which can be used for management of resources.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "isolateLabResources": {
+ "description": "Indicates whether to create Lab resources (e.g. Storage accounts and Key Vaults) in network isolation.",
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "EnableStatus",
+ "modelAsString": true
+ }
+ },
+ "encryption": {
+ "description": "Mechanism used for encryption of resources in a lab (such as virtual machines).",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/Encryption"
+ },
+ "defaultSecretName": {
+ "description": "Default secret for creating virtual machines.",
+ "type": "string"
+ },
"provisioningState": {
"description": "The provisioning status of the resource.",
"type": "string",
@@ -10384,51 +11466,142 @@
}
}
},
- "LabPropertiesFragment": {
- "description": "Properties of a lab.",
+ "LabResourceCostProperties": {
+ "description": "The properties of a resource cost item.",
+ "type": "object",
+ "properties": {
+ "resourcename": {
+ "description": "The name of the resource.",
+ "type": "string"
+ },
+ "resourceUId": {
+ "description": "The unique identifier of the resource.",
+ "type": "string"
+ },
+ "resourceCost": {
+ "format": "double",
+ "description": "The cost component of the resource cost item.",
+ "type": "number"
+ },
+ "resourceType": {
+ "description": "The logical resource type (ex. virtualmachine, storageaccount)",
+ "type": "string"
+ },
+ "resourceOwner": {
+ "description": "The owner of the resource (ex. janedoe@microsoft.com)",
+ "type": "string"
+ },
+ "resourcePricingTier": {
+ "description": "The category of the resource (ex. Premium_LRS, Standard_DS1)",
+ "type": "string"
+ },
+ "resourceStatus": {
+ "description": "The status of the resource (ex. Active)",
+ "type": "string"
+ },
+ "resourceId": {
+ "description": "The ID of the resource",
+ "type": "string"
+ },
+ "externalResourceId": {
+ "description": "The ID of the external resource",
+ "type": "string"
+ }
+ }
+ },
+ "LabSecret": {
+ "description": "A shared secret in a lab.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/LabSecretProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
+ }
+ }
+ },
+ "LabSecretFragment": {
+ "description": "Patch",
"type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
"properties": {}
},
- "LabResourceCostProperties": {
- "description": "The properties of a resource cost item.",
+ "LabSecretList": {
+ "description": "Contains a list of secrets and their properties",
"type": "object",
"properties": {
- "resourcename": {
- "description": "The name of the resource.",
- "type": "string"
+ "value": {
+ "description": "List of secrets and their properties",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LabSecret"
+ }
},
- "resourceUId": {
- "description": "The unique identifier of the resource.",
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
+ }
+ }
+ },
+ "LabSecretProperties": {
+ "description": "The properties of labs secrets",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value of the secret for secret creation.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ],
+ "x-ms-secret": true
},
- "resourceCost": {
- "format": "double",
- "description": "The cost component of the resource cost item.",
- "type": "number"
- },
- "resourceType": {
- "description": "The logical resource type (ex. virtualmachine, storageaccount)",
- "type": "string"
+ "keyVaultEntry": {
+ "description": "The name of the entry in the lab KeyVault.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "readOnly": true
},
- "resourceOwner": {
- "description": "The owner of the resource (ex. janedoe@microsoft.com)",
- "type": "string"
+ "enabledForArtifacts": {
+ "description": "Is the secret enabled for use with artifacts?",
+ "type": "boolean"
},
- "resourcePricingTier": {
- "description": "The category of the resource (ex. Premium_LRS, Standard_DS1)",
- "type": "string"
+ "enabledForVmCreation": {
+ "description": "Is the secret enabled for use with creation of VMs?",
+ "type": "boolean"
},
- "resourceStatus": {
- "description": "The status of the resource (ex. Active)",
- "type": "string"
+ "enabledForArmEnvironments": {
+ "description": "Is the secret enabled for use with ARM environments?",
+ "type": "boolean"
},
- "resourceId": {
- "description": "The ID of the resource",
- "type": "string"
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
},
- "externalResourceId": {
- "description": "The ID of the external resource",
- "type": "string"
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
}
}
},
@@ -10454,11 +11627,6 @@
}
}
},
- "LabSupportPropertiesFragment": {
- "description": "Properties of a lab's support banner",
- "type": "object",
- "properties": {}
- },
"LabVhd": {
"description": "Properties of a VHD in the lab.",
"type": "object",
@@ -10470,31 +11638,28 @@
}
},
"LabVhdList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of Lab Vhd and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of Lab Vhd and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/LabVhd"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
},
"LabVirtualMachine": {
"description": "A virtual machine.",
- "required": [
- "properties"
- ],
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -10502,6 +11667,11 @@
"$ref": "#/definitions/LabVirtualMachineProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
@@ -10531,18 +11701,14 @@
}
}
},
- "LabVirtualMachineCreationParameterFragment": {
- "description": "Properties for creating a virtual machine.",
- "type": "object",
- "properties": {}
- },
"LabVirtualMachineCreationParameterProperties": {
"description": "Properties for virtual machine creation.",
"type": "object",
"properties": {
"bulkCreationParameters": {
"$ref": "#/definitions/BulkCreationParameters",
- "description": "The number of virtual machine instances to create."
+ "description": "The number of virtual machine instances to create.",
+ "x-ms-client-flatten": true
},
"notes": {
"description": "The notes of the virtual machine.",
@@ -10557,15 +11723,47 @@
"description": "The user principal name of the virtual machine owner.",
"type": "string"
},
+ "createdByUserId": {
+ "description": "The object identifier of the creator of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdByUser": {
+ "description": "The email address of creator of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
"createdDate": {
"format": "date-time",
"description": "The creation date of the virtual machine.",
"type": "string"
},
+ "computeId": {
+ "description": "The resource identifier (Microsoft.Compute) of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
"customImageId": {
"description": "The custom image identifier of the virtual machine.",
"type": "string"
},
+ "galleryImageVersionId": {
+ "description": "The shared gallery image version resource identifier of the virtual machine.",
+ "type": "string"
+ },
+ "sharedImageId": {
+ "description": "The shared image resource identifier of the virtual machine.",
+ "type": "string"
+ },
+ "sharedImageVersion": {
+ "description": "The shared image version for the specified shared image Id. Will use latest if not specified.",
+ "type": "string"
+ },
+ "osType": {
+ "description": "The OS type of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
"size": {
"description": "The size of the virtual machine.",
"type": "string"
@@ -10577,17 +11775,30 @@
"password": {
"description": "The password of the virtual machine administrator.",
"type": "string",
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ],
"x-ms-secret": true
},
"sshKey": {
"description": "The SSH key of the virtual machine administrator.",
"type": "string",
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ],
"x-ms-secret": true
},
"isAuthenticationWithSshKey": {
"description": "Indicates whether this virtual machine uses an SSH key for authentication.",
"type": "boolean"
},
+ "fqdn": {
+ "description": "The fully-qualified domain name of the virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
"labSubnetName": {
"description": "The lab subnet name of the virtual machine.",
"type": "string"
@@ -10606,19 +11817,47 @@
"type": "array",
"items": {
"$ref": "#/definitions/ArtifactInstallProperties"
- }
+ },
+ "x-ms-identifiers": [
+ "artifactId"
+ ]
+ },
+ "artifactDeploymentStatus": {
+ "$ref": "#/definitions/ArtifactDeploymentStatusProperties",
+ "description": "The artifact deployment status for the virtual machine.",
+ "x-ms-client-flatten": true,
+ "readOnly": true
},
"galleryImageReference": {
"$ref": "#/definitions/GalleryImageReference",
- "description": "The Microsoft Azure Marketplace image reference of the virtual machine."
+ "description": "The Microsoft Azure Marketplace image reference of the virtual machine.",
+ "x-ms-client-flatten": true
},
"planId": {
"description": "The id of the plan associated with the virtual machine image",
"type": "string"
},
+ "osDiskSizeGb": {
+ "format": "int32",
+ "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.",
+ "type": "integer"
+ },
+ "computeVm": {
+ "$ref": "#/definitions/ComputeVmProperties",
+ "description": "The compute virtual machine properties.",
+ "x-ms-client-flatten": true,
+ "readOnly": true
+ },
"networkInterface": {
"$ref": "#/definitions/NetworkInterfaceProperties",
- "description": "The network interface properties."
+ "description": "The network interface properties.",
+ "x-ms-client-flatten": true
+ },
+ "applicableSchedule": {
+ "$ref": "#/definitions/ApplicableSchedule",
+ "description": "The applicable schedule for the virtual machine.",
+ "x-ms-client-flatten": true,
+ "readOnly": true
},
"expirationDate": {
"format": "date-time",
@@ -10631,9 +11870,32 @@
"type": "boolean"
},
"storageType": {
- "description": "Storage type to use for virtual machine (i.e. Standard, Premium).",
- "default": "labStorageType",
- "type": "string"
+ "description": "Storage type to use for virtual machine (i.e. Standard, Premium, StandardSSD).",
+ "default": "Standard",
+ "type": "string",
+ "enum": [
+ "Standard",
+ "Premium",
+ "StandardSSD"
+ ],
+ "x-ms-enum": {
+ "name": "StorageType",
+ "modelAsString": true
+ }
+ },
+ "virtualMachineCreationSource": {
+ "description": "Tells source of creation of lab virtual machine. Output property only.",
+ "enum": [
+ "FromCustomImage",
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "VirtualMachineCreationSource",
+ "modelAsString": true
+ }
},
"environmentId": {
"description": "The resource ID of the environment that contains this virtual machine, if any.",
@@ -10652,16 +11914,31 @@
"items": {
"$ref": "#/definitions/ScheduleCreationParameter"
}
+ },
+ "lastKnownPowerState": {
+ "description": "Last known compute power state captured in DTL",
+ "type": "string",
+ "readOnly": true
+ },
+ "canApplyArtifacts": {
+ "description": "Flag to determine if apply artifacts can be triggered at the time of fetching the document.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
}
}
},
- "LabVirtualMachineCreationParameterPropertiesFragment": {
- "description": "Properties for virtual machine creation.",
- "type": "object",
- "properties": {}
- },
"LabVirtualMachineFragment": {
- "description": "A virtual machine.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -10671,18 +11948,18 @@
"properties": {}
},
"LabVirtualMachineList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of virtualMachines and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of virtualMachines and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/LabVirtualMachine"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -10728,6 +12005,18 @@
"description": "The custom image identifier of the virtual machine.",
"type": "string"
},
+ "galleryImageVersionId": {
+ "description": "The shared gallery image version resource identifier of the virtual machine.",
+ "type": "string"
+ },
+ "sharedImageId": {
+ "description": "The shared image resource identifier of the virtual machine.",
+ "type": "string"
+ },
+ "sharedImageVersion": {
+ "description": "The shared image version for the specified shared image Id. Will use latest if not specified.",
+ "type": "string"
+ },
"osType": {
"description": "The OS type of the virtual machine.",
"type": "string",
@@ -10744,11 +12033,19 @@
"password": {
"description": "The password of the virtual machine administrator.",
"type": "string",
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ],
"x-ms-secret": true
},
"sshKey": {
"description": "The SSH key of the virtual machine administrator.",
"type": "string",
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ],
"x-ms-secret": true
},
"isAuthenticationWithSshKey": {
@@ -10778,33 +12075,46 @@
"type": "array",
"items": {
"$ref": "#/definitions/ArtifactInstallProperties"
- }
+ },
+ "x-ms-identifiers": [
+ "artifactId"
+ ]
},
"artifactDeploymentStatus": {
"$ref": "#/definitions/ArtifactDeploymentStatusProperties",
"description": "The artifact deployment status for the virtual machine.",
+ "x-ms-client-flatten": true,
"readOnly": true
},
"galleryImageReference": {
"$ref": "#/definitions/GalleryImageReference",
- "description": "The Microsoft Azure Marketplace image reference of the virtual machine."
+ "description": "The Microsoft Azure Marketplace image reference of the virtual machine.",
+ "x-ms-client-flatten": true
},
"planId": {
"description": "The id of the plan associated with the virtual machine image",
"type": "string"
},
+ "osDiskSizeGb": {
+ "format": "int32",
+ "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.",
+ "type": "integer"
+ },
"computeVm": {
"$ref": "#/definitions/ComputeVmProperties",
"description": "The compute virtual machine properties.",
+ "x-ms-client-flatten": true,
"readOnly": true
},
"networkInterface": {
"$ref": "#/definitions/NetworkInterfaceProperties",
- "description": "The network interface properties."
+ "description": "The network interface properties.",
+ "x-ms-client-flatten": true
},
"applicableSchedule": {
"$ref": "#/definitions/ApplicableSchedule",
"description": "The applicable schedule for the virtual machine.",
+ "x-ms-client-flatten": true,
"readOnly": true
},
"expirationDate": {
@@ -10818,9 +12128,18 @@
"type": "boolean"
},
"storageType": {
- "description": "Storage type to use for virtual machine (i.e. Standard, Premium).",
- "default": "labStorageType",
- "type": "string"
+ "description": "Storage type to use for virtual machine (i.e. Standard, Premium, StandardSSD).",
+ "default": "Standard",
+ "enum": [
+ "Standard",
+ "Premium",
+ "StandardSSD"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageTypes",
+ "modelAsString": true
+ }
},
"virtualMachineCreationSource": {
"description": "Tells source of creation of lab virtual machine. Output property only.",
@@ -10859,6 +12178,11 @@
"type": "string",
"readOnly": true
},
+ "canApplyArtifacts": {
+ "description": "Flag to determine if apply artifacts can be triggered at the time of fetching the document.",
+ "type": "boolean",
+ "readOnly": true
+ },
"provisioningState": {
"description": "The provisioning status of the resource.",
"type": "string",
@@ -10871,11 +12195,6 @@
}
}
},
- "LabVirtualMachinePropertiesFragment": {
- "description": "Properties of a virtual machine.",
- "type": "object",
- "properties": {}
- },
"LinuxOsInfo": {
"description": "Information about a Linux OS.",
"type": "object",
@@ -10895,11 +12214,6 @@
}
}
},
- "LinuxOsInfoFragment": {
- "description": "Information about a Linux OS.",
- "type": "object",
- "properties": {}
- },
"NetworkInterfaceProperties": {
"description": "Properties of a network interface.",
"type": "object",
@@ -10938,24 +12252,17 @@
},
"sharedPublicIpAddressConfiguration": {
"$ref": "#/definitions/SharedPublicIpAddressConfiguration",
- "description": "The configuration for sharing a public IP address across multiple virtual machines."
+ "description": "The configuration for sharing a public IP address across multiple virtual machines.",
+ "x-ms-client-flatten": true
}
}
},
- "NetworkInterfacePropertiesFragment": {
- "description": "Properties of a network interface.",
- "type": "object",
- "properties": {}
- },
"NotificationChannel": {
"description": "A notification.",
- "required": [
- "properties"
- ],
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -10963,11 +12270,16 @@
"$ref": "#/definitions/NotificationChannelProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"NotificationChannelFragment": {
- "description": "A notification.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -10977,18 +12289,18 @@
"properties": {}
},
"NotificationChannelList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of notificationChannels and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of notificationChannels and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/NotificationChannel"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -11038,11 +12350,6 @@
}
}
},
- "NotificationChannelPropertiesFragment": {
- "description": "Properties of a schedule.",
- "type": "object",
- "properties": {}
- },
"NotificationSettings": {
"description": "Notification settings for a schedule.",
"type": "object",
@@ -11079,11 +12386,6 @@
}
}
},
- "NotificationSettingsFragment": {
- "description": "Notification settings for a schedule.",
- "type": "object",
- "properties": {}
- },
"NotifyParameters": {
"description": "Properties for generating a Notification.",
"type": "object",
@@ -11169,6 +12471,8 @@
"enum": [
"Continue",
"SwitchingProtocols",
+ "Processing",
+ "EarlyHints",
"OK",
"Created",
"Accepted",
@@ -11176,6 +12480,9 @@
"NoContent",
"ResetContent",
"PartialContent",
+ "MultiStatus",
+ "AlreadyReported",
+ "IMUsed",
"MultipleChoices",
"Ambiguous",
"MovedPermanently",
@@ -11189,6 +12496,7 @@
"Unused",
"TemporaryRedirect",
"RedirectKeepVerb",
+ "PermanentRedirect",
"BadRequest",
"Unauthorized",
"PaymentRequired",
@@ -11207,13 +12515,26 @@
"UnsupportedMediaType",
"RequestedRangeNotSatisfiable",
"ExpectationFailed",
+ "MisdirectedRequest",
+ "UnprocessableEntity",
+ "Locked",
+ "FailedDependency",
"UpgradeRequired",
+ "PreconditionRequired",
+ "TooManyRequests",
+ "RequestHeaderFieldsTooLarge",
+ "UnavailableForLegalReasons",
"InternalServerError",
"NotImplemented",
"BadGateway",
"ServiceUnavailable",
"GatewayTimeout",
- "HttpVersionNotSupported"
+ "HttpVersionNotSupported",
+ "VariantAlsoNegotiates",
+ "InsufficientStorage",
+ "LoopDetected",
+ "NotExtended",
+ "NetworkAuthenticationRequired"
],
"type": "string",
"x-ms-enum": {
@@ -11223,7 +12544,8 @@
},
"error": {
"$ref": "#/definitions/OperationError",
- "description": "Error details for the operation in case of a failure."
+ "description": "Error details for the operation in case of a failure.",
+ "x-ms-client-flatten": true
}
}
},
@@ -11268,13 +12590,10 @@
},
"Policy": {
"description": "A Policy.",
- "required": [
- "properties"
- ],
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -11282,11 +12601,16 @@
"$ref": "#/definitions/PolicyProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"PolicyFragment": {
- "description": "A Policy.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -11296,18 +12620,18 @@
"properties": {}
},
"PolicyList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of policies and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of policies and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/Policy"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -11390,14 +12714,64 @@
}
}
},
- "PolicyPropertiesFragment": {
- "description": "Properties of a Policy.",
- "type": "object",
- "properties": {}
- },
+ "PolicySet": {
+ "type": "object",
+ "description": "A PolicySet.",
+ "properties": {
+ "properties": {
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PolicySetProperties"
+ },
+ "systemData": {
+ "description": "The system metadata relating to this resource",
+ "readOnly": true,
+ "$ref": "types.json#/definitions/systemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "types.json#/definitions/Resource"
+ }
+ ]
+ },
+ "PolicySetList": {
+ "type": "object",
+ "description": "Contains a list of policySets and their properties",
+ "properties": {
+ "value": {
+ "description": "List of policySets and their properties",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicySet"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any",
+ "type": "string"
+ }
+ }
+ },
+ "PolicySetProperties": {
+ "type": "object",
+ "description": "Properties of a PolicySet.",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"PolicySetResult": {
- "description": "Result of a policy set evaluation.",
"type": "object",
+ "description": "Result of a policy set evaluation.",
"properties": {
"hasError": {
"description": "A value indicating whether this policy set evaluation has discovered violations.",
@@ -11413,8 +12787,8 @@
}
},
"PolicyViolation": {
- "description": "Policy violation.",
"type": "object",
+ "description": "Policy violation.",
"properties": {
"code": {
"description": "The code of the policy violation.",
@@ -11427,33 +12801,28 @@
}
},
"Port": {
- "description": "Properties of a network port.",
"type": "object",
+ "description": "Properties of a network port.",
"properties": {
"transportProtocol": {
"description": "Protocol type of the port.",
+ "type": "string",
"enum": [
"Tcp",
"Udp"
],
- "type": "string",
"x-ms-enum": {
"name": "TransportProtocol",
"modelAsString": true
}
},
"backendPort": {
- "format": "int32",
"description": "Backend port of the target virtual machine.",
- "type": "integer"
+ "type": "integer",
+ "format": "int32"
}
}
},
- "PortFragment": {
- "description": "Properties of a network port.",
- "type": "object",
- "properties": {}
- },
"ProviderOperationResult": {
"description": "Result of the request to list REST API operations",
"type": "object",
@@ -11473,8 +12842,8 @@
}
},
"RdpConnection": {
- "description": "Represents a .rdp file",
"type": "object",
+ "description": "Represents a .rdp file",
"properties": {
"contents": {
"description": "The contents of the .rdp file",
@@ -11483,8 +12852,8 @@
}
},
"ResizeLabVirtualMachineProperties": {
- "description": "Request body for resizing a virtual machine.",
"type": "object",
+ "description": "Request body for resizing a virtual machine.",
"properties": {
"size": {
"description": "Specifies the size of the virtual machine.",
@@ -11492,42 +12861,9 @@
}
}
},
- "Resource": {
- "description": "An Azure resource.",
- "type": "object",
- "properties": {
- "id": {
- "description": "The identifier of the resource.",
- "type": "string",
- "readOnly": true
- },
- "name": {
- "description": "The name of the resource.",
- "type": "string",
- "readOnly": true
- },
- "type": {
- "description": "The type of the resource.",
- "type": "string",
- "readOnly": true
- },
- "location": {
- "description": "The location of the resource.",
- "type": "string"
- },
- "tags": {
- "description": "The tags of the resource.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- },
- "x-ms-azure-resource": true
- },
"RetargetScheduleProperties": {
- "description": "Properties for retargeting a virtual machine schedule.",
"type": "object",
+ "description": "Properties for retargeting a virtual machine schedule.",
"properties": {
"currentResourceId": {
"description": "The resource Id of the virtual machine on which the schedule operates",
@@ -11540,32 +12876,34 @@
}
},
"Schedule": {
- "description": "A schedule.",
- "required": [
- "properties"
- ],
"type": "object",
+ "description": "A schedule.",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
"properties": {
- "$ref": "#/definitions/ScheduleProperties",
"description": "The properties of the resource.",
- "x-ms-client-flatten": true
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ScheduleProperties"
+ },
+ "systemData": {
+ "description": "The system metadata relating to this resource",
+ "readOnly": true,
+ "$ref": "types.json#/definitions/systemData"
}
}
},
"ScheduleCreationParameter": {
- "description": "Properties for creating a schedule.",
"type": "object",
+ "description": "Properties for creating a schedule.",
"properties": {
"properties": {
- "$ref": "#/definitions/ScheduleCreationParameterProperties",
"description": "The properties of the schedule.",
- "x-ms-client-flatten": true
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ScheduleCreationParameterProperties"
},
"name": {
"description": "The name of the virtual machine or environment",
@@ -11585,23 +12923,18 @@
}
}
},
- "ScheduleCreationParameterFragment": {
- "description": "Properties for creating a schedule.",
- "type": "object",
- "properties": {}
- },
"ScheduleCreationParameterProperties": {
"description": "Properties for schedule creation.",
"type": "object",
"properties": {
"status": {
"description": "The status of the schedule (i.e. Enabled, Disabled)",
+ "type": "string",
"default": "Disabled",
"enum": [
"Enabled",
"Disabled"
],
- "type": "string",
"x-ms-enum": {
"name": "EnableStatus",
"modelAsString": true
@@ -11612,16 +12945,19 @@
"type": "string"
},
"weeklyRecurrence": {
- "$ref": "#/definitions/WeekDetails",
- "description": "If the schedule will occur only some days of the week, specify the weekly recurrence."
+ "description": "If the schedule will occur only some days of the week, specify the weekly recurrence.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/WeekDetails"
},
"dailyRecurrence": {
- "$ref": "#/definitions/DayDetails",
- "description": "If the schedule will occur once each day of the week, specify the daily recurrence."
+ "description": "If the schedule will occur once each day of the week, specify the daily recurrence.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DayDetails"
},
"hourlyRecurrence": {
- "$ref": "#/definitions/HourDetails",
- "description": "If the schedule will occur multiple times a day, specify the hourly recurrence."
+ "description": "If the schedule will occur multiple times a day, specify the hourly recurrence.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/HourDetails"
},
"timeZoneId": {
"description": "The time zone ID (e.g. Pacific Standard time).",
@@ -11629,21 +12965,33 @@
},
"notificationSettings": {
"$ref": "#/definitions/NotificationSettings",
- "description": "Notification settings."
+ "description": "Notification settings.",
+ "x-ms-client-flatten": true
+ },
+ "createdDate": {
+ "format": "date-time",
+ "description": "The creation date of the schedule.",
+ "type": "string",
+ "readOnly": true
},
"targetResourceId": {
"description": "The resource ID to which the schedule belongs",
"type": "string"
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
}
}
},
- "ScheduleCreationParameterPropertiesFragment": {
- "description": "Properties for schedule creation.",
- "type": "object",
- "properties": {}
- },
"ScheduleFragment": {
- "description": "A schedule.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -11653,18 +13001,18 @@
"properties": {}
},
"ScheduleList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of schedules and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of schedules and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/Schedule"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -11692,15 +13040,18 @@
},
"weeklyRecurrence": {
"$ref": "#/definitions/WeekDetails",
- "description": "If the schedule will occur only some days of the week, specify the weekly recurrence."
+ "description": "If the schedule will occur only some days of the week, specify the weekly recurrence.",
+ "x-ms-client-flatten": true
},
"dailyRecurrence": {
"$ref": "#/definitions/DayDetails",
- "description": "If the schedule will occur once each day of the week, specify the daily recurrence."
+ "description": "If the schedule will occur once each day of the week, specify the daily recurrence.",
+ "x-ms-client-flatten": true
},
"hourlyRecurrence": {
"$ref": "#/definitions/HourDetails",
- "description": "If the schedule will occur multiple times a day, specify the hourly recurrence."
+ "description": "If the schedule will occur multiple times a day, specify the hourly recurrence.",
+ "x-ms-client-flatten": true
},
"timeZoneId": {
"description": "The time zone ID (e.g. Pacific Standard time).",
@@ -11708,7 +13059,8 @@
},
"notificationSettings": {
"$ref": "#/definitions/NotificationSettings",
- "description": "Notification settings."
+ "description": "Notification settings.",
+ "x-ms-client-flatten": true
},
"createdDate": {
"format": "date-time",
@@ -11732,20 +13084,12 @@
}
}
},
- "SchedulePropertiesFragment": {
- "description": "Properties of a schedule.",
- "type": "object",
- "properties": {}
- },
"Secret": {
"description": "A secret.",
- "required": [
- "properties"
- ],
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -11753,11 +13097,16 @@
"$ref": "#/definitions/SecretProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"SecretFragment": {
- "description": "A secret.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -11767,28 +13116,169 @@
"properties": {}
},
"SecretList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of secrets and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of secrets and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/Secret"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
+ "type": "string"
+ }
+ }
+ },
+ "SecretProperties": {
+ "description": "Properties of a secret.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value of the secret for secret creation.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServiceFabric": {
+ "description": "A Service Fabric.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ServiceFabricProperties",
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
+ }
+ }
+ },
+ "ServiceFabricFragment": {
+ "description": "Patch",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "properties": {}
+ },
+ "ServiceFabricList": {
+ "description": "Contains a list of serviceFabrics and their properties",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of serviceFabrics and their properties",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceFabric"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any",
+ "type": "string"
+ }
+ }
+ },
+ "ServiceFabricProperties": {
+ "description": "Properties of a service fabric.",
+ "type": "object",
+ "properties": {
+ "externalServiceFabricId": {
+ "description": "The backing service fabric resource's id",
+ "type": "string"
+ },
+ "environmentId": {
+ "description": "The resource id of the environment under which the service fabric resource is present",
+ "type": "string"
+ },
+ "applicableSchedule": {
+ "$ref": "#/definitions/ApplicableSchedule",
+ "description": "The applicable schedule for the virtual machine.",
+ "x-ms-client-flatten": true,
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServiceRunner": {
+ "description": "A container for a managed identity to execute DevTest lab services.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ServiceRunnerProperties"
+ },
+ "identity": {
+ "description": "The identity of the resource.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IdentityProperties"
+ },
+ "systemData": {
+ "description": "The system metadata relating to this resource",
+ "readOnly": true,
+ "$ref": "types.json#/definitions/systemData"
+ }
+ }
+ },
+ "ServiceRunnerList": {
+ "description": "Contains a list of serviceRunners and their properties",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of serviceRunners and their properties",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceRunner"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
},
- "SecretProperties": {
- "description": "Properties of a secret.",
+ "ServiceRunnerProperties": {
"type": "object",
+ "description": "Properties of a virtual machine.",
"properties": {
- "value": {
- "description": "The value of the secret for secret creation.",
+ "identityUsageType": {
+ "description": "The purpose of bringing the identity to the lab. Ex: To use during Environment creation or to deploy on the VMs.",
"type": "string"
},
"provisioningState": {
@@ -11803,73 +13293,73 @@
}
}
},
- "SecretPropertiesFragment": {
- "description": "Properties of a secret.",
- "type": "object",
- "properties": {}
- },
- "ServiceFabric": {
- "description": "A Service Fabric.",
- "required": [
- "properties"
- ],
+ "SharedGallery": {
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
+ "description": "Properties of a shared gallery",
"properties": {
"properties": {
- "$ref": "#/definitions/ServiceFabricProperties",
"description": "The properties of the resource.",
- "x-ms-client-flatten": true
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SharedGalleryProperties"
+ },
+ "systemData": {
+ "description": "The system metadata relating to this resource",
+ "readOnly": true,
+ "$ref": "types.json#/definitions/systemData"
}
- }
+ },
+ "allOf": [
+ {
+ "$ref": "types.json#/definitions/Resource"
+ }
+ ]
},
- "ServiceFabricFragment": {
- "description": "A Service Fabric.",
+ "SharedGalleryFragment": {
"type": "object",
+ "description": "Patch",
+ "properties": {},
"allOf": [
{
"$ref": "#/definitions/UpdateResource"
}
- ],
- "properties": {}
+ ]
},
- "ServiceFabricList": {
- "description": "The response of a list operation.",
+ "SharedGalleryList": {
"type": "object",
+ "description": "Contains a list of sharedGalleries and their properties",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of sharedGalleries and their properties",
"type": "array",
"items": {
- "$ref": "#/definitions/ServiceFabric"
+ "$ref": "#/definitions/SharedGallery"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
},
- "ServiceFabricProperties": {
- "description": "Properties of a service fabric.",
+ "SharedGalleryProperties": {
"type": "object",
+ "description": "Properties of a shared gallery",
"properties": {
- "externalServiceFabricId": {
- "description": "The backing service fabric resource's id",
+ "galleryId": {
+ "description": "The shared image gallery resource Id",
"type": "string"
},
- "environmentId": {
- "description": "The resource id of the environment under which the service fabric resource is present",
- "type": "string"
- },
- "applicableSchedule": {
- "$ref": "#/definitions/ApplicableSchedule",
- "description": "The applicable schedule for the virtual machine.",
- "readOnly": true
+ "allowAllImages": {
+ "description": "Enables all images in the gallery to be available in the lab for VM creation. This will override the EnableState on shared images",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "EnableState",
+ "modelAsString": true
+ }
},
"provisioningState": {
"description": "The provisioning status of the resource.",
@@ -11883,116 +13373,131 @@
}
}
},
- "ServiceFabricPropertiesFragment": {
- "description": "Properties of a service fabric.",
+ "SharedImage": {
"type": "object",
- "properties": {}
+ "description": "Properties of a shared image",
+ "properties": {
+ "properties": {
+ "description": "The properties of the resource.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SharedImageProperties"
+ },
+ "systemData": {
+ "description": "The system metadata relating to this resource",
+ "readOnly": true,
+ "$ref": "types.json#/definitions/systemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "types.json#/definitions/Resource"
+ }
+ ]
},
- "ServiceRunner": {
- "description": "A container for a managed identity to execute DevTest lab services.",
+ "SharedImageFragment": {
"type": "object",
+ "description": "Patch",
+ "properties": {},
"allOf": [
{
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "identity": {
- "$ref": "#/definitions/IdentityProperties",
- "description": "The identity of the resource."
+ "$ref": "#/definitions/UpdateResource"
}
- }
+ ]
},
- "ServiceRunnerList": {
- "description": "The response of a list operation.",
+ "SharedImageList": {
"type": "object",
+ "description": "Contains a list of sharedImages and their properties",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of sharedImages and their properties",
"type": "array",
"items": {
- "$ref": "#/definitions/ServiceRunner"
+ "$ref": "#/definitions/SharedImage"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
},
- "SharedPublicIpAddressConfiguration": {
- "description": "Properties of a virtual machine that determine how it is connected to a load balancer.",
- "type": "object",
- "properties": {
- "inboundNatRules": {
- "description": "The incoming NAT rules",
- "type": "array",
- "items": {
- "$ref": "#/definitions/InboundNatRule"
- }
- }
- }
- },
- "SharedPublicIpAddressConfigurationFragment": {
- "description": "Properties of a virtual machine that determine how it is connected to a load balancer.",
- "type": "object",
- "properties": {}
- },
- "ShutdownNotificationContent": {
- "description": "The contents of a shutdown notification. Webhooks can use this type to deserialize the request body when they get notified of an imminent shutdown.",
+ "SharedImageProperties": {
"type": "object",
+ "description": "Properties of a shared image",
"properties": {
- "skipUrl": {
- "description": "The URL to skip auto-shutdown.",
- "type": "string"
- },
- "delayUrl60": {
- "description": "The URL to delay shutdown by 60 minutes.",
- "type": "string"
- },
- "delayUrl120": {
- "description": "The URL to delay shutdown by 2 hours.",
- "type": "string"
- },
- "vmName": {
- "description": "The virtual machine to be shut down.",
- "type": "string"
- },
- "guid": {
- "description": "The GUID for the virtual machine to be shut down.",
- "type": "string"
- },
- "owner": {
- "description": "The owner of the virtual machine.",
+ "definitionName": {
+ "description": "Shared Image definition name in shared image gallery",
"type": "string"
},
- "vmUrl": {
- "description": "The URL of the virtual machine.",
- "type": "string"
+ "osType": {
+ "description": "The operating system of the image",
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OsType",
+ "modelAsString": true
+ }
},
- "minutesUntilShutdown": {
- "description": "Minutes remaining until shutdown",
- "type": "string"
+ "imageType": {
+ "description": "The type of image in the gallery (generalized or specialized)",
+ "type": "string",
+ "enum": [
+ "Generalized",
+ "Specialized"
+ ],
+ "x-ms-enum": {
+ "name": "ImageType",
+ "modelAsString": true
+ }
},
- "eventType": {
- "description": "The event for which a notification will be sent.",
- "type": "string"
+ "enableState": {
+ "description": "Whether or not the image is enabled.",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "EnableState",
+ "modelAsString": true
+ }
},
- "text": {
- "description": "The text for the notification.",
+ "displayName": {
+ "description": "Display name of the image",
"type": "string"
},
- "subscriptionId": {
- "description": "The subscription ID for the schedule.",
- "type": "string"
+ "versions": {
+ "description": "List of image versions in definition",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageVersionProperties"
+ }
},
- "resourceGroupName": {
- "description": "The resource group name for the schedule.",
- "type": "string"
+ "provisioningState": {
+ "description": "The provisioning status of the resource.",
+ "type": "string",
+ "readOnly": true
},
- "labName": {
- "description": "The lab for the schedule.",
- "type": "string"
+ "uniqueIdentifier": {
+ "description": "The unique immutable identifier of a resource (Guid).",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SharedPublicIpAddressConfiguration": {
+ "description": "Properties of a virtual machine that determine how it is connected to a load balancer.",
+ "type": "object",
+ "properties": {
+ "inboundNatRules": {
+ "description": "The incoming NAT rules",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InboundNatRule"
+ }
}
}
},
@@ -12010,12 +13515,12 @@
},
"allowPublicIp": {
"description": "The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).",
+ "type": "string",
"enum": [
"Default",
"Deny",
"Allow"
],
- "type": "string",
"x-ms-enum": {
"name": "UsagePermissionType",
"modelAsString": true
@@ -12023,11 +13528,6 @@
}
}
},
- "SubnetFragment": {
- "description": "Subnet information.",
- "type": "object",
- "properties": {}
- },
"SubnetOverride": {
"description": "Property overrides on a subnet of a virtual network.",
"type": "object",
@@ -12068,7 +13568,8 @@
},
"sharedPublicIpAddressConfiguration": {
"$ref": "#/definitions/SubnetSharedPublicIpAddressConfiguration",
- "description": "Properties that virtual machines on this subnet will share."
+ "description": "Properties that virtual machines on this subnet will share.",
+ "x-ms-client-flatten": true
},
"virtualNetworkPoolName": {
"description": "The virtual network pool associated with this subnet.",
@@ -12076,11 +13577,6 @@
}
}
},
- "SubnetOverrideFragment": {
- "description": "Property overrides on a subnet of a virtual network.",
- "type": "object",
- "properties": {}
- },
"SubnetSharedPublicIpAddressConfiguration": {
"description": "Configuration for public IP address sharing.",
"type": "object",
@@ -12094,22 +13590,17 @@
}
}
},
- "SubnetSharedPublicIpAddressConfigurationFragment": {
- "description": "Configuration for public IP address sharing.",
- "type": "object",
- "properties": {}
- },
"TargetCostProperties": {
"description": "Properties of a cost target.",
"type": "object",
"properties": {
"status": {
"description": "Target cost status",
+ "type": "string",
"enum": [
"Enabled",
"Disabled"
],
- "type": "string",
"x-ms-enum": {
"name": "TargetCostStatus",
"modelAsString": true
@@ -12158,6 +13649,11 @@
"tags": {
"description": "The tags of the resource.",
"type": "object",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
"additionalProperties": {
"type": "string"
}
@@ -12169,7 +13665,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -12177,11 +13673,16 @@
"$ref": "#/definitions/UserProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"UserFragment": {
- "description": "Profile of a lab user.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -12216,24 +13717,19 @@
}
}
},
- "UserIdentityFragment": {
- "description": "Identity attributes of a lab user.",
- "type": "object",
- "properties": {}
- },
"UserList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of users and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of users and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/User"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -12244,11 +13740,13 @@
"properties": {
"identity": {
"$ref": "#/definitions/UserIdentity",
- "description": "The identity of the user."
+ "description": "The identity of the user.",
+ "x-ms-client-flatten": true
},
"secretStore": {
"$ref": "#/definitions/UserSecretStore",
- "description": "The secret store of the user."
+ "description": "The secret store of the user.",
+ "x-ms-client-flatten": true
},
"createdDate": {
"format": "date-time",
@@ -12268,11 +13766,6 @@
}
}
},
- "UserPropertiesFragment": {
- "description": "Properties of a lab user profile.",
- "type": "object",
- "properties": {}
- },
"UserSecretStore": {
"description": "Properties of a user's secret store.",
"type": "object",
@@ -12287,17 +13780,12 @@
}
}
},
- "UserSecretStoreFragment": {
- "description": "Properties of a user's secret store.",
- "type": "object",
- "properties": {}
- },
"VirtualNetwork": {
"description": "A virtual network.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "types.json#/definitions/Resource"
}
],
"properties": {
@@ -12305,11 +13793,16 @@
"$ref": "#/definitions/VirtualNetworkProperties",
"description": "The properties of the resource.",
"x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "types.json#/definitions/systemData",
+ "description": "The system metadata relating to this resource",
+ "readOnly": true
}
}
},
"VirtualNetworkFragment": {
- "description": "A virtual network.",
+ "description": "Patch",
"type": "object",
"allOf": [
{
@@ -12319,18 +13812,18 @@
"properties": {}
},
"VirtualNetworkList": {
- "description": "The response of a list operation.",
+ "description": "Contains a list of virtualNetworks and their properties",
"type": "object",
"properties": {
"value": {
- "description": "Results of the list operation.",
+ "description": "List of virtualNetworks and their properties",
"type": "array",
"items": {
"$ref": "#/definitions/VirtualNetwork"
}
},
"nextLink": {
- "description": "Link for next set of results.",
+ "description": "URL to get the next set of operation list results if there are any",
"type": "string"
}
}
@@ -12387,11 +13880,6 @@
}
}
},
- "VirtualNetworkPropertiesFragment": {
- "description": "Properties of a virtual network.",
- "type": "object",
- "properties": {}
- },
"WeekDetails": {
"description": "Properties of a weekly schedule.",
"type": "object",
@@ -12412,7 +13900,19 @@
"WeekDetailsFragment": {
"description": "Properties of a weekly schedule.",
"type": "object",
- "properties": {}
+ "properties": {
+ "weekdays": {
+ "description": "The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "time": {
+ "description": "The time of the day the schedule will occur.",
+ "type": "string"
+ }
+ }
},
"WindowsOsInfo": {
"description": "Information about a Windows OS.",
@@ -12432,11 +13932,6 @@
}
}
}
- },
- "WindowsOsInfoFragment": {
- "description": "Information about a Windows OS.",
- "type": "object",
- "properties": {}
}
},
"parameters": {
@@ -12448,6 +13943,22 @@
"type": "string",
"default": "2018-09-15"
},
+ "artifactSourceName": {
+ "name": "artifactSourceName",
+ "in": "path",
+ "description": "The name of the artifact source.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "labName": {
+ "name": "labName",
+ "in": "path",
+ "description": "The name of the lab.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
"locationName": {
"name": "locationName",
"in": "path",
@@ -12456,6 +13967,14 @@
"type": "string",
"x-ms-parameter-location": "method"
},
+ "policySetName": {
+ "name": "policySetName",
+ "in": "path",
+ "description": "The name of the policy set.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
"resourceGroupName": {
"name": "resourceGroupName",
"in": "path",
@@ -12464,30 +13983,52 @@
"type": "string",
"x-ms-parameter-location": "method"
},
+ "serviceFabricName": {
+ "name": "serviceFabricName",
+ "in": "path",
+ "description": "The name of the service fabric.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "sharedGalleryName": {
+ "name": "sharedGalleryName",
+ "in": "path",
+ "description": "The name of the shared gallery.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
"subscriptionId": {
"name": "subscriptionId",
"in": "path",
"description": "The subscription ID.",
"required": true,
"type": "string"
+ },
+ "userName": {
+ "name": "userName",
+ "in": "path",
+ "description": "The name of the user profile.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "virtualMachineName": {
+ "name": "virtualMachineName",
+ "in": "path",
+ "description": "The name of the virtual machine.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "virtualNetworkName": {
+ "name": "virtualNetworkName",
+ "in": "path",
+ "description": "The name of the virtual network.",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "required": true
}
- },
- "securityDefinitions": {
- "azure_auth": {
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "Access Microsoft Azure"
- },
- "type": "oauth2",
- "description": "OAuth2 Implicit Grant"
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
+ }
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json
index 256a3a892913..07fb95011130 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -29,11 +29,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}",
"name": "Template1",
- "type": "Microsoft.DevTestLab/labs/artifactSources/armTemplates",
- "location": "{location}",
- "tags": {
- "MyTag": "MyValue"
- }
+ "type": "Microsoft.DevTestLab/labs/artifactSources/armTemplates"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json
index da36a2960411..2e7eba979c20 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -30,11 +30,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}",
"name": "Template1",
- "type": "Microsoft.DevTestLab/labs/artifactSources/armTemplates",
- "location": "{location}",
- "tags": {
- "MyTag": "MyValue"
- }
+ "type": "Microsoft.DevTestLab/labs/artifactSources/armTemplates"
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json
index 7b7f009c9848..f2aceb56d06a 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -9,13 +9,14 @@
"properties": {
"displayName": "{displayName}",
"uri": "{artifactSourceUri}",
- "sourceType": "{VsoGit|GitHub|StorageAccount}",
+ "sourceType": "{sourceType}",
"folderPath": "{folderPath}",
"armTemplateFolderPath": "{armTemplateFolderPath}",
"branchRef": "{branchRef}",
"securityToken": "{securityToken}",
- "status": "{Enabled|Disabled}"
+ "status": "{status}"
},
+ "location": "{location}",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json
index 578e1c14237a..c250787e79cd 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json
index 7462ce9e8a1d..fbfb5a6c3c1a 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json
index 824805c6ef0e..feb476c93f8a 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json
index 52d5dd71bd30..c16eb779f6a8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json
index 46ae7179d783..0b2face89a78 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json
index bde3dd481677..45471643968e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -27,11 +27,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/artifacts/{artifactName}",
"name": "{artifactName}",
- "type": "Microsoft.DevTestLab/labs/artifactSources/artifacts",
- "location": "{location}",
- "tags": {
- "MyTag": "MyValue"
- }
+ "type": "Microsoft.DevTestLab/labs/artifactSources/artifacts"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json
index ec9b5d2237cc..4d4d593b1398 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -28,11 +28,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/artifacts/{artifactName}",
"name": "{artifactName}",
- "type": "Microsoft.DevTestLab/labs/artifactSources/artifacts",
- "location": "{location}",
- "tags": {
- "MyTag": "MyValue"
- }
+ "type": "Microsoft.DevTestLab/labs/artifactSources/artifacts"
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_CreateOrUpdate.json
new file mode 100644
index 000000000000..4105c25a7a7e
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_CreateOrUpdate.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualNetworkName": "{virtualNetworkName}",
+ "name": "{bastionHostName}",
+ "bastionHost": {
+ "properties": {},
+ "location": "{location}"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "ipAddressId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/pt-test-rg/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "name": "{bastionHostName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Created"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "name": "{bastionHostName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Delete.json
new file mode 100644
index 000000000000..65ab6858e3ab
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Delete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualNetworkName": "{virtualNetworkName}",
+ "name": "{bastionHostName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Get.json
new file mode 100644
index 000000000000..7ad190ee2c1c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Get.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualNetworkName": "{virtualNetworkName}",
+ "name": "{bastionHostName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "ipAddressId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "name": "{bastionHostName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_List.json
new file mode 100644
index 000000000000..cddf5b79ee76
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_List.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualNetworkName": "{virtualNetworkName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "ipAddressId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "name": "{bastionHostName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Update.json
new file mode 100644
index 000000000000..8e7acd73272c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Update.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "virtualNetworkName": "{virtualNetworkName}",
+ "name": "{bastionHostName}",
+ "bastionHost": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "ipAddressId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/pt-test-rg/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "name": "{bastionHostName}",
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json
index d7433affa979..e6806a45f454 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json
index 518660e9963b..6be36b02f3d3 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json
index ef0ae2da61e3..5fa7377b601c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -15,6 +15,7 @@
},
"description": "My Custom Image"
},
+ "location": "{location}",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json
index 4544a0e9ea5b..67202e9fb8dd 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json
index 6d7a830fe954..80f94d8816ec 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json
index b2ae535593ed..8baedf4cd35d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json
index 67aa1c3e83ec..35a1e7fbde7e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json
index f6ea4ce0ac1c..abe33a37ee87 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json
index 9d9e3b789b37..ccb27bb7f55b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -11,12 +11,16 @@
"diskType": "Standard",
"diskSizeGiB": 1023,
"leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName"
- }
+ },
+ "location": "{location}"
}
},
"responses": {
"200": {
"body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/l{labName}/users/{userId}/disks/{diskName}",
+ "name": "{diskName}",
+ "type": "Microsoft.DevTestLab/labs/users/disks",
"properties": {
"diskType": "Standard",
"diskSizeGiB": 1023,
@@ -27,13 +31,14 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "b7183ac5-1097-4513-b597-4d9d23e0a820"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/l{labName}/users/{userId}/disks/{diskName}",
- "name": "{diskName}",
- "type": "Microsoft.DevTestLab/labs/users/disks"
+ "location": "{location}"
}
},
"201": {
"body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/l{labName}/users/{userId}/disks/{diskName}",
+ "name": "{diskName}",
+ "type": "Microsoft.DevTestLab/labs/users/disks",
"properties": {
"diskType": "Standard",
"diskSizeGiB": 1023,
@@ -44,9 +49,7 @@
"provisioningState": "Creating",
"uniqueIdentifier": "b7183ac5-1097-4513-b597-4d9d23e0a820"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/l{labName}/users/{userId}/disks/{diskName}",
- "name": "{diskName}",
- "type": "Microsoft.DevTestLab/labs/users/disks"
+ "location": "{location}"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json
index a5811909aad4..534769668653 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json
index ee642e61810b..1e5e853fe5ae 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json
index 83f49c4d0ef5..f56d5db944fd 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -23,7 +23,8 @@
"managedDiskId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/disks/{diskName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "9bf098d1-1b64-41a5-aa05-286767074a0b"
- }
+ },
+ "location": "{location}"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json
index 7c8d9a77c86e..d71558a9d12b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -25,7 +25,8 @@
"managedDiskId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/disks/{diskName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "9bf098d1-1b64-41a5-aa05-286767074a0b"
- }
+ },
+ "location": "{location}"
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json
index 251c0369afe7..458191bb8a43 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -28,6 +28,7 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "b7183ac5-1097-4513-b597-4d9d23e0a820"
},
+ "location": "{location}",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json
index e2b8239ceed2..9a795704412a 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json
@@ -1,12 +1,13 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
"userName": "@me",
"name": "{environmentName}",
"dtlEnvironment": {
+ "location": "southeastasia",
"properties": {
"deploymentProperties": {
"parameters": [],
@@ -21,7 +22,7 @@
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
"name": "{environmentName}",
"type": "Microsoft.DevTestLab/labs/users/environments",
- "location": "{location}",
+ "location": "southeastasia",
"properties": {
"deploymentProperties": {
"armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
@@ -40,7 +41,7 @@
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
"name": "{environmentName}",
"type": "Microsoft.DevTestLab/labs/users/environments",
- "location": "{location}",
+ "location": "southeastasia",
"properties": {
"deploymentProperties": {
"armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json
index 9e90092d0426..b47ba6822a41 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json
index 94797da37d8b..a756f776fa52 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json
index 0e56ddf279ba..77a5f031f701 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json
index 33168792b7cc..c7afd09bbb02 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json
index 77aec0ba019f..91bd52547f07 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json
index 949e2690afac..98bb52990ff9 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json
index 7d969c8897d8..71b89274f208 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -56,6 +56,10 @@
},
"provisioningState": "Succeeded",
"uniqueIdentifier": "7a7d20ab-8a50-46fb-8dc6-7c6c1443a01b"
+ },
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json
index d47848c5a7e8..d282f316baa2 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}"
@@ -57,7 +57,11 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
"name": "{formulaName}",
- "type": "Microsoft.DevTestLab/labs/formulas"
+ "type": "Microsoft.DevTestLab/labs/formulas",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json
index d2113559a14c..99d739c5495b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -17,6 +17,7 @@
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
"name": "{formulaName}",
"type": "Microsoft.DevTestLab/labs/formulas",
+ "location": "{location}",
"properties": {
"description": "Formula using a Linux base",
"author": "username@contoso.com",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_Get.json
new file mode 100644
index 000000000000..5d11de2e2729
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_Get.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{name}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "author": "Canonical",
+ "createdDate": "2020-12-14T23:43:43.7643542+00:00",
+ "description": "Ubuntu Server is the world's most popular Linux for cloud environments. Updates and patches for Ubuntu Server 20.04 LTS will be available until April 2025. Ubuntu Server is the perfect virtual machine (VM) platform for all workloads from web applications to NoSQL databases and Hadoop. For more information see Ubuntu on Azure and using Juju to deploy your workloads.By clicking the Create button, I acknowledge that I am getting this software from Canonical and that the legal terms of Canonical apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Canonical.
",
+ "imageReference": {
+ "offer": "0001-com-ubuntu-server-focal",
+ "publisher": "canonical",
+ "sku": "20_04-lts",
+ "osType": "Linux",
+ "version": "latest"
+ },
+ "icon": "https://106c4.wpc.azureedge.net/80106C4/Gallery-Prod/cdn/2015-02-24/prod20161101-microsoft-windowsazure-gallery/canonical.0001-com-ubuntu-server-focal20_04-lts-ARM.1.0.22/Icons/Small.png",
+ "enabled": true
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/galleryimages/ubuntu server 20.04 lts",
+ "name": "Ubuntu Server 20.04 LTS",
+ "type": "Microsoft.DevTestLab/labs/galleryImages"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json
index d0f1ddf9f2f1..385ab1439026 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}"
@@ -26,11 +26,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/galleryimages/ubuntu server 20.04 lts",
"name": "Ubuntu Server 20.04 LTS",
- "type": "Microsoft.DevTestLab/labs/galleryImages",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/galleryImages"
},
{
"properties": {
@@ -49,11 +45,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/galleryimages/windows 10 enterprise, version 20h2",
"name": "Windows 10 Enterprise, Version 20H2",
- "type": "Microsoft.DevTestLab/labs/galleryImages",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/galleryImages"
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json
index 639b08e47064..90db83015d37 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json
@@ -1,10 +1,11 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart",
"schedule": {
+ "location": "southeastasia",
"properties": {
"status": "Enabled",
"timeZoneId": "Hawaiian Standard Time",
@@ -51,7 +52,7 @@
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
"name": "LabVmAutoStart",
"type": "microsoft.devtestlab/labs/schedules",
- "location": "{location}",
+ "location": "southeastasia",
"tags": {
"tagName1": "tagValue1"
}
@@ -84,7 +85,7 @@
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
"name": "LabVmAutoStart",
"type": "microsoft.devtestlab/labs/schedules",
- "location": "{location}",
+ "location": "southeastasia",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json
index 511e24bfa6a4..76405662a7ba 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json
index 9e5b8fce4caf..3c15b16b3a51 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json
index 2a1fef560483..2723303782ee 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json
index b717ff966019..36f7b805840e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName"
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json
index ff294dcc4c3f..1e1b1d0f4356 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json
@@ -1,11 +1,42 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}"
},
"responses": {
"200": {
- "body": {}
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "name": "LabVmAutoStart",
+ "type": "microsoft.devtestlab/labs/schedules",
+ "location": "{location}",
+ "properties": {
+ "status": "Enabled",
+ "taskType": "LabVmsStartupTask",
+ "weeklyRecurrence": {
+ "weekdays": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "time": "0700"
+ },
+ "timeZoneId": "Hawaiian Standard Time",
+ "notificationSettings": {
+ "status": "Disabled",
+ "timeInMinutes": 0
+ },
+ "createdDate": "2020-12-29T22:54:54.9335182+00:00",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ }
+ }
+ ]
+ }
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json
index ec3aeab43737..37527b587276 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{scheduleName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json
index f31c11fcda3e..99f876a387c5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_CreateOrUpdate.json
new file mode 100644
index 000000000000..3fb8a6703f55
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_CreateOrUpdate.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{secretName}",
+ "secretValue":"{secretValue}",
+ "labSecret": {
+ "properties": {
+ "enabledForArtifacts": true,
+ "enabledForVmCreation": true,
+ "enabledForArmEnvironments": true,
+ "value": "{secretValue}"
+ },
+ "location": "{location}"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "enabledForArtifacts": true,
+ "enabledForVmCreation": true,
+ "enabledForArmEnvironments": true,
+ "provisioningState": "Creating"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{secretName}",
+ "name": "{secretName}",
+ "type": "Microsoft.DevTestLab/labs/secrets",
+ "location": "southeastasia"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Delete.json
new file mode 100644
index 000000000000..4c1b06a69241
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{secretName}"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Get.json
new file mode 100644
index 000000000000..c5e4a9a33a8e
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "labSecretName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "keyVaultEntry": "3f6aa04d-fb7d-4f25-b470-e5162ec3d7e4",
+ "enabledForArtifacts": false,
+ "enabledForVmCreation": true,
+ "enabledForArmEnvironments": false,
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{labSecretName}",
+ "name": "{labSecretName}",
+ "type": "Microsoft.DevTestLab/labs/secrets",
+ "location": "southeastasia"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_List.json
new file mode 100644
index 000000000000..c36a28e28fd5
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_List.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "enabledForArtifacts": true,
+ "enabledForVmCreation": true,
+ "enabledForArmEnvironments": true,
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{secretName1}",
+ "name": "{secretName1}",
+ "type": "Microsoft.DevTestLab/labs/secrets",
+ "location": "southeastasia"
+ },
+ {
+ "properties": {
+ "keyVaultEntry": "3f6aa04d-fb7d-4f25-b470-e5162ec3d7e4",
+ "enabledForArtifacts": false,
+ "enabledForVmCreation": true,
+ "enabledForArmEnvironments": false,
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{secretName2}",
+ "name": "{secretName2}",
+ "type": "Microsoft.DevTestLab/labs/secrets",
+ "location": "southeastasia"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Update.json
new file mode 100644
index 000000000000..1e334b665604
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Update.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{secretName}",
+ "secret": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "keyVaultEntry": "3f6aa04d-fb7d-4f25-b470-e5162ec3d7e4",
+ "enabledForArtifacts": true,
+ "enabledForVmCreation": false,
+ "enabledForArmEnvironments": false,
+ "provisioningState": "Updating"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{secretName}",
+ "name": "{secretName}",
+ "type": "Microsoft.DevTestLab/labs/secrets",
+ "location": "southeastasia",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json
index 97163b3995e6..bb47e9c17112 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json
index fc38fe83e18b..96ff1420a229 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json
index 54e2c9c17dbd..d82d5ed4a6e8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json
@@ -1,12 +1,12 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
- "resourceGroupName": "resourceGroupName",
+ "resourceGroupName": "{resourceGroupName}",
"name": "{labName}",
"lab": {
"properties": {
- "labStorageType": "{Standard|Premium}"
+ "labStorageType": "Premium"
},
"location": "{location}",
"tags": {
@@ -37,7 +37,7 @@
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}",
"name": "{labName}",
"type": "Microsoft.DevTestLab/labs",
"location": "{location}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json
index 8e02f5d2a666..95f92f9900a0 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{labName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_EnsureCurrentUserProfile.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_EnsureCurrentUserProfile.json
new file mode 100644
index 000000000000..98a4fbaf26e3
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_EnsureCurrentUserProfile.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "name": "{labName}"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json
index 4ccd32dab878..85f78f19b82a 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json
index 566933707217..be986e62f19d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json
index a0a415d4d74b..1727c22e33cc 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{labName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json
index f1b5413013c5..a2bfde351634 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json
index df7a0c1352dc..18e560cc9f53 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName"
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json
index c381a81ac1f0..53a772cded99 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}"
},
"responses": {
@@ -37,9 +37,7 @@
"name": "{labName1}",
"type": "Microsoft.DevTestLab/labs",
"location": "westcentralus",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "tags": {}
},
{
"properties": {
@@ -71,9 +69,7 @@
"name": "{labName2}",
"type": "Microsoft.DevTestLab/labs",
"location": "japaneast",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "tags": {}
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json
index 0c51db641f2c..1f089c153a09 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{labName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json
index ad69884d157f..832e65e64133 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"name": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json
index 918867c894fa..eb30b7d553b5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -16,7 +16,8 @@
"webHookUrl": "{webhookUrl}",
"emailRecipient": "{email}",
"notificationLocale": "en"
- }
+ },
+ "location": "{location}"
}
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json
index c6016c7324a8..77ec26c751da 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json
index e59ca23b17f8..426cbee26a8f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json
index 7723abf785f1..d58f20cd04bb 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json
index fc9c74f6928d..25227b3cf7ec 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json
index 2135cb607801..457dc1f0bc29 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json
index 2b31221157f0..26925f81c31d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json
@@ -1,7 +1,8 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
"locationName": "{locationName}",
"name": "{operationName}"
},
@@ -14,8 +15,8 @@
},
"202": {
"body": {
- "status": "Running",
- "statusCode": "Accepted"
+ "status": "Accepted",
+ "statusCode": "OK"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json
index 97926527b254..202f6f1682d7 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json
index 896696109998..289ad815d18c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json
index f07a9fe077d3..f749b5d78d12 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -20,14 +20,14 @@
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
+ "name": "{labName}",
+ "type": "Microsoft.DevTestLab/labs/policySets/policies",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
}
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
- "name": "{labName}",
- "type": "Microsoft.DevTestLab/labs/policySets/policies",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json
index e419f2c69e08..8b10f7e5fa6c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json
index aa1a9957a355..b5078e9e6ed9 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json
index 551545c15666..d4669e26fd5b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_List.json
new file mode 100644
index 000000000000..4d766f88efb4
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_List.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {},
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/policysets/default",
+ "name": "default",
+ "type": "Microsoft.DevTestLab/labs/policySets"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ProviderOperations_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ProviderOperations_List.json
index 8addc4ae0350..b0d2c2bba85c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ProviderOperations_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ProviderOperations_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15"
+ "api-version": "2021-09-01"
},
"responses": {
"200": {
@@ -668,8 +668,8 @@
"display": {
"provider": "Microsoft DevTest Labs",
"resource": "notificationChannels",
- "operation": "Delete notification channels.",
- "description": "Delete notification channels."
+ "operation": "Delete notificationchannels.",
+ "description": "Delete notificationchannels."
}
},
{
@@ -677,8 +677,8 @@
"display": {
"provider": "Microsoft DevTest Labs",
"resource": "notificationChannels",
- "operation": "Read notification channels.",
- "description": "Read notification channels."
+ "operation": "Read notificationchannels.",
+ "description": "Read notificationchannels."
}
},
{
@@ -686,8 +686,8 @@
"display": {
"provider": "Microsoft DevTest Labs",
"resource": "notificationChannels",
- "operation": "Add or modify notification channels.",
- "description": "Add or modify notification channels."
+ "operation": "Add or modify notificationchannels.",
+ "description": "Add or modify notificationchannels."
}
},
{
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json
index 3da352bda297..d4eeec8b4189 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -69,7 +69,7 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json
index c42f7b046183..7b4070f6470c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json
index af0f56a08717..b95a4b7ad4eb 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json
index da04dd288866..cec99d4f438d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -36,7 +36,7 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json
index 330e80fe2c19..6493e8f5d7b0 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}"
@@ -37,7 +37,7 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json
index df90a36c097b..9850df6eb112 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -38,7 +38,7 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json
index 407f17837a6b..fc721eab30f3 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -41,7 +41,7 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json
index c4165ca23f8f..58799bc0857e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -9,7 +9,8 @@
"secret": {
"properties": {
"value": "{secret}"
- }
+ },
+ "location": "{location}"
}
},
"responses": {
@@ -20,6 +21,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
"name": "{secretName}",
+ "location": "{location}",
"type": "Microsoft.DevTestLab/labs/users/secrets"
}
},
@@ -30,6 +32,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
"name": "{secretName}",
+ "location": "{location}",
"type": "Microsoft.DevTestLab/labs/users/secrets"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json
index c90cc62c868c..7ca40909ba31 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json
index ad0c8c5355eb..d38966ddcf54 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -15,6 +15,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
"name": "{secretName}",
+ "location": "{location}",
"type": "Microsoft.DevTestLab/labs/users/secrets"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json
index aa23320df573..86174bf98aa8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -16,6 +16,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/secret1",
"name": "secret1",
+ "location": "{location}",
"type": "Microsoft.DevTestLab/labs/users/secrets"
},
{
@@ -24,6 +25,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/secret2",
"name": "secret2",
+ "location": "{location}",
"type": "Microsoft.DevTestLab/labs/users/secrets"
}
]
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json
index 9f938c6220a4..7e5d674ddf32 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -20,7 +20,8 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
"name": "{secretName}",
- "type": "Microsoft.DevTestLab/labs/users/secrets"
+ "type": "Microsoft.DevTestLab/labs/users/secrets",
+ "location": "{location}"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json
index fe45fc60d4ab..d54f90d5fe67 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json
index 22616b091427..86c926ce2873 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json
index 4e1cb328d509..175791a895ac 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json
index a3ae785deb4d..f79f173d9e27 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -34,7 +34,7 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "createdDate": "2018-09-15T00:00:00.0000000-00:00",
+ "createdDate": "2018-10-15T00:00:00.0000000-00:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json
index 1e925dce6c48..cfdba25ade5c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -35,7 +35,7 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "createdDate": "2018-09-15T00:00:00.0000000-00:00",
+ "createdDate": "2018-10-15T00:00:00.0000000-00:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json
index 906353aa75b6..afa0e4ce695d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -39,7 +39,7 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "createdDate": "2018-09-15T00:00:00.0000000-00:00",
+ "createdDate": "2018-10-15T00:00:00.0000000-00:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json
index 14c2b35de6ca..63b0aae519b4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -27,7 +27,6 @@
"properties": {
"applicableSchedule": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
- "location": "{location}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -64,10 +63,7 @@
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "location": "{location}"
},
"labVmsStartup": {
"properties": {
@@ -103,16 +99,10 @@
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "location": "{location}"
}
},
- "type": "{scheduleType}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "{scheduleType}"
},
"environmentId": "{environmentId}",
"externalServiceFabricId": "{serviceFabricId}",
@@ -133,7 +123,6 @@
"properties": {
"applicableSchedule": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
- "location": "{location}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -169,11 +158,8 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
- "type": "Microsoft.DevTestLab/labs/schedules",
"location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/schedules"
},
"labVmsStartup": {
"properties": {
@@ -208,17 +194,11 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
- "type": "Microsoft.DevTestLab/labs/schedules",
"location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/schedules"
}
},
- "type": "{scheduleType}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "{scheduleType}"
},
"environmentId": "{environmentId}",
"externalServiceFabricId": "{serviceFabricId}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json
index 7a231b99a145..4b94edb0dbac 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json
index 6138b1eb11b9..67aa58d3f3d7 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -17,7 +17,6 @@
"properties": {
"applicableSchedule": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
- "location": "{location}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -48,16 +47,13 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
- "type": "Microsoft.DevTestLab/labs/schedules",
"location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/schedules"
},
"labVmsStartup": {
"properties": {
@@ -87,22 +83,16 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
- "type": "Microsoft.DevTestLab/labs/schedules",
"location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/schedules"
}
},
- "type": "{scheduleType}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "{scheduleType}"
},
"environmentId": "{environmentId}",
"externalServiceFabricId": "{serviceFabricId}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json
index 404314057355..ddc33b0519e5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -18,7 +18,6 @@
"properties": {
"applicableSchedule": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
- "location": "{location}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -49,16 +48,13 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
- "type": "Microsoft.DevTestLab/labs/schedules",
"location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/schedules"
},
"labVmsStartup": {
"properties": {
@@ -88,21 +84,14 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
- "type": "Microsoft.DevTestLab/labs/schedules",
"location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/schedules"
}
- },
- "type": "{scheduleType}",
- "tags": {
- "tagName1": "tagValue1"
}
},
"environmentId": "{environmentId}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json
index 29a071f07508..56e76eda730b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -11,7 +11,6 @@
"200": {
"body": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
- "location": "{location}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -42,16 +41,13 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
- "type": "Microsoft.DevTestLab/labs/schedules",
"location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/schedules"
},
"labVmsStartup": {
"properties": {
@@ -81,22 +77,16 @@
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "provisioningState": "Creating",
+ "provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
"name": "{scheduleName}",
- "type": "Microsoft.DevTestLab/labs/schedules",
"location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/schedules"
}
},
- "type": "{scheduleType}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "{scheduleType}"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json
index d22512cdb394..8c1ad1cc6c18 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json
index d22512cdb394..8c1ad1cc6c18 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json
index 7a0c1acc8c84..f923ddf451c0 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -22,7 +22,6 @@
"properties": {
"applicableSchedule": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
- "location": "{location}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -104,10 +103,7 @@
}
}
},
- "type": "{scheduleType}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "{scheduleType}"
},
"environmentId": "{environmentId}",
"externalServiceFabricId": "{serviceFabricId}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
index 78627a8a2d6f..72f0a18ab929 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
@@ -1,21 +1,22 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
"name": "{servicerunnerName}",
"serviceRunner": {
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- },
+ "properties": {},
"identity": {
"type": "{identityType}",
"principalId": "{identityPrincipalId}",
"tenantId": "{identityTenantId}",
"clientSecretUrl": "{identityClientSecretUrl}"
- }
+ },
+ "tags": {
+ "tagName1": "tagValue1"
+ },
+ "location": "{location}"
}
},
"responses": {
@@ -26,14 +27,17 @@
"principalId": "{identityPrincipalId}",
"tenantId": "{identityTenantId}",
"clientSecretUrl": "{identityClientSecretUrl}"
+ },
+ "properties": {
+ "identityUsageType": "environment"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
+ "name": "{serviceRunnerName}",
+ "type": "Microsoft.DevTestLab/labs/serviceRunners",
+ "location": "southeastasia",
+ "tags": {
+ "tagName1": "tagValue1"
}
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
- "name": "{serviceRunnerName}",
- "type": "Microsoft.DevTestLab/labs/serviceRunners",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
}
},
"201": {
@@ -43,14 +47,17 @@
"principalId": "{identityPrincipalId}",
"tenantId": "{identityTenantId}",
"clientSecretUrl": "{identityClientSecretUrl}"
+ },
+ "properties": {
+ "identityUsageType": "environment"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
+ "name": "{serviceRunnerName}",
+ "type": "Microsoft.DevTestLab/labs/serviceRunners",
+ "location": "southeastasia",
+ "tags": {
+ "tagName1": "tagValue1"
}
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
- "name": "{serviceRunnerName}",
- "type": "Microsoft.DevTestLab/labs/serviceRunners",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
index 6c34c7502026..83dad9e49d21 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
@@ -8,6 +8,7 @@
},
"responses": {
"200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
index ef2d8ea9dea4..f98a8575f0d8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
@@ -15,6 +15,9 @@
"tenantId": "{identityTenantId}",
"clientSecretUrl": "{identityClientSecretUrl}"
},
+ "properties": {
+ "identityUsageType": "environment"
+ },
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
"name": "{serviceRunnerName}",
"type": "Microsoft.DevTestLab/labs/serviceRunners",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json
new file mode 100644
index 000000000000..52f132925869
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{devtestlabName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "identity": {
+ "type": "{identityType}",
+ "principalId": "{identityPrincipalId}",
+ "tenantId": "{identityTenantId}",
+ "clientSecretUrl": "{identityClientSecretUrl}"
+ },
+ "properties": {
+ "identityUsageType": "environment"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{serviceRunnerName}",
+ "name": "{serviceRunnerName}",
+ "type": "Microsoft.DevTestLab/labs/serviceRunners",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_CreateOrUpdate.json
new file mode 100644
index 000000000000..1101d4d96cb4
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_CreateOrUpdate.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{sharedGalleryName}",
+ "sharedGallery": {
+ "properties": {
+ "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "allowAllImages": "{Enabled|Disabled}"
+ },
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "allowAllImages": "{Enabled|Disabled}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "name": "{sharedGalleryName}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "allowAllImages": "{Enabled|Disabled}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "name": "{sharedGalleryName}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Delete.json
new file mode 100644
index 000000000000..bbd6a161138d
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{sharedGalleryName}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Get.json
new file mode 100644
index 000000000000..faa9f841d4fe
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{sharedGalleryName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "allowAllImages": "{Enabled|Disabled}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "name": "{sharedGalleryName}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_List.json
new file mode 100644
index 000000000000..90641284450c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_List.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "allowAllImages": "{Enabled|Disabled}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "name": "{sharedGalleryName}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Update.json
new file mode 100644
index 000000000000..bdcbc7f4b609
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Update.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{sharedGalleryName}",
+ "sharedGallery": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "allowAllImages": "{Enabled|Disabled}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{uniqueIdentifier}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "name": "{sharedGalleryName}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries",
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_CreateOrUpdate.json
new file mode 100644
index 000000000000..65d182745cca
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_CreateOrUpdate.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "sharedGalleryName": "{sharedGalleryName}",
+ "name": "{name}",
+ "sharedImage": {
+ "properties": {
+ "definitionName": "{definitionName}",
+ "osType": "{osType}",
+ "imageType": "{imageType}",
+ "enableState": "{enabledState}",
+ "displayName": "{displayName}"
+ },
+ "location": "{location}",
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "name": "{name}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages",
+ "properties": {
+ "definitionName": "{definitionName}",
+ "osType": "{osType}",
+ "imageType": "{imageType}",
+ "enableState": "{enabledState}",
+ "displayName": "{displayName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{guid}"
+ },
+ "location": "{location}"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "name": "{name}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages",
+ "properties": {
+ "definitionName": "{definitionName}",
+ "osType": "{osType}",
+ "imageType": "{imageType}",
+ "enableState": "{enabledState}",
+ "displayName": "{displayName}",
+ "provisioningState": "Created",
+ "uniqueIdentifier": "{guid}"
+ },
+ "location": "{location}"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Delete.json
new file mode 100644
index 000000000000..f4f56f964c16
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "sharedGalleryName": "{sharedGalleryName}",
+ "name": "{name}"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Get.json
new file mode 100644
index 000000000000..583a4905c8e2
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Get.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "sharedGalleryName": "{sharedGalleryName}",
+ "name": "{name}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "name": "{name}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages",
+ "properties": {
+ "definitionName": "{definitionName}",
+ "osType": "{osType}",
+ "imageType": "{imageType}",
+ "enableState": "{enabledState}",
+ "displayName": "{displayName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{guid}"
+ },
+ "location": "{location}"
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_List.json
new file mode 100644
index 000000000000..980957bedc87
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_List.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "sharedGalleryName": "{sharedGalleryName}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "definitionName": "{definitionName}",
+ "osType": "{osType}",
+ "imageType": "{imageType}",
+ "enableState": "{enabledState}",
+ "displayName": "{displayName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{guid}"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "name": "{name}",
+ "location": "{location}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Update.json
new file mode 100644
index 000000000000..76c6f01e8a2d
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Update.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "sharedGalleryName": "{sharedGalleryName}",
+ "name": "{name}",
+ "sharedImage": {
+ "tags": {
+ "tagName1": "tagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "name": "{name}",
+ "location": "{location}",
+ "type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages",
+ "properties": {
+ "definitionName": "{definitionName}",
+ "osType": "{osType}",
+ "imageType": "{imageType}",
+ "enableState": "{enabledState}",
+ "displayName": "{displayName}",
+ "provisioningState": "Succeeded",
+ "uniqueIdentifier": "{guid}"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
index 5be0d8a50a24..7daab60f8873 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
@@ -1,15 +1,11 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
"name": "{userName}",
"user": {
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- },
"properties": {
"identity": {
"principalName": "{principalName}",
@@ -17,10 +13,6 @@
"tenantId": "{tenantId}",
"objectId": "{objectId}",
"appId": "{appId}"
- },
- "secretStore": {
- "keyVaultUri": "{keyVaultUri}",
- "keyVaultId": "{keyVaultId}"
}
}
}
@@ -43,14 +35,10 @@
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
- }
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
- "name": "{userName}",
- "type": "Microsoft.DevTestLab/labs/users",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
+ "name": "{userName}",
+ "type": "Microsoft.DevTestLab/labs/users"
}
},
"201": {
@@ -70,14 +58,10 @@
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
- }
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
- "name": "{userName}",
- "type": "Microsoft.DevTestLab/labs/users",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
+ "name": "{userName}",
+ "type": "Microsoft.DevTestLab/labs/users"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
index a39cade57f8b..718e673a4601 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
index 15a41b03c614..9883e4c8d35f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
@@ -27,11 +27,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
"name": "{userName}",
- "type": "Microsoft.DevTestLab/labs/users",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/users"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
index 61d9fb05ba79..19e04371be70 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}"
@@ -28,11 +28,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
"name": "{userName}",
- "type": "Microsoft.DevTestLab/labs/users",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/users"
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
index 82c8198f3612..1527dfb6fe2f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
@@ -1,15 +1,11 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
"name": "{userName}",
- "user": {
- "tags": {
- "tagName1": "tagValue1"
- }
- }
+ "user": {}
},
"responses": {
"200": {
@@ -29,14 +25,10 @@
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
- }
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
- "name": "{userName}",
- "type": "Microsoft.DevTestLab/labs/users",
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
+ "name": "{userName}",
+ "type": "Microsoft.DevTestLab/labs/users"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json
index 163dddcb27e0..07772ba6cfa8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -47,7 +47,7 @@
"status": "Enabled",
"taskType": "LabVmsShutdownTask",
"createdDate": "2020-12-31T18:40:48.1739018-07:00",
- "provisioningState": "Created",
+ "provisioningState": "Succeeded",
"weeklyRecurrence": {
"weekdays": [
"Friday",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json
index 58cfb84c7381..d417d94845c9 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json
index 46133bc16dce..195e9736149d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json
index c53d38dd8e88..37b81e894e17 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json
index 7e303deffc3c..0c497cd0a116 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json
index 4c7537fb0a50..0bbcf3d5c295 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json
index e67ed77d20bf..7aecaebc619b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json
@@ -1,10 +1,12 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
"name": "{virtualMachineName}",
+ "diskName": "{diskName}",
+ "diskType": "{diskType}",
"dataDiskProperties": {
"attachNewDataDiskOptions": {
"diskSizeGiB": 127,
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json
index 5ce835a61093..81cfc2cb82bc 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json
index 0cef32cf7ca9..611443ba1433 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ClearArtifactResults.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ClearArtifactResults.json
new file mode 100644
index 000000000000..de2564ed7cbe
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ClearArtifactResults.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01",
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "resourceGroupName",
+ "labName": "{labName}",
+ "name": "{vmNname}"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json
index 9c695f3613de..41197972dc3a 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json
@@ -1,10 +1,13 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
"name": "{vmName}",
+ "virtualNetworkName": "{virtualNetworkName}",
+ "username":"{username}",
+ "password":"{password}",
"labVirtualMachine": {
"properties": {
"size": "Standard_A2_v2",
@@ -16,7 +19,7 @@
"galleryImageReference": {
"offer": "UbuntuServer",
"publisher": "Canonical",
- "sku": "16.04-LTS",
+ "sku": "18.04-LTS",
"osType": "Linux",
"version": "Latest"
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json
index 4cee5f86bb5c..a835f9d074ed 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json
index 60059a0f391d..61aa9da07092 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json
index fc67f9ece136..522d4a67fd59 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json
index 0f96308651c7..251c09bb4bba 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json
index b287ca5a0a0b..7e1c0f56d5c9 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json
index dc5587c5e036..d0939c5dc88f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json
index c89c47c9a98c..cf9545eda6ac 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json
index d3df73279f50..440feb843626 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json
index c89c47c9a98c..cf9545eda6ac 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json
index c89c47c9a98c..cf9545eda6ac 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json
index 0cef32cf7ca9..611443ba1433 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json
index 7ab22eeeb7fa..fa4bff8784f5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json
index c89c47c9a98c..cf9545eda6ac 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json
index fdf8f531b30a..1af016fc55f0 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json
index 8430de043975..f76bbf8ba4f9 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json
@@ -1,15 +1,12 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
"name": "{virtualNetworkName}",
"virtualNetwork": {
- "location": "{location}",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "properties": {}
}
},
"responses": {
@@ -22,10 +19,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
"name": "{virtualNetworkName}",
- "type": "Microsoft.DevTestLab/labs/virtualNetworks",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
},
"201": {
@@ -37,10 +31,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
"name": "{virtualNetworkName}",
- "type": "Microsoft.DevTestLab/labs/virtualNetworks",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json
index 34e8dea51a36..82e4902784d1 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json
index b32f9e475555..e5358107906c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
@@ -44,10 +44,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
"name": "{virtualNetworkName}",
- "type": "Microsoft.DevTestLab/labs/virtualNetworks",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json
index f4ef4126dea3..bd12538d053b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}"
@@ -45,10 +45,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
"name": "{virtualNetworkName}",
- "type": "Microsoft.DevTestLab/labs/virtualNetworks",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json
index 90c3b01a3f51..7c1f1a892ab7 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json
@@ -1,15 +1,11 @@
{
"parameters": {
- "api-version": "2018-09-15",
+ "api-version": "2021-09-01",
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "resourceGroupName",
"labName": "{labName}",
"name": "{virtualNetworkName}",
- "virtualNetwork": {
- "tags": {
- "tagName1": "tagValue1"
- }
- }
+ "virtualNetwork": {}
},
"responses": {
"200": {
@@ -42,10 +38,7 @@
},
"id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
"name": "{virtualNetworkName}",
- "type": "Microsoft.DevTestLab/labs/virtualNetworks",
- "tags": {
- "tagName1": "tagValue1"
- }
+ "type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/ArtifactScenarios.yaml b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/ArtifactScenarios.yaml
new file mode 100644
index 000000000000..3fca3c28cbbd
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/ArtifactScenarios.yaml
@@ -0,0 +1,72 @@
+# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/api-scenario/references/v1.2/schema.json
+scope: ResourceGroup
+variables:
+ labName:
+ type: string
+ prefix: lab
+ artifactSourceName:
+ type: string
+ prefix: artifactSource
+prepareSteps:
+ - step: Create_a_lab
+ operationId: Labs_CreateOrUpdate
+ exampleFile: ..\examples\Labs_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+cleanUpSteps:
+ - step: Delete_Lab
+ operationId: Labs_Delete
+ exampleFile: ..\examples\Labs_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+scenarios:
+ - scenario: ArtifactSource_AddCustomSource
+ steps:
+ - step: Create_ArtifactSource
+ operationId: ArtifactSources_CreateOrUpdate
+ exampleFile: ../examples/ArtifactSources_CreateOrUpdate.json
+ variables:
+ labName:
+ type: string
+ value: $(labName)
+ name:
+ type: string
+ value: $(artifactSourceName)
+ requestUpdate:
+ - replace: /artifactSource/properties/displayName
+ value: 'ApiTest artifact source'
+ - replace: /artifactSource/properties/uri
+ value: $(repo_cloneuri)
+ - replace: /artifactSource/properties/sourceType
+ value: $(repo_type)
+ - replace: /artifactSource/properties/folderPath
+ value: $(repo_folderPath)
+ - replace: /artifactSource/properties/armTemplateFolderPath
+ value: null
+ - replace: /artifactSource/properties/branchRef
+ value: $(repo_branchref)
+ - replace: /artifactSource/properties/securityToken
+ value: $(repo_pat)
+ - replace: /artifactSource/properties/status
+ value: 'Enabled'
+ - step: Get_ArtifactSource
+ operationId: ArtifactSources_Get
+ exampleFile: ../examples/ArtifactSources_Get.json
+ variables:
+ labName:
+ type: string
+ value: $(labName)
+ name:
+ type: string
+ value: $(artifactSourceName)
+ - step: List_ArtifactSource
+ operationId: ArtifactSources_List
+ exampleFile: ../examples/ArtifactSources_List.json
+ variables:
+ labName:
+ type: string
+ value: $(labName)
\ No newline at end of file
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabScenarios.yaml b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabScenarios.yaml
new file mode 100644
index 000000000000..41c5d939dd21
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabScenarios.yaml
@@ -0,0 +1,49 @@
+# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/api-scenario/references/v1.2/schema.json
+scope: ResourceGroup
+variables:
+ labName:
+ type: string
+ prefix: lab
+prepareSteps:
+ - step: Create_a_lab
+ operationId: Labs_CreateOrUpdate
+ exampleFile: ..\examples\Labs_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+cleanUpSteps:
+ - step: Delete_Lab
+ operationId: Labs_Delete
+ exampleFile: ..\examples\Labs_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+scenarios:
+ - scenario: Lab_Scenarios
+ steps:
+ - step: Get_Lab
+ operationId: Labs_Get
+ exampleFile: ../examples/Labs_Get.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+ - step: Labs_GenerateUploadUri
+ operationId: Labs_GenerateUploadUri
+ exampleFile: ../examples/Labs_GenerateUploadUri.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+ blob-name:
+ type: string
+ prefix: blob
+ - step: Labs_EnsureCurrentUserProfile
+ operationId: Labs_EnsureCurrentUserProfile
+ exampleFile: ../examples/Labs_EnsureCurrentUserProfile.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
\ No newline at end of file
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabSecretScenarios.yaml b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabSecretScenarios.yaml
new file mode 100644
index 000000000000..b6377e5655b1
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabSecretScenarios.yaml
@@ -0,0 +1,59 @@
+# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/api-scenario/references/v1.2/schema.json
+scope: ResourceGroup
+variables:
+ labName:
+ type: string
+ prefix: lab
+ secretName:
+ type: string
+ prefix: labSecret
+prepareSteps:
+ - step: Create_a_lab
+ operationId: Labs_CreateOrUpdate
+ exampleFile: ..\examples\Labs_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+cleanUpSteps:
+ - step: Delete_Lab
+ operationId: Labs_Delete
+ exampleFile: ..\examples\Labs_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+scenarios:
+ - scenario: LabSecret_Scenarios
+ steps:
+ - step: CreateLabSecret
+ operationId: LabSecrets_CreateOrUpdate
+ exampleFile: ../examples/LabSecrets_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(secretName)
+ - step: Get_LabSecret
+ operationId: LabSecrets_Get
+ exampleFile: ../examples/LabSecrets_Get.json
+ variables:
+ name:
+ type: string
+ value: $(secretName)
+ - step: Update_LabSecret
+ operationId: LabSecrets_Update
+ exampleFile: ../examples/LabSecrets_Update.json
+ variables:
+ secretValue:
+ type: secureString
+ value: foobar
+ name:
+ type: string
+ value: $(secretName)
+ - step: Delete_LabSecret
+ operationId: LabSecrets_Delete
+ exampleFile: ../examples/LabSecrets_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(secretName)
\ No newline at end of file
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabUserScenarios.yaml b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabUserScenarios.yaml
new file mode 100644
index 000000000000..1a9efdb393ee
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/LabUserScenarios.yaml
@@ -0,0 +1,55 @@
+# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/api-scenario/references/v1.2/schema.json
+scope: ResourceGroup
+variables:
+ labName:
+ type: string
+ prefix: lab
+prepareSteps:
+ - step: Create_a_lab
+ operationId: Labs_CreateOrUpdate
+ exampleFile: ..\examples\Labs_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+cleanUpSteps:
+ - step: Delete_Lab
+ operationId: Labs_Delete
+ exampleFile: ..\examples\Labs_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+scenarios:
+ - scenario: LabUser_Scenarios
+ steps:
+ - step: Create_LabUser
+ operationId: Users_CreateOrUpdate
+ exampleFile: ../examples/Users_CreateOrUpdate.json
+ variables:
+ labName:
+ type: string
+ value: $(labName)
+ name:
+ type: string
+ value: $(client_id)
+ tenantId:
+ type: string
+ value: $(tenantId)
+ - step: Get_LabUser
+ operationId: Users_Get
+ exampleFile: ../examples/Users_Get.json
+ variables:
+ labName:
+ type: string
+ value: $(labName)
+ name:
+ type: string
+ value: $(client_id)
+ - step: List_LabUser
+ operationId: Users_List
+ exampleFile: ../examples/Users_List.json
+ variables:
+ labName:
+ type: string
+ value: $(labName)
\ No newline at end of file
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/UserSecretScenarios.yaml b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/UserSecretScenarios.yaml
new file mode 100644
index 000000000000..f2b67f8b5bc7
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/UserSecretScenarios.yaml
@@ -0,0 +1,67 @@
+# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/api-scenario/references/v1.2/schema.json
+scope: ResourceGroup
+variables:
+ labName:
+ type: string
+ prefix: lab
+ secretName:
+ type: string
+ prefix: secret
+prepareSteps:
+ - step: Create_a_lab
+ operationId: Labs_CreateOrUpdate
+ exampleFile: ..\examples\Labs_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+cleanUpSteps:
+ - step: Delete_Lab
+ operationId: Labs_Delete
+ exampleFile: ..\examples\Labs_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+scenarios:
+ - scenario: UserSecret_Scenarios
+ steps:
+ - step: Create_LabUser
+ operationId: Users_CreateOrUpdate
+ exampleFile: ../examples/Users_CreateOrUpdate.json
+ variables:
+ labName:
+ type: string
+ value: $(labName)
+ name:
+ type: string
+ value: $(client_id)
+ tenantId:
+ type: string
+ value: $(tenantId)
+ - step: Create_UserSecret
+ operationId: Secrets_CreateOrUpdate
+ exampleFile: ../examples/Secrets_CreateOrUpdate.json
+ variables:
+ labName:
+ type: string
+ value: $(labName)
+ userName:
+ type: string
+ value: $(client_id)
+ name:
+ type: string
+ value: $(secretName)
+ secret:
+ type: secureString
+ value: foobar
+ - step: List_UserSecret
+ operationId: Secrets_List
+ exampleFile: ../examples/Secrets_List.json
+ variables:
+ labName:
+ type: string
+ value: $(labName)
+ userName:
+ type: string
+ value: $(client_id)
\ No newline at end of file
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/VirtualMachineScenarios.yaml b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/VirtualMachineScenarios.yaml
new file mode 100644
index 000000000000..25f4ea3723aa
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/VirtualMachineScenarios.yaml
@@ -0,0 +1,113 @@
+# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/api-scenario/references/v1.2/schema.json
+scope: ResourceGroup
+variables:
+ labName:
+ type: string
+ prefix: lab
+ virtualNetworkName:
+ type: string
+ prefix: vnet
+ virtualMachineName:
+ type: string
+ prefix: vm
+prepareSteps:
+ - step: Create_a_lab
+ operationId: Labs_CreateOrUpdate
+ exampleFile: ..\examples\Labs_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+ - step: Create_VirtualNetwork
+ operationId: VirtualNetworks_CreateOrUpdate
+ exampleFile: ..\examples\VirtualNetworks_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(virtualNetworkName)
+cleanUpSteps:
+ - step: Delete_Lab
+ operationId: Labs_Delete
+ exampleFile: ..\examples\Labs_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+scenarios:
+ - scenario: VirtualMachine_Scenarios
+ steps:
+ - step: Create_a_virtual_machine
+ operationId: VirtualMachines_CreateOrUpdate
+ exampleFile: ../examples/VirtualMachines_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(virtualMachineName)
+ username:
+ type: string
+ prefix: user
+ virtualNetworkName:
+ type: string
+ value: $(virtualNetworkName)
+ - step: Get_A_VirtualMachine
+ operationId: VirtualMachines_Get
+ exampleFile: ../examples/VirtualMachines_Get.json
+ variables:
+ name:
+ type: string
+ value: $(virtualMachineName)
+ - step: Stop_The_Virtual_Machine
+ operationId: VirtualMachines_Stop
+ exampleFile: ../examples/VirtualMachines_Stop.json
+ variables:
+ name:
+ type: string
+ value: $(virtualMachineName)
+ - step: Start_The_Virtual_Machine
+ operationId: VirtualMachines_Start
+ exampleFile: ../examples/VirtualMachines_Start.json
+ variables:
+ name:
+ type: string
+ value: $(virtualMachineName)
+ - step: Restart_The_Virtual_Machine
+ operationId: VirtualMachines_Restart
+ exampleFile: ../examples/VirtualMachines_Restart.json
+ variables:
+ name:
+ type: string
+ value: $(virtualMachineName)
+ - step: Resize_The_Virtual_Machine
+ operationId: VirtualMachines_Resize
+ exampleFile: ../examples/VirtualMachines_Resize.json
+ variables:
+ name:
+ type: string
+ value: $(virtualMachineName)
+ - step: Redeploy_The_Virtual_Machine
+ operationId: VirtualMachines_Redeploy
+ exampleFile: ../examples/VirtualMachines_Redeploy.json
+ variables:
+ name:
+ type: string
+ value: $(virtualMachineName)
+ - step: Add_Data_Disk
+ operationId: VirtualMachines_AddDataDisk
+ exampleFile: ../examples/VirtualMachines_AddDataDisk.json
+ variables:
+ name:
+ type: string
+ value: $(virtualMachineName)
+ diskName:
+ type: string
+ prefix: data
+ diskType:
+ type: string
+ value: Premium
+ - step: Delete_The_Virtual_Machine
+ operationId: VirtualMachines_Delete
+ exampleFile: ../examples/VirtualMachines_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(virtualMachineName)
\ No newline at end of file
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/VirtualNetworkScenarios.yaml b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/VirtualNetworkScenarios.yaml
new file mode 100644
index 000000000000..57a97022330c
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/scenarios/VirtualNetworkScenarios.yaml
@@ -0,0 +1,63 @@
+# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/api-scenario/references/v1.2/schema.json
+scope: ResourceGroup
+variables:
+ labName:
+ type: string
+ prefix: lab
+ virtualNetworkName:
+ type: string
+ prefix: vnet
+prepareSteps:
+ - step: Create_a_lab
+ operationId: Labs_CreateOrUpdate
+ exampleFile: ..\examples\Labs_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+cleanUpSteps:
+ - step: Delete_Lab
+ operationId: Labs_Delete
+ exampleFile: ..\examples\Labs_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+scenarios:
+ - scenario: VirtualMachine_Scenarios
+ steps:
+ - step: Create_VirtualNetwork
+ operationId: VirtualNetworks_CreateOrUpdate
+ exampleFile: ..\examples\VirtualNetworks_CreateOrUpdate.json
+ variables:
+ name:
+ type: string
+ value: $(virtualNetworkName)
+ - step: Get_VirtualNetwork
+ operationId: VirtualNetworks_Get
+ exampleFile: ../examples/VirtualNetworks_Get.json
+ variables:
+ name:
+ type: string
+ value: $(virtualNetworkName)
+ - step: Update_VirtualNetwork
+ operationId: VirtualNetworks_Update
+ exampleFile: ../examples/VirtualNetworks_Update.json
+ variables:
+ name:
+ type: string
+ value: $(virtualNetworkName)
+ - step: List_VirtualNetwork
+ operationId: VirtualNetworks_List
+ exampleFile: ../examples/VirtualNetworks_List.json
+ variables:
+ name:
+ type: string
+ value: $(labName)
+ - step: Delete_VirtualNetwork
+ operationId: VirtualNetworks_Delete
+ exampleFile: ../examples/VirtualNetworks_Delete.json
+ variables:
+ name:
+ type: string
+ value: $(virtualNetworkName)
\ No newline at end of file
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/types.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/types.json
new file mode 100644
index 000000000000..a934103415ba
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/types.json
@@ -0,0 +1,671 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-09-01",
+ "title": "DevTestLabsClient"
+ },
+ "paths": {},
+ "definitions": {
+ "Resource": {
+ "title": "Resource",
+ "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\""
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Resource tags."
+ },
+ "location": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "The geo-location where the resource lives"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "AzureEntityResource": {
+ "x-ms-client-name": "AzureEntityResource",
+ "title": "Entity Resource",
+ "description": "The resource model definition for an Azure Resource Manager resource with an etag.",
+ "type": "object",
+ "properties": {
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Etag."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "ProxyResource": {
+ "title": "Proxy Resource",
+ "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "ResourceModelWithAllowedPropertySet": {
+ "description": "The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\""
+ },
+ "location": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "The geo-location where the resource lives"
+ },
+ "managedBy": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource."
+ },
+ "kind": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "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.",
+ "pattern": "^[-\\w\\._,\\(\\)]+$"
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. "
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Resource tags."
+ },
+ "identity": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Identity"
+ }
+ ]
+ },
+ "sku": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Sku"
+ }
+ ]
+ },
+ "plan": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Plan"
+ }
+ ]
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "Sku": {
+ "description": "The resource model definition representing SKU",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the SKU. Ex - P3. It is typically a letter+number code"
+ },
+ "tier": {
+ "type": "string",
+ "enum": [
+ "Free",
+ "Basic",
+ "Standard",
+ "Premium"
+ ],
+ "x-ms-enum": {
+ "name": "SkuTier",
+ "modelAsString": false
+ },
+ "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
+ },
+ "size": {
+ "type": "string",
+ "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "
+ },
+ "family": {
+ "type": "string",
+ "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here."
+ },
+ "capacity": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "Identity": {
+ "description": "Identity for the resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID of resource identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID of resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The identity type.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "Plan": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "A user defined name of the 3rd Party Artifact that is being procured."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic"
+ },
+ "product": {
+ "type": "string",
+ "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. "
+ },
+ "promotionCode": {
+ "type": "string",
+ "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact."
+ },
+ "version": {
+ "type": "string",
+ "description": "The version of the desired product/artifact."
+ }
+ },
+ "description": "Plan for the resource.",
+ "required": [
+ "name",
+ "publisher",
+ "product"
+ ]
+ },
+ "ErrorDetail": {
+ "description": "The error detail.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The error code."
+ },
+ "message": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The error target."
+ },
+ "details": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetail"
+ },
+ "description": "The error details."
+ },
+ "additionalInfo": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorAdditionalInfo"
+ },
+ "description": "The error additional info."
+ }
+ }
+ },
+ "ErrorResponse": {
+ "title": "Error response",
+ "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The error object.",
+ "$ref": "#/definitions/ErrorDetail"
+ }
+ }
+ },
+ "ErrorAdditionalInfo": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The additional info type."
+ },
+ "info": {
+ "readOnly": true,
+ "type": "object",
+ "description": "The additional info."
+ }
+ },
+ "description": "The resource management error additional info."
+ },
+ "Operation": {
+ "title": "REST API Operation",
+ "description": "Details of a REST API operation, returned from the Resource Provider Operations API",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"",
+ "type": "string",
+ "readOnly": true
+ },
+ "isDataAction": {
+ "description": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "display": {
+ "description": "Localized display information for this particular operation.",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "origin": {
+ "description": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"",
+ "type": "string",
+ "readOnly": true,
+ "enum": [
+ "user",
+ "system",
+ "user,system"
+ ],
+ "x-ms-enum": {
+ "name": "Origin",
+ "modelAsString": true
+ }
+ },
+ "actionType": {
+ "description": "Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.",
+ "type": "string",
+ "readOnly": true,
+ "enum": [
+ "Internal"
+ ],
+ "x-ms-enum": {
+ "name": "ActionType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of operations supported by the resource provider",
+ "readOnly": true
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results (if there are any).",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationStatusResult": {
+ "description": "The current status of an async operation.",
+ "type": "object",
+ "required": [
+ "status"
+ ],
+ "properties": {
+ "id": {
+ "description": "Fully qualified ID for the async operation.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the async operation.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Operation status.",
+ "type": "string"
+ },
+ "percentComplete": {
+ "description": "Percent of the operation that is complete.",
+ "type": "number",
+ "minimum": 0,
+ "maximum": 100
+ },
+ "startTime": {
+ "description": "The start time of the operation.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "endTime": {
+ "description": "The end time of the operation.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "operations": {
+ "description": "The operations list.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationStatusResult"
+ }
+ },
+ "error": {
+ "description": "If present, details of the operation error.",
+ "$ref": "#/definitions/ErrorDetail"
+ }
+ }
+ },
+ "locationData": {
+ "description": "Metadata pertaining to the geographic location of the resource.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "maxLength": 256,
+ "description": "A canonical name for the geographic or physical location."
+ },
+ "city": {
+ "type": "string",
+ "description": "The city or locality where the resource is located."
+ },
+ "district": {
+ "type": "string",
+ "description": "The district, state, or province where the resource is located."
+ },
+ "countryOrRegion": {
+ "type": "string",
+ "description": "The country or region where the resource is located"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "systemData": {
+ "description": "Metadata pertaining to creation and last modification of the resource.",
+ "type": "object",
+ "readOnly": true,
+ "properties": {
+ "createdBy": {
+ "type": "string",
+ "description": "The identity that created the resource."
+ },
+ "createdByType": {
+ "type": "string",
+ "description": "The type of identity that created the resource.",
+ "enum": [
+ "User",
+ "Application",
+ "ManagedIdentity",
+ "Key"
+ ],
+ "x-ms-enum": {
+ "name": "createdByType",
+ "modelAsString": true
+ }
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp of resource creation (UTC)."
+ },
+ "lastModifiedBy": {
+ "type": "string",
+ "description": "The identity that last modified the resource."
+ },
+ "lastModifiedByType": {
+ "type": "string",
+ "description": "The type of identity that last modified the resource.",
+ "enum": [
+ "User",
+ "Application",
+ "ManagedIdentity",
+ "Key"
+ ],
+ "x-ms-enum": {
+ "name": "createdByType",
+ "modelAsString": true
+ }
+ },
+ "lastModifiedAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp of resource last modification (UTC)"
+ }
+ }
+ },
+ "encryptionProperties": {
+ "description": "Configuration of key for data encryption",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "Indicates whether or not the encryption is enabled for container registry.",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EncryptionStatus",
+ "modelAsString": true
+ }
+ },
+ "keyVaultProperties": {
+ "$ref": "#/definitions/KeyVaultProperties",
+ "description": "Key vault properties."
+ }
+ }
+ },
+ "KeyVaultProperties": {
+ "type": "object",
+ "properties": {
+ "keyIdentifier": {
+ "description": "Key vault uri to access the encryption key.",
+ "type": "string"
+ },
+ "identity": {
+ "description": "The client ID of the identity which will be used to access key vault.",
+ "type": "string"
+ }
+ }
+ },
+ "CheckNameAvailabilityRequest": {
+ "description": "The check availability request body.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the resource for which availability needs to be checked.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The resource type.",
+ "type": "string"
+ }
+ }
+ },
+ "CheckNameAvailabilityResponse": {
+ "description": "The check availability result.",
+ "type": "object",
+ "properties": {
+ "nameAvailable": {
+ "description": "Indicates if the resource name is available.",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "The reason why the given name is not available.",
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "x-ms-enum": {
+ "name": "CheckNameAvailabilityReason",
+ "modelAsString": true
+ }
+ },
+ "message": {
+ "description": "Detailed reason why the given name is available.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the target subscription.",
+ "minLength": 1
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for this operation.",
+ "minLength": 1
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group. The name is case insensitive.",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method"
+ },
+ "OperationIdParameter": {
+ "name": "operationId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of an ongoing async operation.",
+ "minLength": 1,
+ "x-ms-parameter-location": "method"
+ },
+ "LocationParameter": {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of Azure region.",
+ "minLength": 1,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md
index d5b3c2239f82..64d1e7c38447 100644
--- a/specification/devtestlabs/resource-manager/readme.md
+++ b/specification/devtestlabs/resource-manager/readme.md
@@ -4,10 +4,10 @@
This is the AutoRest configuration file for DevTestLab.
-
-
---
+
## Getting Started
+
To build the SDK for DevTestLab, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
> `autorest`
@@ -15,20 +15,29 @@ To build the SDK for DevTestLab, simply [Install AutoRest](https://aka.ms/autore
To see additional help and options, run:
> `autorest --help`
+
---
## Configuration
-
-
### Basic Information
+
These are the global settings for the DevTestLab API.
``` yaml
openapi-type: arm
-tag: package-2018-09
+tag: package-2021-09
```
+### Tag: package-2021-09
+
+These settings apply only when `--tag=package-2021-09` is specified on the command line.
+
+``` yaml $(tag) == 'package-2021-09'
+input-file:
+ - Microsoft.DevTestLab/stable/2021-09-01/DTL.json
+ - Microsoft.DevTestLab/stable/2021-09-01/types.json
+```
### Tag: package-2018-09
@@ -57,10 +66,9 @@ input-file:
- Microsoft.DevTestLab/preview/2015-05-21-preview/DTL.json
```
-
---
-# Code Generation
+# Code Generation
## Swagger to SDK
@@ -83,7 +91,6 @@ swagger-to-sdk:
- repo: azure-powershell
```
-
## C#
These settings apply only when `--csharp` is specified on the command line.
@@ -110,5 +117,183 @@ See configuration in [readme.go.md](./readme.go.md)
See configuration in [readme.java.md](./readme.java.md)
+## Suppression
-
+``` yaml
+directive:
+ - from: DTL.json
+ suppress: R3006 # BodyTopLevelProperties
+ where:
+ - $.definitions.Lab.properties
+ - $.definitions.ArtifactSource.properties
+ - $.definitions.LabCost.properties
+ - $.definitions.CustomImage.properties
+ - $.definitions.Formula.properties
+ - $.definitions.NotificationChannel.properties
+ - $.definitions.Policy.properties
+ - $.definitions.Schedule.properties
+ - $.definitions.LabSecret.properties
+ - $.definitions.ServiceRunner.properties
+ - $.definitions.SharedGallery.properties
+ - $.definitions.SharedImage.properties
+ - $.definitions.User.properties
+ - $.definitions.Disk.properties
+ - $.definitions.DtlEnvironment.properties
+ - $.definitions.Secret.properties
+ - $.definitions.ServiceFabric.properties
+ - $.definitions.LabVirtualMachine.properties
+ - $.definitions.VirtualNetwork.properties
+ - $.definitions.BastionHost.properties
+ - $.definitions.ArmTemplate.properties
+ - $.definitions.Artifact.properties
+ - $.definitions.Cost.properties
+ - $.definitions.GalleryImage.properties
+ - $.definitions.PolicySet.properties
+ reason: Currently systemData is not allowed.
+ - suppress: TrackedResourceListByResourceGroup
+ from: DTL.json
+ where:
+ - $.definitions.ArtifactSource
+ - $.definitions.Formula
+ - $.definitions.CustomImage
+ - $.definitions.NotificationChannel
+ - $.definitions.Policy
+ - $.definitions.Schedule
+ - $.definitions.LabSecret
+ - $.definitions.ServiceRunner
+ - $.definitions.SharedGallery
+ - $.definitions.SharedImage
+ - $.definitions.User
+ - $.definitions.Disk
+ - $.definitions.DtlEnvironment
+ - $.definitions.Secret
+ - $.definitions.ServiceFabric
+ - $.definitions.LabVirtualMachine
+ - $.definitions.VirtualNetwork
+ - $.definitions.BastionHost
+ reason: Tooling issue
+ - suppress: R3010 # TrackedResourceListByImmediateParent
+ from: DTL.json
+ where:
+ - $.definitions.ArmTemplate
+ - $.definitions.Artifact
+ - $.definitions.ArtifactSource
+ - $.definitions.CustomImage
+ - $.definitions.Formula
+ - $.definitions.GalleryImage
+ - $.definitions.NotificationChannel
+ - $.definitions.Schedule
+ - $.definitions.LabSecret
+ - $.definitions.ServiceRunner
+ - $.definitions.SharedGallery
+ - $.definitions.SharedImage
+ - $.definitions.User
+ - $.definitions.Disk
+ - $.definitions.DtlEnvironment
+ - $.definitions.Secret
+ - $.definitions.ServiceFabric
+ - $.definitions.Schedule
+ - $.definitions.LabCost
+ - $.definitions.LabVirtualMachine
+ - $.definitions.VirtualNetwork
+ - $.definitions.BastionHost
+ reason: These have never been supported.
+ - suppress: R3018 # EnumInsteadOfBoolean
+ from: DTL.json
+ where:
+ - $.definitions.LabSecretProperties.properties.enabledForArmEnvironments
+ - $.definitions.LabSecretProperties.properties.enabledForVmCreation
+ - $.definitions.LabSecretProperties.properties.enabledForArtifacts
+ - $.definitions.GalleryImageProperties.properties.enabled
+ - $.definitions.ArmTemplateProperties.properties.enabled
+ - $.definitions.CustomImageProperties.properties.isPlanAuthorized
+ - $.definitions.CustomImagePropertiesCustom.properties.sysPrep
+ - $.definitions.GalleryImageProperties.properties.isPlanAuthorized
+ - $.definitions.LabAnnouncementProperties.properties.expired
+ - $.definitions.LabProperties.properties.disableAutoUpgradeCseMinorVersion
+ - $.definitions.LabVirtualMachineCreationParameterProperties.properties.isAuthenticationWithSshKey
+ - $.definitions.LabVirtualMachineCreationParameterProperties.properties.disallowPublicIpAddress
+ - $.definitions.LabVirtualMachineCreationParameterProperties.properties.allowClaim
+ - $.definitions.LabVirtualMachineCreationParameterProperties.properties.canApplyArtifacts
+ - $.definitions.LabVirtualMachineProperties.properties.isAuthenticationWithSshKey
+ - $.definitions.LabVirtualMachineProperties.properties.disallowPublicIpAddress
+ - $.definitions.LabVirtualMachineProperties.properties.allowClaim
+ - $.definitions.LabVirtualMachineProperties.properties.canApplyArtifacts
+ - $.definitions.PolicySetResult.properties.hasError
+ reason: Booleans are used to indicate binary states of the property, enum is not appropriate.
+ - suppress: R3018 # EnumInsteadOfBoolean
+ from: types.json
+ where:
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.identity
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.sku
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.plan
+ - $.definitions.CheckNameAvailabilityResponse.properties.nameAvailable
+ - $.definitions.Operation.properties.isDataAction
+ reason: This is a copy of the common types from ARM.
+ - suppress: R3026 # EnumInsteadOfBoolean
+ from: DTL.json
+ where:
+ - $.definitions.ServiceRunner
+ reason: Booleans are used to indicate binary states of the property, enum is not appropriate.
+ - suppress: TrackedResourceListByImmediateParent
+ from: DTL.json
+ where: $.definitions
+ reason: Tooling issue - the listed resources do have a list by immediate parent.
+ - suppress: R1003 # ListInOperationName
+ from: DTL.json
+ where:
+ - $.paths["/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{location}/operations/{name}"].get.operationId
+ - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policySets/{name}/evaluatePolicies"]
+ - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{name}/evaluatePolicies"].post.operationId
+ reason: This action is also named this way in previous SDK versions. Changing it would be a breaking change.
+ - suppress: R4000 # SDKViolation
+ from: types.json
+ where:
+ - $.definitions.KeyVaultProperties
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.identity
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.plan
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.sku
+ reason: This is a copy of the common types from ARM.
+ - suppress: R4014 # AllResourcesMustHaveGetOperation
+ from: DTL.json
+ where: $.definitions.PolicySet
+ reason: This operation doesn't make sense in the context of policysets and has never been supported.
+ - suppress: R4015 # NestedResourcesMustHaveListOperation
+ from: types.json
+ where:
+ - $.definitions.KeyVaultProperties
+ - $.definitions.Operation.properties.isDataAction
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.identity
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.sku
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.plan
+ reason: This is a copy of the common types from ARM.
+ - suppress: R4021 # DescriptionAndTitleMissing
+ from: types.json
+ where:
+ - $.definitions.KeyVaultProperties
+ - $.definitions.Operation.properties.isDataAction
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.identity
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.sku
+ - $.definitions.ResourceModelWithAllowedPropertySet.properties.plan
+ reason: This is a copy of the common types from ARM.
+ - suppress: R4041 # XmsIdentifierValidation
+ from: DTL.json
+ where:
+ - $.definitions.ComputeVmProperties.properties.statuses
+ reason: No natural id property
+ - suppress: R4041 # XmsIdentifierValidation
+ from: types.json
+ where:
+ - $.definitions.ErrorDetail.properties.details
+ - $.definitions.ErrorDetail.properties.additionalInfo
+ - $.definitions.OperationListResult.properties.value
+ - $.definitions.ErrorDetail.properties.details
+ - $.definitions.ErrorDetail.properties.additionalInfo
+ - $.definitions.OperationListResult.properties.value
+ reason: This is a copy of the common types from ARM.
+ - suppress: R2054 # SecurityDefinitionsStructure
+ from: types.json
+ where: $
+ reason: This is a copy of the common types from ARM.
+
+```
\ No newline at end of file
From 112635d941ec73a7ad27d616fcc56d549731f1b5 Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Tue, 5 Dec 2023 13:23:43 +0100
Subject: [PATCH 03/10] ...
---
.../stable/2021-09-01/DTL.json | 20 +++++++++++++++----
.../devtestlabs/resource-manager/readme.md | 5 ++++-
2 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
index 0c75f6be4574..7595d10dbb6e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
@@ -13949,7 +13949,10 @@
"description": "The name of the artifact source.",
"type": "string",
"x-ms-parameter-location": "method",
- "required": true
+ "required": true,
+ "pattern": "^[a-z0-9_\\-]+$",
+ "minLength": 1,
+ "maxLength": 260
},
"labName": {
"name": "labName",
@@ -13957,15 +13960,21 @@
"description": "The name of the lab.",
"type": "string",
"x-ms-parameter-location": "method",
- "required": true
+ "required": true,
+ "pattern": "^[a-z0-9_\\-]+$",
+ "minLength": 1,
+ "maxLength": 50
},
"locationName": {
"name": "locationName",
"in": "path",
"description": "The name of the location.",
+ "x-ms-parameter-location": "method",
"required": true,
"type": "string",
- "x-ms-parameter-location": "method"
+ "pattern": "^[a-z0-9_\\-]+$",
+ "minLength": 1,
+ "maxLength": 260
},
"policySetName": {
"name": "policySetName",
@@ -14028,7 +14037,10 @@
"description": "The name of the virtual network.",
"type": "string",
"x-ms-parameter-location": "method",
- "required": true
+ "required": true,
+ "pattern": "^[a-z0-9_\\-]+$",
+ "minLength": 1,
+ "maxLength": 260
}
}
}
diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md
index 64d1e7c38447..0b2a6fec3593 100644
--- a/specification/devtestlabs/resource-manager/readme.md
+++ b/specification/devtestlabs/resource-manager/readme.md
@@ -77,11 +77,12 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- - repo: azure-sdk-for-net-track2
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
+ - repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
@@ -261,6 +262,7 @@ directive:
- suppress: R4015 # NestedResourcesMustHaveListOperation
from: types.json
where:
+ - $.definitions.LabCost
- $.definitions.KeyVaultProperties
- $.definitions.Operation.properties.isDataAction
- $.definitions.ResourceModelWithAllowedPropertySet.properties.identity
@@ -280,6 +282,7 @@ directive:
from: DTL.json
where:
- $.definitions.ComputeVmProperties.properties.statuses
+ - $.definitions.SharedImageProperties.properties.versions
reason: No natural id property
- suppress: R4041 # XmsIdentifierValidation
from: types.json
From f0dda681fbe1bee2d1fd94f6cfa73f162997abf2 Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Tue, 5 Dec 2023 13:50:10 +0100
Subject: [PATCH 04/10] Adressing a couple violations
---
custom-words.txt | 2 +
.../stable/2021-09-01/DTL.json | 104 +--
.../stable/2021-09-01/types.json | 671 ------------------
.../devtestlabs/resource-manager/readme.md | 5 +-
4 files changed, 58 insertions(+), 724 deletions(-)
delete mode 100644 specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/types.json
diff --git a/custom-words.txt b/custom-words.txt
index 1bbb2ea47e17..11bf2e323669 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -307,6 +307,7 @@ bangla
baremetal
baremetalinfrastructure
baremetalstorage
+bastionhosts
batchai
batchmanaged
batchresponse
@@ -2422,6 +2423,7 @@ sha
shapefile
shapefiles
sharded
+sharedgalleries
sharedkey
sharename
sharepoint
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
index 7595d10dbb6e..fa3be37363c1 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
@@ -9293,7 +9293,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -9303,7 +9303,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -9349,7 +9349,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -9359,7 +9359,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -9471,7 +9471,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -9481,7 +9481,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -9631,7 +9631,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -9641,7 +9641,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -9791,7 +9791,7 @@
],
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -9801,7 +9801,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -10007,7 +10007,7 @@
"systemData": {
"description": "The system metadata relating to this resource",
"readOnly": true,
- "$ref": "types.json#/definitions/systemData"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
},
"required": [
@@ -10015,7 +10015,7 @@
],
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
]
},
@@ -10070,7 +10070,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -10080,7 +10080,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -10352,7 +10352,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -10362,7 +10362,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -10467,7 +10467,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -10477,7 +10477,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -10687,7 +10687,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -10697,7 +10697,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -10793,7 +10793,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -10803,7 +10803,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -11053,7 +11053,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -11068,7 +11068,7 @@
"$ref": "#/definitions/IdentityProperties"
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -11124,7 +11124,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -11134,7 +11134,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -11517,7 +11517,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -11527,7 +11527,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -11659,7 +11659,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -11669,7 +11669,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -12262,7 +12262,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -12272,7 +12272,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -12593,7 +12593,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -12603,7 +12603,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -12726,12 +12726,12 @@
"systemData": {
"description": "The system metadata relating to this resource",
"readOnly": true,
- "$ref": "types.json#/definitions/systemData"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
},
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
]
},
@@ -12880,7 +12880,7 @@
"description": "A schedule.",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -12892,7 +12892,7 @@
"systemData": {
"description": "The system metadata relating to this resource",
"readOnly": true,
- "$ref": "types.json#/definitions/systemData"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
}
},
@@ -13089,7 +13089,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -13099,7 +13099,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -13157,7 +13157,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -13167,7 +13167,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -13235,7 +13235,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -13252,7 +13252,7 @@
"systemData": {
"description": "The system metadata relating to this resource",
"readOnly": true,
- "$ref": "types.json#/definitions/systemData"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
}
},
@@ -13305,12 +13305,12 @@
"systemData": {
"description": "The system metadata relating to this resource",
"readOnly": true,
- "$ref": "types.json#/definitions/systemData"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
},
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
]
},
@@ -13385,12 +13385,12 @@
"systemData": {
"description": "The system metadata relating to this resource",
"readOnly": true,
- "$ref": "types.json#/definitions/systemData"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
},
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
]
},
@@ -13665,7 +13665,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -13675,7 +13675,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
@@ -13785,7 +13785,7 @@
"type": "object",
"allOf": [
{
- "$ref": "types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
@@ -13795,7 +13795,7 @@
"x-ms-client-flatten": true
},
"systemData": {
- "$ref": "types.json#/definitions/systemData",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource",
"readOnly": true
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/types.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/types.json
deleted file mode 100644
index a934103415ba..000000000000
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/types.json
+++ /dev/null
@@ -1,671 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2021-09-01",
- "title": "DevTestLabsClient"
- },
- "paths": {},
- "definitions": {
- "Resource": {
- "title": "Resource",
- "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
- "type": "object",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- },
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "The name of the resource"
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\""
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Resource tags."
- },
- "location": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ],
- "description": "The geo-location where the resource lives"
- }
- },
- "x-ms-azure-resource": true
- },
- "AzureEntityResource": {
- "x-ms-client-name": "AzureEntityResource",
- "title": "Entity Resource",
- "description": "The resource model definition for an Azure Resource Manager resource with an etag.",
- "type": "object",
- "properties": {
- "etag": {
- "type": "string",
- "readOnly": true,
- "description": "Resource Etag."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ]
- },
- "ProxyResource": {
- "title": "Proxy Resource",
- "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ]
- },
- "ResourceModelWithAllowedPropertySet": {
- "description": "The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.",
- "type": "object",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- },
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "The name of the resource"
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\""
- },
- "location": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ],
- "description": "The geo-location where the resource lives"
- },
- "managedBy": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource."
- },
- "kind": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ],
- "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.",
- "pattern": "^[-\\w\\._,\\(\\)]+$"
- },
- "etag": {
- "readOnly": true,
- "type": "string",
- "description": "The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. "
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Resource tags."
- },
- "identity": {
- "allOf": [
- {
- "$ref": "#/definitions/Identity"
- }
- ]
- },
- "sku": {
- "allOf": [
- {
- "$ref": "#/definitions/Sku"
- }
- ]
- },
- "plan": {
- "allOf": [
- {
- "$ref": "#/definitions/Plan"
- }
- ]
- }
- },
- "x-ms-azure-resource": true
- },
- "Sku": {
- "description": "The resource model definition representing SKU",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the SKU. Ex - P3. It is typically a letter+number code"
- },
- "tier": {
- "type": "string",
- "enum": [
- "Free",
- "Basic",
- "Standard",
- "Premium"
- ],
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": false
- },
- "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
- },
- "size": {
- "type": "string",
- "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "
- },
- "family": {
- "type": "string",
- "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here."
- },
- "capacity": {
- "type": "integer",
- "format": "int32",
- "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
- }
- },
- "required": [
- "name"
- ]
- },
- "Identity": {
- "description": "Identity for the resource.",
- "type": "object",
- "properties": {
- "principalId": {
- "readOnly": true,
- "type": "string",
- "description": "The principal ID of resource identity."
- },
- "tenantId": {
- "readOnly": true,
- "type": "string",
- "description": "The tenant ID of resource."
- },
- "type": {
- "type": "string",
- "description": "The identity type.",
- "enum": [
- "SystemAssigned"
- ],
- "x-ms-enum": {
- "name": "ResourceIdentityType",
- "modelAsString": false
- }
- }
- }
- },
- "Plan": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "A user defined name of the 3rd Party Artifact that is being procured."
- },
- "publisher": {
- "type": "string",
- "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic"
- },
- "product": {
- "type": "string",
- "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. "
- },
- "promotionCode": {
- "type": "string",
- "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact."
- },
- "version": {
- "type": "string",
- "description": "The version of the desired product/artifact."
- }
- },
- "description": "Plan for the resource.",
- "required": [
- "name",
- "publisher",
- "product"
- ]
- },
- "ErrorDetail": {
- "description": "The error detail.",
- "type": "object",
- "properties": {
- "code": {
- "readOnly": true,
- "type": "string",
- "description": "The error code."
- },
- "message": {
- "readOnly": true,
- "type": "string",
- "description": "The error message."
- },
- "target": {
- "readOnly": true,
- "type": "string",
- "description": "The error target."
- },
- "details": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorDetail"
- },
- "description": "The error details."
- },
- "additionalInfo": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorAdditionalInfo"
- },
- "description": "The error additional info."
- }
- }
- },
- "ErrorResponse": {
- "title": "Error response",
- "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
- "type": "object",
- "properties": {
- "error": {
- "description": "The error object.",
- "$ref": "#/definitions/ErrorDetail"
- }
- }
- },
- "ErrorAdditionalInfo": {
- "type": "object",
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "The additional info type."
- },
- "info": {
- "readOnly": true,
- "type": "object",
- "description": "The additional info."
- }
- },
- "description": "The resource management error additional info."
- },
- "Operation": {
- "title": "REST API Operation",
- "description": "Details of a REST API operation, returned from the Resource Provider Operations API",
- "type": "object",
- "properties": {
- "name": {
- "description": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"",
- "type": "string",
- "readOnly": true
- },
- "isDataAction": {
- "description": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.",
- "type": "boolean",
- "readOnly": true
- },
- "display": {
- "description": "Localized display information for this particular operation.",
- "type": "object",
- "properties": {
- "provider": {
- "description": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".",
- "type": "string",
- "readOnly": true
- },
- "resource": {
- "description": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".",
- "type": "string",
- "readOnly": true
- },
- "operation": {
- "description": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".",
- "type": "string",
- "readOnly": true
- },
- "description": {
- "description": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "origin": {
- "description": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"",
- "type": "string",
- "readOnly": true,
- "enum": [
- "user",
- "system",
- "user,system"
- ],
- "x-ms-enum": {
- "name": "Origin",
- "modelAsString": true
- }
- },
- "actionType": {
- "description": "Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.",
- "type": "string",
- "readOnly": true,
- "enum": [
- "Internal"
- ],
- "x-ms-enum": {
- "name": "ActionType",
- "modelAsString": true
- }
- }
- }
- },
- "OperationListResult": {
- "description": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.",
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "description": "List of operations supported by the resource provider",
- "readOnly": true
- },
- "nextLink": {
- "type": "string",
- "description": "URL to get the next set of operation list results (if there are any).",
- "readOnly": true
- }
- }
- },
- "OperationStatusResult": {
- "description": "The current status of an async operation.",
- "type": "object",
- "required": [
- "status"
- ],
- "properties": {
- "id": {
- "description": "Fully qualified ID for the async operation.",
- "type": "string"
- },
- "name": {
- "description": "Name of the async operation.",
- "type": "string"
- },
- "status": {
- "description": "Operation status.",
- "type": "string"
- },
- "percentComplete": {
- "description": "Percent of the operation that is complete.",
- "type": "number",
- "minimum": 0,
- "maximum": 100
- },
- "startTime": {
- "description": "The start time of the operation.",
- "type": "string",
- "format": "date-time"
- },
- "endTime": {
- "description": "The end time of the operation.",
- "type": "string",
- "format": "date-time"
- },
- "operations": {
- "description": "The operations list.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OperationStatusResult"
- }
- },
- "error": {
- "description": "If present, details of the operation error.",
- "$ref": "#/definitions/ErrorDetail"
- }
- }
- },
- "locationData": {
- "description": "Metadata pertaining to the geographic location of the resource.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "maxLength": 256,
- "description": "A canonical name for the geographic or physical location."
- },
- "city": {
- "type": "string",
- "description": "The city or locality where the resource is located."
- },
- "district": {
- "type": "string",
- "description": "The district, state, or province where the resource is located."
- },
- "countryOrRegion": {
- "type": "string",
- "description": "The country or region where the resource is located"
- }
- },
- "required": [
- "name"
- ]
- },
- "systemData": {
- "description": "Metadata pertaining to creation and last modification of the resource.",
- "type": "object",
- "readOnly": true,
- "properties": {
- "createdBy": {
- "type": "string",
- "description": "The identity that created the resource."
- },
- "createdByType": {
- "type": "string",
- "description": "The type of identity that created the resource.",
- "enum": [
- "User",
- "Application",
- "ManagedIdentity",
- "Key"
- ],
- "x-ms-enum": {
- "name": "createdByType",
- "modelAsString": true
- }
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "description": "The timestamp of resource creation (UTC)."
- },
- "lastModifiedBy": {
- "type": "string",
- "description": "The identity that last modified the resource."
- },
- "lastModifiedByType": {
- "type": "string",
- "description": "The type of identity that last modified the resource.",
- "enum": [
- "User",
- "Application",
- "ManagedIdentity",
- "Key"
- ],
- "x-ms-enum": {
- "name": "createdByType",
- "modelAsString": true
- }
- },
- "lastModifiedAt": {
- "type": "string",
- "format": "date-time",
- "description": "The timestamp of resource last modification (UTC)"
- }
- }
- },
- "encryptionProperties": {
- "description": "Configuration of key for data encryption",
- "type": "object",
- "properties": {
- "status": {
- "description": "Indicates whether or not the encryption is enabled for container registry.",
- "enum": [
- "enabled",
- "disabled"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "EncryptionStatus",
- "modelAsString": true
- }
- },
- "keyVaultProperties": {
- "$ref": "#/definitions/KeyVaultProperties",
- "description": "Key vault properties."
- }
- }
- },
- "KeyVaultProperties": {
- "type": "object",
- "properties": {
- "keyIdentifier": {
- "description": "Key vault uri to access the encryption key.",
- "type": "string"
- },
- "identity": {
- "description": "The client ID of the identity which will be used to access key vault.",
- "type": "string"
- }
- }
- },
- "CheckNameAvailabilityRequest": {
- "description": "The check availability request body.",
- "type": "object",
- "properties": {
- "name": {
- "description": "The name of the resource for which availability needs to be checked.",
- "type": "string"
- },
- "type": {
- "description": "The resource type.",
- "type": "string"
- }
- }
- },
- "CheckNameAvailabilityResponse": {
- "description": "The check availability result.",
- "type": "object",
- "properties": {
- "nameAvailable": {
- "description": "Indicates if the resource name is available.",
- "type": "boolean"
- },
- "reason": {
- "description": "The reason why the given name is not available.",
- "type": "string",
- "enum": [
- "Invalid",
- "AlreadyExists"
- ],
- "x-ms-enum": {
- "name": "CheckNameAvailabilityReason",
- "modelAsString": true
- }
- },
- "message": {
- "description": "Detailed reason why the given name is available.",
- "type": "string"
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The ID of the target subscription.",
- "minLength": 1
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for this operation.",
- "minLength": 1
- },
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group. The name is case insensitive.",
- "minLength": 1,
- "maxLength": 90,
- "x-ms-parameter-location": "method"
- },
- "OperationIdParameter": {
- "name": "operationId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The ID of an ongoing async operation.",
- "minLength": 1,
- "x-ms-parameter-location": "method"
- },
- "LocationParameter": {
- "name": "location",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of Azure region.",
- "minLength": 1,
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md
index 0b2a6fec3593..2ee683808478 100644
--- a/specification/devtestlabs/resource-manager/readme.md
+++ b/specification/devtestlabs/resource-manager/readme.md
@@ -298,5 +298,8 @@ directive:
from: types.json
where: $
reason: This is a copy of the common types from ARM.
-
+ - suppress: PatchIdentityProperty
+ from: types.json
+ where: $
+ reason: Patch in DTL only supports updating tags.
```
\ No newline at end of file
From 9a1772a0823e016dd78cf83e4d6dd2938e19044c Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Tue, 5 Dec 2023 14:09:51 +0100
Subject: [PATCH 05/10] ...
---
custom-words.txt | 2 +
.../stable/2021-09-01/DTL.json | 88 +++++++++++++------
2 files changed, 64 insertions(+), 26 deletions(-)
diff --git a/custom-words.txt b/custom-words.txt
index 11bf2e323669..9be4abd0d9be 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -307,6 +307,7 @@ bangla
baremetal
baremetalinfrastructure
baremetalstorage
+bastionhost
bastionhosts
batchai
batchmanaged
@@ -2423,6 +2424,7 @@ sha
shapefile
shapefiles
sharded
+sharedimages
sharedgalleries
sharedkey
sharename
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
index fa3be37363c1..b004bc1adc1c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
@@ -9285,6 +9285,42 @@
}
},
"definitions": {
+ "Resource": {
+ "title": "Resource",
+ "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Resource tags."
+ },
+ "location": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "The geo-location where the resource lives"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ }
+ ],
+ "x-ms-azure-resource": true
+ },
"ApplicableSchedule": {
"description": "Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.",
"required": [
@@ -9293,7 +9329,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -9349,7 +9385,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -9471,7 +9507,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -9631,7 +9667,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -9791,7 +9827,7 @@
],
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -10015,7 +10051,7 @@
],
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
]
},
@@ -10070,7 +10106,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -10352,7 +10388,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -10467,7 +10503,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -10687,7 +10723,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -10793,7 +10829,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -11053,7 +11089,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -11124,7 +11160,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -11517,7 +11553,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -11659,7 +11695,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -12262,7 +12298,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -12593,7 +12629,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -12731,7 +12767,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
]
},
@@ -12880,7 +12916,7 @@
"description": "A schedule.",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -13089,7 +13125,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -13157,7 +13193,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -13235,7 +13271,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -13310,7 +13346,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
]
},
@@ -13390,7 +13426,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
]
},
@@ -13665,7 +13701,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
@@ -13785,7 +13821,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
+ "$ref": "#/definitions/resource"
}
],
"properties": {
From 7536c707766e832035627bd1d364a8a191c1f1a7 Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Tue, 5 Dec 2023 14:14:32 +0100
Subject: [PATCH 06/10] Convert casing in references to #/definitions/Resource
---
.../stable/2021-09-01/DTL.json | 54 +++++++++----------
.../devtestlabs/resource-manager/readme.md | 1 -
2 files changed, 27 insertions(+), 28 deletions(-)
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
index b004bc1adc1c..ce42e308ebfe 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
@@ -9285,7 +9285,7 @@
}
},
"definitions": {
- "Resource": {
+ "resource": {
"title": "Resource",
"description": "Common fields that are returned in the response for all Azure Resource Manager resources",
"type": "object",
@@ -9329,7 +9329,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -9385,7 +9385,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -9507,7 +9507,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -9667,7 +9667,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -9827,7 +9827,7 @@
],
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -10051,7 +10051,7 @@
],
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
]
},
@@ -10106,7 +10106,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -10388,7 +10388,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -10503,7 +10503,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -10723,7 +10723,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -10829,7 +10829,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -11089,7 +11089,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -11160,7 +11160,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -11553,7 +11553,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -11695,7 +11695,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -12298,7 +12298,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -12629,7 +12629,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -12767,7 +12767,7 @@
},
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
]
},
@@ -12916,7 +12916,7 @@
"description": "A schedule.",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -13125,7 +13125,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -13193,7 +13193,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -13271,7 +13271,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -13346,7 +13346,7 @@
},
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
]
},
@@ -13426,7 +13426,7 @@
},
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
]
},
@@ -13701,7 +13701,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
@@ -13821,7 +13821,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/resource"
+ "$ref": "#/definitions/Resource"
}
],
"properties": {
diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md
index 2ee683808478..3f77faeeee22 100644
--- a/specification/devtestlabs/resource-manager/readme.md
+++ b/specification/devtestlabs/resource-manager/readme.md
@@ -36,7 +36,6 @@ These settings apply only when `--tag=package-2021-09` is specified on the comma
``` yaml $(tag) == 'package-2021-09'
input-file:
- Microsoft.DevTestLab/stable/2021-09-01/DTL.json
- - Microsoft.DevTestLab/stable/2021-09-01/types.json
```
### Tag: package-2018-09
From b572cf2f360600058bd08283df3fccba1fc3501f Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Tue, 5 Dec 2023 14:21:20 +0100
Subject: [PATCH 07/10] ...
---
.../Microsoft.DevTestLab/stable/2021-09-01/DTL.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
index ce42e308ebfe..163d6b653db9 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
@@ -9285,7 +9285,7 @@
}
},
"definitions": {
- "resource": {
+ "Resource": {
"title": "Resource",
"description": "Common fields that are returned in the response for all Azure Resource Manager resources",
"type": "object",
From 2c6cbc7c26799b21d3363d3c6577205382afb8b2 Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Tue, 5 Dec 2023 14:58:20 +0100
Subject: [PATCH 08/10] Change names in examples to not violate patterns
described in each property
---
.../2021-09-01/examples/ArmTemplates_Get.json | 10 ++--
.../examples/ArmTemplates_List.json | 8 +--
.../ArtifactSources_CreateOrUpdate.json | 20 ++++----
.../examples/ArtifactSources_Delete.json | 6 +--
.../examples/ArtifactSources_Get.json | 12 ++---
.../examples/ArtifactSources_List.json | 10 ++--
.../examples/ArtifactSources_Update.json | 12 ++---
.../Artifacts_GenerateArmTemplate.json | 16 +++---
.../2021-09-01/examples/Artifacts_Get.json | 16 +++---
.../2021-09-01/examples/Artifacts_List.json | 14 +++---
.../examples/BastionHosts_CreateOrUpdate.json | 18 +++----
.../examples/BastionHosts_Delete.json | 6 +--
.../2021-09-01/examples/BastionHosts_Get.json | 12 ++---
.../examples/BastionHosts_List.json | 12 ++---
.../examples/BastionHosts_Update.json | 12 ++---
.../examples/Costs_CreateOrUpdate.json | 4 +-
.../stable/2021-09-01/examples/Costs_Get.json | 4 +-
.../examples/CustomImages_CreateOrUpdate.json | 26 +++++-----
.../examples/CustomImages_Delete.json | 6 +--
.../2021-09-01/examples/CustomImages_Get.json | 14 +++---
.../examples/CustomImages_List.json | 12 ++---
.../examples/CustomImages_Update.json | 14 +++---
.../2021-09-01/examples/Disks_Attach.json | 8 +--
.../examples/Disks_CreateOrUpdate.json | 26 +++++-----
.../2021-09-01/examples/Disks_Delete.json | 6 +--
.../2021-09-01/examples/Disks_Detach.json | 8 +--
.../stable/2021-09-01/examples/Disks_Get.json | 16 +++---
.../2021-09-01/examples/Disks_List.json | 16 +++---
.../2021-09-01/examples/Disks_Update.json | 10 ++--
.../examples/Environments_CreateOrUpdate.json | 14 +++---
.../examples/Environments_Delete.json | 4 +-
.../2021-09-01/examples/Environments_Get.json | 10 ++--
.../examples/Environments_List.json | 10 ++--
.../examples/Environments_Update.json | 10 ++--
.../examples/Formulas_CreateOrUpdate.json | 38 +++++++-------
.../2021-09-01/examples/Formulas_Delete.json | 4 +-
.../2021-09-01/examples/Formulas_Get.json | 16 +++---
.../2021-09-01/examples/Formulas_List.json | 16 +++---
.../2021-09-01/examples/Formulas_Update.json | 16 +++---
.../examples/GalleryImages_Get.json | 6 +--
.../examples/GalleryImages_List.json | 8 +--
.../GlobalSchedules_CreateOrUpdate.json | 6 +--
.../examples/GlobalSchedules_Delete.json | 2 +-
.../examples/GlobalSchedules_Execute.json | 2 +-
.../examples/GlobalSchedules_Get.json | 6 +--
.../GlobalSchedules_ListByResourceGroup.json | 6 +--
.../GlobalSchedules_ListBySubscription.json | 6 +--
.../examples/GlobalSchedules_Retarget.json | 6 +--
.../examples/GlobalSchedules_Update.json | 6 +--
.../examples/LabSecrets_CreateOrUpdate.json | 8 +--
.../examples/LabSecrets_Delete.json | 4 +-
.../2021-09-01/examples/LabSecrets_Get.json | 6 +--
.../2021-09-01/examples/LabSecrets_List.json | 8 +--
.../examples/LabSecrets_Update.json | 6 +--
.../2021-09-01/examples/Labs_ClaimAnyVm.json | 4 +-
.../examples/Labs_CreateEnvironment.json | 12 ++---
.../examples/Labs_CreateOrUpdate.json | 18 +++----
.../2021-09-01/examples/Labs_Delete.json | 4 +-
.../Labs_EnsureCurrentUserProfile.json | 4 +-
.../examples/Labs_ExportResourceUsage.json | 4 +-
.../examples/Labs_GenerateUploadUri.json | 4 +-
.../stable/2021-09-01/examples/Labs_Get.json | 20 ++++----
.../examples/Labs_ImportVirtualMachine.json | 8 +--
.../examples/Labs_ListByResourceGroup.json | 10 ++--
.../examples/Labs_ListBySubscription.json | 26 +++++-----
.../2021-09-01/examples/Labs_ListVhds.json | 4 +-
.../2021-09-01/examples/Labs_Update.json | 12 ++---
.../NotificationChannels_CreateOrUpdate.json | 14 +++---
.../examples/NotificationChannels_Delete.json | 4 +-
.../examples/NotificationChannels_Get.json | 8 +--
.../examples/NotificationChannels_List.json | 12 ++---
.../examples/NotificationChannels_Notify.json | 6 +--
.../examples/NotificationChannels_Update.json | 8 +--
.../2021-09-01/examples/Operations_Get.json | 2 +-
.../examples/Policies_CreateOrUpdate.json | 18 +++----
.../2021-09-01/examples/Policies_Delete.json | 4 +-
.../2021-09-01/examples/Policies_Get.json | 10 ++--
.../2021-09-01/examples/Policies_List.json | 10 ++--
.../2021-09-01/examples/Policies_Update.json | 10 ++--
.../examples/PolicySets_EvaluatePolicies.json | 4 +-
.../2021-09-01/examples/PolicySets_List.json | 6 +--
.../examples/Schedules_CreateOrUpdate.json | 20 ++++----
.../2021-09-01/examples/Schedules_Delete.json | 4 +-
.../examples/Schedules_Execute.json | 4 +-
.../2021-09-01/examples/Schedules_Get.json | 10 ++--
.../2021-09-01/examples/Schedules_List.json | 10 ++--
.../examples/Schedules_ListApplicable.json | 10 ++--
.../2021-09-01/examples/Schedules_Update.json | 10 ++--
.../examples/Secrets_CreateOrUpdate.json | 16 +++---
.../2021-09-01/examples/Secrets_Delete.json | 6 +--
.../2021-09-01/examples/Secrets_Get.json | 10 ++--
.../2021-09-01/examples/Secrets_List.json | 14 +++---
.../2021-09-01/examples/Secrets_Update.json | 10 ++--
...ServiceFabricSchedules_CreateOrUpdate.json | 20 ++++----
.../ServiceFabricSchedules_Delete.json | 4 +-
.../ServiceFabricSchedules_Execute.json | 4 +-
.../examples/ServiceFabricSchedules_Get.json | 10 ++--
.../examples/ServiceFabricSchedules_List.json | 10 ++--
.../ServiceFabricSchedules_Update.json | 10 ++--
.../ServiceFabrics_CreateOrUpdate.json | 50 +++++++++----------
.../examples/ServiceFabrics_Delete.json | 8 +--
.../examples/ServiceFabrics_Get.json | 28 +++++------
.../examples/ServiceFabrics_List.json | 26 +++++-----
...erviceFabrics_ListApplicableSchedules.json | 22 ++++----
.../examples/ServiceFabrics_Start.json | 8 +--
.../examples/ServiceFabrics_Stop.json | 8 +--
.../examples/ServiceFabrics_Update.json | 28 +++++------
.../ServiceRunners_CreateOrUpdate.json | 8 +--
.../examples/ServiceRunners_Delete.json | 2 +-
.../examples/ServiceRunners_Get.json | 6 +--
.../examples/ServiceRunners_List.json | 6 +--
.../SharedGalleries_CreateOrUpdate.json | 20 ++++----
.../examples/SharedGalleries_Delete.json | 4 +-
.../examples/SharedGalleries_Get.json | 10 ++--
.../examples/SharedGalleries_List.json | 10 ++--
.../examples/SharedGalleries_Update.json | 10 ++--
.../examples/SharedImages_CreateOrUpdate.json | 14 +++---
.../examples/SharedImages_Delete.json | 4 +-
.../2021-09-01/examples/SharedImages_Get.json | 8 +--
.../examples/SharedImages_List.json | 8 +--
.../examples/SharedImages_Update.json | 8 +--
.../examples/Users_CreateOrUpdate.json | 12 ++---
.../2021-09-01/examples/Users_Delete.json | 4 +-
.../stable/2021-09-01/examples/Users_Get.json | 8 +--
.../2021-09-01/examples/Users_List.json | 6 +--
.../2021-09-01/examples/Users_Update.json | 10 ++--
...irtualMachineSchedules_CreateOrUpdate.json | 22 ++++----
.../VirtualMachineSchedules_Delete.json | 6 +--
.../VirtualMachineSchedules_Execute.json | 6 +--
.../examples/VirtualMachineSchedules_Get.json | 12 ++---
.../VirtualMachineSchedules_List.json | 12 ++---
.../VirtualMachineSchedules_Update.json | 12 ++---
.../examples/VirtualMachines_AddDataDisk.json | 8 +--
.../VirtualMachines_ApplyArtifacts.json | 8 +--
.../examples/VirtualMachines_Claim.json | 6 +--
.../VirtualMachines_ClearArtifactResults.json | 4 +-
.../VirtualMachines_CreateOrUpdate.json | 42 ++++++++--------
.../examples/VirtualMachines_Delete.json | 6 +--
.../VirtualMachines_DetachDataDisk.json | 6 +--
.../examples/VirtualMachines_Get.json | 20 ++++----
.../VirtualMachines_GetRdpFileContents.json | 8 +--
.../examples/VirtualMachines_List.json | 18 +++----
...rtualMachines_ListApplicableSchedules.json | 18 +++----
.../examples/VirtualMachines_Redeploy.json | 6 +--
.../examples/VirtualMachines_Resize.json | 6 +--
.../examples/VirtualMachines_Restart.json | 6 +--
.../examples/VirtualMachines_Start.json | 6 +--
.../examples/VirtualMachines_Stop.json | 6 +--
.../VirtualMachines_TransferDisks.json | 4 +-
.../examples/VirtualMachines_UnClaim.json | 6 +--
.../examples/VirtualMachines_Update.json | 20 ++++----
.../VirtualNetworks_CreateOrUpdate.json | 14 +++---
.../examples/VirtualNetworks_Delete.json | 6 +--
.../examples/VirtualNetworks_Get.json | 20 ++++----
.../examples/VirtualNetworks_List.json | 18 +++----
.../examples/VirtualNetworks_Update.json | 16 +++---
156 files changed, 845 insertions(+), 845 deletions(-)
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json
index 07fb95011130..f2a7f0f01339 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_Get.json
@@ -1,11 +1,11 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "artifactSourceName": "{artifactSourceName}",
- "name": "{armTemplateName}"
+ "labName": "exampleLab",
+ "artifactSourceName": "artifactSourceName",
+ "name": "armTemplateName"
},
"responses": {
"200": {
@@ -27,7 +27,7 @@
"parametersValueFilesInfo": [],
"enabled": true
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactSources/artifactSourceName/armTemplates/armTemplateName",
"name": "Template1",
"type": "Microsoft.DevTestLab/labs/artifactSources/armTemplates"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json
index 2e7eba979c20..463fd7ab1ca6 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArmTemplates_List.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "artifactSourceName": "{artifactSourceName}"
+ "labName": "exampleLab",
+ "artifactSourceName": "artifactSourceName"
},
"responses": {
"200": {
@@ -28,7 +28,7 @@
"parametersValueFilesInfo": [],
"enabled": true
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactSources/artifactSourceName/armTemplates/armTemplateName",
"name": "Template1",
"type": "Microsoft.DevTestLab/labs/artifactSources/armTemplates"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json
index f2aceb56d06a..785923167301 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_CreateOrUpdate.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{artifactSourceName}",
+ "labName": "exampleLab",
+ "name": "artifactSourceName",
"artifactSource": {
"properties": {
"displayName": "{displayName}",
@@ -16,7 +16,7 @@
"securityToken": "{securityToken}",
"status": "{status}"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -38,10 +38,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
- "name": "{artifactSourceName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactsources/artifactSourceName",
+ "name": "artifactSourceName",
"type": "Microsoft.DevTestLab/labs/artifactsources",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -62,10 +62,10 @@
"provisioningState": "Created",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
- "name": "{artifactSourceName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactsources/artifactSourceName",
+ "name": "artifactSourceName",
"type": "Microsoft.DevTestLab/labs/artifactsources",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json
index c250787e79cd..da90b09f2554 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Delete.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{artifactSourceName}"
+ "labName": "exampleLab",
+ "name": "artifactSourceName"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json
index fbfb5a6c3c1a..63ecba69f380 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Get.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{artifactSourceName}"
+ "labName": "exampleLab",
+ "name": "artifactSourceName"
},
"responses": {
"200": {
@@ -22,10 +22,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
- "name": "{artifactSourceName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactsources/artifactSourceName",
+ "name": "artifactSourceName",
"type": "Microsoft.DevTestLab/labs/artifactsources",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json
index feb476c93f8a..6eed25d34f7e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -23,10 +23,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
- "name": "{artifactSourceName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactsources/artifactSourceName",
+ "name": "artifactSourceName",
"type": "Microsoft.DevTestLab/labs/artifactsources",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json
index c16eb779f6a8..811e4d75adc8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ArtifactSources_Update.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{artifactSourceName}",
+ "labName": "exampleLab",
+ "name": "artifactSourceName",
"artifactSource": {
"tags": {
"tagName1": "tagValue1"
@@ -27,10 +27,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
- "name": "{artifactSourceName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactsources/artifactSourceName",
+ "name": "artifactSourceName",
"type": "Microsoft.DevTestLab/labs/artifactsources",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json
index 0b2face89a78..bb2c1602e6e5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_GenerateArmTemplate.json
@@ -1,15 +1,15 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "artifactSourceName": "{artifactSourceName}",
- "name": "{artifactName}",
+ "labName": "exampleLab",
+ "artifactSourceName": "artifactSourceName",
+ "name": "exampleArtifact",
"generateArmTemplateRequest": {
"fileUploadOptions": "None",
- "location": "{location}",
- "virtualMachineName": "{vmName}"
+ "location": "westcentralus",
+ "virtualMachineName": "vmName001"
}
},
"responses": {
@@ -56,10 +56,10 @@
},
"parameters": {
"extensionName": {
- "value": "{vmName}/CustomScriptExtension"
+ "value": "vmName001/CustomScriptExtension"
},
"location": {
- "value": "{location}"
+ "value": "westcentralus"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json
index 45471643968e..720ed23dd72f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_Get.json
@@ -1,11 +1,11 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "artifactSourceName": "{artifactSourceName}",
- "name": "{artifactName}"
+ "labName": "exampleLab",
+ "artifactSourceName": "artifactSourceName",
+ "name": "exampleArtifact"
},
"responses": {
"200": {
@@ -14,19 +14,19 @@
"title": "Sample Artifact Title",
"description": "Sample artifact description.",
"publisher": "Microsoft",
- "filePath": "{artifactsPath}/{artifactName}",
+ "filePath": "{artifactsPath}/exampleArtifact",
"targetOsType": "Windows",
"parameters": {
"uri": {
"type": "string",
"displayName": "Sample Parameter 1",
"description": "Sample parameter 1 description.",
- "defaultValue": "https://{labStorageAccount}.blob.core.windows.net/{artifactName}/..."
+ "defaultValue": "https://{labStorageAccount}.blob.core.windows.net/exampleArtifact/..."
}
}
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/artifacts/{artifactName}",
- "name": "{artifactName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactSources/artifactSourceName/artifacts/exampleArtifact",
+ "name": "exampleArtifact",
"type": "Microsoft.DevTestLab/labs/artifactSources/artifacts"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json
index 4d4d593b1398..91e6a2ba1bf4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Artifacts_List.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "artifactSourceName": "{artifactSourceName}"
+ "labName": "exampleLab",
+ "artifactSourceName": "artifactSourceName"
},
"responses": {
"200": {
@@ -15,19 +15,19 @@
"title": "Sample Artifact Title",
"description": "Sample artifact description.",
"publisher": "Microsoft",
- "filePath": "{artifactsPath}/{artifactName}",
+ "filePath": "{artifactsPath}/exampleArtifact",
"targetOsType": "Windows",
"parameters": {
"uri": {
"type": "string",
"displayName": "Sample Parameter 1",
"description": "Sample parameter 1 description.",
- "defaultValue": "https://{labStorageAccount}.blob.core.windows.net/{artifactName}/..."
+ "defaultValue": "https://{labStorageAccount}.blob.core.windows.net/exampleArtifact/..."
}
}
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/artifacts/{artifactName}",
- "name": "{artifactName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactSources/artifactSourceName/artifacts/exampleArtifact",
+ "name": "exampleArtifact",
"type": "Microsoft.DevTestLab/labs/artifactSources/artifacts"
}
]
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_CreateOrUpdate.json
index 4105c25a7a7e..5e23ab3e7201 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_CreateOrUpdate.json
@@ -1,27 +1,27 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualNetworkName": "{virtualNetworkName}",
+ "labName": "exampleLab",
+ "virtualNetworkName": "dtlexampleLab",
"name": "{bastionHostName}",
"bastionHost": {
"properties": {},
- "location": "{location}"
+ "location": "westcentralus"
}
},
"responses": {
"200": {
"body": {
"properties": {
- "ipAddressId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
+ "ipAddressId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
"provisioningState": "Succeeded"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/pt-test-rg/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/pt-test-rg/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab/bastionhosts/{bastionHostName}",
"name": "{bastionHostName}",
"type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -32,10 +32,10 @@
"properties": {
"provisioningState": "Created"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab/bastionhosts/{bastionHostName}",
"name": "{bastionHostName}",
"type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Delete.json
index 65ab6858e3ab..0b5cfe159b0d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Delete.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualNetworkName": "{virtualNetworkName}",
+ "labName": "exampleLab",
+ "virtualNetworkName": "dtlexampleLab",
"name": "{bastionHostName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Get.json
index 7ad190ee2c1c..891c01b9d842 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Get.json
@@ -1,23 +1,23 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualNetworkName": "{virtualNetworkName}",
+ "labName": "exampleLab",
+ "virtualNetworkName": "dtlexampleLab",
"name": "{bastionHostName}"
},
"responses": {
"200": {
"body": {
"properties": {
- "ipAddressId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
+ "ipAddressId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
"provisioningState": "Succeeded"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab/bastionhosts/{bastionHostName}",
"name": "{bastionHostName}",
"type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_List.json
index cddf5b79ee76..eccc923a1c6c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_List.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualNetworkName": "{virtualNetworkName}"
+ "labName": "exampleLab",
+ "virtualNetworkName": "dtlexampleLab"
},
"responses": {
"200": {
@@ -12,13 +12,13 @@
"value": [
{
"properties": {
- "ipAddressId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
+ "ipAddressId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
"provisioningState": "Succeeded"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab/bastionhosts/{bastionHostName}",
"name": "{bastionHostName}",
"type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Update.json
index 8e7acd73272c..9c2cea279df5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/BastionHosts_Update.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualNetworkName": "{virtualNetworkName}",
+ "labName": "exampleLab",
+ "virtualNetworkName": "dtlexampleLab",
"name": "{bastionHostName}",
"bastionHost": {
"tags": {
@@ -16,13 +16,13 @@
"200": {
"body": {
"properties": {
- "ipAddressId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
+ "ipAddressId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/publicIpAddresses/{ipName}",
"provisioningState": "Succeeded"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/pt-test-rg/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}/bastionhosts/{bastionHostName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/pt-test-rg/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab/bastionhosts/{bastionHostName}",
"name": "{bastionHostName}",
"type": "Microsoft.DevTestLab/labs/virtualNetworks/bastionHosts",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json
index e6806a45f454..d522bea6ecb7 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_CreateOrUpdate.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "targetCost",
"labCost": {
"properties": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json
index 6be36b02f3d3..4dea07e32451 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Costs_Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "targetCost"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json
index 5fa7377b601c..1a365ac62061 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_CreateOrUpdate.json
@@ -1,21 +1,21 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{customImageName}",
+ "labName": "exampleLab",
+ "name": "customImageName",
"customImage": {
"properties": {
"vm": {
"linuxOsInfo": {
"linuxOsState": "NonDeprovisioned"
},
- "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ "sourceVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001"
},
"description": "My Custom Image"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -24,16 +24,16 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
- "name": "{customImageName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/customimages/customImageName",
+ "name": "customImageName",
"type": "Microsoft.DevTestLab/labs/customImages",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"vm": {
"linuxOsInfo": {
"linuxOsState": "NonDeprovisioned"
},
- "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ "sourceVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001"
},
"description": "My Custom Image",
"author": "{authorName}",
@@ -48,16 +48,16 @@
},
"201": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
- "name": "{customImageName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/customimages/customImageName",
+ "name": "customImageName",
"type": "Microsoft.DevTestLab/labs/customImages",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"vm": {
"linuxOsInfo": {
"linuxOsState": "NonDeprovisioned"
},
- "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ "sourceVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001"
},
"description": "My Custom Image",
"author": "{authorName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json
index 67202e9fb8dd..d3200f7c7357 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Delete.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{customImageName}"
+ "labName": "exampleLab",
+ "name": "customImageName"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json
index 80f94d8816ec..3f9bf6f7475e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Get.json
@@ -1,18 +1,18 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{customImageName}"
+ "labName": "exampleLab",
+ "name": "customImageName"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
- "name": "{customImageName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/customimages/customImageName",
+ "name": "customImageName",
"type": "Microsoft.DevTestLab/labs/customImages",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"description": "My Custom Image",
"author": "{authorName}",
@@ -20,7 +20,7 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}",
"vm": {
- "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
+ "sourceVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001",
"linuxOsInfo": {
"linuxOsState": "NonDeprovisioned"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json
index 8baedf4cd35d..f1b5366de05e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_List.json
@@ -1,19 +1,19 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
"body": {
"value": [
{
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
- "name": "{customImageName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/customimages/customImageName",
+ "name": "customImageName",
"type": "Microsoft.DevTestLab/labs/customImages",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"description": "My Custom Image",
"author": "{authorName}",
@@ -21,7 +21,7 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}",
"vm": {
- "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
+ "sourceVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001",
"linuxOsInfo": {
"linuxOsState": "NonDeprovisioned"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json
index 35a1e7fbde7e..e099a6a83b1f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/CustomImages_Update.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{customImageName}",
+ "labName": "exampleLab",
+ "name": "customImageName",
"customImage": {
"tags": {
"tagName1": "tagValue2"
@@ -14,16 +14,16 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/customimages/{customImageName}",
- "name": "{customImageName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/customimages/customImageName",
+ "name": "customImageName",
"type": "Microsoft.DevTestLab/labs/customImages",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"vm": {
"linuxOsInfo": {
"linuxOsState": "NonDeprovisioned"
},
- "sourceVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ "sourceVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001"
},
"description": "My Custom Image",
"author": "{authorName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json
index abe33a37ee87..3d702b745ebc 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Attach.json
@@ -1,13 +1,13 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "{userId}",
- "name": "{diskName}",
+ "name": "diskName",
"attachDiskProperties": {
- "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ "leasedByLabVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001"
}
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json
index ccb27bb7f55b..afe01be39e33 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_CreateOrUpdate.json
@@ -1,55 +1,55 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "{userId}",
- "name": "{diskName}",
+ "name": "diskName",
"disk": {
"properties": {
"diskType": "Standard",
"diskSizeGiB": 1023,
- "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName"
+ "leasedByLabVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName"
},
- "location": "{location}"
+ "location": "westcentralus"
}
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/l{labName}/users/{userId}/disks/{diskName}",
- "name": "{diskName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/lexampleLab/users/{userId}/disks/diskName",
+ "name": "diskName",
"type": "Microsoft.DevTestLab/labs/users/disks",
"properties": {
"diskType": "Standard",
"diskSizeGiB": 1023,
- "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "leasedByLabVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName",
"diskUri": "",
"createdDate": "2021-01-04T20:21:02.0182357+00:00",
"hostCaching": "None",
"provisioningState": "Succeeded",
"uniqueIdentifier": "b7183ac5-1097-4513-b597-4d9d23e0a820"
},
- "location": "{location}"
+ "location": "westcentralus"
}
},
"201": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/l{labName}/users/{userId}/disks/{diskName}",
- "name": "{diskName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/lexampleLab/users/{userId}/disks/diskName",
+ "name": "diskName",
"type": "Microsoft.DevTestLab/labs/users/disks",
"properties": {
"diskType": "Standard",
"diskSizeGiB": 1023,
- "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "leasedByLabVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName",
"diskUri": "",
"createdDate": "2021-01-04T20:21:02.0182357+00:00",
"hostCaching": "None",
"provisioningState": "Creating",
"uniqueIdentifier": "b7183ac5-1097-4513-b597-4d9d23e0a820"
},
- "location": "{location}"
+ "location": "westcentralus"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json
index 534769668653..7e39e6999f57 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Delete.json
@@ -1,11 +1,11 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "{userId}",
- "name": "{diskName}"
+ "name": "diskName"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json
index 1e5e853fe5ae..89313e16615f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Detach.json
@@ -1,13 +1,13 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "{userId}",
- "name": "{diskName}",
+ "name": "diskName",
"detachDiskProperties": {
- "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
+ "leasedByLabVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/myResourceGroup/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001"
}
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json
index f56d5db944fd..d0e976e509da 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Get.json
@@ -1,30 +1,30 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{diskName}",
+ "labName": "exampleLab",
+ "name": "diskName",
"userName": "@me"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userId}/disks/{diskName}",
- "name": "{diskName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/{userId}/disks/diskName",
+ "name": "diskName",
"type": "Microsoft.DevTestLab/labs/users/disks",
"properties": {
"diskType": "Standard",
"diskSizeGiB": 1023,
- "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "leasedByLabVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName",
"diskUri": "",
"createdDate": "2021-01-04T20:27:32.1445632+00:00",
"hostCaching": "None",
- "managedDiskId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/disks/{diskName}",
+ "managedDiskId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.compute/disks/diskName",
"provisioningState": "Succeeded",
"uniqueIdentifier": "9bf098d1-1b64-41a5-aa05-286767074a0b"
},
- "location": "{location}"
+ "location": "westcentralus"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json
index d71558a9d12b..073c416f9d7f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_List.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{diskName}",
+ "labName": "exampleLab",
+ "name": "diskName",
"userName": "@me"
},
"responses": {
@@ -12,21 +12,21 @@
"body": {
"value": [
{
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userId}/disks/{diskName}",
- "name": "{diskName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/{userId}/disks/diskName",
+ "name": "diskName",
"type": "Microsoft.DevTestLab/labs/users/disks",
"properties": {
"diskType": "Standard",
"diskSizeGiB": 1023,
- "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "leasedByLabVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName",
"diskUri": "",
"createdDate": "2021-01-04T20:27:32.1445632+00:00",
"hostCaching": "None",
- "managedDiskId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/disks/{diskName}",
+ "managedDiskId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.compute/disks/diskName",
"provisioningState": "Succeeded",
"uniqueIdentifier": "9bf098d1-1b64-41a5-aa05-286767074a0b"
},
- "location": "{location}"
+ "location": "westcentralus"
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json
index 458191bb8a43..d68d934e8f9e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Disks_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"name": "diskName",
"disk": {
@@ -15,20 +15,20 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{user-id}/disks/{diskName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/{user-id}/disks/diskName",
"name": "{disk-name}",
"type": "Microsoft.DevTestLab/labs/users/disks",
"properties": {
"diskType": "Standard",
"diskSizeGiB": 1023,
- "leasedByLabVmId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/vmName",
+ "leasedByLabVmId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName",
"diskUri": "",
"createdDate": "2021-01-04T20:21:02.0182357+00:00",
"hostCaching": "None",
"provisioningState": "Succeeded",
"uniqueIdentifier": "b7183ac5-1097-4513-b597-4d9d23e0a820"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json
index 9a795704412a..4f681c08a1ef 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_CreateOrUpdate.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"name": "{environmentName}",
"dtlEnvironment": {
@@ -11,7 +11,7 @@
"properties": {
"deploymentProperties": {
"parameters": [],
- "armTemplateId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ "armTemplateId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactSources/artifactSourceName/armTemplates/armTemplateName"
}
}
}
@@ -19,13 +19,13 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/{uniqueIdentifier}/environments/{environmentName}",
"name": "{environmentName}",
"type": "Microsoft.DevTestLab/labs/users/environments",
"location": "southeastasia",
"properties": {
"deploymentProperties": {
- "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ "armTemplateId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/artifactSources/artifactSourceName/armTemplates/armTemplateName"
},
"createdByUser": "user@contoso.com",
"provisioningState": "Succeeded",
@@ -38,13 +38,13 @@
},
"201": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/{uniqueIdentifier}/environments/{environmentName}",
"name": "{environmentName}",
"type": "Microsoft.DevTestLab/labs/users/environments",
"location": "southeastasia",
"properties": {
"deploymentProperties": {
- "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ "armTemplateId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/artifactSources/artifactSourceName/armTemplates/armTemplateName"
},
"createdByUser": "user@contoso.com",
"provisioningState": "Creating",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json
index b47ba6822a41..78eb44241a03 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"name": "{environmentName}"
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json
index a756f776fa52..2a35f8a5950c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Get.json
@@ -1,22 +1,22 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"name": "{environmentName}"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/{uniqueIdentifier}/environments/{environmentName}",
"name": "{environmentName}",
"type": "Microsoft.DevTestLab/labs/users/environments",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"deploymentProperties": {
- "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ "armTemplateId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/artifactSources/artifactSourceName/armTemplates/armTemplateName"
},
"createdByUser": "user@contoso.com",
"provisioningState": "Succeeded",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json
index 77a5f031f701..8899441d00aa 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me"
},
"responses": {
@@ -11,13 +11,13 @@
"body": {
"value": [
{
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/{uniqueIdentifier}/environments/{environmentName}",
"name": "{environmentName}",
"type": "Microsoft.DevTestLab/labs/users/environments",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"deploymentProperties": {
- "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ "armTemplateId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/artifactSources/artifactSourceName/armTemplates/armTemplateName"
},
"createdByUser": "user@contoso.com",
"provisioningState": "Succeeded",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json
index c7afd09bbb02..55e9e3a8d173 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Environments_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"name": "{environmentName}",
"dtlEnvironment": {
@@ -15,13 +15,13 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{uniqueIdentifier}/environments/{environmentName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/{uniqueIdentifier}/environments/{environmentName}",
"name": "{environmentName}",
"type": "Microsoft.DevTestLab/labs/users/environments",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"deploymentProperties": {
- "armTemplateId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/artifactSources/{artifactSourceName}/armTemplates/{armTemplateName}"
+ "armTemplateId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/artifactSources/artifactSourceName/armTemplates/armTemplateName"
},
"createdByUser": "user@contoso.com",
"provisioningState": "Succeeded",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json
index 91bd52547f07..29052f3858b3 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_CreateOrUpdate.json
@@ -1,12 +1,12 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{formulaName}",
"formula": {
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"description": "Formula using a Linux base",
"formulaContent": {
@@ -15,8 +15,8 @@
"size": "Standard_B1ms",
"userName": "user",
"isAuthenticationWithSshKey": false,
- "labSubnetName": "Dtl{labName}Subnet",
- "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "labSubnetName": "DtlexampleLabSubnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"galleryImageReference": {
"offer": "0001-com-ubuntu-server-groovy",
@@ -27,7 +27,7 @@
},
"artifacts": [
{
- "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "artifactId": "/artifactsources/artifactSourceName/artifacts/linux-install-nodejs",
"parameters": []
}
],
@@ -44,7 +44,7 @@
"allowClaim": false,
"storageType": "Standard"
},
- "location": "{location}"
+ "location": "westcentralus"
}
}
}
@@ -62,12 +62,12 @@
"size": "Standard_B1ms",
"userName": "user",
"isAuthenticationWithSshKey": false,
- "labSubnetName": "Dtl{labName}Subnet",
- "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "labSubnetName": "DtlexampleLabSubnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"artifacts": [
{
- "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "artifactId": "/artifactsources/artifactSourceName/artifacts/linux-install-nodejs",
"parameters": []
}
],
@@ -91,15 +91,15 @@
"allowClaim": false,
"storageType": "Standard"
},
- "location": "{location}"
+ "location": "westcentralus"
},
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/formulas/{formulaName}",
"name": "{formulaName}",
"type": "Microsoft.DevTestLab/labs/formulas",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -117,12 +117,12 @@
"size": "Standard_B1ms",
"userName": "user",
"isAuthenticationWithSshKey": false,
- "labSubnetName": "Dtl{labName}Subnet",
- "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "labSubnetName": "DtlexampleLabSubnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"artifacts": [
{
- "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "artifactId": "/artifactsources/artifactSourceName/artifacts/linux-install-nodejs",
"parameters": []
}
],
@@ -146,15 +146,15 @@
"allowClaim": false,
"storageType": "Standard"
},
- "location": "{location}"
+ "location": "westcentralus"
},
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/formulas/{formulaName}",
"name": "{formulaName}",
"type": "Microsoft.DevTestLab/labs/formulas",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json
index 98bb52990ff9..293b95180dd6 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{formulaName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json
index 71b89274f208..7f80ea3ba203 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Get.json
@@ -1,15 +1,15 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{formulaName}"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/formulas/{formulaName}",
"name": "{formulaName}",
"type": "Microsoft.DevTestLab/labs/formulas",
"properties": {
@@ -23,8 +23,8 @@
"size": "Standard_B1ms",
"userName": "user",
"isAuthenticationWithSshKey": false,
- "labSubnetName": "Dtl{labName}Subnet",
- "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "labSubnetName": "DtlexampleLabSubnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"galleryImageReference": {
"offer": "0001-com-ubuntu-server-groovy",
@@ -35,7 +35,7 @@
},
"artifacts": [
{
- "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "artifactId": "/artifactsources/artifactSourceName/artifacts/linux-install-nodejs",
"parameters": []
}
],
@@ -52,12 +52,12 @@
"allowClaim": false,
"storageType": "Standard"
},
- "location": "{location}"
+ "location": "westcentralus"
},
"provisioningState": "Succeeded",
"uniqueIdentifier": "7a7d20ab-8a50-46fb-8dc6-7c6c1443a01b"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json
index d282f316baa2..7dec06e49dc8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -21,8 +21,8 @@
"size": "Standard_B1ms",
"userName": "user",
"isAuthenticationWithSshKey": false,
- "labSubnetName": "Dtl{labName}Subnet",
- "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "labSubnetName": "DtlexampleLabSubnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"galleryImageReference": {
"offer": "0001-com-ubuntu-server-groovy",
@@ -33,7 +33,7 @@
},
"artifacts": [
{
- "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "artifactId": "/artifactsources/artifactSourceName/artifacts/linux-install-nodejs",
"parameters": []
}
],
@@ -50,15 +50,15 @@
"allowClaim": false,
"storageType": "Standard"
},
- "location": "{location}"
+ "location": "westcentralus"
},
"provisioningState": "Succeeded",
"uniqueIdentifier": "7a7d20ab-8a50-46fb-8dc6-7c6c1443a01b"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/formulas/{formulaName}",
"name": "{formulaName}",
"type": "Microsoft.DevTestLab/labs/formulas",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json
index 99d739c5495b..d4a6b381f5d0 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Formulas_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{formulaName}",
"formula": {
"tags": {
@@ -14,10 +14,10 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/formulas/{formulaName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/formulas/{formulaName}",
"name": "{formulaName}",
"type": "Microsoft.DevTestLab/labs/formulas",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"description": "Formula using a Linux base",
"author": "username@contoso.com",
@@ -28,12 +28,12 @@
"size": "Standard_B1ms",
"userName": "user",
"isAuthenticationWithSshKey": false,
- "labSubnetName": "Dtl{labName}Subnet",
- "labVirtualNetworkId": "/virtualnetworks/dtl{labName}",
+ "labSubnetName": "DtlexampleLabSubnet",
+ "labVirtualNetworkId": "/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"artifacts": [
{
- "artifactId": "/artifactsources/{artifactSourceName}/artifacts/linux-install-nodejs",
+ "artifactId": "/artifactsources/artifactSourceName/artifacts/linux-install-nodejs",
"parameters": []
}
],
@@ -57,7 +57,7 @@
"allowClaim": false,
"storageType": "Standard"
},
- "location": "{location}"
+ "location": "westcentralus"
},
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_Get.json
index 5d11de2e2729..e99a106001e5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{name}"
},
"responses": {
@@ -23,7 +23,7 @@
"icon": "https://106c4.wpc.azureedge.net/80106C4/Gallery-Prod/cdn/2015-02-24/prod20161101-microsoft-windowsazure-gallery/canonical.0001-com-ubuntu-server-focal20_04-lts-ARM.1.0.22/Icons/Small.png",
"enabled": true
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/galleryimages/ubuntu server 20.04 lts",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/galleryimages/ubuntu server 20.04 lts",
"name": "Ubuntu Server 20.04 LTS",
"type": "Microsoft.DevTestLab/labs/galleryImages"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json
index 385ab1439026..432b81347953 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GalleryImages_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -24,7 +24,7 @@
"icon": "https://106c4.wpc.azureedge.net/80106C4/Gallery-Prod/cdn/2015-02-24/prod20161101-microsoft-windowsazure-gallery/canonical.0001-com-ubuntu-server-focal20_04-lts-ARM.1.0.22/Icons/Small.png",
"enabled": true
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/galleryimages/ubuntu server 20.04 lts",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/galleryimages/ubuntu server 20.04 lts",
"name": "Ubuntu Server 20.04 LTS",
"type": "Microsoft.DevTestLab/labs/galleryImages"
},
@@ -43,7 +43,7 @@
"icon": "https://106c4.wpc.azureedge.net/80106C4/Gallery-Prod/cdn/2015-02-24/prod20161101-microsoft-windowsazure-gallery/microsoftwindowsdesktop.windows-1020h2-ent.1.0.238/Icons/Small.png",
"enabled": true
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/galleryimages/windows 10 enterprise, version 20h2",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/galleryimages/windows 10 enterprise, version 20h2",
"name": "Windows 10 Enterprise, Version 20H2",
"type": "Microsoft.DevTestLab/labs/galleryImages"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json
index 90db83015d37..2060242d5d2e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_CreateOrUpdate.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart",
"schedule": {
@@ -49,7 +49,7 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{id}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/labvmautostart",
"name": "LabVmAutoStart",
"type": "microsoft.devtestlab/labs/schedules",
"location": "southeastasia",
@@ -82,7 +82,7 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{id}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/labvmautostart",
"name": "LabVmAutoStart",
"type": "microsoft.devtestlab/labs/schedules",
"location": "southeastasia",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json
index 76405662a7ba..e581029019d6 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Delete.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart"
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json
index 3c15b16b3a51..890cdec88b7e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Execute.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart"
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json
index 2723303782ee..4885bc40883c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart"
},
@@ -30,10 +30,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{id}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/labvmautostart",
"name": "LabVmAutoStart",
"type": "microsoft.devtestlab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json
index 36f7b805840e..bd370786b739 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListByResourceGroup.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName"
},
"responses": {
@@ -9,10 +9,10 @@
"body": {
"value": [
{
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/labvmautostart",
"name": "LabVmAutoStart",
"type": "microsoft.devtestlab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"status": "Enabled",
"taskType": "LabVmsStartupTask",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json
index 1e1b1d0f4356..b2d8a2e621aa 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_ListBySubscription.json
@@ -1,17 +1,17 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}"
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d"
},
"responses": {
"200": {
"body": {
"value": [
{
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/labvmautostart",
"name": "LabVmAutoStart",
"type": "microsoft.devtestlab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"status": "Enabled",
"taskType": "LabVmsStartupTask",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json
index 37527b587276..84e62a7df161 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Retarget.json
@@ -1,12 +1,12 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"name": "{scheduleName}",
"retargetScheduleProperties": {
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{currentLab}",
- "currentResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{targetLab}"
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{currentLab}",
+ "currentResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{targetLab}"
}
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json
index 99f876a387c5..47ba3f950030 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/GlobalSchedules_Update.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"name": "labvmautostart",
"schedule": {
@@ -35,10 +35,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/labvmautostart",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/labvmautostart",
"name": "LabVmAutoStart",
"type": "microsoft.devtestlab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_CreateOrUpdate.json
index 3fb8a6703f55..b78e4ccf0b94 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_CreateOrUpdate.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{secretName}",
"secretValue":"{secretValue}",
"labSecret": {
@@ -13,7 +13,7 @@
"enabledForArmEnvironments": true,
"value": "{secretValue}"
},
- "location": "{location}"
+ "location": "westcentralus"
}
},
"responses": {
@@ -25,7 +25,7 @@
"enabledForArmEnvironments": true,
"provisioningState": "Creating"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{secretName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/exampleLab/secrets/{secretName}",
"name": "{secretName}",
"type": "Microsoft.DevTestLab/labs/secrets",
"location": "southeastasia"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Delete.json
index 4c1b06a69241..91f4cd85492d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{secretName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Get.json
index c5e4a9a33a8e..c0efd8d2ec9f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "labSecretName"
},
"responses": {
@@ -16,7 +16,7 @@
"enabledForArmEnvironments": false,
"provisioningState": "Succeeded"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{labSecretName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/exampleLab/secrets/{labSecretName}",
"name": "{labSecretName}",
"type": "Microsoft.DevTestLab/labs/secrets",
"location": "southeastasia"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_List.json
index c36a28e28fd5..f50d7c014788 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -16,7 +16,7 @@
"enabledForArmEnvironments": true,
"provisioningState": "Succeeded"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{secretName1}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/exampleLab/secrets/{secretName1}",
"name": "{secretName1}",
"type": "Microsoft.DevTestLab/labs/secrets",
"location": "southeastasia"
@@ -29,7 +29,7 @@
"enabledForArmEnvironments": false,
"provisioningState": "Succeeded"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{secretName2}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/exampleLab/secrets/{secretName2}",
"name": "{secretName2}",
"type": "Microsoft.DevTestLab/labs/secrets",
"location": "southeastasia"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Update.json
index 1e334b665604..ed3911600bc8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/LabSecrets_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{secretName}",
"secret": {
"tags": {
@@ -21,7 +21,7 @@
"enabledForArmEnvironments": false,
"provisioningState": "Updating"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/secrets/{secretName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/exampleLab/secrets/{secretName}",
"name": "{secretName}",
"type": "Microsoft.DevTestLab/labs/secrets",
"location": "southeastasia",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json
index bb47e9c17112..30e6537faf75 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ClaimAnyVm.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}",
+ "name": "exampleLab",
"monitor": "true"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json
index 96ff1420a229..c31d246fd4e1 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateEnvironment.json
@@ -1,16 +1,16 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}",
+ "name": "exampleLab",
"labVirtualMachineCreationParameter": {
"properties": {
"size": "Standard_A2_v2",
- "userName": "{userName}",
+ "userName": "UserName001",
"password": "{userPassword}",
"labSubnetName": "{virtualnetwork-subnet-name}",
- "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "labVirtualNetworkId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"galleryImageReference": {
"offer": "UbuntuServer",
@@ -22,8 +22,8 @@
"allowClaim": true,
"storageType": "Standard"
},
- "name": "{vmName}",
- "location": "{location}",
+ "name": "vmName001",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json
index d82d5ed4a6e8..10031873ce91 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_CreateOrUpdate.json
@@ -1,14 +1,14 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "{resourceGroupName}",
- "name": "{labName}",
+ "name": "exampleLab",
"lab": {
"properties": {
"labStorageType": "Premium"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -37,10 +37,10 @@
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/exampleLab",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -68,10 +68,10 @@
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json
index 95f92f9900a0..600ee41e71e5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}"
+ "name": "exampleLab"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_EnsureCurrentUserProfile.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_EnsureCurrentUserProfile.json
index 98a4fbaf26e3..f0cce15db6e2 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_EnsureCurrentUserProfile.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_EnsureCurrentUserProfile.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}"
+ "name": "exampleLab"
},
"responses": {
"200": {}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json
index 85f78f19b82a..7aa501d89ea5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ExportResourceUsage.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}",
+ "name": "exampleLab",
"exportResourceUsageParameters": {
"blobStorageAbsoluteSasUri": "https://invalid.blob.core.windows.net/export.blob?sv=2015-07-08&sig={sas}&sp=rcw",
"usageStartDate": "2020-12-01T00:00:00Z"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json
index be986e62f19d..1b41cbe125d4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_GenerateUploadUri.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}",
+ "name": "exampleLab",
"generateUploadUriParameter": {
"blobName": "{blob-name}"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json
index 1727c22e33cc..77f6a9f93415 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Get.json
@@ -1,19 +1,19 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}"
+ "name": "exampleLab"
},
"responses": {
"200": {
"body": {
"properties": {
- "defaultStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
- "defaultPremiumStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
- "artifactsStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
- "premiumDataDiskStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
- "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
+ "defaultStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "defaultPremiumStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "artifactsStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "premiumDataDiskStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "vaultName": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
"labStorageType": "Standard",
"mandatoryArtifactsResourceIdsLinux": [],
"mandatoryArtifactsResourceIdsWindows": [],
@@ -33,10 +33,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json
index a2bfde351634..641826e65cfd 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ImportVirtualMachine.json
@@ -1,12 +1,12 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}",
+ "name": "exampleLab",
"importLabVirtualMachineRequest": {
- "sourceVirtualMachineResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{otherResourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}",
- "destinationVirtualMachineName": "{vmName}"
+ "sourceVirtualMachineResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{otherResourceGroupName}/providers/Microsoft.Compute/virtualMachines/vmName001",
+ "destinationVirtualMachineName": "vmName001"
}
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json
index 18e560cc9f53..4fa21a8c058d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListByResourceGroup.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName"
},
"responses": {
@@ -10,7 +10,7 @@
"value": [
{
"properties": {
- "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
+ "vaultName": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
"labStorageType": "Standard",
"mandatoryArtifactsResourceIdsLinux": [],
"mandatoryArtifactsResourceIdsWindows": [],
@@ -30,10 +30,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json
index 53a772cded99..40fed3753f36 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListBySubscription.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}"
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d"
},
"responses": {
"200": {
@@ -9,11 +9,11 @@
"value": [
{
"properties": {
- "defaultStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
- "defaultPremiumStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
- "artifactsStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
- "premiumDataDiskStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
- "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
+ "defaultStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "defaultPremiumStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "artifactsStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "premiumDataDiskStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/{storageAccountName}",
+ "vaultName": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
"labStorageType": "Premium",
"mandatoryArtifactsResourceIdsLinux": [],
"mandatoryArtifactsResourceIdsWindows": [],
@@ -33,7 +33,7 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName1}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName1}",
"name": "{labName1}",
"type": "Microsoft.DevTestLab/labs",
"location": "westcentralus",
@@ -41,11 +41,11 @@
},
{
"properties": {
- "defaultStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
- "defaultPremiumStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
- "artifactsStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
- "premiumDataDiskStorageAccount": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
- "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName2}/providers/Microsoft.KeyVault/vaults/{keyVaultName2}",
+ "defaultStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
+ "defaultPremiumStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
+ "artifactsStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
+ "premiumDataDiskStorageAccount": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName2}/providers/Microsoft.Storage/storageAccounts/{storageAccountName2}",
+ "vaultName": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/{resourceGroupName2}/providers/Microsoft.KeyVault/vaults/{keyVaultName2}",
"labStorageType": "Premium",
"mandatoryArtifactsResourceIdsLinux": [],
"mandatoryArtifactsResourceIdsWindows": [],
@@ -65,7 +65,7 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName2}/providers/microsoft.devtestlab/labs/{labName2}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/{resourceGroupName2}/providers/microsoft.devtestlab/labs/{labName2}",
"name": "{labName2}",
"type": "Microsoft.DevTestLab/labs",
"location": "japaneast",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json
index 1f089c153a09..ae89e7507305 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_ListVhds.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}"
+ "name": "exampleLab"
},
"responses": {
"200": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json
index 832e65e64133..d36758773c1b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Labs_Update.json
@@ -1,16 +1,16 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "name": "{labName}",
+ "name": "exampleLab",
"lab": {}
},
"responses": {
"200": {
"body": {
"properties": {
- "vaultName": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
+ "vaultName": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/{keyVaultName}",
"labStorageType": "Standard",
"mandatoryArtifactsResourceIdsLinux": [],
"mandatoryArtifactsResourceIdsWindows": [],
@@ -30,10 +30,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json
index eb30b7d553b5..28aed79a4e6a 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_CreateOrUpdate.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{notificationChannelName}",
"notificationChannel": {
"properties": {
@@ -17,7 +17,7 @@
"emailRecipient": "{email}",
"notificationLocale": "en"
},
- "location": "{location}"
+ "location": "westcentralus"
}
},
"responses": {
@@ -37,10 +37,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/notificationChannels/{notificationChannelName}",
"name": "{notificationChannelName}",
"type": "Microsoft.DevTestLab/labs/notificationChannels",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -62,10 +62,10 @@
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/notificationChannels/{notificationChannelName}",
"name": "{notificationChannelName}",
"type": "Microsoft.DevTestLab/labs/notificationChannels",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json
index 77ec26c751da..aa210b159c89 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{notificationChannelName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json
index 426cbee26a8f..28727c4de0ee 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{notificationChannelName}"
},
"responses": {
@@ -23,10 +23,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/notificationChannels/{notificationChannelName}",
"name": "{notificationChannelName}",
"type": "Microsoft.DevTestLab/labs/notificationChannels",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json
index d58f20cd04bb..b034ea9f8871 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -24,10 +24,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/notificationChannels/{notificationChannelName}",
"name": "autoshutdown",
"type": "Microsoft.DevTestLab/labs/notificationChannels",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -46,10 +46,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/notificationChannels/{notificationChannelName}",
"name": "costThreshold",
"type": "Microsoft.DevTestLab/labs/notificationChannels",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json
index 25227b3cf7ec..0afa86fae5ed 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Notify.json
@@ -1,13 +1,13 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{notificationChannelName}",
"notifyParameters": {
"eventName": "AutoShutdown",
- "jsonPayload": "{\"eventType\":\"AutoShutdown\",\"subscriptionId\":\"{subscriptionId}\",\"resourceGroupName\":\"resourceGroupName\",\"labName\":\"{labName}\"}"
+ "jsonPayload": "{\"eventType\":\"AutoShutdown\",\"subscriptionId\":\"e605a3bc-ee4e-4c7a-9709-1868a28b1d4d\",\"resourceGroupName\":\"resourceGroupName\",\"labName\":\"exampleLab\"}"
}
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json
index 457dc1f0bc29..0578f8fbbdf4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/NotificationChannels_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{notificationChannelName}",
"notificationChannel": {}
},
@@ -24,10 +24,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/notificationChannels/{notificationChannelName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/notificationChannels/{notificationChannelName}",
"name": "{notificationChannelName}",
"type": "Microsoft.DevTestLab/labs/notificationChannels",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json
index 26925f81c31d..f0067d039b10 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Operations_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"locationName": "{locationName}",
"name": "{operationName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json
index 202f6f1682d7..a69a6390b496 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_CreateOrUpdate.json
@@ -1,13 +1,13 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"policySetName": "{policySetName}",
"name": "{policyName}",
"policy": {
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
},
@@ -24,10 +24,10 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/policysets/{policySetName}/policies/{policyName}",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs/policies",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"description": "{policyDescription}",
"status": "{policyStatus}",
@@ -46,10 +46,10 @@
},
"201": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/policysets/{policySetName}/policies/{policyName}",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs/policySets/policies",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"description": "{policyDescription}",
"status": "{policyStatus}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json
index 289ad815d18c..7667115809e6 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"policySetName": "{policySetName}",
"name": "{policyName}"
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json
index f749b5d78d12..3ac25f17b0d6 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"policySetName": "{policySetName}",
"name": "{policyName}"
},
@@ -21,10 +21,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/policysets/{policySetName}/policies/{policyName}",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs/policySets/policies",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json
index 8b10f7e5fa6c..01b1a0ada3c1 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"policySetName": "{policySetName}",
"name": "{policyName}"
},
@@ -23,10 +23,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/policysets/{policySetName}/policies/{policyName}",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs/policySets/policies",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json
index b5078e9e6ed9..4b172493b61d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Policies_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"policySetName": "{policySetName}",
"name": "{policyName}",
"policy": {
@@ -15,10 +15,10 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{policyName}",
- "name": "{labName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/policysets/{policySetName}/policies/{policyName}",
+ "name": "exampleLab",
"type": "Microsoft.DevTestLab/labs/policies",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"description": "{policyDescription}",
"status": "{policyStatus}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json
index d4669e26fd5b..fe3d3ab30b0d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_EvaluatePolicies.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{policySetName}",
"evaluatePoliciesRequest": {
"policies": [
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_List.json
index 4d766f88efb4..7720e4b27482 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/PolicySets_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -11,7 +11,7 @@
"value": [
{
"properties": {},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/policysets/default",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/policysets/default",
"name": "default",
"type": "Microsoft.DevTestLab/labs/policySets"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json
index d4eeec8b4189..c290ca4eefa7 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_CreateOrUpdate.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{scheduleName}",
"schedule": {
"properties": {
@@ -31,9 +31,9 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}"
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -68,14 +68,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -109,14 +109,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json
index 7b4070f6470c..075a3406e061 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{scheduleName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json
index b95a4b7ad4eb..23b76b4129cf 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Execute.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{scheduleName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json
index cec99d4f438d..f743613ec794 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{scheduleName}"
},
"responses": {
@@ -35,14 +35,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json
index 6493e8f5d7b0..0d606dd52907 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -36,14 +36,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json
index 9850df6eb112..3fff9835b0e7 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_ListApplicable.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{scheduleName}"
},
"responses": {
@@ -37,14 +37,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json
index fc721eab30f3..4bb9468a1bd7 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Schedules_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{scheduleName}",
"schedule": {
"tags": {
@@ -40,14 +40,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json
index 58799bc0857e..1e1b1cbbd169 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_CreateOrUpdate.json
@@ -1,16 +1,16 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
+ "labName": "exampleLab",
+ "userName": "UserName001",
"name": "{secretName}",
"secret": {
"properties": {
"value": "{secret}"
},
- "location": "{location}"
+ "location": "westcentralus"
}
},
"responses": {
@@ -19,9 +19,9 @@
"properties": {
"uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/secrets/{secretName}",
"name": "{secretName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/users/secrets"
}
},
@@ -30,9 +30,9 @@
"properties": {
"uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/secrets/{secretName}",
"name": "{secretName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/users/secrets"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json
index 7ca40909ba31..d9949ae8acba 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Delete.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
+ "labName": "exampleLab",
+ "userName": "UserName001",
"name": "{secretName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json
index d38966ddcf54..9ef12f47bcf6 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Get.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
+ "labName": "exampleLab",
+ "userName": "UserName001",
"name": "{secretName}"
},
"responses": {
@@ -13,9 +13,9 @@
"properties": {
"uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/secrets/{secretName}",
"name": "{secretName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/users/secrets"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json
index 86174bf98aa8..0835b5cf98dc 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_List.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}"
+ "labName": "exampleLab",
+ "userName": "UserName001"
},
"responses": {
"200": {
@@ -14,18 +14,18 @@
"properties": {
"uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/secret1",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/secrets/secret1",
"name": "secret1",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/users/secrets"
},
{
"properties": {
"uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/secret2",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/secrets/secret2",
"name": "secret2",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/users/secrets"
}
]
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json
index 7e5d674ddf32..92b59efb6660 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Secrets_Update.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
+ "labName": "exampleLab",
+ "userName": "UserName001",
"name": "{secretName}",
"secret": {
"tags": {
@@ -18,10 +18,10 @@
"properties": {
"uniqueIdentifier": "00000000-0000-0000-0000-000000000000"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/secrets/{secretName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/secrets/{secretName}",
"name": "{secretName}",
"type": "Microsoft.DevTestLab/labs/users/secrets",
- "location": "{location}"
+ "location": "westcentralus"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json
index d54f90d5fe67..f8b9eb06dd33 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_CreateOrUpdate.json
@@ -1,14 +1,14 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"serviceFabricName": "{serviceFrabicName}",
"name": "{scheduleName}",
"schedule": {
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"status": "{Enabled|Disabled}",
"taskType": "{Unknown|LabVmsShutdownTask|LabVmsStartupTask|LabVmReclamationTask|ComputeVmShutdownTask}",
@@ -38,7 +38,7 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}"
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}"
},
"tags": {
"tagName1": "tagValue1"
@@ -72,14 +72,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-09-15T00:00:00.0000000-00:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -111,14 +111,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-09-15T00:00:00.0000000-00:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json
index 86c926ce2873..9f5635ae07a0 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"serviceFabricName": "{serviceFrabicName}",
"name": "{scheduleName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json
index 175791a895ac..21ee5258422f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Execute.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"serviceFabricName": "{serviceFrabicName}",
"name": "{scheduleName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json
index f79f173d9e27..0991a2b50bd7 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Get.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"serviceFabricName": "{serviceFrabicName}",
"name": "{scheduleName}"
@@ -35,14 +35,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-15T00:00:00.0000000-00:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json
index cfdba25ade5c..d29148404da8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"serviceFabricName": "{serviceFrabicName}"
},
@@ -36,14 +36,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-15T00:00:00.0000000-00:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json
index afa0e4ce695d..67744b044ab5 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabricSchedules_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"userName": "@me",
"serviceFabricName": "{serviceFrabicName}",
"name": "{scheduleName}",
@@ -40,14 +40,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-15T00:00:00.0000000-00:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "microsoft.devtestlab/labs/users/servicefabrics/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json
index 63b0aae519b4..c7a139fcc9fd 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_CreateOrUpdate.json
@@ -1,17 +1,17 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
- "name": "{serviceFabricName}",
+ "labName": "exampleLab",
+ "userName": "UserName001",
+ "name": "serviceFabricName",
"serviceFabric": {
"properties": {
"environmentId": "{environmentId}",
"externalServiceFabricId": "{serviceFabricId}"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -20,13 +20,13 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
- "name": "{serviceFabricName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/servicefabrics/serviceFabricName",
+ "name": "serviceFabricName",
"type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"applicableSchedule": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -56,14 +56,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}"
+ "location": "westcentralus"
},
"labVmsStartup": {
"properties": {
@@ -92,14 +92,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}"
+ "location": "westcentralus"
}
},
"type": "{scheduleType}"
@@ -116,13 +116,13 @@
},
"201": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
- "name": "{serviceFabricName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/servicefabrics/serviceFabricName",
+ "name": "serviceFabricName",
"type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"applicableSchedule": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -152,13 +152,13 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/schedules"
},
"labVmsStartup": {
@@ -188,13 +188,13 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/schedules"
}
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json
index 4b94edb0dbac..a64e0a647921 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Delete.json
@@ -1,11 +1,11 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
- "name": "{serviceFabricName}"
+ "labName": "exampleLab",
+ "userName": "UserName001",
+ "name": "serviceFabricName"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json
index 67aa58d3f3d7..34541b99ea99 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Get.json
@@ -1,22 +1,22 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
- "name": "{serviceFabricName}"
+ "labName": "exampleLab",
+ "userName": "UserName001",
+ "name": "serviceFabricName"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
- "name": "{serviceFabricName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/servicefabrics/serviceFabricName",
+ "name": "serviceFabricName",
"type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"applicableSchedule": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -46,13 +46,13 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/schedules"
},
"labVmsStartup": {
@@ -82,13 +82,13 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/schedules"
}
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json
index ddc33b0519e5..cb1dc343654a 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_List.json
@@ -1,23 +1,23 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}"
+ "labName": "exampleLab",
+ "userName": "UserName001"
},
"responses": {
"200": {
"body": {
"value": [
{
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
- "name": "{serviceFabricName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/servicefabrics/serviceFabricName",
+ "name": "serviceFabricName",
"type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"applicableSchedule": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -47,13 +47,13 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/schedules"
},
"labVmsStartup": {
@@ -83,13 +83,13 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/schedules"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json
index 56e76eda730b..09c012ee86c1 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_ListApplicableSchedules.json
@@ -1,16 +1,16 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
- "name": "{serviceFabricName}"
+ "labName": "exampleLab",
+ "userName": "UserName001",
+ "name": "serviceFabricName"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -40,13 +40,13 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/schedules"
},
"labVmsStartup": {
@@ -76,13 +76,13 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/schedules"
}
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json
index 8c1ad1cc6c18..8a768855c991 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Start.json
@@ -1,11 +1,11 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
- "name": "{serviceFabricName}"
+ "labName": "exampleLab",
+ "userName": "UserName001",
+ "name": "serviceFabricName"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json
index 8c1ad1cc6c18..8a768855c991 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Stop.json
@@ -1,11 +1,11 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
- "name": "{serviceFabricName}"
+ "labName": "exampleLab",
+ "userName": "UserName001",
+ "name": "serviceFabricName"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json
index f923ddf451c0..64cb12904b5c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceFabrics_Update.json
@@ -1,11 +1,11 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "userName": "{userName}",
- "name": "{serviceFabricName}",
+ "labName": "exampleLab",
+ "userName": "UserName001",
+ "name": "serviceFabricName",
"serviceFabric": {
"tags": {
"tagName1": "tagValue1"
@@ -15,13 +15,13 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}",
- "name": "{serviceFabricName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/users/UserName001/servicefabrics/serviceFabricName",
+ "name": "serviceFabricName",
"type": "Microsoft.DevTestLab/labs/users/serviceFabrics",
- "location": "{location}",
+ "location": "westcentralus",
"properties": {
"applicableSchedule": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"properties": {
"labVmsShutdown": {
@@ -51,14 +51,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -90,14 +90,14 @@
"notificationLocale": "EN"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab",
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/schedules/{scheduleName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/schedules/{scheduleName}",
"name": "{scheduleName}",
"type": "Microsoft.DevTestLab/labs/schedules",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
index 72f0a18ab929..a7783f184658 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
"name": "{servicerunnerName}",
@@ -16,7 +16,7 @@
"tags": {
"tagName1": "tagValue1"
},
- "location": "{location}"
+ "location": "westcentralus"
}
},
"responses": {
@@ -31,7 +31,7 @@
"properties": {
"identityUsageType": "environment"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/serviceRunners/{serviceRunnerName}",
"name": "{serviceRunnerName}",
"type": "Microsoft.DevTestLab/labs/serviceRunners",
"location": "southeastasia",
@@ -51,7 +51,7 @@
"properties": {
"identityUsageType": "environment"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/serviceRunners/{serviceRunnerName}",
"name": "{serviceRunnerName}",
"type": "Microsoft.DevTestLab/labs/serviceRunners",
"location": "southeastasia",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
index 83dad9e49d21..b6bc17854656 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
"name": "{servicerunnerName}"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
index f98a8575f0d8..60ccf51e0943 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
"name": "{servicerunnerName}"
@@ -18,10 +18,10 @@
"properties": {
"identityUsageType": "environment"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/serviceRunners/{serviceRunnerName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/serviceRunners/{serviceRunnerName}",
"name": "{serviceRunnerName}",
"type": "Microsoft.DevTestLab/labs/serviceRunners",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json
index 52f132925869..62ded9784fce 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}"
},
@@ -19,10 +19,10 @@
"properties": {
"identityUsageType": "environment"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{serviceRunnerName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/servicerunners/{serviceRunnerName}",
"name": "{serviceRunnerName}",
"type": "Microsoft.DevTestLab/labs/serviceRunners",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_CreateOrUpdate.json
index 1101d4d96cb4..2aee24a137ab 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_CreateOrUpdate.json
@@ -1,16 +1,16 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{sharedGalleryName}",
"sharedGallery": {
"properties": {
- "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "galleryId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
"allowAllImages": "{Enabled|Disabled}"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -20,15 +20,15 @@
"200": {
"body": {
"properties": {
- "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "galleryId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
"allowAllImages": "{Enabled|Disabled}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}",
"name": "{sharedGalleryName}",
"type": "Microsoft.DevTestLab/labs/sharedGalleries",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -37,15 +37,15 @@
"201": {
"body": {
"properties": {
- "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "galleryId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
"allowAllImages": "{Enabled|Disabled}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}",
"name": "{sharedGalleryName}",
"type": "Microsoft.DevTestLab/labs/sharedGalleries",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Delete.json
index bbd6a161138d..9a719c77628e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{sharedGalleryName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Get.json
index faa9f841d4fe..653e60214ab3 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Get.json
@@ -1,24 +1,24 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{sharedGalleryName}"
},
"responses": {
"200": {
"body": {
"properties": {
- "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "galleryId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
"allowAllImages": "{Enabled|Disabled}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}",
"name": "{sharedGalleryName}",
"type": "Microsoft.DevTestLab/labs/sharedGalleries",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_List.json
index 90641284450c..02fa61d6f52d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -11,15 +11,15 @@
"value": [
{
"properties": {
- "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "galleryId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
"allowAllImages": "{Enabled|Disabled}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}",
"name": "{sharedGalleryName}",
"type": "Microsoft.DevTestLab/labs/sharedGalleries",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Update.json
index bdcbc7f4b609..d2ebc7da35d9 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedGalleries_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{sharedGalleryName}",
"sharedGallery": {
"tags": {
@@ -15,15 +15,15 @@
"200": {
"body": {
"properties": {
- "galleryId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
+ "galleryId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.compute/galleries/{sharedGalleryName}",
"allowAllImages": "{Enabled|Disabled}",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}",
"name": "{sharedGalleryName}",
"type": "Microsoft.DevTestLab/labs/sharedGalleries",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_CreateOrUpdate.json
index 65d182745cca..14f232b703da 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_CreateOrUpdate.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"sharedGalleryName": "{sharedGalleryName}",
"name": "{name}",
"sharedImage": {
@@ -14,7 +14,7 @@
"enableState": "{enabledState}",
"displayName": "{displayName}"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -23,7 +23,7 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
"name": "{name}",
"type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages",
"properties": {
@@ -35,12 +35,12 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{guid}"
},
- "location": "{location}"
+ "location": "westcentralus"
}
},
"201": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
"name": "{name}",
"type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages",
"properties": {
@@ -52,7 +52,7 @@
"provisioningState": "Created",
"uniqueIdentifier": "{guid}"
},
- "location": "{location}"
+ "location": "westcentralus"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Delete.json
index f4f56f964c16..40d50b5131b9 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Delete.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"sharedGalleryName": "{sharedGalleryName}",
"name": "{name}"
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Get.json
index 583a4905c8e2..d03b269d66b8 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Get.json
@@ -1,16 +1,16 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"sharedGalleryName": "{sharedGalleryName}",
"name": "{name}"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
"name": "{name}",
"type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages",
"properties": {
@@ -22,7 +22,7 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{guid}"
},
- "location": "{location}"
+ "location": "westcentralus"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_List.json
index 980957bedc87..fbbafd1bac04 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"sharedGalleryName": "{sharedGalleryName}"
},
"responses": {
@@ -20,9 +20,9 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{guid}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
"name": "{name}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages"
}
]
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Update.json
index 76c6f01e8a2d..f52da5f28f02 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/SharedImages_Update.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"sharedGalleryName": "{sharedGalleryName}",
"name": "{name}",
"sharedImage": {
@@ -15,9 +15,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/sharedgalleries/{sharedGalleryName}/sharedimages/{name}",
"name": "{name}",
- "location": "{location}",
+ "location": "westcentralus",
"type": "Microsoft.DevTestLab/labs/sharedGalleries/sharedImages",
"properties": {
"definitionName": "{definitionName}",
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
index 7daab60f8873..4bd46d821ea6 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
- "name": "{userName}",
+ "name": "UserName001",
"user": {
"properties": {
"identity": {
@@ -36,8 +36,8 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
- "name": "{userName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/UserName001",
+ "name": "UserName001",
"type": "Microsoft.DevTestLab/labs/users"
}
},
@@ -59,8 +59,8 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
- "name": "{userName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/UserName001",
+ "name": "UserName001",
"type": "Microsoft.DevTestLab/labs/users"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
index 718e673a4601..4a5d5a4409c2 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
- "name": "{userName}"
+ "name": "UserName001"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
index 9883e4c8d35f..5082fc42a490 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
- "name": "{userName}"
+ "name": "UserName001"
},
"responses": {
"200": {
@@ -25,8 +25,8 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
- "name": "{userName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/UserName001",
+ "name": "UserName001",
"type": "Microsoft.DevTestLab/labs/users"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
index 19e04371be70..f60ea65f037a 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}"
},
@@ -26,8 +26,8 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
- "name": "{userName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/UserName001",
+ "name": "UserName001",
"type": "Microsoft.DevTestLab/labs/users"
}
]
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
index 1527dfb6fe2f..0e9010c16d4b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
"labName": "{devtestlabName}",
- "name": "{userName}",
+ "name": "UserName001",
"user": {}
},
"responses": {
@@ -19,15 +19,15 @@
"appId": "{appId}"
},
"secretStore": {
- "keyVaultUri": "users/{userName}",
+ "keyVaultUri": "users/UserName001",
"keyVaultId": "{keyVaultId}"
},
"createdDate": "2018-10-01T18:40:48.1739018-07:00",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}",
- "name": "{userName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/users/UserName001",
+ "name": "UserName001",
"type": "Microsoft.DevTestLab/labs/users"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json
index 07772ba6cfa8..406c17d367a9 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_CreateOrUpdate.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualMachineName": "{vmName}",
+ "labName": "exampleLab",
+ "virtualMachineName": "vmName001",
"name": "LabVmsShutdown",
"schedule": {
"properties": {
@@ -32,9 +32,9 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -70,10 +70,10 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001"
},
- "location": "{location}",
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/LabVmsShutdown",
+ "location": "westcentralus",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001/schedules/LabVmsShutdown",
"type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
"name": "LabVmsShutdown",
"tags": {
@@ -110,10 +110,10 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001"
},
- "location": "{location}",
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/LabVmsShutdown",
+ "location": "westcentralus",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001/schedules/LabVmsShutdown",
"type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
"name": "LabVmsShutdown",
"tags": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json
index d417d94845c9..ad651cb5a32c 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Delete.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualMachineName": "{vmName}",
+ "labName": "exampleLab",
+ "virtualMachineName": "vmName001",
"name": "LabVmsShutdown"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json
index 195e9736149d..8f295fd9061b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Execute.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualMachineName": "{vmName}",
+ "labName": "exampleLab",
+ "virtualMachineName": "vmName001",
"name": "LabVmsShutdown"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json
index 37b81e894e17..9af90e0c4782 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Get.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualMachineName": "{vmName}",
+ "labName": "exampleLab",
+ "virtualMachineName": "vmName001",
"name": "LabVmsShutdown"
},
"responses": {
@@ -37,10 +37,10 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001"
},
- "location": "{location}",
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/mySchedule",
+ "location": "westcentralus",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001/schedules/mySchedule",
"type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
"name": "LabVmsShutdown",
"tags": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json
index 0c497cd0a116..a66b6bd90cf6 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_List.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualMachineName": "{vmName}"
+ "labName": "exampleLab",
+ "virtualMachineName": "vmName001"
},
"responses": {
"200": {
@@ -38,10 +38,10 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/labName}/virtualMachines/{vmName}"
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/labName}/virtualMachines/vmName001"
},
- "location": "{location}",
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/mySchedule",
+ "location": "westcentralus",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001/schedules/mySchedule",
"type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
"name": "LabVmsShutdown",
"tags": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json
index 0bbcf3d5c295..e2b3721bc46f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachineSchedules_Update.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "virtualMachineName": "{vmName}",
+ "labName": "exampleLab",
+ "virtualMachineName": "vmName001",
"name": "LabVmsShutdown",
"schedule": {
"tags": {
@@ -42,10 +42,10 @@
"emailRecipient": "{email}",
"notificationLocale": "EN"
},
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}"
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001"
},
- "location": "{location}",
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualMachines/{vmName}/schedules/mySchedule",
+ "location": "westcentralus",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualMachines/vmName001/schedules/mySchedule",
"type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
"name": "LabVmsShutdown",
"tags": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json
index 7aecaebc619b..8ab43c9450d1 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_AddDataDisk.json
@@ -1,16 +1,16 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{virtualMachineName}",
- "diskName": "{diskName}",
+ "diskName": "diskName",
"diskType": "{diskType}",
"dataDiskProperties": {
"attachNewDataDiskOptions": {
"diskSizeGiB": 127,
- "diskName": "{diskName}",
+ "diskName": "diskName",
"diskType": "{diskType}"
}
},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json
index 81cfc2cb82bc..8af472ed4523 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ApplyArtifacts.json
@@ -1,14 +1,14 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}",
+ "labName": "exampleLab",
+ "name": "vmName001",
"applyArtifactsRequest": {
"artifacts": [
{
- "artifactId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactSources/public repo/artifacts/windows-restart"
+ "artifactId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/artifactSources/public repo/artifacts/windows-restart"
}
]
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json
index 611443ba1433..81255c670e43 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Claim.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}"
+ "labName": "exampleLab",
+ "name": "vmName001"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ClearArtifactResults.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ClearArtifactResults.json
index de2564ed7cbe..3d171ce9e03f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ClearArtifactResults.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ClearArtifactResults.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{vmNname}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json
index 41197972dc3a..caa0348d1fe0 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_CreateOrUpdate.json
@@ -1,20 +1,20 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}",
- "virtualNetworkName": "{virtualNetworkName}",
- "username":"{username}",
+ "labName": "exampleLab",
+ "name": "vmName001",
+ "virtualNetworkName": "dtlexampleLab",
+ "username":"UserName001",
"password":"{password}",
"labVirtualMachine": {
"properties": {
"size": "Standard_A2_v2",
- "userName": "{userName}",
+ "userName": "UserName001",
"password": "{userPassword}",
- "labSubnetName": "{virtualNetworkName}Subnet",
- "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "labSubnetName": "dtlexampleLabSubnet",
+ "labVirtualNetworkId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"galleryImageReference": {
"offer": "UbuntuServer",
@@ -26,7 +26,7 @@
"allowClaim": true,
"storageType": "Standard"
},
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -42,9 +42,9 @@
"createdByUser": "",
"createdDate": "2018-10-01T16:53:02.4830866-07:00",
"size": "Standard_A2_v2",
- "userName": "{userName}",
- "labSubnetName": "{virtualNetworkName}Subnet",
- "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "userName": "UserName001",
+ "labSubnetName": "dtlexampleLabSubnet",
+ "labVirtualNetworkId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"artifactDeploymentStatus": {
"artifactsApplied": 0,
@@ -65,10 +65,10 @@
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
- "name": "{vmName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001",
+ "name": "vmName001",
"type": "Microsoft.DevTestLab/labs/virtualMachines",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
@@ -83,9 +83,9 @@
"createdByUser": "",
"createdDate": "2018-10-01T16:53:02.4830866-07:00",
"size": "Standard_A2_v2",
- "userName": "{userName}",
- "labSubnetName": "{virtualNetworkName}Subnet",
- "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "userName": "UserName001",
+ "labSubnetName": "dtlexampleLabSubnet",
+ "labVirtualNetworkId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"artifactDeploymentStatus": {
"artifactsApplied": 0,
@@ -106,10 +106,10 @@
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
- "name": "{vmName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001",
+ "name": "vmName001",
"type": "Microsoft.DevTestLab/labs/virtualMachines",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json
index a835f9d074ed..cc57247f54e4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Delete.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}"
+ "labName": "exampleLab",
+ "name": "vmName001"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json
index 61aa9da07092..f9b83b7925dd 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_DetachDataDisk.json
@@ -1,12 +1,12 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{virtualMachineName}",
"detachDataDiskProperties": {
- "existingLabDiskId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{virtualMachineName}"
+ "existingLabDiskId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/{virtualMachineName}"
}
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json
index 522d4a67fd59..a6f1fc0def03 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Get.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}"
+ "labName": "exampleLab",
+ "name": "vmName001"
},
"responses": {
"200": {
@@ -15,12 +15,12 @@
"createdByUserId": "",
"createdByUser": "",
"createdDate": "2018-10-01T16:53:02.4830866-07:00",
- "computeId": "/subscriptions/{subscriptionId}/resourceGroups/{labName}-{vmName}-{randomSuffix}/providers/Microsoft.Compute/virtualMachines/{vmName}",
+ "computeId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/exampleLab-vmName001-{randomSuffix}/providers/Microsoft.Compute/virtualMachines/vmName001",
"osType": "Linux",
"size": "Standard_A2_v2",
- "userName": "{userName}",
- "labSubnetName": "{virtualNetworkName}Subnet",
- "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "userName": "UserName001",
+ "labSubnetName": "dtlexampleLabSubnet",
+ "labVirtualNetworkId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"artifactDeploymentStatus": {
"artifactsApplied": 0,
@@ -41,10 +41,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
- "name": "{vmName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001",
+ "name": "vmName001",
"type": "Microsoft.DevTestLab/labs/virtualMachines",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json
index 251c09bb4bba..07c47d2491d4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_GetRdpFileContents.json
@@ -1,15 +1,15 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}"
+ "labName": "exampleLab",
+ "name": "vmName001"
},
"responses": {
"200": {
"body": {
- "contents": "full address:s:10.0.0.4\r\nprompt for credentials:i:1\r\nusername:s:{vmName}\\{userName}\r\n"
+ "contents": "full address:s:10.0.0.4\r\nprompt for credentials:i:1\r\nusername:s:vmName001\\UserName001\r\n"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json
index 7e1c0f56d5c9..e62c3145b037 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -16,12 +16,12 @@
"createdByUserId": "",
"createdByUser": "",
"createdDate": "2018-10-01T16:53:02.4830866-07:00",
- "computeId": "/subscriptions/{subscriptionId}/resourceGroups/{labName}-{vmName}-{randomSuffix}/providers/Microsoft.Compute/virtualMachines/{vmName}",
+ "computeId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/exampleLab-vmName001-{randomSuffix}/providers/Microsoft.Compute/virtualMachines/vmName001",
"osType": "Linux",
"size": "Standard_A2_v2",
- "userName": "{userName}",
- "labSubnetName": "{virtualNetworkName}Subnet",
- "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "userName": "UserName001",
+ "labSubnetName": "dtlexampleLabSubnet",
+ "labVirtualNetworkId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"artifactDeploymentStatus": {
"artifactsApplied": 0,
@@ -42,10 +42,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
- "name": "{vmName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001",
+ "name": "vmName001",
"type": "Microsoft.DevTestLab/labs/virtualMachines",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json
index d0939c5dc88f..7b38ec4591eb 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_ListApplicableSchedules.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}"
+ "labName": "exampleLab",
+ "name": "vmName001"
},
"responses": {
"200": {
@@ -37,14 +37,14 @@
"notificationLocale": "EN"
},
"createdDate": "2020-12-29T21:48:14.1369355+00:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{vmName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/virtualmachines/vmName001",
"provisioningState": "Succeeded",
"uniqueIdentifier": "4acf0408-1c10-49cb-96b7-28ce655c8320"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/myAutoShutdownSchedule",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/schedules/myAutoShutdownSchedule",
"name": "LabVmsShutdown",
"type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
- "location": "{location}"
+ "location": "westcentralus"
},
"labVmsStartup": {
"properties": {
@@ -73,13 +73,13 @@
"notificationLocale": "EN"
},
"createdDate": "2020-12-29T21:46:37.0473976+00:00",
- "targetResourceId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{vmName}",
+ "targetResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/virtualmachines/vmName001",
"provisioningState": "Succeeded"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/schedules/myAutoStartSchedule",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/exampleLab/schedules/myAutoStartSchedule",
"name": "LabVmAutoStart",
"type": "Microsoft.DevTestLab/labs/virtualMachines/schedules",
- "location": "{location}"
+ "location": "westcentralus"
}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json
index cf9545eda6ac..bfb45b39163e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Redeploy.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}",
+ "labName": "exampleLab",
+ "name": "vmName001",
"monitor": "true"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json
index 440feb843626..2ebd8a5a80e4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Resize.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}",
+ "labName": "exampleLab",
+ "name": "vmName001",
"monitor": "true",
"resizeLabVirtualMachineProperties": {
"size": "Standard_A4_v2"
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json
index cf9545eda6ac..bfb45b39163e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Restart.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}",
+ "labName": "exampleLab",
+ "name": "vmName001",
"monitor": "true"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json
index cf9545eda6ac..bfb45b39163e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Start.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}",
+ "labName": "exampleLab",
+ "name": "vmName001",
"monitor": "true"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json
index 611443ba1433..81255c670e43 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Stop.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}"
+ "labName": "exampleLab",
+ "name": "vmName001"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json
index fa4bff8784f5..268bcb8a16a4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_TransferDisks.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
+ "labName": "exampleLab",
"name": "{virtualmachineName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json
index cf9545eda6ac..bfb45b39163e 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_UnClaim.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}",
+ "labName": "exampleLab",
+ "name": "vmName001",
"monitor": "true"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json
index 1af016fc55f0..ed8af5249fdc 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualMachines_Update.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{vmName}",
+ "labName": "exampleLab",
+ "name": "vmName001",
"labVirtualMachine": {}
},
"responses": {
@@ -16,12 +16,12 @@
"createdByUserId": "",
"createdByUser": "",
"createdDate": "2018-10-01T16:53:02.4830866-07:00",
- "computeId": "/subscriptions/{subscriptionId}/resourceGroups/{labName}-{vmName}-{randomSuffix}/providers/Microsoft.Compute/virtualMachines/{vmName}",
+ "computeId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/exampleLab-vmName001-{randomSuffix}/providers/Microsoft.Compute/virtualMachines/vmName001",
"osType": "Linux",
"size": "Standard_A2_v2",
- "userName": "{userName}",
- "labSubnetName": "{virtualNetworkName}Subnet",
- "labVirtualNetworkId": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
+ "userName": "UserName001",
+ "labSubnetName": "dtlexampleLabSubnet",
+ "labVirtualNetworkId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
"disallowPublicIpAddress": true,
"artifactDeploymentStatus": {
"artifactsApplied": 0,
@@ -42,10 +42,10 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
- "name": "{vmName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualmachines/vmName001",
+ "name": "vmName001",
"type": "Microsoft.DevTestLab/labs/virtualMachines",
- "location": "{location}",
+ "location": "westcentralus",
"tags": {
"tagName1": "tagValue1"
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json
index f76bbf8ba4f9..860dfe2e04b6 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_CreateOrUpdate.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{virtualNetworkName}",
+ "labName": "exampleLab",
+ "name": "dtlexampleLab",
"virtualNetwork": {
"properties": {}
}
@@ -17,8 +17,8 @@
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
- "name": "{virtualNetworkName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
+ "name": "dtlexampleLab",
"type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
},
@@ -29,8 +29,8 @@
"provisioningState": "Creating",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
- "name": "{virtualNetworkName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
+ "name": "dtlexampleLab",
"type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json
index 82e4902784d1..0d19b420ff4b 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Delete.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{virtualNetworkName}"
+ "labName": "exampleLab",
+ "name": "dtlexampleLab"
},
"responses": {
"200": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json
index e5358107906c..2fbbce648e66 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Get.json
@@ -1,10 +1,10 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{virtualNetworkName}"
+ "labName": "exampleLab",
+ "name": "dtlexampleLab"
},
"responses": {
"200": {
@@ -12,16 +12,16 @@
"properties": {
"allowedSubnets": [
{
- "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
- "labSubnetName": "{virtualNetworkName}Subnet",
+ "resourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/dtlexampleLab/subnets/dtlexampleLabSubnet",
+ "labSubnetName": "dtlexampleLabSubnet",
"allowPublicIp": "Allow"
}
],
- "externalProviderResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}",
+ "externalProviderResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/dtlexampleLab",
"subnetOverrides": [
{
- "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
- "labSubnetName": "{virtualNetworkName}Subnet",
+ "resourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/dtlexampleLab/subnets/dtlexampleLabSubnet",
+ "labSubnetName": "dtlexampleLabSubnet",
"useInVmCreationPermission": "Allow",
"usePublicIpAddressPermission": "Allow",
"sharedPublicIpAddressConfiguration": {
@@ -42,8 +42,8 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
- "name": "{virtualNetworkName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
+ "name": "dtlexampleLab",
"type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json
index bd12538d053b..c70d510876f4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_List.json
@@ -1,9 +1,9 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
@@ -13,16 +13,16 @@
"properties": {
"allowedSubnets": [
{
- "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
- "labSubnetName": "{virtualNetworkName}Subnet",
+ "resourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/dtlexampleLab/subnets/dtlexampleLabSubnet",
+ "labSubnetName": "dtlexampleLabSubnet",
"allowPublicIp": "Allow"
}
],
- "externalProviderResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}",
+ "externalProviderResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/dtlexampleLab",
"subnetOverrides": [
{
- "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
- "labSubnetName": "{virtualNetworkName}Subnet",
+ "resourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/dtlexampleLab/subnets/dtlexampleLabSubnet",
+ "labSubnetName": "dtlexampleLabSubnet",
"useInVmCreationPermission": "Allow",
"usePublicIpAddressPermission": "Allow",
"sharedPublicIpAddressConfiguration": {
@@ -43,8 +43,8 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
- "name": "{virtualNetworkName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
+ "name": "dtlexampleLab",
"type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
]
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json
index 7c1f1a892ab7..ec4b214155fc 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/VirtualNetworks_Update.json
@@ -1,21 +1,21 @@
{
"parameters": {
"api-version": "2021-09-01",
- "subscriptionId": "{subscriptionId}",
+ "subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{labName}",
- "name": "{virtualNetworkName}",
+ "labName": "exampleLab",
+ "name": "dtlexampleLab",
"virtualNetwork": {}
},
"responses": {
"200": {
"body": {
"properties": {
- "externalProviderResourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}",
+ "externalProviderResourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/dtlexampleLab",
"subnetOverrides": [
{
- "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{virtualNetworkName}Subnet",
- "labSubnetName": "{virtualNetworkName}Subnet",
+ "resourceId": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/dtlexampleLab/subnets/dtlexampleLabSubnet",
+ "labSubnetName": "dtlexampleLabSubnet",
"useInVmCreationPermission": "Allow",
"usePublicIpAddressPermission": "Allow",
"sharedPublicIpAddressConfiguration": {
@@ -36,8 +36,8 @@
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
- "id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualnetworks/{virtualNetworkName}",
- "name": "{virtualNetworkName}",
+ "id": "/subscriptions/e605a3bc-ee4e-4c7a-9709-1868a28b1d4d/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/exampleLab/virtualnetworks/dtlexampleLab",
+ "name": "dtlexampleLab",
"type": "Microsoft.DevTestLab/labs/virtualNetworks"
}
}
From 5a299d03af4ddc4502b829d9d312ac041619cfaf Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Tue, 5 Dec 2023 15:09:44 +0100
Subject: [PATCH 09/10] Add uppercase letters to patterns
---
.../Microsoft.DevTestLab/stable/2021-09-01/DTL.json | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
index 163d6b653db9..c86a58c1dc39 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
@@ -13986,7 +13986,7 @@
"type": "string",
"x-ms-parameter-location": "method",
"required": true,
- "pattern": "^[a-z0-9_\\-]+$",
+ "pattern": "^[a-zA-Z0-9_\\-]+$",
"minLength": 1,
"maxLength": 260
},
@@ -13997,7 +13997,7 @@
"type": "string",
"x-ms-parameter-location": "method",
"required": true,
- "pattern": "^[a-z0-9_\\-]+$",
+ "pattern": "^[a-zA-Z0-9_\\-]+$",
"minLength": 1,
"maxLength": 50
},
@@ -14008,7 +14008,7 @@
"x-ms-parameter-location": "method",
"required": true,
"type": "string",
- "pattern": "^[a-z0-9_\\-]+$",
+ "pattern": "^[a-zA-Z0-9_\\-]+$",
"minLength": 1,
"maxLength": 260
},
@@ -14074,7 +14074,7 @@
"type": "string",
"x-ms-parameter-location": "method",
"required": true,
- "pattern": "^[a-z0-9_\\-]+$",
+ "pattern": "^[a-zA-Z0-9_\\-]+$",
"minLength": 1,
"maxLength": 260
}
From d5cbe02f779a8313875cc92e94078f588e35ae52 Mon Sep 17 00:00:00 2001
From: Ken Christensen
Date: Tue, 5 Dec 2023 15:17:16 +0100
Subject: [PATCH 10/10] ...
---
.../Microsoft.DevTestLab/stable/2021-09-01/DTL.json | 4 ++--
.../2021-09-01/examples/ServiceRunners_CreateOrUpdate.json | 2 +-
.../stable/2021-09-01/examples/ServiceRunners_Delete.json | 2 +-
.../stable/2021-09-01/examples/ServiceRunners_Get.json | 2 +-
.../stable/2021-09-01/examples/ServiceRunners_List.json | 2 +-
.../stable/2021-09-01/examples/Users_CreateOrUpdate.json | 2 +-
.../stable/2021-09-01/examples/Users_Delete.json | 2 +-
.../stable/2021-09-01/examples/Users_Get.json | 2 +-
.../stable/2021-09-01/examples/Users_List.json | 2 +-
.../stable/2021-09-01/examples/Users_Update.json | 2 +-
10 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
index c86a58c1dc39..b8911382be9f 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json
@@ -10051,7 +10051,7 @@
],
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
]
},
@@ -13701,7 +13701,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
],
"properties": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
index a7783f184658..f938dc6ce759 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_CreateOrUpdate.json
@@ -3,7 +3,7 @@
"api-version": "2021-09-01",
"subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{devtestlabName}",
+ "labName": "exampleLab",
"name": "{servicerunnerName}",
"serviceRunner": {
"properties": {},
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
index b6bc17854656..d6524a6618d1 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Delete.json
@@ -3,7 +3,7 @@
"api-version": "2021-09-01",
"subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{devtestlabName}",
+ "labName": "exampleLab",
"name": "{servicerunnerName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
index 60ccf51e0943..66c523e05ad4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_Get.json
@@ -3,7 +3,7 @@
"api-version": "2021-09-01",
"subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{devtestlabName}",
+ "labName": "exampleLab",
"name": "{servicerunnerName}"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json
index 62ded9784fce..da90dc97aa95 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/ServiceRunners_List.json
@@ -3,7 +3,7 @@
"api-version": "2021-09-01",
"subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{devtestlabName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
index 4bd46d821ea6..83b358942af7 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_CreateOrUpdate.json
@@ -3,7 +3,7 @@
"api-version": "2021-09-01",
"subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{devtestlabName}",
+ "labName": "exampleLab",
"name": "UserName001",
"user": {
"properties": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
index 4a5d5a4409c2..33a620403822 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Delete.json
@@ -3,7 +3,7 @@
"api-version": "2021-09-01",
"subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{devtestlabName}",
+ "labName": "exampleLab",
"name": "UserName001"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
index 5082fc42a490..407961271d67 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Get.json
@@ -3,7 +3,7 @@
"api-version": "2021-09-01",
"subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{devtestlabName}",
+ "labName": "exampleLab",
"name": "UserName001"
},
"responses": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
index f60ea65f037a..6f900afda07d 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_List.json
@@ -3,7 +3,7 @@
"api-version": "2021-09-01",
"subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{devtestlabName}"
+ "labName": "exampleLab"
},
"responses": {
"200": {
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
index 0e9010c16d4b..c94b290aaf70 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/examples/Users_Update.json
@@ -3,7 +3,7 @@
"api-version": "2021-09-01",
"subscriptionId": "e605a3bc-ee4e-4c7a-9709-1868a28b1d4d",
"resourceGroupName": "resourceGroupName",
- "labName": "{devtestlabName}",
+ "labName": "exampleLab",
"name": "UserName001",
"user": {}
},