@azure/arm-education 1.0.0-beta.3 → 1.0.0-beta.4
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 +14 -4
- package/LICENSE +4 -4
- package/README.md +26 -17
- package/{dist-esm/src → dist/browser}/educationManagementClient.d.ts +2 -2
- package/dist/browser/educationManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/educationManagementClient.js +36 -26
- package/dist/browser/educationManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +32 -32
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +99 -47
- 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/grants.d.ts +3 -3
- package/dist/browser/operations/grants.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/grants.js +48 -78
- package/dist/browser/operations/grants.js.map +1 -0
- package/dist/browser/operations/index.d.ts +7 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +6 -6
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/joinRequests.d.ts +3 -3
- package/dist/browser/operations/joinRequests.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/joinRequests.js +26 -41
- package/dist/browser/operations/joinRequests.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 +48 -78
- package/dist/browser/operations/labs.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 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/studentLabs.d.ts +3 -3
- package/dist/browser/operations/studentLabs.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/studentLabs.js +26 -41
- package/dist/browser/operations/studentLabs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/students.d.ts +3 -3
- package/dist/browser/operations/students.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/students.js +26 -41
- package/dist/browser/operations/students.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/grants.d.ts +1 -1
- package/dist/browser/operationsInterfaces/grants.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/grants.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +7 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +6 -6
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/joinRequests.d.ts +1 -1
- package/dist/browser/operationsInterfaces/joinRequests.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/joinRequests.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/operations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/studentLabs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/students.d.ts +1 -1
- package/dist/browser/operationsInterfaces/students.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/students.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/educationManagementClient.d.ts +29 -0
- package/dist/commonjs/educationManagementClient.d.ts.map +1 -0
- package/dist/commonjs/educationManagementClient.js +142 -0
- package/dist/commonjs/educationManagementClient.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/{types/arm-education.d.ts → dist/commonjs/models/index.d.ts} +685 -995
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +95 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +22 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +757 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +22 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +188 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/grants.d.ts +63 -0
- package/dist/commonjs/operations/grants.d.ts.map +1 -0
- package/dist/commonjs/operations/grants.js +255 -0
- package/dist/commonjs/operations/grants.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +7 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +17 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/joinRequests.d.ts +68 -0
- package/dist/commonjs/operations/joinRequests.d.ts.map +1 -0
- package/dist/commonjs/operations/joinRequests.js +260 -0
- package/dist/commonjs/operations/joinRequests.js.map +1 -0
- package/dist/commonjs/operations/labs.d.ts +103 -0
- package/dist/commonjs/operations/labs.d.ts.map +1 -0
- package/dist/commonjs/operations/labs.js +407 -0
- package/dist/commonjs/operations/labs.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +52 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/studentLabs.d.ts +38 -0
- package/dist/commonjs/operations/studentLabs.d.ts.map +1 -0
- package/dist/commonjs/operations/studentLabs.js +145 -0
- package/dist/commonjs/operations/studentLabs.js.map +1 -0
- package/dist/commonjs/operations/students.d.ts +70 -0
- package/dist/commonjs/operations/students.d.ts.map +1 -0
- package/dist/commonjs/operations/students.js +271 -0
- package/dist/commonjs/operations/students.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/grants.d.ts +25 -0
- package/dist/commonjs/operationsInterfaces/grants.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/grants.js +10 -0
- package/dist/commonjs/operationsInterfaces/grants.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +17 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/joinRequests.d.ts +41 -0
- package/dist/commonjs/operationsInterfaces/joinRequests.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/joinRequests.js +10 -0
- package/dist/commonjs/operationsInterfaces/joinRequests.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/labs.d.ts +58 -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/operations.d.ts +10 -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/studentLabs.d.ts +17 -0
- package/dist/commonjs/operationsInterfaces/studentLabs.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/studentLabs.js +10 -0
- package/dist/commonjs/operationsInterfaces/studentLabs.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/students.d.ts +43 -0
- package/dist/commonjs/operationsInterfaces/students.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/students.js +10 -0
- package/dist/commonjs/operationsInterfaces/students.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 +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/educationManagementClient.d.ts +29 -0
- package/dist/esm/educationManagementClient.d.ts.map +1 -0
- package/dist/esm/educationManagementClient.js +137 -0
- package/dist/esm/educationManagementClient.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/models/index.d.ts +685 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +92 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +22 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +754 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +22 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +185 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/grants.d.ts +63 -0
- package/dist/esm/operations/grants.d.ts.map +1 -0
- package/dist/esm/operations/grants.js +250 -0
- package/dist/esm/operations/grants.js.map +1 -0
- package/dist/esm/operations/index.d.ts +7 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +14 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/joinRequests.d.ts +68 -0
- package/dist/esm/operations/joinRequests.d.ts.map +1 -0
- package/dist/esm/operations/joinRequests.js +255 -0
- package/dist/esm/operations/joinRequests.js.map +1 -0
- package/dist/esm/operations/labs.d.ts +103 -0
- package/dist/esm/operations/labs.d.ts.map +1 -0
- package/dist/esm/operations/labs.js +402 -0
- package/dist/esm/operations/labs.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +47 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/studentLabs.d.ts +38 -0
- package/dist/esm/operations/studentLabs.d.ts.map +1 -0
- package/dist/esm/operations/studentLabs.js +140 -0
- package/dist/esm/operations/studentLabs.js.map +1 -0
- package/dist/esm/operations/students.d.ts +70 -0
- package/dist/esm/operations/students.d.ts.map +1 -0
- package/dist/esm/operations/students.js +266 -0
- package/dist/esm/operations/students.js.map +1 -0
- package/dist/esm/operationsInterfaces/grants.d.ts +25 -0
- package/dist/esm/operationsInterfaces/grants.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/grants.js +9 -0
- package/dist/esm/operationsInterfaces/grants.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +7 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +14 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/joinRequests.d.ts +41 -0
- package/dist/esm/operationsInterfaces/joinRequests.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/joinRequests.js +9 -0
- package/dist/esm/operationsInterfaces/joinRequests.js.map +1 -0
- package/dist/esm/operationsInterfaces/labs.d.ts +58 -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/operations.d.ts +10 -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/studentLabs.d.ts +17 -0
- package/dist/esm/operationsInterfaces/studentLabs.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/studentLabs.js +9 -0
- package/dist/esm/operationsInterfaces/studentLabs.js.map +1 -0
- package/dist/esm/operationsInterfaces/students.d.ts +43 -0
- package/dist/esm/operationsInterfaces/students.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/students.js +9 -0
- package/dist/esm/operationsInterfaces/students.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 +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/educationManagementClient.d.ts +29 -0
- package/dist/react-native/educationManagementClient.d.ts.map +1 -0
- package/dist/react-native/educationManagementClient.js +137 -0
- package/dist/react-native/educationManagementClient.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/models/index.d.ts +685 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +92 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +22 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +754 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +22 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +185 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/grants.d.ts +63 -0
- package/dist/react-native/operations/grants.d.ts.map +1 -0
- package/dist/react-native/operations/grants.js +250 -0
- package/dist/react-native/operations/grants.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +7 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +14 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/joinRequests.d.ts +68 -0
- package/dist/react-native/operations/joinRequests.d.ts.map +1 -0
- package/dist/react-native/operations/joinRequests.js +255 -0
- package/dist/react-native/operations/joinRequests.js.map +1 -0
- package/dist/react-native/operations/labs.d.ts +103 -0
- package/dist/react-native/operations/labs.d.ts.map +1 -0
- package/dist/react-native/operations/labs.js +402 -0
- package/dist/react-native/operations/labs.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +47 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/studentLabs.d.ts +38 -0
- package/dist/react-native/operations/studentLabs.d.ts.map +1 -0
- package/dist/react-native/operations/studentLabs.js +140 -0
- package/dist/react-native/operations/studentLabs.js.map +1 -0
- package/dist/react-native/operations/students.d.ts +70 -0
- package/dist/react-native/operations/students.d.ts.map +1 -0
- package/dist/react-native/operations/students.js +266 -0
- package/dist/react-native/operations/students.js.map +1 -0
- package/dist/react-native/operationsInterfaces/grants.d.ts +25 -0
- package/dist/react-native/operationsInterfaces/grants.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/grants.js +9 -0
- package/dist/react-native/operationsInterfaces/grants.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +14 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/joinRequests.d.ts +41 -0
- package/dist/react-native/operationsInterfaces/joinRequests.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/joinRequests.js +9 -0
- package/dist/react-native/operationsInterfaces/joinRequests.js.map +1 -0
- package/dist/react-native/operationsInterfaces/labs.d.ts +58 -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/operations.d.ts +10 -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/studentLabs.d.ts +17 -0
- package/dist/react-native/operationsInterfaces/studentLabs.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/studentLabs.js +9 -0
- package/dist/react-native/operationsInterfaces/studentLabs.js.map +1 -0
- package/dist/react-native/operationsInterfaces/students.d.ts +43 -0
- package/dist/react-native/operationsInterfaces/students.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/students.js +9 -0
- package/dist/react-native/operationsInterfaces/students.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 +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +85 -76
- package/dist/index.js +0 -2623
- 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/grantsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/grantsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/grantsGetSample.js +0 -58
- package/dist-esm/samples-dev/grantsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/grantsListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/grantsListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/grantsListAllSample.js +0 -82
- package/dist-esm/samples-dev/grantsListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/grantsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/grantsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/grantsListSample.js +0 -86
- package/dist-esm/samples-dev/grantsListSample.js.map +0 -1
- package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts +0 -2
- package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/joinRequestsApproveSample.js +0 -39
- package/dist-esm/samples-dev/joinRequestsApproveSample.js.map +0 -1
- package/dist-esm/samples-dev/joinRequestsDenySample.d.ts +0 -2
- package/dist-esm/samples-dev/joinRequestsDenySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/joinRequestsDenySample.js +0 -39
- package/dist-esm/samples-dev/joinRequestsDenySample.js.map +0 -1
- package/dist-esm/samples-dev/joinRequestsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/joinRequestsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/joinRequestsGetSample.js +0 -39
- package/dist-esm/samples-dev/joinRequestsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/joinRequestsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/joinRequestsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/joinRequestsListSample.js +0 -54
- package/dist-esm/samples-dev/joinRequestsListSample.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 -44
- 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 -38
- package/dist-esm/samples-dev/labsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsGenerateInviteCodeSample.js +0 -39
- package/dist-esm/samples-dev/labsGenerateInviteCodeSample.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 -60
- package/dist-esm/samples-dev/labsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/labsListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsListAllSample.js +0 -86
- package/dist-esm/samples-dev/labsListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/labsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsListSample.js +0 -88
- package/dist-esm/samples-dev/labsListSample.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 -35
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts +0 -2
- package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/redeemInvitationCodeSample.js +0 -40
- package/dist-esm/samples-dev/redeemInvitationCodeSample.js.map +0 -1
- package/dist-esm/samples-dev/studentLabsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentLabsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentLabsGetSample.js +0 -36
- package/dist-esm/samples-dev/studentLabsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/studentLabsListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentLabsListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentLabsListAllSample.js +0 -49
- package/dist-esm/samples-dev/studentLabsListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js +0 -47
- package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/studentsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/studentsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/studentsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentsGetSample.js +0 -39
- package/dist-esm/samples-dev/studentsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/studentsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentsListSample.js +0 -52
- package/dist-esm/samples-dev/studentsListSample.js.map +0 -1
- package/dist-esm/src/educationManagementClient.d.ts.map +0 -1
- package/dist-esm/src/educationManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.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/grants.d.ts.map +0 -1
- package/dist-esm/src/operations/grants.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -7
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/joinRequests.d.ts.map +0 -1
- package/dist-esm/src/operations/joinRequests.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/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/studentLabs.d.ts.map +0 -1
- package/dist-esm/src/operations/studentLabs.js.map +0 -1
- package/dist-esm/src/operations/students.d.ts.map +0 -1
- package/dist-esm/src/operations/students.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/grants.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/grants.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/joinRequests.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/joinRequests.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/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/studentLabs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/students.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/students.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 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/educationManagementClient.ts +0 -196
- package/src/models/index.ts +0 -786
- package/src/models/mappers.ts +0 -775
- package/src/models/parameters.ts +0 -215
- package/src/operations/grants.ts +0 -354
- package/src/operations/index.ts +0 -14
- package/src/operations/joinRequests.ts +0 -371
- package/src/operations/labs.ts +0 -591
- package/src/operations/operations.ts +0 -59
- package/src/operations/studentLabs.ts +0 -182
- package/src/operations/students.ts +0 -384
- package/src/operationsInterfaces/grants.ts +0 -50
- package/src/operationsInterfaces/index.ts +0 -14
- package/src/operationsInterfaces/joinRequests.ts +0 -80
- package/src/operationsInterfaces/labs.ts +0 -110
- package/src/operationsInterfaces/operations.ts +0 -21
- package/src/operationsInterfaces/studentLabs.ts +0 -36
- package/src/operationsInterfaces/students.ts +0 -84
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /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/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/grants.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/joinRequests.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/students.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/review/{arm-education.api.md → arm-education-node.api.md} +0 -0
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { StudentLabs } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { EducationManagementClient } from "../educationManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
StudentLabDetails,
|
|
18
|
-
StudentLabsListAllNextOptionalParams,
|
|
19
|
-
StudentLabsListAllOptionalParams,
|
|
20
|
-
StudentLabsListAllResponse,
|
|
21
|
-
StudentLabsGetOptionalParams,
|
|
22
|
-
StudentLabsGetResponse,
|
|
23
|
-
StudentLabsListAllNextResponse
|
|
24
|
-
} from "../models";
|
|
25
|
-
|
|
26
|
-
/// <reference lib="esnext.asynciterable" />
|
|
27
|
-
/** Class containing StudentLabs operations. */
|
|
28
|
-
export class StudentLabsImpl implements StudentLabs {
|
|
29
|
-
private readonly client: EducationManagementClient;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Initialize a new instance of the class StudentLabs class.
|
|
33
|
-
* @param client Reference to the service client
|
|
34
|
-
*/
|
|
35
|
-
constructor(client: EducationManagementClient) {
|
|
36
|
-
this.client = client;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Get a list of all labs associated with the caller of the API.
|
|
41
|
-
* @param options The options parameters.
|
|
42
|
-
*/
|
|
43
|
-
public listAll(
|
|
44
|
-
options?: StudentLabsListAllOptionalParams
|
|
45
|
-
): PagedAsyncIterableIterator<StudentLabDetails> {
|
|
46
|
-
const iter = this.listAllPagingAll(options);
|
|
47
|
-
return {
|
|
48
|
-
next() {
|
|
49
|
-
return iter.next();
|
|
50
|
-
},
|
|
51
|
-
[Symbol.asyncIterator]() {
|
|
52
|
-
return this;
|
|
53
|
-
},
|
|
54
|
-
byPage: (settings?: PageSettings) => {
|
|
55
|
-
if (settings?.maxPageSize) {
|
|
56
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
57
|
-
}
|
|
58
|
-
return this.listAllPagingPage(options, settings);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
private async *listAllPagingPage(
|
|
64
|
-
options?: StudentLabsListAllOptionalParams,
|
|
65
|
-
settings?: PageSettings
|
|
66
|
-
): AsyncIterableIterator<StudentLabDetails[]> {
|
|
67
|
-
let result: StudentLabsListAllResponse;
|
|
68
|
-
let continuationToken = settings?.continuationToken;
|
|
69
|
-
if (!continuationToken) {
|
|
70
|
-
result = await this._listAll(options);
|
|
71
|
-
let page = result.value || [];
|
|
72
|
-
continuationToken = result.nextLink;
|
|
73
|
-
setContinuationToken(page, continuationToken);
|
|
74
|
-
yield page;
|
|
75
|
-
}
|
|
76
|
-
while (continuationToken) {
|
|
77
|
-
result = await this._listAllNext(continuationToken, options);
|
|
78
|
-
continuationToken = result.nextLink;
|
|
79
|
-
let page = result.value || [];
|
|
80
|
-
setContinuationToken(page, continuationToken);
|
|
81
|
-
yield page;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private async *listAllPagingAll(
|
|
86
|
-
options?: StudentLabsListAllOptionalParams
|
|
87
|
-
): AsyncIterableIterator<StudentLabDetails> {
|
|
88
|
-
for await (const page of this.listAllPagingPage(options)) {
|
|
89
|
-
yield* page;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Get a list of all labs associated with the caller of the API.
|
|
95
|
-
* @param options The options parameters.
|
|
96
|
-
*/
|
|
97
|
-
private _listAll(
|
|
98
|
-
options?: StudentLabsListAllOptionalParams
|
|
99
|
-
): Promise<StudentLabsListAllResponse> {
|
|
100
|
-
return this.client.sendOperationRequest({ options }, listAllOperationSpec);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Get the details for a specified lab associated with the student lab.
|
|
105
|
-
* @param studentLabName Student lab name.
|
|
106
|
-
* @param options The options parameters.
|
|
107
|
-
*/
|
|
108
|
-
get(
|
|
109
|
-
studentLabName: string,
|
|
110
|
-
options?: StudentLabsGetOptionalParams
|
|
111
|
-
): Promise<StudentLabsGetResponse> {
|
|
112
|
-
return this.client.sendOperationRequest(
|
|
113
|
-
{ studentLabName, options },
|
|
114
|
-
getOperationSpec
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* ListAllNext
|
|
120
|
-
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
121
|
-
* @param options The options parameters.
|
|
122
|
-
*/
|
|
123
|
-
private _listAllNext(
|
|
124
|
-
nextLink: string,
|
|
125
|
-
options?: StudentLabsListAllNextOptionalParams
|
|
126
|
-
): Promise<StudentLabsListAllNextResponse> {
|
|
127
|
-
return this.client.sendOperationRequest(
|
|
128
|
-
{ nextLink, options },
|
|
129
|
-
listAllNextOperationSpec
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
// Operation Specifications
|
|
134
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
135
|
-
|
|
136
|
-
const listAllOperationSpec: coreClient.OperationSpec = {
|
|
137
|
-
path: "/providers/Microsoft.Education/studentLabs",
|
|
138
|
-
httpMethod: "GET",
|
|
139
|
-
responses: {
|
|
140
|
-
200: {
|
|
141
|
-
bodyMapper: Mappers.StudentLabListResult
|
|
142
|
-
},
|
|
143
|
-
default: {
|
|
144
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
queryParameters: [Parameters.apiVersion],
|
|
148
|
-
urlParameters: [Parameters.$host],
|
|
149
|
-
headerParameters: [Parameters.accept],
|
|
150
|
-
serializer
|
|
151
|
-
};
|
|
152
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
153
|
-
path: "/providers/Microsoft.Education/studentLabs/{studentLabName}",
|
|
154
|
-
httpMethod: "GET",
|
|
155
|
-
responses: {
|
|
156
|
-
200: {
|
|
157
|
-
bodyMapper: Mappers.StudentLabDetails
|
|
158
|
-
},
|
|
159
|
-
default: {
|
|
160
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
queryParameters: [Parameters.apiVersion],
|
|
164
|
-
urlParameters: [Parameters.$host, Parameters.studentLabName],
|
|
165
|
-
headerParameters: [Parameters.accept],
|
|
166
|
-
serializer
|
|
167
|
-
};
|
|
168
|
-
const listAllNextOperationSpec: coreClient.OperationSpec = {
|
|
169
|
-
path: "{nextLink}",
|
|
170
|
-
httpMethod: "GET",
|
|
171
|
-
responses: {
|
|
172
|
-
200: {
|
|
173
|
-
bodyMapper: Mappers.StudentLabListResult
|
|
174
|
-
},
|
|
175
|
-
default: {
|
|
176
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
180
|
-
headerParameters: [Parameters.accept],
|
|
181
|
-
serializer
|
|
182
|
-
};
|
|
@@ -1,384 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { Students } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { EducationManagementClient } from "../educationManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
StudentDetails,
|
|
18
|
-
StudentsListNextOptionalParams,
|
|
19
|
-
StudentsListOptionalParams,
|
|
20
|
-
StudentsListResponse,
|
|
21
|
-
StudentsGetOptionalParams,
|
|
22
|
-
StudentsGetResponse,
|
|
23
|
-
StudentsDeleteOptionalParams,
|
|
24
|
-
StudentsCreateOrUpdateOptionalParams,
|
|
25
|
-
StudentsCreateOrUpdateResponse,
|
|
26
|
-
StudentsListNextResponse
|
|
27
|
-
} from "../models";
|
|
28
|
-
|
|
29
|
-
/// <reference lib="esnext.asynciterable" />
|
|
30
|
-
/** Class containing Students operations. */
|
|
31
|
-
export class StudentsImpl implements Students {
|
|
32
|
-
private readonly client: EducationManagementClient;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Initialize a new instance of the class Students class.
|
|
36
|
-
* @param client Reference to the service client
|
|
37
|
-
*/
|
|
38
|
-
constructor(client: EducationManagementClient) {
|
|
39
|
-
this.client = client;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Get a list of details about students that are associated with the specified lab.
|
|
44
|
-
* @param billingAccountName Billing account name.
|
|
45
|
-
* @param billingProfileName Billing profile name.
|
|
46
|
-
* @param invoiceSectionName Invoice section name.
|
|
47
|
-
* @param options The options parameters.
|
|
48
|
-
*/
|
|
49
|
-
public list(
|
|
50
|
-
billingAccountName: string,
|
|
51
|
-
billingProfileName: string,
|
|
52
|
-
invoiceSectionName: string,
|
|
53
|
-
options?: StudentsListOptionalParams
|
|
54
|
-
): PagedAsyncIterableIterator<StudentDetails> {
|
|
55
|
-
const iter = this.listPagingAll(
|
|
56
|
-
billingAccountName,
|
|
57
|
-
billingProfileName,
|
|
58
|
-
invoiceSectionName,
|
|
59
|
-
options
|
|
60
|
-
);
|
|
61
|
-
return {
|
|
62
|
-
next() {
|
|
63
|
-
return iter.next();
|
|
64
|
-
},
|
|
65
|
-
[Symbol.asyncIterator]() {
|
|
66
|
-
return this;
|
|
67
|
-
},
|
|
68
|
-
byPage: (settings?: PageSettings) => {
|
|
69
|
-
if (settings?.maxPageSize) {
|
|
70
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
71
|
-
}
|
|
72
|
-
return this.listPagingPage(
|
|
73
|
-
billingAccountName,
|
|
74
|
-
billingProfileName,
|
|
75
|
-
invoiceSectionName,
|
|
76
|
-
options,
|
|
77
|
-
settings
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
private async *listPagingPage(
|
|
84
|
-
billingAccountName: string,
|
|
85
|
-
billingProfileName: string,
|
|
86
|
-
invoiceSectionName: string,
|
|
87
|
-
options?: StudentsListOptionalParams,
|
|
88
|
-
settings?: PageSettings
|
|
89
|
-
): AsyncIterableIterator<StudentDetails[]> {
|
|
90
|
-
let result: StudentsListResponse;
|
|
91
|
-
let continuationToken = settings?.continuationToken;
|
|
92
|
-
if (!continuationToken) {
|
|
93
|
-
result = await this._list(
|
|
94
|
-
billingAccountName,
|
|
95
|
-
billingProfileName,
|
|
96
|
-
invoiceSectionName,
|
|
97
|
-
options
|
|
98
|
-
);
|
|
99
|
-
let page = result.value || [];
|
|
100
|
-
continuationToken = result.nextLink;
|
|
101
|
-
setContinuationToken(page, continuationToken);
|
|
102
|
-
yield page;
|
|
103
|
-
}
|
|
104
|
-
while (continuationToken) {
|
|
105
|
-
result = await this._listNext(
|
|
106
|
-
billingAccountName,
|
|
107
|
-
billingProfileName,
|
|
108
|
-
invoiceSectionName,
|
|
109
|
-
continuationToken,
|
|
110
|
-
options
|
|
111
|
-
);
|
|
112
|
-
continuationToken = result.nextLink;
|
|
113
|
-
let page = result.value || [];
|
|
114
|
-
setContinuationToken(page, continuationToken);
|
|
115
|
-
yield page;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private async *listPagingAll(
|
|
120
|
-
billingAccountName: string,
|
|
121
|
-
billingProfileName: string,
|
|
122
|
-
invoiceSectionName: string,
|
|
123
|
-
options?: StudentsListOptionalParams
|
|
124
|
-
): AsyncIterableIterator<StudentDetails> {
|
|
125
|
-
for await (const page of this.listPagingPage(
|
|
126
|
-
billingAccountName,
|
|
127
|
-
billingProfileName,
|
|
128
|
-
invoiceSectionName,
|
|
129
|
-
options
|
|
130
|
-
)) {
|
|
131
|
-
yield* page;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Get a list of details about students that are associated with the specified lab.
|
|
137
|
-
* @param billingAccountName Billing account name.
|
|
138
|
-
* @param billingProfileName Billing profile name.
|
|
139
|
-
* @param invoiceSectionName Invoice section name.
|
|
140
|
-
* @param options The options parameters.
|
|
141
|
-
*/
|
|
142
|
-
private _list(
|
|
143
|
-
billingAccountName: string,
|
|
144
|
-
billingProfileName: string,
|
|
145
|
-
invoiceSectionName: string,
|
|
146
|
-
options?: StudentsListOptionalParams
|
|
147
|
-
): Promise<StudentsListResponse> {
|
|
148
|
-
return this.client.sendOperationRequest(
|
|
149
|
-
{ billingAccountName, billingProfileName, invoiceSectionName, options },
|
|
150
|
-
listOperationSpec
|
|
151
|
-
);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Get the details for a specific student in the specified lab by student alias
|
|
156
|
-
* @param billingAccountName Billing account name.
|
|
157
|
-
* @param billingProfileName Billing profile name.
|
|
158
|
-
* @param invoiceSectionName Invoice section name.
|
|
159
|
-
* @param studentAlias Student alias.
|
|
160
|
-
* @param options The options parameters.
|
|
161
|
-
*/
|
|
162
|
-
get(
|
|
163
|
-
billingAccountName: string,
|
|
164
|
-
billingProfileName: string,
|
|
165
|
-
invoiceSectionName: string,
|
|
166
|
-
studentAlias: string,
|
|
167
|
-
options?: StudentsGetOptionalParams
|
|
168
|
-
): Promise<StudentsGetResponse> {
|
|
169
|
-
return this.client.sendOperationRequest(
|
|
170
|
-
{
|
|
171
|
-
billingAccountName,
|
|
172
|
-
billingProfileName,
|
|
173
|
-
invoiceSectionName,
|
|
174
|
-
studentAlias,
|
|
175
|
-
options
|
|
176
|
-
},
|
|
177
|
-
getOperationSpec
|
|
178
|
-
);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Delete the specified student based on the student alias.
|
|
183
|
-
* @param billingAccountName Billing account name.
|
|
184
|
-
* @param billingProfileName Billing profile name.
|
|
185
|
-
* @param invoiceSectionName Invoice section name.
|
|
186
|
-
* @param studentAlias Student alias.
|
|
187
|
-
* @param options The options parameters.
|
|
188
|
-
*/
|
|
189
|
-
delete(
|
|
190
|
-
billingAccountName: string,
|
|
191
|
-
billingProfileName: string,
|
|
192
|
-
invoiceSectionName: string,
|
|
193
|
-
studentAlias: string,
|
|
194
|
-
options?: StudentsDeleteOptionalParams
|
|
195
|
-
): Promise<void> {
|
|
196
|
-
return this.client.sendOperationRequest(
|
|
197
|
-
{
|
|
198
|
-
billingAccountName,
|
|
199
|
-
billingProfileName,
|
|
200
|
-
invoiceSectionName,
|
|
201
|
-
studentAlias,
|
|
202
|
-
options
|
|
203
|
-
},
|
|
204
|
-
deleteOperationSpec
|
|
205
|
-
);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Create and add a new student to the specified lab or update the details of an existing student in a
|
|
210
|
-
* lab. Note the student must have a valid tenant to accept the lab after they have been added to lab.
|
|
211
|
-
* @param billingAccountName Billing account name.
|
|
212
|
-
* @param billingProfileName Billing profile name.
|
|
213
|
-
* @param invoiceSectionName Invoice section name.
|
|
214
|
-
* @param studentAlias Student alias.
|
|
215
|
-
* @param parameters Request parameters that are provided to update student properties.
|
|
216
|
-
* @param options The options parameters.
|
|
217
|
-
*/
|
|
218
|
-
createOrUpdate(
|
|
219
|
-
billingAccountName: string,
|
|
220
|
-
billingProfileName: string,
|
|
221
|
-
invoiceSectionName: string,
|
|
222
|
-
studentAlias: string,
|
|
223
|
-
parameters: StudentDetails,
|
|
224
|
-
options?: StudentsCreateOrUpdateOptionalParams
|
|
225
|
-
): Promise<StudentsCreateOrUpdateResponse> {
|
|
226
|
-
return this.client.sendOperationRequest(
|
|
227
|
-
{
|
|
228
|
-
billingAccountName,
|
|
229
|
-
billingProfileName,
|
|
230
|
-
invoiceSectionName,
|
|
231
|
-
studentAlias,
|
|
232
|
-
parameters,
|
|
233
|
-
options
|
|
234
|
-
},
|
|
235
|
-
createOrUpdateOperationSpec
|
|
236
|
-
);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* ListNext
|
|
241
|
-
* @param billingAccountName Billing account name.
|
|
242
|
-
* @param billingProfileName Billing profile name.
|
|
243
|
-
* @param invoiceSectionName Invoice section name.
|
|
244
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
245
|
-
* @param options The options parameters.
|
|
246
|
-
*/
|
|
247
|
-
private _listNext(
|
|
248
|
-
billingAccountName: string,
|
|
249
|
-
billingProfileName: string,
|
|
250
|
-
invoiceSectionName: string,
|
|
251
|
-
nextLink: string,
|
|
252
|
-
options?: StudentsListNextOptionalParams
|
|
253
|
-
): Promise<StudentsListNextResponse> {
|
|
254
|
-
return this.client.sendOperationRequest(
|
|
255
|
-
{
|
|
256
|
-
billingAccountName,
|
|
257
|
-
billingProfileName,
|
|
258
|
-
invoiceSectionName,
|
|
259
|
-
nextLink,
|
|
260
|
-
options
|
|
261
|
-
},
|
|
262
|
-
listNextOperationSpec
|
|
263
|
-
);
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
// Operation Specifications
|
|
267
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
268
|
-
|
|
269
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
|
270
|
-
path:
|
|
271
|
-
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students",
|
|
272
|
-
httpMethod: "GET",
|
|
273
|
-
responses: {
|
|
274
|
-
200: {
|
|
275
|
-
bodyMapper: Mappers.StudentListResult
|
|
276
|
-
},
|
|
277
|
-
default: {
|
|
278
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
queryParameters: [Parameters.apiVersion, Parameters.includeDeleted],
|
|
282
|
-
urlParameters: [
|
|
283
|
-
Parameters.$host,
|
|
284
|
-
Parameters.billingAccountName,
|
|
285
|
-
Parameters.billingProfileName,
|
|
286
|
-
Parameters.invoiceSectionName
|
|
287
|
-
],
|
|
288
|
-
headerParameters: [Parameters.accept],
|
|
289
|
-
serializer
|
|
290
|
-
};
|
|
291
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
292
|
-
path:
|
|
293
|
-
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}",
|
|
294
|
-
httpMethod: "GET",
|
|
295
|
-
responses: {
|
|
296
|
-
200: {
|
|
297
|
-
bodyMapper: Mappers.StudentDetails
|
|
298
|
-
},
|
|
299
|
-
default: {
|
|
300
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
queryParameters: [Parameters.apiVersion],
|
|
304
|
-
urlParameters: [
|
|
305
|
-
Parameters.$host,
|
|
306
|
-
Parameters.billingAccountName,
|
|
307
|
-
Parameters.billingProfileName,
|
|
308
|
-
Parameters.invoiceSectionName,
|
|
309
|
-
Parameters.studentAlias
|
|
310
|
-
],
|
|
311
|
-
headerParameters: [Parameters.accept],
|
|
312
|
-
serializer
|
|
313
|
-
};
|
|
314
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
315
|
-
path:
|
|
316
|
-
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}",
|
|
317
|
-
httpMethod: "DELETE",
|
|
318
|
-
responses: {
|
|
319
|
-
200: {},
|
|
320
|
-
204: {},
|
|
321
|
-
default: {
|
|
322
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
queryParameters: [Parameters.apiVersion],
|
|
326
|
-
urlParameters: [
|
|
327
|
-
Parameters.$host,
|
|
328
|
-
Parameters.billingAccountName,
|
|
329
|
-
Parameters.billingProfileName,
|
|
330
|
-
Parameters.invoiceSectionName,
|
|
331
|
-
Parameters.studentAlias
|
|
332
|
-
],
|
|
333
|
-
headerParameters: [Parameters.accept],
|
|
334
|
-
serializer
|
|
335
|
-
};
|
|
336
|
-
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
337
|
-
path:
|
|
338
|
-
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}",
|
|
339
|
-
httpMethod: "PUT",
|
|
340
|
-
responses: {
|
|
341
|
-
200: {
|
|
342
|
-
bodyMapper: Mappers.StudentDetails
|
|
343
|
-
},
|
|
344
|
-
201: {
|
|
345
|
-
bodyMapper: Mappers.StudentDetails
|
|
346
|
-
},
|
|
347
|
-
default: {
|
|
348
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
requestBody: Parameters.parameters3,
|
|
352
|
-
queryParameters: [Parameters.apiVersion],
|
|
353
|
-
urlParameters: [
|
|
354
|
-
Parameters.$host,
|
|
355
|
-
Parameters.billingAccountName,
|
|
356
|
-
Parameters.billingProfileName,
|
|
357
|
-
Parameters.invoiceSectionName,
|
|
358
|
-
Parameters.studentAlias
|
|
359
|
-
],
|
|
360
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
361
|
-
mediaType: "json",
|
|
362
|
-
serializer
|
|
363
|
-
};
|
|
364
|
-
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
365
|
-
path: "{nextLink}",
|
|
366
|
-
httpMethod: "GET",
|
|
367
|
-
responses: {
|
|
368
|
-
200: {
|
|
369
|
-
bodyMapper: Mappers.StudentListResult
|
|
370
|
-
},
|
|
371
|
-
default: {
|
|
372
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
urlParameters: [
|
|
376
|
-
Parameters.$host,
|
|
377
|
-
Parameters.billingAccountName,
|
|
378
|
-
Parameters.billingProfileName,
|
|
379
|
-
Parameters.nextLink,
|
|
380
|
-
Parameters.invoiceSectionName
|
|
381
|
-
],
|
|
382
|
-
headerParameters: [Parameters.accept],
|
|
383
|
-
serializer
|
|
384
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
11
|
-
GrantDetails,
|
|
12
|
-
GrantsListAllOptionalParams,
|
|
13
|
-
GrantsListOptionalParams,
|
|
14
|
-
GrantsGetOptionalParams,
|
|
15
|
-
GrantsGetResponse
|
|
16
|
-
} from "../models";
|
|
17
|
-
|
|
18
|
-
/// <reference lib="esnext.asynciterable" />
|
|
19
|
-
/** Interface representing a Grants. */
|
|
20
|
-
export interface Grants {
|
|
21
|
-
/**
|
|
22
|
-
* Get a list of grants that Microsoft has provided.
|
|
23
|
-
* @param options The options parameters.
|
|
24
|
-
*/
|
|
25
|
-
listAll(
|
|
26
|
-
options?: GrantsListAllOptionalParams
|
|
27
|
-
): PagedAsyncIterableIterator<GrantDetails>;
|
|
28
|
-
/**
|
|
29
|
-
* Get details for a specific grant linked to the provided billing account and billing profile.
|
|
30
|
-
* @param billingAccountName Billing account name.
|
|
31
|
-
* @param billingProfileName Billing profile name.
|
|
32
|
-
* @param options The options parameters.
|
|
33
|
-
*/
|
|
34
|
-
list(
|
|
35
|
-
billingAccountName: string,
|
|
36
|
-
billingProfileName: string,
|
|
37
|
-
options?: GrantsListOptionalParams
|
|
38
|
-
): PagedAsyncIterableIterator<GrantDetails>;
|
|
39
|
-
/**
|
|
40
|
-
* Get details for a specific grant linked to the provided billing account and billing profile.
|
|
41
|
-
* @param billingAccountName Billing account name.
|
|
42
|
-
* @param billingProfileName Billing profile name.
|
|
43
|
-
* @param options The options parameters.
|
|
44
|
-
*/
|
|
45
|
-
get(
|
|
46
|
-
billingAccountName: string,
|
|
47
|
-
billingProfileName: string,
|
|
48
|
-
options?: GrantsGetOptionalParams
|
|
49
|
-
): Promise<GrantsGetResponse>;
|
|
50
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export * from "./operations";
|
|
10
|
-
export * from "./grants";
|
|
11
|
-
export * from "./labs";
|
|
12
|
-
export * from "./joinRequests";
|
|
13
|
-
export * from "./students";
|
|
14
|
-
export * from "./studentLabs";
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
11
|
-
JoinRequestDetails,
|
|
12
|
-
JoinRequestsListOptionalParams,
|
|
13
|
-
JoinRequestsGetOptionalParams,
|
|
14
|
-
JoinRequestsGetResponse,
|
|
15
|
-
JoinRequestsApproveOptionalParams,
|
|
16
|
-
JoinRequestsDenyOptionalParams
|
|
17
|
-
} from "../models";
|
|
18
|
-
|
|
19
|
-
/// <reference lib="esnext.asynciterable" />
|
|
20
|
-
/** Interface representing a JoinRequests. */
|
|
21
|
-
export interface JoinRequests {
|
|
22
|
-
/**
|
|
23
|
-
* get student join requests
|
|
24
|
-
* @param billingAccountName Billing account name.
|
|
25
|
-
* @param billingProfileName Billing profile name.
|
|
26
|
-
* @param invoiceSectionName Invoice section name.
|
|
27
|
-
* @param options The options parameters.
|
|
28
|
-
*/
|
|
29
|
-
list(
|
|
30
|
-
billingAccountName: string,
|
|
31
|
-
billingProfileName: string,
|
|
32
|
-
invoiceSectionName: string,
|
|
33
|
-
options?: JoinRequestsListOptionalParams
|
|
34
|
-
): PagedAsyncIterableIterator<JoinRequestDetails>;
|
|
35
|
-
/**
|
|
36
|
-
* get student join requests
|
|
37
|
-
* @param billingAccountName Billing account name.
|
|
38
|
-
* @param billingProfileName Billing profile name.
|
|
39
|
-
* @param invoiceSectionName Invoice section name.
|
|
40
|
-
* @param joinRequestName Join name
|
|
41
|
-
* @param options The options parameters.
|
|
42
|
-
*/
|
|
43
|
-
get(
|
|
44
|
-
billingAccountName: string,
|
|
45
|
-
billingProfileName: string,
|
|
46
|
-
invoiceSectionName: string,
|
|
47
|
-
joinRequestName: string,
|
|
48
|
-
options?: JoinRequestsGetOptionalParams
|
|
49
|
-
): Promise<JoinRequestsGetResponse>;
|
|
50
|
-
/**
|
|
51
|
-
* Approve student joining the redeemable lab
|
|
52
|
-
* @param billingAccountName Billing account name.
|
|
53
|
-
* @param billingProfileName Billing profile name.
|
|
54
|
-
* @param invoiceSectionName Invoice section name.
|
|
55
|
-
* @param joinRequestName Join name
|
|
56
|
-
* @param options The options parameters.
|
|
57
|
-
*/
|
|
58
|
-
approve(
|
|
59
|
-
billingAccountName: string,
|
|
60
|
-
billingProfileName: string,
|
|
61
|
-
invoiceSectionName: string,
|
|
62
|
-
joinRequestName: string,
|
|
63
|
-
options?: JoinRequestsApproveOptionalParams
|
|
64
|
-
): Promise<void>;
|
|
65
|
-
/**
|
|
66
|
-
* Deny student joining the redeemable lab
|
|
67
|
-
* @param billingAccountName Billing account name.
|
|
68
|
-
* @param billingProfileName Billing profile name.
|
|
69
|
-
* @param invoiceSectionName Invoice section name.
|
|
70
|
-
* @param joinRequestName Join name
|
|
71
|
-
* @param options The options parameters.
|
|
72
|
-
*/
|
|
73
|
-
deny(
|
|
74
|
-
billingAccountName: string,
|
|
75
|
-
billingProfileName: string,
|
|
76
|
-
invoiceSectionName: string,
|
|
77
|
-
joinRequestName: string,
|
|
78
|
-
options?: JoinRequestsDenyOptionalParams
|
|
79
|
-
): Promise<void>;
|
|
80
|
-
}
|