@azure/arm-labservices 3.1.1-alpha.20250211.1 → 3.1.1-alpha.20250213.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/README.md +20 -14
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/labServicesClient.d.ts +2 -2
- package/dist/browser/labServicesClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/labServicesClient.js +15 -18
- package/dist/browser/labServicesClient.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/images.d.ts +3 -3
- package/dist/browser/operations/images.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/images.js +3 -3
- package/dist/browser/operations/images.js.map +1 -0
- package/dist/browser/operations/index.d.ts +11 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +18 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/labPlans.d.ts +3 -3
- package/dist/browser/operations/labPlans.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/labPlans.js +137 -153
- package/dist/browser/operations/labPlans.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/labs.d.ts +3 -3
- package/dist/browser/operations/labs.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/labs.js +170 -190
- package/dist/browser/operations/labs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationResults.d.ts +3 -3
- package/dist/browser/operations/operationResults.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationResults.js +2 -2
- package/dist/browser/operations/operationResults.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/schedules.d.ts +3 -3
- package/dist/browser/operations/schedules.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/schedules.js +38 -42
- package/dist/browser/operations/schedules.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/skus.d.ts +3 -3
- package/dist/browser/operations/skus.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/skus.js +3 -3
- package/dist/browser/operations/skus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.d.ts +3 -3
- package/dist/browser/operations/usages.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.js +3 -3
- package/dist/browser/operations/usages.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/users.d.ts +3 -3
- package/dist/browser/operations/users.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/users.js +137 -153
- package/dist/browser/operations/users.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/virtualMachines.d.ts +3 -3
- package/dist/browser/operations/virtualMachines.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/virtualMachines.js +170 -190
- package/dist/browser/operations/virtualMachines.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/images.d.ts +1 -1
- package/dist/browser/operationsInterfaces/images.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/images.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +11 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +18 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/labPlans.d.ts +1 -1
- package/dist/browser/operationsInterfaces/labPlans.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/labPlans.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.d.ts +1 -1
- package/dist/browser/operationsInterfaces/labs.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/labs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationResults.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationResults.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operationResults.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/schedules.d.ts +1 -1
- package/dist/browser/operationsInterfaces/schedules.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/schedules.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/skus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/usages.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/users.d.ts +1 -1
- package/dist/browser/operationsInterfaces/users.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/users.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualMachines.d.ts +1 -1
- package/dist/browser/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/labServicesClient.d.ts +29 -0
- package/dist/commonjs/labServicesClient.d.ts.map +1 -0
- package/dist/commonjs/labServicesClient.js +111 -0
- package/dist/commonjs/labServicesClient.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-labservices.d.ts → dist/commonjs/models/index.d.ts} +1655 -2466
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +77 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +68 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2731 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +31 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +273 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/images.d.ts +70 -0
- package/dist/commonjs/operations/images.d.ts.map +1 -0
- package/dist/commonjs/operations/images.js +262 -0
- package/dist/commonjs/operations/images.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +11 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +21 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/labPlans.d.ts +134 -0
- package/dist/commonjs/operations/labPlans.d.ts.map +1 -0
- package/dist/commonjs/operations/labPlans.js +611 -0
- package/dist/commonjs/operations/labPlans.js.map +1 -0
- package/dist/commonjs/operations/labs.d.ts +146 -0
- package/dist/commonjs/operations/labs.d.ts.map +1 -0
- package/dist/commonjs/operations/labs.js +677 -0
- package/dist/commonjs/operations/labs.js.map +1 -0
- package/dist/commonjs/operations/operationResults.d.ts +19 -0
- package/dist/commonjs/operations/operationResults.d.ts.map +1 -0
- package/dist/commonjs/operations/operationResults.js +57 -0
- package/dist/commonjs/operations/operationResults.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/schedules.d.ts +94 -0
- package/dist/commonjs/operations/schedules.d.ts.map +1 -0
- package/dist/commonjs/operations/schedules.js +347 -0
- package/dist/commonjs/operations/schedules.js.map +1 -0
- package/dist/commonjs/operations/skus.d.ts +32 -0
- package/dist/commonjs/operations/skus.d.ts.map +1 -0
- package/dist/commonjs/operations/skus.js +141 -0
- package/dist/commonjs/operations/skus.js.map +1 -0
- package/dist/commonjs/operations/usages.d.ts +35 -0
- package/dist/commonjs/operations/usages.d.ts.map +1 -0
- package/dist/commonjs/operations/usages.js +149 -0
- package/dist/commonjs/operations/usages.js.map +1 -0
- package/dist/commonjs/operations/users.d.ts +138 -0
- package/dist/commonjs/operations/users.d.ts.map +1 -0
- package/dist/commonjs/operations/users.js +529 -0
- package/dist/commonjs/operations/users.js.map +1 -0
- package/dist/commonjs/operations/virtualMachines.d.ts +158 -0
- package/dist/commonjs/operations/virtualMachines.d.ts.map +1 -0
- package/dist/commonjs/operations/virtualMachines.js +586 -0
- package/dist/commonjs/operations/virtualMachines.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/images.d.ts +43 -0
- package/dist/commonjs/operationsInterfaces/images.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/images.js +10 -0
- package/dist/commonjs/operationsInterfaces/images.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +21 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/labPlans.d.ts +98 -0
- package/dist/commonjs/operationsInterfaces/labPlans.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/labPlans.js +10 -0
- package/dist/commonjs/operationsInterfaces/labPlans.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/labs.d.ts +110 -0
- package/dist/commonjs/operationsInterfaces/labs.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/labs.js +10 -0
- package/dist/commonjs/operationsInterfaces/labs.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationResults.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operationResults.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationResults.js +10 -0
- package/dist/commonjs/operationsInterfaces/operationResults.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/schedules.d.ts +67 -0
- package/dist/commonjs/operationsInterfaces/schedules.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/schedules.js +10 -0
- package/dist/commonjs/operationsInterfaces/schedules.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/skus.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/skus.js +10 -0
- package/dist/commonjs/operationsInterfaces/skus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.js +10 -0
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/users.d.ts +111 -0
- package/dist/commonjs/operationsInterfaces/users.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/users.js +10 -0
- package/dist/commonjs/operationsInterfaces/users.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/virtualMachines.d.ts +131 -0
- package/dist/commonjs/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/virtualMachines.js +10 -0
- package/dist/commonjs/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/labServicesClient.d.ts +29 -0
- package/dist/esm/labServicesClient.d.ts.map +1 -0
- package/dist/esm/labServicesClient.js +106 -0
- package/dist/esm/labServicesClient.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1655 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +74 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +68 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2727 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +31 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +270 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/images.d.ts +70 -0
- package/dist/esm/operations/images.d.ts.map +1 -0
- package/dist/esm/operations/images.js +258 -0
- package/dist/esm/operations/images.js.map +1 -0
- package/dist/esm/operations/index.d.ts +11 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +18 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/labPlans.d.ts +134 -0
- package/dist/esm/operations/labPlans.d.ts.map +1 -0
- package/dist/esm/operations/labPlans.js +607 -0
- package/dist/esm/operations/labPlans.js.map +1 -0
- package/dist/esm/operations/labs.d.ts +146 -0
- package/dist/esm/operations/labs.d.ts.map +1 -0
- package/dist/esm/operations/labs.js +673 -0
- package/dist/esm/operations/labs.js.map +1 -0
- package/dist/esm/operations/operationResults.d.ts +19 -0
- package/dist/esm/operations/operationResults.d.ts.map +1 -0
- package/dist/esm/operations/operationResults.js +52 -0
- package/dist/esm/operations/operationResults.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/schedules.d.ts +94 -0
- package/dist/esm/operations/schedules.d.ts.map +1 -0
- package/dist/esm/operations/schedules.js +343 -0
- package/dist/esm/operations/schedules.js.map +1 -0
- package/dist/esm/operations/skus.d.ts +32 -0
- package/dist/esm/operations/skus.d.ts.map +1 -0
- package/dist/esm/operations/skus.js +137 -0
- package/dist/esm/operations/skus.js.map +1 -0
- package/dist/esm/operations/usages.d.ts +35 -0
- package/dist/esm/operations/usages.d.ts.map +1 -0
- package/dist/esm/operations/usages.js +145 -0
- package/dist/esm/operations/usages.js.map +1 -0
- package/dist/esm/operations/users.d.ts +138 -0
- package/dist/esm/operations/users.d.ts.map +1 -0
- package/dist/esm/operations/users.js +525 -0
- package/dist/esm/operations/users.js.map +1 -0
- package/dist/esm/operations/virtualMachines.d.ts +158 -0
- package/dist/esm/operations/virtualMachines.d.ts.map +1 -0
- package/dist/esm/operations/virtualMachines.js +582 -0
- package/dist/esm/operations/virtualMachines.js.map +1 -0
- package/dist/esm/operationsInterfaces/images.d.ts +43 -0
- package/dist/esm/operationsInterfaces/images.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/images.js +9 -0
- package/dist/esm/operationsInterfaces/images.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +11 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +18 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/labPlans.d.ts +98 -0
- package/dist/esm/operationsInterfaces/labPlans.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/labPlans.js +9 -0
- package/dist/esm/operationsInterfaces/labPlans.js.map +1 -0
- package/dist/esm/operationsInterfaces/labs.d.ts +110 -0
- package/dist/esm/operationsInterfaces/labs.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/labs.js +9 -0
- package/dist/esm/operationsInterfaces/labs.js.map +1 -0
- package/dist/esm/operationsInterfaces/operationResults.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operationResults.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operationResults.js +9 -0
- package/dist/esm/operationsInterfaces/operationResults.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/schedules.d.ts +67 -0
- package/dist/esm/operationsInterfaces/schedules.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/schedules.js +9 -0
- package/dist/esm/operationsInterfaces/schedules.js.map +1 -0
- package/dist/esm/operationsInterfaces/skus.d.ts +11 -0
- package/dist/esm/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/skus.js +9 -0
- package/dist/esm/operationsInterfaces/skus.js.map +1 -0
- package/dist/esm/operationsInterfaces/usages.d.ts +12 -0
- package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/usages.js +9 -0
- package/dist/esm/operationsInterfaces/usages.js.map +1 -0
- package/dist/esm/operationsInterfaces/users.d.ts +111 -0
- package/dist/esm/operationsInterfaces/users.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/users.js +9 -0
- package/dist/esm/operationsInterfaces/users.js.map +1 -0
- package/dist/esm/operationsInterfaces/virtualMachines.d.ts +131 -0
- package/dist/esm/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/virtualMachines.js +9 -0
- package/dist/esm/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/labServicesClient.d.ts +29 -0
- package/dist/react-native/labServicesClient.d.ts.map +1 -0
- package/dist/react-native/labServicesClient.js +106 -0
- package/dist/react-native/labServicesClient.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1655 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +74 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +68 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2727 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +31 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +270 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/images.d.ts +70 -0
- package/dist/react-native/operations/images.d.ts.map +1 -0
- package/dist/react-native/operations/images.js +258 -0
- package/dist/react-native/operations/images.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +11 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +18 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/labPlans.d.ts +134 -0
- package/dist/react-native/operations/labPlans.d.ts.map +1 -0
- package/dist/react-native/operations/labPlans.js +607 -0
- package/dist/react-native/operations/labPlans.js.map +1 -0
- package/dist/react-native/operations/labs.d.ts +146 -0
- package/dist/react-native/operations/labs.d.ts.map +1 -0
- package/dist/react-native/operations/labs.js +673 -0
- package/dist/react-native/operations/labs.js.map +1 -0
- package/dist/react-native/operations/operationResults.d.ts +19 -0
- package/dist/react-native/operations/operationResults.d.ts.map +1 -0
- package/dist/react-native/operations/operationResults.js +52 -0
- package/dist/react-native/operations/operationResults.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/schedules.d.ts +94 -0
- package/dist/react-native/operations/schedules.d.ts.map +1 -0
- package/dist/react-native/operations/schedules.js +343 -0
- package/dist/react-native/operations/schedules.js.map +1 -0
- package/dist/react-native/operations/skus.d.ts +32 -0
- package/dist/react-native/operations/skus.d.ts.map +1 -0
- package/dist/react-native/operations/skus.js +137 -0
- package/dist/react-native/operations/skus.js.map +1 -0
- package/dist/react-native/operations/usages.d.ts +35 -0
- package/dist/react-native/operations/usages.d.ts.map +1 -0
- package/dist/react-native/operations/usages.js +145 -0
- package/dist/react-native/operations/usages.js.map +1 -0
- package/dist/react-native/operations/users.d.ts +138 -0
- package/dist/react-native/operations/users.d.ts.map +1 -0
- package/dist/react-native/operations/users.js +525 -0
- package/dist/react-native/operations/users.js.map +1 -0
- package/dist/react-native/operations/virtualMachines.d.ts +158 -0
- package/dist/react-native/operations/virtualMachines.d.ts.map +1 -0
- package/dist/react-native/operations/virtualMachines.js +582 -0
- package/dist/react-native/operations/virtualMachines.js.map +1 -0
- package/dist/react-native/operationsInterfaces/images.d.ts +43 -0
- package/dist/react-native/operationsInterfaces/images.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/images.js +9 -0
- package/dist/react-native/operationsInterfaces/images.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +18 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/labPlans.d.ts +98 -0
- package/dist/react-native/operationsInterfaces/labPlans.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/labPlans.js +9 -0
- package/dist/react-native/operationsInterfaces/labPlans.js.map +1 -0
- package/dist/react-native/operationsInterfaces/labs.d.ts +110 -0
- package/dist/react-native/operationsInterfaces/labs.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/labs.js +9 -0
- package/dist/react-native/operationsInterfaces/labs.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operationResults.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operationResults.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operationResults.js +9 -0
- package/dist/react-native/operationsInterfaces/operationResults.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/schedules.d.ts +67 -0
- package/dist/react-native/operationsInterfaces/schedules.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/schedules.js +9 -0
- package/dist/react-native/operationsInterfaces/schedules.js.map +1 -0
- package/dist/react-native/operationsInterfaces/skus.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/skus.js +9 -0
- package/dist/react-native/operationsInterfaces/skus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.js +9 -0
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -0
- package/dist/react-native/operationsInterfaces/users.d.ts +111 -0
- package/dist/react-native/operationsInterfaces/users.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/users.js +9 -0
- package/dist/react-native/operationsInterfaces/users.js.map +1 -0
- package/dist/react-native/operationsInterfaces/virtualMachines.d.ts +131 -0
- package/dist/react-native/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/virtualMachines.js +9 -0
- package/dist/react-native/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +70 -41
- package/dist/index.js +0 -6810
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/imagesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/imagesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js +0 -31
- package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/imagesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/imagesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/imagesGetSample.js +0 -37
- package/dist-esm/samples-dev/imagesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/imagesListByLabPlanSample.d.ts +0 -2
- package/dist-esm/samples-dev/imagesListByLabPlanSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/imagesListByLabPlanSample.js +0 -52
- package/dist-esm/samples-dev/imagesListByLabPlanSample.js.map +0 -1
- package/dist-esm/samples-dev/imagesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/imagesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/imagesUpdateSample.js +0 -31
- package/dist-esm/samples-dev/imagesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js +0 -56
- package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/labPlansDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/labPlansDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labPlansDeleteSample.js +0 -36
- package/dist-esm/samples-dev/labPlansDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/labPlansGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/labPlansGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labPlansGetSample.js +0 -36
- package/dist-esm/samples-dev/labPlansGetSample.js.map +0 -1
- package/dist-esm/samples-dev/labPlansListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/labPlansListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labPlansListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/labPlansListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/labPlansListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/labPlansListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labPlansListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/labPlansListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/labPlansSaveImageSample.d.ts +0 -2
- package/dist-esm/samples-dev/labPlansSaveImageSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labPlansSaveImageSample.js +0 -33
- package/dist-esm/samples-dev/labPlansSaveImageSample.js.map +0 -1
- package/dist-esm/samples-dev/labPlansUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/labPlansUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labPlansUpdateSample.js +0 -37
- package/dist-esm/samples-dev/labPlansUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.js +0 -68
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/labsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsDeleteSample.js +0 -36
- package/dist-esm/samples-dev/labsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/labsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsGetSample.js +0 -36
- package/dist-esm/samples-dev/labsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/labsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/labsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/labsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/labsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/labsPublishSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsPublishSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsPublishSample.js +0 -36
- package/dist-esm/samples-dev/labsPublishSample.js.map +0 -1
- package/dist-esm/samples-dev/labsSyncGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsSyncGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsSyncGroupSample.js +0 -36
- package/dist-esm/samples-dev/labsSyncGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/labsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsUpdateSample.js +0 -30
- package/dist-esm/samples-dev/labsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationResultsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationResultsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +0 -35
- package/dist-esm/samples-dev/operationResultsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -50
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js +0 -41
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/schedulesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/schedulesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/schedulesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/schedulesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/schedulesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/schedulesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/schedulesGetSample.js +0 -37
- package/dist-esm/samples-dev/schedulesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/schedulesListByLabSample.d.ts +0 -2
- package/dist-esm/samples-dev/schedulesListByLabSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/schedulesListByLabSample.js +0 -52
- package/dist-esm/samples-dev/schedulesListByLabSample.js.map +0 -1
- package/dist-esm/samples-dev/schedulesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/schedulesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/schedulesUpdateSample.js +0 -37
- package/dist-esm/samples-dev/schedulesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/skusListSample.d.ts +0 -2
- package/dist-esm/samples-dev/skusListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/skusListSample.js +0 -50
- package/dist-esm/samples-dev/skusListSample.js.map +0 -1
- package/dist-esm/samples-dev/usagesListByLocationSample.d.ts +0 -2
- package/dist-esm/samples-dev/usagesListByLocationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usagesListByLocationSample.js +0 -51
- package/dist-esm/samples-dev/usagesListByLocationSample.js.map +0 -1
- package/dist-esm/samples-dev/usersCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/usersCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usersCreateOrUpdateSample.js +0 -34
- package/dist-esm/samples-dev/usersCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/usersDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/usersDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usersDeleteSample.js +0 -37
- package/dist-esm/samples-dev/usersDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/usersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/usersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usersGetSample.js +0 -37
- package/dist-esm/samples-dev/usersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/usersInviteSample.d.ts +0 -2
- package/dist-esm/samples-dev/usersInviteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usersInviteSample.js +0 -31
- package/dist-esm/samples-dev/usersInviteSample.js.map +0 -1
- package/dist-esm/samples-dev/usersListByLabSample.d.ts +0 -2
- package/dist-esm/samples-dev/usersListByLabSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usersListByLabSample.js +0 -52
- package/dist-esm/samples-dev/usersListByLabSample.js.map +0 -1
- package/dist-esm/samples-dev/usersUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/usersUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usersUpdateSample.js +0 -31
- package/dist-esm/samples-dev/usersUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesGetSample.js +0 -37
- package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesListByLabSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesListByLabSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesListByLabSample.js +0 -52
- package/dist-esm/samples-dev/virtualMachinesListByLabSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesRedeploySample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesRedeploySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesRedeploySample.js +0 -37
- package/dist-esm/samples-dev/virtualMachinesRedeploySample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesReimageSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesReimageSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesReimageSample.js +0 -37
- package/dist-esm/samples-dev/virtualMachinesReimageSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.js +0 -34
- package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesStartSample.js +0 -37
- package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesStopSample.js +0 -37
- package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/labServicesClient.d.ts.map +0 -1
- package/dist-esm/src/labServicesClient.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/images.d.ts.map +0 -1
- package/dist-esm/src/operations/images.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -11
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -18
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/labPlans.d.ts.map +0 -1
- package/dist-esm/src/operations/labPlans.js.map +0 -1
- package/dist-esm/src/operations/labs.d.ts.map +0 -1
- package/dist-esm/src/operations/labs.js.map +0 -1
- package/dist-esm/src/operations/operationResults.d.ts.map +0 -1
- package/dist-esm/src/operations/operationResults.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/schedules.d.ts.map +0 -1
- package/dist-esm/src/operations/schedules.js.map +0 -1
- package/dist-esm/src/operations/skus.d.ts.map +0 -1
- package/dist-esm/src/operations/skus.js.map +0 -1
- package/dist-esm/src/operations/usages.d.ts.map +0 -1
- package/dist-esm/src/operations/usages.js.map +0 -1
- package/dist-esm/src/operations/users.d.ts.map +0 -1
- package/dist-esm/src/operations/users.js.map +0 -1
- package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operations/virtualMachines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/images.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/images.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -18
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/labPlans.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/labPlans.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/labs.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/labs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationResults.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/schedules.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/schedules.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/users.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/users.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/labServicesClient.ts +0 -180
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -1881
- package/src/models/mappers.ts +0 -2930
- package/src/models/parameters.ts +0 -318
- package/src/operations/images.ts +0 -349
- package/src/operations/index.ts +0 -18
- package/src/operations/labPlans.ts +0 -836
- package/src/operations/labs.ts +0 -923
- package/src/operations/operationResults.ts +0 -70
- package/src/operations/operations.ts +0 -149
- package/src/operations/schedules.ts +0 -466
- package/src/operations/skus.ts +0 -151
- package/src/operations/usages.ts +0 -174
- package/src/operations/users.ts +0 -761
- package/src/operations/virtualMachines.ts +0 -842
- package/src/operationsInterfaces/images.ts +0 -83
- package/src/operationsInterfaces/index.ts +0 -18
- package/src/operationsInterfaces/labPlans.ts +0 -178
- package/src/operationsInterfaces/labs.ts +0 -193
- package/src/operationsInterfaces/operationResults.ts +0 -25
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/schedules.ts +0 -118
- package/src/operationsInterfaces/skus.ts +0 -22
- package/src/operationsInterfaces/usages.ts +0 -24
- package/src/operationsInterfaces/users.ts +0 -195
- package/src/operationsInterfaces/virtualMachines.ts +0 -212
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/images.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/labPlans.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationResults.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/schedules.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/users.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualMachines.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,529 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.UsersImpl = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
19
|
+
/** Class containing Users operations. */
|
20
|
+
class UsersImpl {
|
21
|
+
/**
|
22
|
+
* Initialize a new instance of the class Users class.
|
23
|
+
* @param client Reference to the service client
|
24
|
+
*/
|
25
|
+
constructor(client) {
|
26
|
+
this.client = client;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* Returns a list of all users for a lab.
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
31
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
32
|
+
* resource URIs.
|
33
|
+
* @param options The options parameters.
|
34
|
+
*/
|
35
|
+
listByLab(resourceGroupName, labName, options) {
|
36
|
+
const iter = this.listByLabPagingAll(resourceGroupName, labName, options);
|
37
|
+
return {
|
38
|
+
next() {
|
39
|
+
return iter.next();
|
40
|
+
},
|
41
|
+
[Symbol.asyncIterator]() {
|
42
|
+
return this;
|
43
|
+
},
|
44
|
+
byPage: (settings) => {
|
45
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
46
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
47
|
+
}
|
48
|
+
return this.listByLabPagingPage(resourceGroupName, labName, options, settings);
|
49
|
+
}
|
50
|
+
};
|
51
|
+
}
|
52
|
+
listByLabPagingPage(resourceGroupName, labName, options, settings) {
|
53
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByLabPagingPage_1() {
|
54
|
+
let result;
|
55
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
56
|
+
if (!continuationToken) {
|
57
|
+
result = yield tslib_1.__await(this._listByLab(resourceGroupName, labName, options));
|
58
|
+
let page = result.value || [];
|
59
|
+
continuationToken = result.nextLink;
|
60
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
61
|
+
yield yield tslib_1.__await(page);
|
62
|
+
}
|
63
|
+
while (continuationToken) {
|
64
|
+
result = yield tslib_1.__await(this._listByLabNext(resourceGroupName, labName, continuationToken, options));
|
65
|
+
continuationToken = result.nextLink;
|
66
|
+
let page = result.value || [];
|
67
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
68
|
+
yield yield tslib_1.__await(page);
|
69
|
+
}
|
70
|
+
});
|
71
|
+
}
|
72
|
+
listByLabPagingAll(resourceGroupName, labName, options) {
|
73
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByLabPagingAll_1() {
|
74
|
+
var _a, e_1, _b, _c;
|
75
|
+
try {
|
76
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByLabPagingPage(resourceGroupName, labName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
77
|
+
_c = _f.value;
|
78
|
+
_d = false;
|
79
|
+
const page = _c;
|
80
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
81
|
+
}
|
82
|
+
}
|
83
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
84
|
+
finally {
|
85
|
+
try {
|
86
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
87
|
+
}
|
88
|
+
finally { if (e_1) throw e_1.error; }
|
89
|
+
}
|
90
|
+
});
|
91
|
+
}
|
92
|
+
/**
|
93
|
+
* Returns a list of all users for a lab.
|
94
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
95
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
96
|
+
* resource URIs.
|
97
|
+
* @param options The options parameters.
|
98
|
+
*/
|
99
|
+
_listByLab(resourceGroupName, labName, options) {
|
100
|
+
return this.client.sendOperationRequest({ resourceGroupName, labName, options }, listByLabOperationSpec);
|
101
|
+
}
|
102
|
+
/**
|
103
|
+
* Returns the properties of a lab user.
|
104
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
105
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
106
|
+
* resource URIs.
|
107
|
+
* @param userName The name of the user that uniquely identifies it within containing lab. Used in
|
108
|
+
* resource URIs.
|
109
|
+
* @param options The options parameters.
|
110
|
+
*/
|
111
|
+
get(resourceGroupName, labName, userName, options) {
|
112
|
+
return this.client.sendOperationRequest({ resourceGroupName, labName, userName, options }, getOperationSpec);
|
113
|
+
}
|
114
|
+
/**
|
115
|
+
* Operation to create or update a lab user.
|
116
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
117
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
118
|
+
* resource URIs.
|
119
|
+
* @param userName The name of the user that uniquely identifies it within containing lab. Used in
|
120
|
+
* resource URIs.
|
121
|
+
* @param body The request body.
|
122
|
+
* @param options The options parameters.
|
123
|
+
*/
|
124
|
+
async beginCreateOrUpdate(resourceGroupName, labName, userName, body, options) {
|
125
|
+
const directSendOperation = async (args, spec) => {
|
126
|
+
return this.client.sendOperationRequest(args, spec);
|
127
|
+
};
|
128
|
+
const sendOperation = async (args, spec) => {
|
129
|
+
var _a;
|
130
|
+
let currentRawResponse = undefined;
|
131
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
132
|
+
const callback = (rawResponse, flatResponse) => {
|
133
|
+
currentRawResponse = rawResponse;
|
134
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
135
|
+
};
|
136
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
137
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
138
|
+
return {
|
139
|
+
flatResponse,
|
140
|
+
rawResponse: {
|
141
|
+
statusCode: currentRawResponse.status,
|
142
|
+
body: currentRawResponse.parsedBody,
|
143
|
+
headers: currentRawResponse.headers.toJSON()
|
144
|
+
}
|
145
|
+
};
|
146
|
+
};
|
147
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, labName, userName, body, options }, createOrUpdateOperationSpec);
|
148
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
149
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
150
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
151
|
+
lroResourceLocationConfig: "original-uri"
|
152
|
+
});
|
153
|
+
await poller.poll();
|
154
|
+
return poller;
|
155
|
+
}
|
156
|
+
/**
|
157
|
+
* Operation to create or update a lab user.
|
158
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
159
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
160
|
+
* resource URIs.
|
161
|
+
* @param userName The name of the user that uniquely identifies it within containing lab. Used in
|
162
|
+
* resource URIs.
|
163
|
+
* @param body The request body.
|
164
|
+
* @param options The options parameters.
|
165
|
+
*/
|
166
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, labName, userName, body, options) {
|
167
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, labName, userName, body, options);
|
168
|
+
return poller.pollUntilDone();
|
169
|
+
}
|
170
|
+
/**
|
171
|
+
* Operation to update a lab user.
|
172
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
173
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
174
|
+
* resource URIs.
|
175
|
+
* @param userName The name of the user that uniquely identifies it within containing lab. Used in
|
176
|
+
* resource URIs.
|
177
|
+
* @param body The request body.
|
178
|
+
* @param options The options parameters.
|
179
|
+
*/
|
180
|
+
async beginUpdate(resourceGroupName, labName, userName, body, options) {
|
181
|
+
const directSendOperation = async (args, spec) => {
|
182
|
+
return this.client.sendOperationRequest(args, spec);
|
183
|
+
};
|
184
|
+
const sendOperation = async (args, spec) => {
|
185
|
+
var _a;
|
186
|
+
let currentRawResponse = undefined;
|
187
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
188
|
+
const callback = (rawResponse, flatResponse) => {
|
189
|
+
currentRawResponse = rawResponse;
|
190
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
191
|
+
};
|
192
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
193
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
194
|
+
return {
|
195
|
+
flatResponse,
|
196
|
+
rawResponse: {
|
197
|
+
statusCode: currentRawResponse.status,
|
198
|
+
body: currentRawResponse.parsedBody,
|
199
|
+
headers: currentRawResponse.headers.toJSON()
|
200
|
+
}
|
201
|
+
};
|
202
|
+
};
|
203
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, labName, userName, body, options }, updateOperationSpec);
|
204
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
205
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
206
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
207
|
+
lroResourceLocationConfig: "location"
|
208
|
+
});
|
209
|
+
await poller.poll();
|
210
|
+
return poller;
|
211
|
+
}
|
212
|
+
/**
|
213
|
+
* Operation to update a lab user.
|
214
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
215
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
216
|
+
* resource URIs.
|
217
|
+
* @param userName The name of the user that uniquely identifies it within containing lab. Used in
|
218
|
+
* resource URIs.
|
219
|
+
* @param body The request body.
|
220
|
+
* @param options The options parameters.
|
221
|
+
*/
|
222
|
+
async beginUpdateAndWait(resourceGroupName, labName, userName, body, options) {
|
223
|
+
const poller = await this.beginUpdate(resourceGroupName, labName, userName, body, options);
|
224
|
+
return poller.pollUntilDone();
|
225
|
+
}
|
226
|
+
/**
|
227
|
+
* Operation to delete a user resource.
|
228
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
229
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
230
|
+
* resource URIs.
|
231
|
+
* @param userName The name of the user that uniquely identifies it within containing lab. Used in
|
232
|
+
* resource URIs.
|
233
|
+
* @param options The options parameters.
|
234
|
+
*/
|
235
|
+
async beginDelete(resourceGroupName, labName, userName, options) {
|
236
|
+
const directSendOperation = async (args, spec) => {
|
237
|
+
return this.client.sendOperationRequest(args, spec);
|
238
|
+
};
|
239
|
+
const sendOperation = async (args, spec) => {
|
240
|
+
var _a;
|
241
|
+
let currentRawResponse = undefined;
|
242
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
243
|
+
const callback = (rawResponse, flatResponse) => {
|
244
|
+
currentRawResponse = rawResponse;
|
245
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
246
|
+
};
|
247
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
248
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
249
|
+
return {
|
250
|
+
flatResponse,
|
251
|
+
rawResponse: {
|
252
|
+
statusCode: currentRawResponse.status,
|
253
|
+
body: currentRawResponse.parsedBody,
|
254
|
+
headers: currentRawResponse.headers.toJSON()
|
255
|
+
}
|
256
|
+
};
|
257
|
+
};
|
258
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, labName, userName, options }, deleteOperationSpec);
|
259
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
260
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
261
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
262
|
+
lroResourceLocationConfig: "location"
|
263
|
+
});
|
264
|
+
await poller.poll();
|
265
|
+
return poller;
|
266
|
+
}
|
267
|
+
/**
|
268
|
+
* Operation to delete a user resource.
|
269
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
270
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
271
|
+
* resource URIs.
|
272
|
+
* @param userName The name of the user that uniquely identifies it within containing lab. Used in
|
273
|
+
* resource URIs.
|
274
|
+
* @param options The options parameters.
|
275
|
+
*/
|
276
|
+
async beginDeleteAndWait(resourceGroupName, labName, userName, options) {
|
277
|
+
const poller = await this.beginDelete(resourceGroupName, labName, userName, options);
|
278
|
+
return poller.pollUntilDone();
|
279
|
+
}
|
280
|
+
/**
|
281
|
+
* Operation to invite a user to a lab.
|
282
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
283
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
284
|
+
* resource URIs.
|
285
|
+
* @param userName The name of the user that uniquely identifies it within containing lab. Used in
|
286
|
+
* resource URIs.
|
287
|
+
* @param body The request body.
|
288
|
+
* @param options The options parameters.
|
289
|
+
*/
|
290
|
+
async beginInvite(resourceGroupName, labName, userName, body, options) {
|
291
|
+
const directSendOperation = async (args, spec) => {
|
292
|
+
return this.client.sendOperationRequest(args, spec);
|
293
|
+
};
|
294
|
+
const sendOperation = async (args, spec) => {
|
295
|
+
var _a;
|
296
|
+
let currentRawResponse = undefined;
|
297
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
298
|
+
const callback = (rawResponse, flatResponse) => {
|
299
|
+
currentRawResponse = rawResponse;
|
300
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
301
|
+
};
|
302
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
303
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
304
|
+
return {
|
305
|
+
flatResponse,
|
306
|
+
rawResponse: {
|
307
|
+
statusCode: currentRawResponse.status,
|
308
|
+
body: currentRawResponse.parsedBody,
|
309
|
+
headers: currentRawResponse.headers.toJSON()
|
310
|
+
}
|
311
|
+
};
|
312
|
+
};
|
313
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, labName, userName, body, options }, inviteOperationSpec);
|
314
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
315
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
316
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
317
|
+
lroResourceLocationConfig: "location"
|
318
|
+
});
|
319
|
+
await poller.poll();
|
320
|
+
return poller;
|
321
|
+
}
|
322
|
+
/**
|
323
|
+
* Operation to invite a user to a lab.
|
324
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
325
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
326
|
+
* resource URIs.
|
327
|
+
* @param userName The name of the user that uniquely identifies it within containing lab. Used in
|
328
|
+
* resource URIs.
|
329
|
+
* @param body The request body.
|
330
|
+
* @param options The options parameters.
|
331
|
+
*/
|
332
|
+
async beginInviteAndWait(resourceGroupName, labName, userName, body, options) {
|
333
|
+
const poller = await this.beginInvite(resourceGroupName, labName, userName, body, options);
|
334
|
+
return poller.pollUntilDone();
|
335
|
+
}
|
336
|
+
/**
|
337
|
+
* ListByLabNext
|
338
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
339
|
+
* @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
|
340
|
+
* resource URIs.
|
341
|
+
* @param nextLink The nextLink from the previous successful call to the ListByLab method.
|
342
|
+
* @param options The options parameters.
|
343
|
+
*/
|
344
|
+
_listByLabNext(resourceGroupName, labName, nextLink, options) {
|
345
|
+
return this.client.sendOperationRequest({ resourceGroupName, labName, nextLink, options }, listByLabNextOperationSpec);
|
346
|
+
}
|
347
|
+
}
|
348
|
+
exports.UsersImpl = UsersImpl;
|
349
|
+
// Operation Specifications
|
350
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
351
|
+
const listByLabOperationSpec = {
|
352
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users",
|
353
|
+
httpMethod: "GET",
|
354
|
+
responses: {
|
355
|
+
200: {
|
356
|
+
bodyMapper: Mappers.PagedUsers
|
357
|
+
},
|
358
|
+
default: {
|
359
|
+
bodyMapper: Mappers.ErrorResponse
|
360
|
+
}
|
361
|
+
},
|
362
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
363
|
+
urlParameters: [
|
364
|
+
Parameters.$host,
|
365
|
+
Parameters.subscriptionId,
|
366
|
+
Parameters.resourceGroupName,
|
367
|
+
Parameters.labName
|
368
|
+
],
|
369
|
+
headerParameters: [Parameters.accept],
|
370
|
+
serializer
|
371
|
+
};
|
372
|
+
const getOperationSpec = {
|
373
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}",
|
374
|
+
httpMethod: "GET",
|
375
|
+
responses: {
|
376
|
+
200: {
|
377
|
+
bodyMapper: Mappers.User
|
378
|
+
},
|
379
|
+
default: {
|
380
|
+
bodyMapper: Mappers.ErrorResponse
|
381
|
+
}
|
382
|
+
},
|
383
|
+
queryParameters: [Parameters.apiVersion],
|
384
|
+
urlParameters: [
|
385
|
+
Parameters.$host,
|
386
|
+
Parameters.subscriptionId,
|
387
|
+
Parameters.resourceGroupName,
|
388
|
+
Parameters.labName,
|
389
|
+
Parameters.userName
|
390
|
+
],
|
391
|
+
headerParameters: [Parameters.accept],
|
392
|
+
serializer
|
393
|
+
};
|
394
|
+
const createOrUpdateOperationSpec = {
|
395
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}",
|
396
|
+
httpMethod: "PUT",
|
397
|
+
responses: {
|
398
|
+
200: {
|
399
|
+
bodyMapper: Mappers.User
|
400
|
+
},
|
401
|
+
201: {
|
402
|
+
bodyMapper: Mappers.User
|
403
|
+
},
|
404
|
+
202: {
|
405
|
+
bodyMapper: Mappers.User
|
406
|
+
},
|
407
|
+
204: {
|
408
|
+
bodyMapper: Mappers.User
|
409
|
+
},
|
410
|
+
default: {
|
411
|
+
bodyMapper: Mappers.ErrorResponse
|
412
|
+
}
|
413
|
+
},
|
414
|
+
requestBody: Parameters.body9,
|
415
|
+
queryParameters: [Parameters.apiVersion],
|
416
|
+
urlParameters: [
|
417
|
+
Parameters.$host,
|
418
|
+
Parameters.subscriptionId,
|
419
|
+
Parameters.resourceGroupName,
|
420
|
+
Parameters.labName,
|
421
|
+
Parameters.userName
|
422
|
+
],
|
423
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
424
|
+
mediaType: "json",
|
425
|
+
serializer
|
426
|
+
};
|
427
|
+
const updateOperationSpec = {
|
428
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}",
|
429
|
+
httpMethod: "PATCH",
|
430
|
+
responses: {
|
431
|
+
200: {
|
432
|
+
bodyMapper: Mappers.User
|
433
|
+
},
|
434
|
+
201: {
|
435
|
+
bodyMapper: Mappers.User
|
436
|
+
},
|
437
|
+
202: {
|
438
|
+
bodyMapper: Mappers.User
|
439
|
+
},
|
440
|
+
204: {
|
441
|
+
bodyMapper: Mappers.User
|
442
|
+
},
|
443
|
+
default: {
|
444
|
+
bodyMapper: Mappers.ErrorResponse
|
445
|
+
}
|
446
|
+
},
|
447
|
+
requestBody: Parameters.body10,
|
448
|
+
queryParameters: [Parameters.apiVersion],
|
449
|
+
urlParameters: [
|
450
|
+
Parameters.$host,
|
451
|
+
Parameters.subscriptionId,
|
452
|
+
Parameters.resourceGroupName,
|
453
|
+
Parameters.labName,
|
454
|
+
Parameters.userName
|
455
|
+
],
|
456
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
457
|
+
mediaType: "json",
|
458
|
+
serializer
|
459
|
+
};
|
460
|
+
const deleteOperationSpec = {
|
461
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}",
|
462
|
+
httpMethod: "DELETE",
|
463
|
+
responses: {
|
464
|
+
200: {},
|
465
|
+
201: {},
|
466
|
+
202: {},
|
467
|
+
204: {},
|
468
|
+
default: {
|
469
|
+
bodyMapper: Mappers.ErrorResponse
|
470
|
+
}
|
471
|
+
},
|
472
|
+
queryParameters: [Parameters.apiVersion],
|
473
|
+
urlParameters: [
|
474
|
+
Parameters.$host,
|
475
|
+
Parameters.subscriptionId,
|
476
|
+
Parameters.resourceGroupName,
|
477
|
+
Parameters.labName,
|
478
|
+
Parameters.userName
|
479
|
+
],
|
480
|
+
headerParameters: [Parameters.accept],
|
481
|
+
serializer
|
482
|
+
};
|
483
|
+
const inviteOperationSpec = {
|
484
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}/invite",
|
485
|
+
httpMethod: "POST",
|
486
|
+
responses: {
|
487
|
+
200: {},
|
488
|
+
201: {},
|
489
|
+
202: {},
|
490
|
+
204: {},
|
491
|
+
default: {
|
492
|
+
bodyMapper: Mappers.ErrorResponse
|
493
|
+
}
|
494
|
+
},
|
495
|
+
requestBody: Parameters.body11,
|
496
|
+
queryParameters: [Parameters.apiVersion],
|
497
|
+
urlParameters: [
|
498
|
+
Parameters.$host,
|
499
|
+
Parameters.subscriptionId,
|
500
|
+
Parameters.resourceGroupName,
|
501
|
+
Parameters.labName,
|
502
|
+
Parameters.userName
|
503
|
+
],
|
504
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
505
|
+
mediaType: "json",
|
506
|
+
serializer
|
507
|
+
};
|
508
|
+
const listByLabNextOperationSpec = {
|
509
|
+
path: "{nextLink}",
|
510
|
+
httpMethod: "GET",
|
511
|
+
responses: {
|
512
|
+
200: {
|
513
|
+
bodyMapper: Mappers.PagedUsers
|
514
|
+
},
|
515
|
+
default: {
|
516
|
+
bodyMapper: Mappers.ErrorResponse
|
517
|
+
}
|
518
|
+
},
|
519
|
+
urlParameters: [
|
520
|
+
Parameters.$host,
|
521
|
+
Parameters.subscriptionId,
|
522
|
+
Parameters.resourceGroupName,
|
523
|
+
Parameters.nextLink,
|
524
|
+
Parameters.labName
|
525
|
+
],
|
526
|
+
headerParameters: [Parameters.accept],
|
527
|
+
serializer
|
528
|
+
};
|
529
|
+
//# sourceMappingURL=users.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../src/operations/users.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAmBxC,4CAA4C;AAC5C,yCAAyC;AACzC,MAAa,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAAyB;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,SAAS,CACd,iBAAyB,EACzB,OAAe,EACf,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,kBAAkB,CAAC,iBAAiB,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,mBAAmB,CAC7B,iBAAiB,EACjB,OAAO,EACP,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,mBAA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,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,MAAM;IAC9B,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Users } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { LabServicesClient } from \"../labServicesClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n User,\n UsersListByLabNextOptionalParams,\n UsersListByLabOptionalParams,\n UsersListByLabResponse,\n UsersGetOptionalParams,\n UsersGetResponse,\n UsersCreateOrUpdateOptionalParams,\n UsersCreateOrUpdateResponse,\n UserUpdate,\n UsersUpdateOptionalParams,\n UsersUpdateResponse,\n UsersDeleteOptionalParams,\n InviteBody,\n UsersInviteOptionalParams,\n UsersListByLabNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Users operations. */\nexport class UsersImpl implements Users {\n private readonly client: LabServicesClient;\n\n /**\n * Initialize a new instance of the class Users class.\n * @param client Reference to the service client\n */\n constructor(client: LabServicesClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of all users for a lab.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n public listByLab(\n resourceGroupName: string,\n labName: string,\n options?: UsersListByLabOptionalParams\n ): PagedAsyncIterableIterator<User> {\n const iter = this.listByLabPagingAll(resourceGroupName, labName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByLabPagingPage(\n resourceGroupName,\n labName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByLabPagingPage(\n resourceGroupName: string,\n labName: string,\n options?: UsersListByLabOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<User[]> {\n let result: UsersListByLabResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByLab(resourceGroupName, labName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByLabNext(\n resourceGroupName,\n labName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByLabPagingAll(\n resourceGroupName: string,\n labName: string,\n options?: UsersListByLabOptionalParams\n ): AsyncIterableIterator<User> {\n for await (const page of this.listByLabPagingPage(\n resourceGroupName,\n labName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of all users for a lab.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n private _listByLab(\n resourceGroupName: string,\n labName: string,\n options?: UsersListByLabOptionalParams\n ): Promise<UsersListByLabResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, labName, options },\n listByLabOperationSpec\n );\n }\n\n /**\n * Returns the properties of a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n labName: string,\n userName: string,\n options?: UsersGetOptionalParams\n ): Promise<UsersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, labName, userName, options },\n getOperationSpec\n );\n }\n\n /**\n * Operation to create or update a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: User,\n options?: UsersCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<UsersCreateOrUpdateResponse>,\n UsersCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<UsersCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, labName, userName, body, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"original-uri\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Operation to create or update a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: User,\n options?: UsersCreateOrUpdateOptionalParams\n ): Promise<UsersCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n labName,\n userName,\n body,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Operation to update a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: UserUpdate,\n options?: UsersUpdateOptionalParams\n ): Promise<\n PollerLike<PollOperationState<UsersUpdateResponse>, UsersUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<UsersUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, labName, userName, body, options },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Operation to update a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: UserUpdate,\n options?: UsersUpdateOptionalParams\n ): Promise<UsersUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n labName,\n userName,\n body,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Operation to delete a user resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n labName: string,\n userName: string,\n options?: UsersDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, labName, userName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Operation to delete a user resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n labName: string,\n userName: string,\n options?: UsersDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n labName,\n userName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Operation to invite a user to a lab.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginInvite(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: InviteBody,\n options?: UsersInviteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, labName, userName, body, options },\n inviteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Operation to invite a user to a lab.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginInviteAndWait(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: InviteBody,\n options?: UsersInviteOptionalParams\n ): Promise<void> {\n const poller = await this.beginInvite(\n resourceGroupName,\n labName,\n userName,\n body,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByLabNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param nextLink The nextLink from the previous successful call to the ListByLab method.\n * @param options The options parameters.\n */\n private _listByLabNext(\n resourceGroupName: string,\n labName: string,\n nextLink: string,\n options?: UsersListByLabNextOptionalParams\n ): Promise<UsersListByLabNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, labName, nextLink, options },\n listByLabNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByLabOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PagedUsers\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.User\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.User\n },\n 201: {\n bodyMapper: Mappers.User\n },\n 202: {\n bodyMapper: Mappers.User\n },\n 204: {\n bodyMapper: Mappers.User\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.User\n },\n 201: {\n bodyMapper: Mappers.User\n },\n 202: {\n bodyMapper: Mappers.User\n },\n 204: {\n bodyMapper: Mappers.User\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst inviteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}/invite\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body11,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByLabNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PagedUsers\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.labName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|