@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
|
@@ -1,705 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import * as Models from "../models";
|
|
14
|
-
import * as Mappers from "../models/environmentSettingsMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { ManagedLabsClientContext } from "../managedLabsClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a EnvironmentSettings. */
|
|
19
|
-
export class EnvironmentSettings {
|
|
20
|
-
private readonly client: ManagedLabsClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a EnvironmentSettings.
|
|
24
|
-
* @param {ManagedLabsClientContext} client Reference to the service client.
|
|
25
|
-
*/
|
|
26
|
-
constructor(client: ManagedLabsClientContext) {
|
|
27
|
-
this.client = client;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* List environment setting in a given lab.
|
|
32
|
-
* @param resourceGroupName The name of the resource group.
|
|
33
|
-
* @param labAccountName The name of the lab Account.
|
|
34
|
-
* @param labName The name of the lab.
|
|
35
|
-
* @param [options] The optional parameters
|
|
36
|
-
* @returns Promise<Models.EnvironmentSettingsListResponse>
|
|
37
|
-
*/
|
|
38
|
-
list(resourceGroupName: string, labAccountName: string, labName: string, options?: Models.EnvironmentSettingsListOptionalParams): Promise<Models.EnvironmentSettingsListResponse>;
|
|
39
|
-
/**
|
|
40
|
-
* @param resourceGroupName The name of the resource group.
|
|
41
|
-
* @param labAccountName The name of the lab Account.
|
|
42
|
-
* @param labName The name of the lab.
|
|
43
|
-
* @param callback The callback
|
|
44
|
-
*/
|
|
45
|
-
list(resourceGroupName: string, labAccountName: string, labName: string, callback: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironmentSetting>): void;
|
|
46
|
-
/**
|
|
47
|
-
* @param resourceGroupName The name of the resource group.
|
|
48
|
-
* @param labAccountName The name of the lab Account.
|
|
49
|
-
* @param labName The name of the lab.
|
|
50
|
-
* @param options The optional parameters
|
|
51
|
-
* @param callback The callback
|
|
52
|
-
*/
|
|
53
|
-
list(resourceGroupName: string, labAccountName: string, labName: string, options: Models.EnvironmentSettingsListOptionalParams, callback: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironmentSetting>): void;
|
|
54
|
-
list(resourceGroupName: string, labAccountName: string, labName: string, options?: Models.EnvironmentSettingsListOptionalParams | msRest.ServiceCallback<Models.ResponseWithContinuationEnvironmentSetting>, callback?: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironmentSetting>): Promise<Models.EnvironmentSettingsListResponse> {
|
|
55
|
-
return this.client.sendOperationRequest(
|
|
56
|
-
{
|
|
57
|
-
resourceGroupName,
|
|
58
|
-
labAccountName,
|
|
59
|
-
labName,
|
|
60
|
-
options
|
|
61
|
-
},
|
|
62
|
-
listOperationSpec,
|
|
63
|
-
callback) as Promise<Models.EnvironmentSettingsListResponse>;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Get environment setting
|
|
68
|
-
* @param resourceGroupName The name of the resource group.
|
|
69
|
-
* @param labAccountName The name of the lab Account.
|
|
70
|
-
* @param labName The name of the lab.
|
|
71
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
72
|
-
* @param [options] The optional parameters
|
|
73
|
-
* @returns Promise<Models.EnvironmentSettingsGetResponse>
|
|
74
|
-
*/
|
|
75
|
-
get(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: Models.EnvironmentSettingsGetOptionalParams): Promise<Models.EnvironmentSettingsGetResponse>;
|
|
76
|
-
/**
|
|
77
|
-
* @param resourceGroupName The name of the resource group.
|
|
78
|
-
* @param labAccountName The name of the lab Account.
|
|
79
|
-
* @param labName The name of the lab.
|
|
80
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
81
|
-
* @param callback The callback
|
|
82
|
-
*/
|
|
83
|
-
get(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, callback: msRest.ServiceCallback<Models.EnvironmentSetting>): void;
|
|
84
|
-
/**
|
|
85
|
-
* @param resourceGroupName The name of the resource group.
|
|
86
|
-
* @param labAccountName The name of the lab Account.
|
|
87
|
-
* @param labName The name of the lab.
|
|
88
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
89
|
-
* @param options The optional parameters
|
|
90
|
-
* @param callback The callback
|
|
91
|
-
*/
|
|
92
|
-
get(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options: Models.EnvironmentSettingsGetOptionalParams, callback: msRest.ServiceCallback<Models.EnvironmentSetting>): void;
|
|
93
|
-
get(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: Models.EnvironmentSettingsGetOptionalParams | msRest.ServiceCallback<Models.EnvironmentSetting>, callback?: msRest.ServiceCallback<Models.EnvironmentSetting>): Promise<Models.EnvironmentSettingsGetResponse> {
|
|
94
|
-
return this.client.sendOperationRequest(
|
|
95
|
-
{
|
|
96
|
-
resourceGroupName,
|
|
97
|
-
labAccountName,
|
|
98
|
-
labName,
|
|
99
|
-
environmentSettingName,
|
|
100
|
-
options
|
|
101
|
-
},
|
|
102
|
-
getOperationSpec,
|
|
103
|
-
callback) as Promise<Models.EnvironmentSettingsGetResponse>;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Create or replace an existing Environment Setting. This operation can take a while to complete
|
|
108
|
-
* @param resourceGroupName The name of the resource group.
|
|
109
|
-
* @param labAccountName The name of the lab Account.
|
|
110
|
-
* @param labName The name of the lab.
|
|
111
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
112
|
-
* @param environmentSetting Represents settings of an environment, from which environment
|
|
113
|
-
* instances would be created
|
|
114
|
-
* @param [options] The optional parameters
|
|
115
|
-
* @returns Promise<Models.EnvironmentSettingsCreateOrUpdateResponse>
|
|
116
|
-
*/
|
|
117
|
-
createOrUpdate(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentSetting: Models.EnvironmentSetting, options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentSettingsCreateOrUpdateResponse> {
|
|
118
|
-
return this.beginCreateOrUpdate(resourceGroupName,labAccountName,labName,environmentSettingName,environmentSetting,options)
|
|
119
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.EnvironmentSettingsCreateOrUpdateResponse>;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Delete environment setting. This operation can take a while to complete
|
|
124
|
-
* @param resourceGroupName The name of the resource group.
|
|
125
|
-
* @param labAccountName The name of the lab Account.
|
|
126
|
-
* @param labName The name of the lab.
|
|
127
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
128
|
-
* @param [options] The optional parameters
|
|
129
|
-
* @returns Promise<msRest.RestResponse>
|
|
130
|
-
*/
|
|
131
|
-
deleteMethod(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
132
|
-
return this.beginDeleteMethod(resourceGroupName,labAccountName,labName,environmentSettingName,options)
|
|
133
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Modify properties of environment setting.
|
|
138
|
-
* @param resourceGroupName The name of the resource group.
|
|
139
|
-
* @param labAccountName The name of the lab Account.
|
|
140
|
-
* @param labName The name of the lab.
|
|
141
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
142
|
-
* @param environmentSetting Represents settings of an environment, from which environment
|
|
143
|
-
* instances would be created
|
|
144
|
-
* @param [options] The optional parameters
|
|
145
|
-
* @returns Promise<Models.EnvironmentSettingsUpdateResponse>
|
|
146
|
-
*/
|
|
147
|
-
update(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentSetting: Models.EnvironmentSettingFragment, options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentSettingsUpdateResponse>;
|
|
148
|
-
/**
|
|
149
|
-
* @param resourceGroupName The name of the resource group.
|
|
150
|
-
* @param labAccountName The name of the lab Account.
|
|
151
|
-
* @param labName The name of the lab.
|
|
152
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
153
|
-
* @param environmentSetting Represents settings of an environment, from which environment
|
|
154
|
-
* instances would be created
|
|
155
|
-
* @param callback The callback
|
|
156
|
-
*/
|
|
157
|
-
update(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentSetting: Models.EnvironmentSettingFragment, callback: msRest.ServiceCallback<Models.EnvironmentSetting>): void;
|
|
158
|
-
/**
|
|
159
|
-
* @param resourceGroupName The name of the resource group.
|
|
160
|
-
* @param labAccountName The name of the lab Account.
|
|
161
|
-
* @param labName The name of the lab.
|
|
162
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
163
|
-
* @param environmentSetting Represents settings of an environment, from which environment
|
|
164
|
-
* instances would be created
|
|
165
|
-
* @param options The optional parameters
|
|
166
|
-
* @param callback The callback
|
|
167
|
-
*/
|
|
168
|
-
update(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentSetting: Models.EnvironmentSettingFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EnvironmentSetting>): void;
|
|
169
|
-
update(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentSetting: Models.EnvironmentSettingFragment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.EnvironmentSetting>, callback?: msRest.ServiceCallback<Models.EnvironmentSetting>): Promise<Models.EnvironmentSettingsUpdateResponse> {
|
|
170
|
-
return this.client.sendOperationRequest(
|
|
171
|
-
{
|
|
172
|
-
resourceGroupName,
|
|
173
|
-
labAccountName,
|
|
174
|
-
labName,
|
|
175
|
-
environmentSettingName,
|
|
176
|
-
environmentSetting,
|
|
177
|
-
options
|
|
178
|
-
},
|
|
179
|
-
updateOperationSpec,
|
|
180
|
-
callback) as Promise<Models.EnvironmentSettingsUpdateResponse>;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Claims a random environment for a user in an environment settings
|
|
185
|
-
* @param resourceGroupName The name of the resource group.
|
|
186
|
-
* @param labAccountName The name of the lab Account.
|
|
187
|
-
* @param labName The name of the lab.
|
|
188
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
189
|
-
* @param [options] The optional parameters
|
|
190
|
-
* @returns Promise<msRest.RestResponse>
|
|
191
|
-
*/
|
|
192
|
-
claimAny(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
193
|
-
/**
|
|
194
|
-
* @param resourceGroupName The name of the resource group.
|
|
195
|
-
* @param labAccountName The name of the lab Account.
|
|
196
|
-
* @param labName The name of the lab.
|
|
197
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
198
|
-
* @param callback The callback
|
|
199
|
-
*/
|
|
200
|
-
claimAny(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, callback: msRest.ServiceCallback<void>): void;
|
|
201
|
-
/**
|
|
202
|
-
* @param resourceGroupName The name of the resource group.
|
|
203
|
-
* @param labAccountName The name of the lab Account.
|
|
204
|
-
* @param labName The name of the lab.
|
|
205
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
206
|
-
* @param options The optional parameters
|
|
207
|
-
* @param callback The callback
|
|
208
|
-
*/
|
|
209
|
-
claimAny(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
210
|
-
claimAny(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
211
|
-
return this.client.sendOperationRequest(
|
|
212
|
-
{
|
|
213
|
-
resourceGroupName,
|
|
214
|
-
labAccountName,
|
|
215
|
-
labName,
|
|
216
|
-
environmentSettingName,
|
|
217
|
-
options
|
|
218
|
-
},
|
|
219
|
-
claimAnyOperationSpec,
|
|
220
|
-
callback);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Provisions/deprovisions required resources for an environment setting based on current state of
|
|
225
|
-
* the lab/environment setting.
|
|
226
|
-
* @param resourceGroupName The name of the resource group.
|
|
227
|
-
* @param labAccountName The name of the lab Account.
|
|
228
|
-
* @param labName The name of the lab.
|
|
229
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
230
|
-
* @param publishPayload Payload for Publish operation on EnvironmentSetting.
|
|
231
|
-
* @param [options] The optional parameters
|
|
232
|
-
* @returns Promise<msRest.RestResponse>
|
|
233
|
-
*/
|
|
234
|
-
publish(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, publishPayload: Models.PublishPayload, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
235
|
-
/**
|
|
236
|
-
* @param resourceGroupName The name of the resource group.
|
|
237
|
-
* @param labAccountName The name of the lab Account.
|
|
238
|
-
* @param labName The name of the lab.
|
|
239
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
240
|
-
* @param publishPayload Payload for Publish operation on EnvironmentSetting.
|
|
241
|
-
* @param callback The callback
|
|
242
|
-
*/
|
|
243
|
-
publish(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, publishPayload: Models.PublishPayload, callback: msRest.ServiceCallback<void>): void;
|
|
244
|
-
/**
|
|
245
|
-
* @param resourceGroupName The name of the resource group.
|
|
246
|
-
* @param labAccountName The name of the lab Account.
|
|
247
|
-
* @param labName The name of the lab.
|
|
248
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
249
|
-
* @param publishPayload Payload for Publish operation on EnvironmentSetting.
|
|
250
|
-
* @param options The optional parameters
|
|
251
|
-
* @param callback The callback
|
|
252
|
-
*/
|
|
253
|
-
publish(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, publishPayload: Models.PublishPayload, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
254
|
-
publish(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, publishPayload: Models.PublishPayload, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
255
|
-
return this.client.sendOperationRequest(
|
|
256
|
-
{
|
|
257
|
-
resourceGroupName,
|
|
258
|
-
labAccountName,
|
|
259
|
-
labName,
|
|
260
|
-
environmentSettingName,
|
|
261
|
-
publishPayload,
|
|
262
|
-
options
|
|
263
|
-
},
|
|
264
|
-
publishOperationSpec,
|
|
265
|
-
callback);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* Starts a template by starting all resources inside the template. This operation can take a while
|
|
270
|
-
* to complete
|
|
271
|
-
* @param resourceGroupName The name of the resource group.
|
|
272
|
-
* @param labAccountName The name of the lab Account.
|
|
273
|
-
* @param labName The name of the lab.
|
|
274
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
275
|
-
* @param [options] The optional parameters
|
|
276
|
-
* @returns Promise<msRest.RestResponse>
|
|
277
|
-
*/
|
|
278
|
-
start(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
279
|
-
return this.beginStart(resourceGroupName,labAccountName,labName,environmentSettingName,options)
|
|
280
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* Starts a template by starting all resources inside the template. This operation can take a while
|
|
285
|
-
* to complete
|
|
286
|
-
* @param resourceGroupName The name of the resource group.
|
|
287
|
-
* @param labAccountName The name of the lab Account.
|
|
288
|
-
* @param labName The name of the lab.
|
|
289
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
290
|
-
* @param [options] The optional parameters
|
|
291
|
-
* @returns Promise<msRest.RestResponse>
|
|
292
|
-
*/
|
|
293
|
-
stop(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
294
|
-
return this.beginStop(resourceGroupName,labAccountName,labName,environmentSettingName,options)
|
|
295
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* Create or replace an existing Environment Setting. This operation can take a while to complete
|
|
300
|
-
* @param resourceGroupName The name of the resource group.
|
|
301
|
-
* @param labAccountName The name of the lab Account.
|
|
302
|
-
* @param labName The name of the lab.
|
|
303
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
304
|
-
* @param environmentSetting Represents settings of an environment, from which environment
|
|
305
|
-
* instances would be created
|
|
306
|
-
* @param [options] The optional parameters
|
|
307
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
308
|
-
*/
|
|
309
|
-
beginCreateOrUpdate(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, environmentSetting: Models.EnvironmentSetting, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
310
|
-
return this.client.sendLRORequest(
|
|
311
|
-
{
|
|
312
|
-
resourceGroupName,
|
|
313
|
-
labAccountName,
|
|
314
|
-
labName,
|
|
315
|
-
environmentSettingName,
|
|
316
|
-
environmentSetting,
|
|
317
|
-
options
|
|
318
|
-
},
|
|
319
|
-
beginCreateOrUpdateOperationSpec,
|
|
320
|
-
options);
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Delete environment setting. This operation can take a while to complete
|
|
325
|
-
* @param resourceGroupName The name of the resource group.
|
|
326
|
-
* @param labAccountName The name of the lab Account.
|
|
327
|
-
* @param labName The name of the lab.
|
|
328
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
329
|
-
* @param [options] The optional parameters
|
|
330
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
331
|
-
*/
|
|
332
|
-
beginDeleteMethod(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
333
|
-
return this.client.sendLRORequest(
|
|
334
|
-
{
|
|
335
|
-
resourceGroupName,
|
|
336
|
-
labAccountName,
|
|
337
|
-
labName,
|
|
338
|
-
environmentSettingName,
|
|
339
|
-
options
|
|
340
|
-
},
|
|
341
|
-
beginDeleteMethodOperationSpec,
|
|
342
|
-
options);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Starts a template by starting all resources inside the template. This operation can take a while
|
|
347
|
-
* to complete
|
|
348
|
-
* @param resourceGroupName The name of the resource group.
|
|
349
|
-
* @param labAccountName The name of the lab Account.
|
|
350
|
-
* @param labName The name of the lab.
|
|
351
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
352
|
-
* @param [options] The optional parameters
|
|
353
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
354
|
-
*/
|
|
355
|
-
beginStart(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
356
|
-
return this.client.sendLRORequest(
|
|
357
|
-
{
|
|
358
|
-
resourceGroupName,
|
|
359
|
-
labAccountName,
|
|
360
|
-
labName,
|
|
361
|
-
environmentSettingName,
|
|
362
|
-
options
|
|
363
|
-
},
|
|
364
|
-
beginStartOperationSpec,
|
|
365
|
-
options);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* Starts a template by starting all resources inside the template. This operation can take a while
|
|
370
|
-
* to complete
|
|
371
|
-
* @param resourceGroupName The name of the resource group.
|
|
372
|
-
* @param labAccountName The name of the lab Account.
|
|
373
|
-
* @param labName The name of the lab.
|
|
374
|
-
* @param environmentSettingName The name of the environment Setting.
|
|
375
|
-
* @param [options] The optional parameters
|
|
376
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
377
|
-
*/
|
|
378
|
-
beginStop(resourceGroupName: string, labAccountName: string, labName: string, environmentSettingName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
379
|
-
return this.client.sendLRORequest(
|
|
380
|
-
{
|
|
381
|
-
resourceGroupName,
|
|
382
|
-
labAccountName,
|
|
383
|
-
labName,
|
|
384
|
-
environmentSettingName,
|
|
385
|
-
options
|
|
386
|
-
},
|
|
387
|
-
beginStopOperationSpec,
|
|
388
|
-
options);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* List environment setting in a given lab.
|
|
393
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
394
|
-
* @param [options] The optional parameters
|
|
395
|
-
* @returns Promise<Models.EnvironmentSettingsListNextResponse>
|
|
396
|
-
*/
|
|
397
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentSettingsListNextResponse>;
|
|
398
|
-
/**
|
|
399
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
400
|
-
* @param callback The callback
|
|
401
|
-
*/
|
|
402
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironmentSetting>): void;
|
|
403
|
-
/**
|
|
404
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
405
|
-
* @param options The optional parameters
|
|
406
|
-
* @param callback The callback
|
|
407
|
-
*/
|
|
408
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironmentSetting>): void;
|
|
409
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ResponseWithContinuationEnvironmentSetting>, callback?: msRest.ServiceCallback<Models.ResponseWithContinuationEnvironmentSetting>): Promise<Models.EnvironmentSettingsListNextResponse> {
|
|
410
|
-
return this.client.sendOperationRequest(
|
|
411
|
-
{
|
|
412
|
-
nextPageLink,
|
|
413
|
-
options
|
|
414
|
-
},
|
|
415
|
-
listNextOperationSpec,
|
|
416
|
-
callback) as Promise<Models.EnvironmentSettingsListNextResponse>;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
// Operation Specifications
|
|
421
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
422
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
423
|
-
httpMethod: "GET",
|
|
424
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings",
|
|
425
|
-
urlParameters: [
|
|
426
|
-
Parameters.subscriptionId,
|
|
427
|
-
Parameters.resourceGroupName,
|
|
428
|
-
Parameters.labAccountName,
|
|
429
|
-
Parameters.labName
|
|
430
|
-
],
|
|
431
|
-
queryParameters: [
|
|
432
|
-
Parameters.expand,
|
|
433
|
-
Parameters.filter,
|
|
434
|
-
Parameters.top,
|
|
435
|
-
Parameters.orderby,
|
|
436
|
-
Parameters.apiVersion
|
|
437
|
-
],
|
|
438
|
-
headerParameters: [
|
|
439
|
-
Parameters.acceptLanguage
|
|
440
|
-
],
|
|
441
|
-
responses: {
|
|
442
|
-
200: {
|
|
443
|
-
bodyMapper: Mappers.ResponseWithContinuationEnvironmentSetting
|
|
444
|
-
},
|
|
445
|
-
default: {
|
|
446
|
-
bodyMapper: Mappers.CloudError
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
serializer
|
|
450
|
-
};
|
|
451
|
-
|
|
452
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
453
|
-
httpMethod: "GET",
|
|
454
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}",
|
|
455
|
-
urlParameters: [
|
|
456
|
-
Parameters.subscriptionId,
|
|
457
|
-
Parameters.resourceGroupName,
|
|
458
|
-
Parameters.labAccountName,
|
|
459
|
-
Parameters.labName,
|
|
460
|
-
Parameters.environmentSettingName
|
|
461
|
-
],
|
|
462
|
-
queryParameters: [
|
|
463
|
-
Parameters.expand,
|
|
464
|
-
Parameters.apiVersion
|
|
465
|
-
],
|
|
466
|
-
headerParameters: [
|
|
467
|
-
Parameters.acceptLanguage
|
|
468
|
-
],
|
|
469
|
-
responses: {
|
|
470
|
-
200: {
|
|
471
|
-
bodyMapper: Mappers.EnvironmentSetting
|
|
472
|
-
},
|
|
473
|
-
default: {
|
|
474
|
-
bodyMapper: Mappers.CloudError
|
|
475
|
-
}
|
|
476
|
-
},
|
|
477
|
-
serializer
|
|
478
|
-
};
|
|
479
|
-
|
|
480
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
481
|
-
httpMethod: "PATCH",
|
|
482
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}",
|
|
483
|
-
urlParameters: [
|
|
484
|
-
Parameters.subscriptionId,
|
|
485
|
-
Parameters.resourceGroupName,
|
|
486
|
-
Parameters.labAccountName,
|
|
487
|
-
Parameters.labName,
|
|
488
|
-
Parameters.environmentSettingName
|
|
489
|
-
],
|
|
490
|
-
queryParameters: [
|
|
491
|
-
Parameters.apiVersion
|
|
492
|
-
],
|
|
493
|
-
headerParameters: [
|
|
494
|
-
Parameters.acceptLanguage
|
|
495
|
-
],
|
|
496
|
-
requestBody: {
|
|
497
|
-
parameterPath: "environmentSetting",
|
|
498
|
-
mapper: {
|
|
499
|
-
...Mappers.EnvironmentSettingFragment,
|
|
500
|
-
required: true
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
responses: {
|
|
504
|
-
200: {
|
|
505
|
-
bodyMapper: Mappers.EnvironmentSetting
|
|
506
|
-
},
|
|
507
|
-
default: {
|
|
508
|
-
bodyMapper: Mappers.CloudError
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
serializer
|
|
512
|
-
};
|
|
513
|
-
|
|
514
|
-
const claimAnyOperationSpec: msRest.OperationSpec = {
|
|
515
|
-
httpMethod: "POST",
|
|
516
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/claimAny",
|
|
517
|
-
urlParameters: [
|
|
518
|
-
Parameters.subscriptionId,
|
|
519
|
-
Parameters.resourceGroupName,
|
|
520
|
-
Parameters.labAccountName,
|
|
521
|
-
Parameters.labName,
|
|
522
|
-
Parameters.environmentSettingName
|
|
523
|
-
],
|
|
524
|
-
queryParameters: [
|
|
525
|
-
Parameters.apiVersion
|
|
526
|
-
],
|
|
527
|
-
headerParameters: [
|
|
528
|
-
Parameters.acceptLanguage
|
|
529
|
-
],
|
|
530
|
-
responses: {
|
|
531
|
-
200: {},
|
|
532
|
-
default: {
|
|
533
|
-
bodyMapper: Mappers.CloudError
|
|
534
|
-
}
|
|
535
|
-
},
|
|
536
|
-
serializer
|
|
537
|
-
};
|
|
538
|
-
|
|
539
|
-
const publishOperationSpec: msRest.OperationSpec = {
|
|
540
|
-
httpMethod: "POST",
|
|
541
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/publish",
|
|
542
|
-
urlParameters: [
|
|
543
|
-
Parameters.subscriptionId,
|
|
544
|
-
Parameters.resourceGroupName,
|
|
545
|
-
Parameters.labAccountName,
|
|
546
|
-
Parameters.labName,
|
|
547
|
-
Parameters.environmentSettingName
|
|
548
|
-
],
|
|
549
|
-
queryParameters: [
|
|
550
|
-
Parameters.apiVersion
|
|
551
|
-
],
|
|
552
|
-
headerParameters: [
|
|
553
|
-
Parameters.acceptLanguage
|
|
554
|
-
],
|
|
555
|
-
requestBody: {
|
|
556
|
-
parameterPath: "publishPayload",
|
|
557
|
-
mapper: {
|
|
558
|
-
...Mappers.PublishPayload,
|
|
559
|
-
required: true
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
responses: {
|
|
563
|
-
200: {},
|
|
564
|
-
default: {
|
|
565
|
-
bodyMapper: Mappers.CloudError
|
|
566
|
-
}
|
|
567
|
-
},
|
|
568
|
-
serializer
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
572
|
-
httpMethod: "PUT",
|
|
573
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}",
|
|
574
|
-
urlParameters: [
|
|
575
|
-
Parameters.subscriptionId,
|
|
576
|
-
Parameters.resourceGroupName,
|
|
577
|
-
Parameters.labAccountName,
|
|
578
|
-
Parameters.labName,
|
|
579
|
-
Parameters.environmentSettingName
|
|
580
|
-
],
|
|
581
|
-
queryParameters: [
|
|
582
|
-
Parameters.apiVersion
|
|
583
|
-
],
|
|
584
|
-
headerParameters: [
|
|
585
|
-
Parameters.acceptLanguage
|
|
586
|
-
],
|
|
587
|
-
requestBody: {
|
|
588
|
-
parameterPath: "environmentSetting",
|
|
589
|
-
mapper: {
|
|
590
|
-
...Mappers.EnvironmentSetting,
|
|
591
|
-
required: true
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
responses: {
|
|
595
|
-
200: {
|
|
596
|
-
bodyMapper: Mappers.EnvironmentSetting
|
|
597
|
-
},
|
|
598
|
-
201: {
|
|
599
|
-
bodyMapper: Mappers.EnvironmentSetting
|
|
600
|
-
},
|
|
601
|
-
default: {
|
|
602
|
-
bodyMapper: Mappers.CloudError
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
serializer
|
|
606
|
-
};
|
|
607
|
-
|
|
608
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
609
|
-
httpMethod: "DELETE",
|
|
610
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}",
|
|
611
|
-
urlParameters: [
|
|
612
|
-
Parameters.subscriptionId,
|
|
613
|
-
Parameters.resourceGroupName,
|
|
614
|
-
Parameters.labAccountName,
|
|
615
|
-
Parameters.labName,
|
|
616
|
-
Parameters.environmentSettingName
|
|
617
|
-
],
|
|
618
|
-
queryParameters: [
|
|
619
|
-
Parameters.apiVersion
|
|
620
|
-
],
|
|
621
|
-
headerParameters: [
|
|
622
|
-
Parameters.acceptLanguage
|
|
623
|
-
],
|
|
624
|
-
responses: {
|
|
625
|
-
202: {},
|
|
626
|
-
204: {},
|
|
627
|
-
default: {
|
|
628
|
-
bodyMapper: Mappers.CloudError
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
serializer
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
const beginStartOperationSpec: msRest.OperationSpec = {
|
|
635
|
-
httpMethod: "POST",
|
|
636
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/start",
|
|
637
|
-
urlParameters: [
|
|
638
|
-
Parameters.subscriptionId,
|
|
639
|
-
Parameters.resourceGroupName,
|
|
640
|
-
Parameters.labAccountName,
|
|
641
|
-
Parameters.labName,
|
|
642
|
-
Parameters.environmentSettingName
|
|
643
|
-
],
|
|
644
|
-
queryParameters: [
|
|
645
|
-
Parameters.apiVersion
|
|
646
|
-
],
|
|
647
|
-
headerParameters: [
|
|
648
|
-
Parameters.acceptLanguage
|
|
649
|
-
],
|
|
650
|
-
responses: {
|
|
651
|
-
200: {},
|
|
652
|
-
202: {},
|
|
653
|
-
default: {
|
|
654
|
-
bodyMapper: Mappers.CloudError
|
|
655
|
-
}
|
|
656
|
-
},
|
|
657
|
-
serializer
|
|
658
|
-
};
|
|
659
|
-
|
|
660
|
-
const beginStopOperationSpec: msRest.OperationSpec = {
|
|
661
|
-
httpMethod: "POST",
|
|
662
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/stop",
|
|
663
|
-
urlParameters: [
|
|
664
|
-
Parameters.subscriptionId,
|
|
665
|
-
Parameters.resourceGroupName,
|
|
666
|
-
Parameters.labAccountName,
|
|
667
|
-
Parameters.labName,
|
|
668
|
-
Parameters.environmentSettingName
|
|
669
|
-
],
|
|
670
|
-
queryParameters: [
|
|
671
|
-
Parameters.apiVersion
|
|
672
|
-
],
|
|
673
|
-
headerParameters: [
|
|
674
|
-
Parameters.acceptLanguage
|
|
675
|
-
],
|
|
676
|
-
responses: {
|
|
677
|
-
200: {},
|
|
678
|
-
202: {},
|
|
679
|
-
default: {
|
|
680
|
-
bodyMapper: Mappers.CloudError
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
serializer
|
|
684
|
-
};
|
|
685
|
-
|
|
686
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
687
|
-
httpMethod: "GET",
|
|
688
|
-
baseUrl: "https://management.azure.com",
|
|
689
|
-
path: "{nextLink}",
|
|
690
|
-
urlParameters: [
|
|
691
|
-
Parameters.nextPageLink
|
|
692
|
-
],
|
|
693
|
-
headerParameters: [
|
|
694
|
-
Parameters.acceptLanguage
|
|
695
|
-
],
|
|
696
|
-
responses: {
|
|
697
|
-
200: {
|
|
698
|
-
bodyMapper: Mappers.ResponseWithContinuationEnvironmentSetting
|
|
699
|
-
},
|
|
700
|
-
default: {
|
|
701
|
-
bodyMapper: Mappers.CloudError
|
|
702
|
-
}
|
|
703
|
-
},
|
|
704
|
-
serializer
|
|
705
|
-
};
|