@azure/arm-labservices 1.0.0 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +21 -21
- package/README.md +98 -96
- package/dist/index.js +6456 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/deleteLab.d.ts +2 -0
- package/dist-esm/samples-dev/deleteLab.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteLab.js +31 -0
- package/dist-esm/samples-dev/deleteLab.js.map +1 -0
- package/dist-esm/samples-dev/deleteLabPlan.d.ts +2 -0
- package/dist-esm/samples-dev/deleteLabPlan.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteLabPlan.js +31 -0
- package/dist-esm/samples-dev/deleteLabPlan.js.map +1 -0
- package/dist-esm/samples-dev/deleteSchedule.d.ts +2 -0
- package/dist-esm/samples-dev/deleteSchedule.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteSchedule.js +32 -0
- package/dist-esm/samples-dev/deleteSchedule.js.map +1 -0
- package/dist-esm/samples-dev/deleteUser.d.ts +2 -0
- package/dist-esm/samples-dev/deleteUser.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteUser.js +32 -0
- package/dist-esm/samples-dev/deleteUser.js.map +1 -0
- package/dist-esm/samples-dev/getImage.d.ts +2 -0
- package/dist-esm/samples-dev/getImage.d.ts.map +1 -0
- package/dist-esm/samples-dev/getImage.js +32 -0
- package/dist-esm/samples-dev/getImage.js.map +1 -0
- package/dist-esm/samples-dev/getLab.d.ts +2 -0
- package/dist-esm/samples-dev/getLab.d.ts.map +1 -0
- package/dist-esm/samples-dev/getLab.js +31 -0
- package/dist-esm/samples-dev/getLab.js.map +1 -0
- package/dist-esm/samples-dev/getLabPlan.d.ts +2 -0
- package/dist-esm/samples-dev/getLabPlan.d.ts.map +1 -0
- package/dist-esm/samples-dev/getLabPlan.js +31 -0
- package/dist-esm/samples-dev/getLabPlan.js.map +1 -0
- package/dist-esm/samples-dev/getListSchedule.d.ts +2 -0
- package/dist-esm/samples-dev/getListSchedule.d.ts.map +1 -0
- package/dist-esm/samples-dev/getListSchedule.js +45 -0
- package/dist-esm/samples-dev/getListSchedule.js.map +1 -0
- package/dist-esm/samples-dev/getOperationResult.d.ts +2 -0
- package/dist-esm/samples-dev/getOperationResult.d.ts.map +1 -0
- package/dist-esm/samples-dev/getOperationResult.js +30 -0
- package/dist-esm/samples-dev/getOperationResult.js.map +1 -0
- package/dist-esm/samples-dev/getSchedule.d.ts +2 -0
- package/dist-esm/samples-dev/getSchedule.d.ts.map +1 -0
- package/dist-esm/samples-dev/getSchedule.js +32 -0
- package/dist-esm/samples-dev/getSchedule.js.map +1 -0
- package/dist-esm/samples-dev/getUser.d.ts +2 -0
- package/dist-esm/samples-dev/getUser.d.ts.map +1 -0
- package/dist-esm/samples-dev/getUser.js +32 -0
- package/dist-esm/samples-dev/getUser.js.map +1 -0
- package/dist-esm/samples-dev/getVirtualMachine.d.ts +2 -0
- package/dist-esm/samples-dev/getVirtualMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/getVirtualMachine.js +32 -0
- package/dist-esm/samples-dev/getVirtualMachine.js.map +1 -0
- package/dist-esm/samples-dev/inviteUser.d.ts +2 -0
- package/dist-esm/samples-dev/inviteUser.d.ts.map +1 -0
- package/dist-esm/samples-dev/inviteUser.js +33 -0
- package/dist-esm/samples-dev/inviteUser.js.map +1 -0
- package/dist-esm/samples-dev/listImages.d.ts +2 -0
- package/dist-esm/samples-dev/listImages.d.ts.map +1 -0
- package/dist-esm/samples-dev/listImages.js +45 -0
- package/dist-esm/samples-dev/listImages.js.map +1 -0
- package/dist-esm/samples-dev/listLabPlans.d.ts +2 -0
- package/dist-esm/samples-dev/listLabPlans.d.ts.map +1 -0
- package/dist-esm/samples-dev/listLabPlans.js +43 -0
- package/dist-esm/samples-dev/listLabPlans.js.map +1 -0
- package/dist-esm/samples-dev/listLabs.d.ts +2 -0
- package/dist-esm/samples-dev/listLabs.d.ts.map +1 -0
- package/dist-esm/samples-dev/listLabs.js +43 -0
- package/dist-esm/samples-dev/listLabs.js.map +1 -0
- package/dist-esm/samples-dev/listOperations.d.ts +2 -0
- package/dist-esm/samples-dev/listOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/listOperations.js +43 -0
- package/dist-esm/samples-dev/listOperations.js.map +1 -0
- package/dist-esm/samples-dev/listResourceGroupLabPlans.d.ts +2 -0
- package/dist-esm/samples-dev/listResourceGroupLabPlans.d.ts.map +1 -0
- package/dist-esm/samples-dev/listResourceGroupLabPlans.js +44 -0
- package/dist-esm/samples-dev/listResourceGroupLabPlans.js.map +1 -0
- package/dist-esm/samples-dev/listResourceGroupLabs.d.ts +2 -0
- package/dist-esm/samples-dev/listResourceGroupLabs.d.ts.map +1 -0
- package/dist-esm/samples-dev/listResourceGroupLabs.js +44 -0
- package/dist-esm/samples-dev/listResourceGroupLabs.js.map +1 -0
- package/dist-esm/samples-dev/listSkus.d.ts +2 -0
- package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSkus.js +43 -0
- package/dist-esm/samples-dev/listSkus.js.map +1 -0
- package/dist-esm/samples-dev/listUsages.d.ts +2 -0
- package/dist-esm/samples-dev/listUsages.d.ts.map +1 -0
- package/dist-esm/samples-dev/listUsages.js +44 -0
- package/dist-esm/samples-dev/listUsages.js.map +1 -0
- package/dist-esm/samples-dev/listUser.d.ts +2 -0
- package/dist-esm/samples-dev/listUser.d.ts.map +1 -0
- package/dist-esm/samples-dev/listUser.js +45 -0
- package/dist-esm/samples-dev/listUser.js.map +1 -0
- package/dist-esm/samples-dev/listVirtualMachine.d.ts +2 -0
- package/dist-esm/samples-dev/listVirtualMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/listVirtualMachine.js +45 -0
- package/dist-esm/samples-dev/listVirtualMachine.js.map +1 -0
- package/dist-esm/samples-dev/patchImage.d.ts +2 -0
- package/dist-esm/samples-dev/patchImage.d.ts.map +1 -0
- package/dist-esm/samples-dev/patchImage.js +33 -0
- package/dist-esm/samples-dev/patchImage.js.map +1 -0
- package/dist-esm/samples-dev/patchLab.d.ts +2 -0
- package/dist-esm/samples-dev/patchLab.d.ts.map +1 -0
- package/dist-esm/samples-dev/patchLab.js +32 -0
- package/dist-esm/samples-dev/patchLab.js.map +1 -0
- package/dist-esm/samples-dev/patchLabPlan.d.ts +2 -0
- package/dist-esm/samples-dev/patchLabPlan.d.ts.map +1 -0
- package/dist-esm/samples-dev/patchLabPlan.js +39 -0
- package/dist-esm/samples-dev/patchLabPlan.js.map +1 -0
- package/dist-esm/samples-dev/patchSchedule.d.ts +2 -0
- package/dist-esm/samples-dev/patchSchedule.d.ts.map +1 -0
- package/dist-esm/samples-dev/patchSchedule.js +39 -0
- package/dist-esm/samples-dev/patchSchedule.js.map +1 -0
- package/dist-esm/samples-dev/patchUser.d.ts +2 -0
- package/dist-esm/samples-dev/patchUser.d.ts.map +1 -0
- package/dist-esm/samples-dev/patchUser.js +33 -0
- package/dist-esm/samples-dev/patchUser.js.map +1 -0
- package/dist-esm/samples-dev/publishLab.d.ts +2 -0
- package/dist-esm/samples-dev/publishLab.d.ts.map +1 -0
- package/dist-esm/samples-dev/publishLab.js +31 -0
- package/dist-esm/samples-dev/publishLab.js.map +1 -0
- package/dist-esm/samples-dev/putImage.d.ts +2 -0
- package/dist-esm/samples-dev/putImage.d.ts.map +1 -0
- package/dist-esm/samples-dev/putImage.js +33 -0
- package/dist-esm/samples-dev/putImage.js.map +1 -0
- package/dist-esm/samples-dev/putLab.d.ts +2 -0
- package/dist-esm/samples-dev/putLab.d.ts.map +1 -0
- package/dist-esm/samples-dev/putLab.js +70 -0
- package/dist-esm/samples-dev/putLab.js.map +1 -0
- package/dist-esm/samples-dev/putLabPlan.d.ts +2 -0
- package/dist-esm/samples-dev/putLabPlan.d.ts.map +1 -0
- package/dist-esm/samples-dev/putLabPlan.js +58 -0
- package/dist-esm/samples-dev/putLabPlan.js.map +1 -0
- package/dist-esm/samples-dev/putSchedule.d.ts +2 -0
- package/dist-esm/samples-dev/putSchedule.d.ts.map +1 -0
- package/dist-esm/samples-dev/putSchedule.js +43 -0
- package/dist-esm/samples-dev/putSchedule.js.map +1 -0
- package/dist-esm/samples-dev/putUser.d.ts +2 -0
- package/dist-esm/samples-dev/putUser.d.ts.map +1 -0
- package/dist-esm/samples-dev/putUser.js +36 -0
- package/dist-esm/samples-dev/putUser.js.map +1 -0
- package/dist-esm/samples-dev/redeployVirtualMachine.d.ts +2 -0
- package/dist-esm/samples-dev/redeployVirtualMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/redeployVirtualMachine.js +32 -0
- package/dist-esm/samples-dev/redeployVirtualMachine.js.map +1 -0
- package/dist-esm/samples-dev/reimageVirtualMachine.d.ts +2 -0
- package/dist-esm/samples-dev/reimageVirtualMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/reimageVirtualMachine.js +32 -0
- package/dist-esm/samples-dev/reimageVirtualMachine.js.map +1 -0
- package/dist-esm/samples-dev/resetPasswordVirtualMachine.d.ts +2 -0
- package/dist-esm/samples-dev/resetPasswordVirtualMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/resetPasswordVirtualMachine.js +36 -0
- package/dist-esm/samples-dev/resetPasswordVirtualMachine.js.map +1 -0
- package/dist-esm/samples-dev/saveImageVirtualMachine.d.ts +2 -0
- package/dist-esm/samples-dev/saveImageVirtualMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/saveImageVirtualMachine.js +35 -0
- package/dist-esm/samples-dev/saveImageVirtualMachine.js.map +1 -0
- package/dist-esm/samples-dev/startVirtualMachine.d.ts +2 -0
- package/dist-esm/samples-dev/startVirtualMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/startVirtualMachine.js +32 -0
- package/dist-esm/samples-dev/startVirtualMachine.js.map +1 -0
- package/dist-esm/samples-dev/stopVirtualMachine.d.ts +2 -0
- package/dist-esm/samples-dev/stopVirtualMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/stopVirtualMachine.js +32 -0
- package/dist-esm/samples-dev/stopVirtualMachine.js.map +1 -0
- package/dist-esm/samples-dev/syncLab.d.ts +2 -0
- package/dist-esm/samples-dev/syncLab.d.ts.map +1 -0
- package/dist-esm/samples-dev/syncLab.js +31 -0
- package/dist-esm/samples-dev/syncLab.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/labServicesClient.d.ts +27 -0
- package/dist-esm/src/labServicesClient.d.ts.map +1 -0
- package/dist-esm/src/labServicesClient.js +60 -0
- package/dist-esm/src/labServicesClient.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1638 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +60 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +67 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +2675 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +31 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +270 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/images.d.ts +70 -0
- package/dist-esm/src/operations/images.d.ts.map +1 -0
- package/dist-esm/src/operations/images.js +245 -0
- package/dist-esm/src/operations/images.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +11 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +18 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/labPlans.d.ts +134 -0
- package/dist-esm/src/operations/labPlans.d.ts.map +1 -0
- package/dist-esm/src/operations/labPlans.js +590 -0
- package/dist-esm/src/operations/labPlans.js.map +1 -0
- package/dist-esm/src/operations/labs.d.ts +146 -0
- package/dist-esm/src/operations/labs.d.ts.map +1 -0
- package/dist-esm/src/operations/labs.js +658 -0
- package/dist-esm/src/operations/labs.js.map +1 -0
- package/dist-esm/src/operations/operationResults.d.ts +19 -0
- package/dist-esm/src/operations/operationResults.d.ts.map +1 -0
- package/dist-esm/src/operations/operationResults.js +52 -0
- package/dist-esm/src/operations/operationResults.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/schedules.d.ts +94 -0
- package/dist-esm/src/operations/schedules.d.ts.map +1 -0
- package/dist-esm/src/operations/schedules.js +332 -0
- package/dist-esm/src/operations/schedules.js.map +1 -0
- package/dist-esm/src/operations/skus.d.ts +32 -0
- package/dist-esm/src/operations/skus.d.ts.map +1 -0
- package/dist-esm/src/operations/skus.js +124 -0
- package/dist-esm/src/operations/skus.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +35 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +132 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operations/users.d.ts +138 -0
- package/dist-esm/src/operations/users.d.ts.map +1 -0
- package/dist-esm/src/operations/users.js +520 -0
- package/dist-esm/src/operations/users.js.map +1 -0
- package/dist-esm/src/operations/virtualMachines.d.ts +158 -0
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachines.js +579 -0
- package/dist-esm/src/operations/virtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.js +9 -0
- package/dist-esm/src/operationsInterfaces/images.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +18 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/labPlans.d.ts +98 -0
- package/dist-esm/src/operationsInterfaces/labPlans.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/labPlans.js +9 -0
- package/dist-esm/src/operationsInterfaces/labPlans.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/labs.d.ts +110 -0
- package/dist-esm/src/operationsInterfaces/labs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/labs.js +9 -0
- package/dist-esm/src/operationsInterfaces/labs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationResults.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operationResults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationResults.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationResults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/schedules.d.ts +67 -0
- package/dist-esm/src/operationsInterfaces/schedules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/schedules.js +9 -0
- package/dist-esm/src/operationsInterfaces/schedules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.js +9 -0
- package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/users.d.ts +111 -0
- package/dist-esm/src/operationsInterfaces/users.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/users.js +9 -0
- package/dist-esm/src/operationsInterfaces/users.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +131 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +79 -34
- package/review/arm-labservices.api.md +1208 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/labServicesClient.ts +115 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1872 -0
- package/src/models/mappers.ts +2875 -0
- package/src/models/parameters.ts +318 -0
- package/src/operations/images.ts +336 -0
- package/src/operations/index.ts +18 -0
- package/src/operations/labPlans.ts +801 -0
- package/src/operations/labs.ts +886 -0
- package/src/operations/operationResults.ts +70 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/schedules.ts +447 -0
- package/src/operations/skus.ts +139 -0
- package/src/operations/usages.ts +162 -0
- package/src/operations/users.ts +736 -0
- package/src/operations/virtualMachines.ts +815 -0
- package/src/operationsInterfaces/images.ts +83 -0
- package/src/operationsInterfaces/index.ts +18 -0
- package/src/operationsInterfaces/labPlans.ts +178 -0
- package/src/operationsInterfaces/labs.ts +193 -0
- package/src/operationsInterfaces/operationResults.ts +25 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/schedules.ts +118 -0
- package/src/operationsInterfaces/skus.ts +22 -0
- package/src/operationsInterfaces/usages.ts +24 -0
- package/src/operationsInterfaces/users.ts +195 -0
- package/src/operationsInterfaces/virtualMachines.ts +212 -0
- package/tsconfig.json +6 -5
- package/types/arm-labservices.d.ts +2438 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-labservices.js +0 -5579
- package/dist/arm-labservices.js.map +0 -1
- package/dist/arm-labservices.min.js +0 -1
- package/dist/arm-labservices.min.js.map +0 -1
- package/esm/managedLabsClient.d.ts +0 -26
- package/esm/managedLabsClient.d.ts.map +0 -1
- package/esm/managedLabsClient.js +0 -41
- package/esm/managedLabsClient.js.map +0 -1
- package/esm/managedLabsClientContext.d.ts +0 -16
- package/esm/managedLabsClientContext.d.ts.map +0 -1
- package/esm/managedLabsClientContext.js +0 -56
- package/esm/managedLabsClientContext.js.map +0 -1
- package/esm/models/environmentSettingsMappers.d.ts +0 -2
- package/esm/models/environmentSettingsMappers.d.ts.map +0 -1
- package/esm/models/environmentSettingsMappers.js +0 -9
- package/esm/models/environmentSettingsMappers.js.map +0 -1
- package/esm/models/environmentsMappers.d.ts +0 -2
- package/esm/models/environmentsMappers.d.ts.map +0 -1
- package/esm/models/environmentsMappers.js +0 -9
- package/esm/models/environmentsMappers.js.map +0 -1
- package/esm/models/galleryImagesMappers.d.ts +0 -2
- package/esm/models/galleryImagesMappers.d.ts.map +0 -1
- package/esm/models/galleryImagesMappers.js +0 -9
- package/esm/models/galleryImagesMappers.js.map +0 -1
- package/esm/models/globalUsersMappers.d.ts +0 -2
- package/esm/models/globalUsersMappers.d.ts.map +0 -1
- package/esm/models/globalUsersMappers.js +0 -9
- package/esm/models/globalUsersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2379
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/labAccountsMappers.d.ts +0 -2
- package/esm/models/labAccountsMappers.d.ts.map +0 -1
- package/esm/models/labAccountsMappers.js +0 -9
- package/esm/models/labAccountsMappers.js.map +0 -1
- package/esm/models/labsMappers.d.ts +0 -2
- package/esm/models/labsMappers.d.ts.map +0 -1
- package/esm/models/labsMappers.js +0 -9
- package/esm/models/labsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -72
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -2158
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -19
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -190
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/providerOperationsMappers.d.ts +0 -2
- package/esm/models/providerOperationsMappers.d.ts.map +0 -1
- package/esm/models/providerOperationsMappers.js +0 -9
- package/esm/models/providerOperationsMappers.js.map +0 -1
- package/esm/models/usersMappers.d.ts +0 -2
- package/esm/models/usersMappers.d.ts.map +0 -1
- package/esm/models/usersMappers.js +0 -9
- package/esm/models/usersMappers.js.map +0 -1
- package/esm/operations/environmentSettings.d.ts +0 -262
- package/esm/operations/environmentSettings.d.ts.map +0 -1
- package/esm/operations/environmentSettings.js +0 -479
- package/esm/operations/environmentSettings.js.map +0 -1
- package/esm/operations/environments.d.ts +0 -279
- package/esm/operations/environments.d.ts.map +0 -1
- package/esm/operations/environments.js +0 -504
- package/esm/operations/environments.js.map +0 -1
- package/esm/operations/galleryImages.d.ts +0 -154
- package/esm/operations/galleryImages.d.ts.map +0 -1
- package/esm/operations/galleryImages.js +0 -234
- package/esm/operations/galleryImages.js.map +0 -1
- package/esm/operations/globalUsers.d.ts +0 -220
- package/esm/operations/globalUsers.d.ts.map +0 -1
- package/esm/operations/globalUsers.js +0 -411
- package/esm/operations/globalUsers.js.map +0 -1
- package/esm/operations/index.d.ts +0 -10
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -19
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/labAccounts.d.ts +0 -216
- package/esm/operations/labAccounts.d.ts.map +0 -1
- package/esm/operations/labAccounts.js +0 -364
- package/esm/operations/labAccounts.js.map +0 -1
- package/esm/operations/labs.d.ts +0 -200
- package/esm/operations/labs.d.ts.map +0 -1
- package/esm/operations/labs.js +0 -321
- package/esm/operations/labs.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -34
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -58
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/providerOperations.d.ts +0 -46
- package/esm/operations/providerOperations.d.ts.map +0 -1
- package/esm/operations/providerOperations.js +0 -77
- package/esm/operations/providerOperations.js.map +0 -1
- package/esm/operations/users.d.ts +0 -163
- package/esm/operations/users.d.ts.map +0 -1
- package/esm/operations/users.js +0 -266
- package/esm/operations/users.js.map +0 -1
- package/lib/managedLabsClient.ts +0 -58
- package/lib/managedLabsClientContext.ts +0 -62
- package/lib/models/environmentSettingsMappers.ts +0 -40
- package/lib/models/environmentsMappers.ts +0 -40
- package/lib/models/galleryImagesMappers.ts +0 -39
- package/lib/models/globalUsersMappers.ts +0 -29
- package/lib/models/index.ts +0 -2557
- package/lib/models/labAccountsMappers.ts +0 -47
- package/lib/models/labsMappers.ts +0 -40
- package/lib/models/mappers.ts +0 -2333
- package/lib/models/operationsMappers.ts +0 -13
- package/lib/models/parameters.ts +0 -192
- package/lib/models/providerOperationsMappers.ts +0 -14
- package/lib/models/usersMappers.ts +0 -39
- package/lib/operations/environmentSettings.ts +0 -705
- package/lib/operations/environments.ts +0 -741
- package/lib/operations/galleryImages.ts +0 -413
- package/lib/operations/globalUsers.ts +0 -644
- package/lib/operations/index.ts +0 -19
- package/lib/operations/labAccounts.ts +0 -613
- package/lib/operations/labs.ts +0 -542
- package/lib/operations/operations.ts +0 -87
- package/lib/operations/providerOperations.ts +0 -123
- package/lib/operations/users.ts +0 -435
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/users.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { VirtualMachine, VirtualMachinesListByLabOptionalParams, VirtualMachinesGetOptionalParams, VirtualMachinesGetResponse, VirtualMachinesStartOptionalParams, VirtualMachinesStopOptionalParams, VirtualMachinesReimageOptionalParams, VirtualMachinesRedeployOptionalParams, ResetPasswordBody, VirtualMachinesResetPasswordOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a VirtualMachines. */
|
|
5
|
+
export interface VirtualMachines {
|
|
6
|
+
/**
|
|
7
|
+
* Returns a list of all virtual machines for a lab.
|
|
8
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
10
|
+
* in resource URIs.
|
|
11
|
+
* @param options The options parameters.
|
|
12
|
+
*/
|
|
13
|
+
listByLab(resourceGroupName: string, labName: string, options?: VirtualMachinesListByLabOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
|
|
14
|
+
/**
|
|
15
|
+
* Returns the properties for a lab virtual machine.
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
18
|
+
* in resource URIs.
|
|
19
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
20
|
+
* containing lab. Used in resource URIs.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
get(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise<VirtualMachinesGetResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Action to start a lab virtual machine.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
28
|
+
* in resource URIs.
|
|
29
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
30
|
+
* containing lab. Used in resource URIs.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
beginStart(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
34
|
+
/**
|
|
35
|
+
* Action to start a lab virtual machine.
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
38
|
+
* in resource URIs.
|
|
39
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
40
|
+
* containing lab. Used in resource URIs.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
beginStartAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Action to stop a lab virtual machine.
|
|
46
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
47
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
48
|
+
* in resource URIs.
|
|
49
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
50
|
+
* containing lab. Used in resource URIs.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
beginStop(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
54
|
+
/**
|
|
55
|
+
* Action to stop a lab virtual machine.
|
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
57
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
58
|
+
* in resource URIs.
|
|
59
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
60
|
+
* containing lab. Used in resource URIs.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginStopAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest
|
|
66
|
+
* published snapshot of the reference environment of the lab.
|
|
67
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
68
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
69
|
+
* in resource URIs.
|
|
70
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
71
|
+
* containing lab. Used in resource URIs.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
beginReimage(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesReimageOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
75
|
+
/**
|
|
76
|
+
* Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest
|
|
77
|
+
* published snapshot of the reference environment of the lab.
|
|
78
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
79
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
80
|
+
* in resource URIs.
|
|
81
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
82
|
+
* containing lab. Used in resource URIs.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
beginReimageAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesReimageOptionalParams): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* Action to redeploy a lab virtual machine to a different compute node. For troubleshooting
|
|
88
|
+
* connectivity.
|
|
89
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
90
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
91
|
+
* in resource URIs.
|
|
92
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
93
|
+
* containing lab. Used in resource URIs.
|
|
94
|
+
* @param options The options parameters.
|
|
95
|
+
*/
|
|
96
|
+
beginRedeploy(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesRedeployOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
97
|
+
/**
|
|
98
|
+
* Action to redeploy a lab virtual machine to a different compute node. For troubleshooting
|
|
99
|
+
* connectivity.
|
|
100
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
101
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
102
|
+
* in resource URIs.
|
|
103
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
104
|
+
* containing lab. Used in resource URIs.
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
beginRedeployAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesRedeployOptionalParams): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Resets a lab virtual machine password.
|
|
110
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
111
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
112
|
+
* in resource URIs.
|
|
113
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
114
|
+
* containing lab. Used in resource URIs.
|
|
115
|
+
* @param body The request body.
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
beginResetPassword(resourceGroupName: string, labName: string, virtualMachineName: string, body: ResetPasswordBody, options?: VirtualMachinesResetPasswordOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
119
|
+
/**
|
|
120
|
+
* Resets a lab virtual machine password.
|
|
121
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
122
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab account. Used
|
|
123
|
+
* in resource URIs.
|
|
124
|
+
* @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
|
|
125
|
+
* containing lab. Used in resource URIs.
|
|
126
|
+
* @param body The request body.
|
|
127
|
+
* @param options The options parameters.
|
|
128
|
+
*/
|
|
129
|
+
beginResetPasswordAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, body: ResetPasswordBody, options?: VirtualMachinesResetPasswordOptionalParams): Promise<void>;
|
|
130
|
+
}
|
|
131
|
+
//# sourceMappingURL=virtualMachines.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualMachines.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/virtualMachines.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=virtualMachines.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualMachines.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/virtualMachines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
import { record } from "@azure-tools/test-recorder";
|
|
10
|
+
const recorderEnvSetup = {
|
|
11
|
+
replaceableVariables: {
|
|
12
|
+
AZURE_CLIENT_ID: "azure_client_id",
|
|
13
|
+
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
14
|
+
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
15
|
+
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
16
|
+
},
|
|
17
|
+
customizationsOnRecordings: [
|
|
18
|
+
(recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
|
|
19
|
+
],
|
|
20
|
+
queryParametersToSkip: []
|
|
21
|
+
};
|
|
22
|
+
describe("My test", () => {
|
|
23
|
+
let recorder;
|
|
24
|
+
beforeEach(function () {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
recorder = record(this, recorderEnvSetup);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
afterEach(function () {
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
yield recorder.stop();
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
it("sample test", function () {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
console.log("Hi, I'm a test!");
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=sampleTest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,58 +1,103 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/arm-labservices",
|
|
3
|
+
"sdk-type": "mgmt",
|
|
3
4
|
"author": "Microsoft Corporation",
|
|
4
|
-
"description": "
|
|
5
|
-
"version": "
|
|
5
|
+
"description": "A generated SDK for LabServicesClient.",
|
|
6
|
+
"version": "3.0.0-beta.1",
|
|
7
|
+
"engines": { "node": ">=12.0.0" },
|
|
6
8
|
"dependencies": {
|
|
7
|
-
"@azure/
|
|
8
|
-
"@azure/
|
|
9
|
-
"
|
|
9
|
+
"@azure/core-lro": "^2.2.0",
|
|
10
|
+
"@azure/abort-controller": "^1.0.0",
|
|
11
|
+
"@azure/core-paging": "^1.2.0",
|
|
12
|
+
"@azure/core-client": "^1.0.0",
|
|
13
|
+
"@azure/core-auth": "^1.3.0",
|
|
14
|
+
"@azure/core-rest-pipeline": "^1.1.0",
|
|
15
|
+
"tslib": "^2.2.0"
|
|
10
16
|
},
|
|
11
|
-
"keywords": [
|
|
12
|
-
"node",
|
|
13
|
-
"azure",
|
|
14
|
-
"typescript",
|
|
15
|
-
"browser",
|
|
16
|
-
"isomorphic"
|
|
17
|
-
],
|
|
17
|
+
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
|
|
18
18
|
"license": "MIT",
|
|
19
|
-
"main": "./dist/
|
|
20
|
-
"module": "./esm/
|
|
21
|
-
"types": "./
|
|
19
|
+
"main": "./dist/index.js",
|
|
20
|
+
"module": "./dist-esm/src/index.js",
|
|
21
|
+
"types": "./types/arm-labservices.d.ts",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"
|
|
24
|
-
"rollup": "
|
|
25
|
-
"rollup
|
|
23
|
+
"@microsoft/api-extractor": "^7.18.11",
|
|
24
|
+
"@rollup/plugin-commonjs": "11.0.2",
|
|
25
|
+
"@rollup/plugin-json": "^4.0.0",
|
|
26
|
+
"@rollup/plugin-multi-entry": "^3.0.0",
|
|
27
|
+
"@rollup/plugin-node-resolve": "^8.0.0",
|
|
28
|
+
"mkdirp": "^1.0.4",
|
|
29
|
+
"rollup": "^1.16.3",
|
|
26
30
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
27
|
-
"
|
|
31
|
+
"typescript": "~4.2.0",
|
|
32
|
+
"uglify-js": "^3.4.9",
|
|
33
|
+
"rimraf": "^3.0.0",
|
|
34
|
+
"@azure/identity": "^2.0.1",
|
|
35
|
+
"@azure-tools/test-recorder": "^1.0.0",
|
|
36
|
+
"mocha": "^7.1.1",
|
|
37
|
+
"cross-env": "^7.0.2"
|
|
28
38
|
},
|
|
29
|
-
"homepage": "https://github.com/
|
|
39
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/labservices/arm-labservices",
|
|
30
40
|
"repository": {
|
|
31
41
|
"type": "git",
|
|
32
|
-
"url": "https://github.com/
|
|
33
|
-
},
|
|
34
|
-
"bugs": {
|
|
35
|
-
"url": "https://github.com/azure/azure-sdk-for-js/issues"
|
|
42
|
+
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
36
43
|
},
|
|
44
|
+
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
|
|
37
45
|
"files": [
|
|
38
46
|
"dist/**/*.js",
|
|
39
47
|
"dist/**/*.js.map",
|
|
40
48
|
"dist/**/*.d.ts",
|
|
41
49
|
"dist/**/*.d.ts.map",
|
|
42
|
-
"esm/**/*.js",
|
|
43
|
-
"esm/**/*.js.map",
|
|
44
|
-
"esm/**/*.d.ts",
|
|
45
|
-
"esm/**/*.d.ts.map",
|
|
46
|
-
"
|
|
50
|
+
"dist-esm/**/*.js",
|
|
51
|
+
"dist-esm/**/*.js.map",
|
|
52
|
+
"dist-esm/**/*.d.ts",
|
|
53
|
+
"dist-esm/**/*.d.ts.map",
|
|
54
|
+
"src/**/*.ts",
|
|
47
55
|
"README.md",
|
|
56
|
+
"LICENSE",
|
|
48
57
|
"rollup.config.js",
|
|
49
|
-
"tsconfig.json"
|
|
58
|
+
"tsconfig.json",
|
|
59
|
+
"review/*",
|
|
60
|
+
"CHANGELOG.md",
|
|
61
|
+
"types/*"
|
|
50
62
|
],
|
|
51
63
|
"scripts": {
|
|
52
|
-
"build": "tsc && rollup -c
|
|
53
|
-
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/
|
|
54
|
-
"prepack": "npm
|
|
64
|
+
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
|
|
65
|
+
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
66
|
+
"prepack": "npm run build",
|
|
67
|
+
"pack": "npm pack 2>&1",
|
|
68
|
+
"extract-api": "api-extractor run --local",
|
|
69
|
+
"lint": "echo skipped",
|
|
70
|
+
"audit": "echo skipped",
|
|
71
|
+
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
72
|
+
"build:node": "echo skipped",
|
|
73
|
+
"build:browser": "echo skipped",
|
|
74
|
+
"build:test": "echo skipped",
|
|
75
|
+
"build:samples": "echo skipped.",
|
|
76
|
+
"check-format": "echo skipped",
|
|
77
|
+
"execute:samples": "echo skipped",
|
|
78
|
+
"format": "echo skipped",
|
|
79
|
+
"test": "npm run integration-test",
|
|
80
|
+
"test:node": "echo skipped",
|
|
81
|
+
"test:browser": "echo skipped",
|
|
82
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
83
|
+
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
|
84
|
+
"unit-test:browser": "echo skipped",
|
|
85
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
86
|
+
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
|
|
87
|
+
"integration-test:browser": "echo skipped",
|
|
88
|
+
"docs": "echo skipped"
|
|
55
89
|
},
|
|
56
90
|
"sideEffects": false,
|
|
57
|
-
"
|
|
91
|
+
"//metadata": {
|
|
92
|
+
"constantPaths": [
|
|
93
|
+
{ "path": "src/LabServicesClient.ts", "prefix": "packageDetails" }
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"autoPublish": true,
|
|
97
|
+
"//sampleConfiguration": {
|
|
98
|
+
"productName": "",
|
|
99
|
+
"productSlugs": ["azure"],
|
|
100
|
+
"disableDocsMs": true,
|
|
101
|
+
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-labservices?view=azure-node-preview"
|
|
102
|
+
}
|
|
58
103
|
}
|