@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./grants.js";
|
|
10
|
+
export * from "./labs.js";
|
|
11
|
+
export * from "./joinRequests.js";
|
|
12
|
+
export * from "./students.js";
|
|
13
|
+
export * from "./studentLabs.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,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\nexport * from \"./operations.js\";\nexport * from \"./grants.js\";\nexport * from \"./labs.js\";\nexport * from \"./joinRequests.js\";\nexport * from \"./students.js\";\nexport * from \"./studentLabs.js\";\n"]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { JoinRequests } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { EducationManagementClient } from "../educationManagementClient.js";
|
|
4
|
+
import { JoinRequestDetails, JoinRequestsListOptionalParams, JoinRequestsGetOptionalParams, JoinRequestsGetResponse, JoinRequestsApproveOptionalParams, JoinRequestsDenyOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing JoinRequests operations. */
|
|
6
|
+
export declare class JoinRequestsImpl implements JoinRequests {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class JoinRequests class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: EducationManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* get student join requests
|
|
15
|
+
* @param billingAccountName Billing account name.
|
|
16
|
+
* @param billingProfileName Billing profile name.
|
|
17
|
+
* @param invoiceSectionName Invoice section name.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: JoinRequestsListOptionalParams): PagedAsyncIterableIterator<JoinRequestDetails>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* get student join requests
|
|
25
|
+
* @param billingAccountName Billing account name.
|
|
26
|
+
* @param billingProfileName Billing profile name.
|
|
27
|
+
* @param invoiceSectionName Invoice section name.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _list;
|
|
31
|
+
/**
|
|
32
|
+
* get student join requests
|
|
33
|
+
* @param billingAccountName Billing account name.
|
|
34
|
+
* @param billingProfileName Billing profile name.
|
|
35
|
+
* @param invoiceSectionName Invoice section name.
|
|
36
|
+
* @param joinRequestName Join name
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
get(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, joinRequestName: string, options?: JoinRequestsGetOptionalParams): Promise<JoinRequestsGetResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Approve student joining the redeemable lab
|
|
42
|
+
* @param billingAccountName Billing account name.
|
|
43
|
+
* @param billingProfileName Billing profile name.
|
|
44
|
+
* @param invoiceSectionName Invoice section name.
|
|
45
|
+
* @param joinRequestName Join name
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
approve(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, joinRequestName: string, options?: JoinRequestsApproveOptionalParams): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* Deny student joining the redeemable lab
|
|
51
|
+
* @param billingAccountName Billing account name.
|
|
52
|
+
* @param billingProfileName Billing profile name.
|
|
53
|
+
* @param invoiceSectionName Invoice section name.
|
|
54
|
+
* @param joinRequestName Join name
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
deny(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, joinRequestName: string, options?: JoinRequestsDenyOptionalParams): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* ListNext
|
|
60
|
+
* @param billingAccountName Billing account name.
|
|
61
|
+
* @param billingProfileName Billing profile name.
|
|
62
|
+
* @param invoiceSectionName Invoice section name.
|
|
63
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
private _listNext;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=joinRequests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"joinRequests.d.ts","sourceRoot":"","sources":["../../../src/operations/joinRequests.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,kBAAkB,EAElB,8BAA8B,EAE9B,6BAA6B,EAC7B,uBAAuB,EACvB,iCAAiC,EACjC,8BAA8B,EAE/B,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;;;OAMG;IACI,IAAI,CACT,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,8BAA8B,GACvC,0BAA0B,CAAC,kBAAkB,CAAC;YA6BlC,cAAc;YAoCd,aAAa;IAgB5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAYb;;;;;;;OAOG;IACH,GAAG,CACD,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAanC;;;;;;;OAOG;IACH,OAAO,CACL,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC;IAahB;;;;;;;OAOG;IACH,IAAI,CACF,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAahB;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAkBlB"}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing JoinRequests operations. */
|
|
14
|
+
export class JoinRequestsImpl {
|
|
15
|
+
client;
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class JoinRequests class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* get student join requests
|
|
25
|
+
* @param billingAccountName Billing account name.
|
|
26
|
+
* @param billingProfileName Billing profile name.
|
|
27
|
+
* @param invoiceSectionName Invoice section name.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
31
|
+
const iter = this.listPagingAll(billingAccountName, billingProfileName, invoiceSectionName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
async *listPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._list(billingAccountName, billingProfileName, invoiceSectionName, options);
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listNext(billingAccountName, billingProfileName, invoiceSectionName, continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
async *listPagingAll(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
66
|
+
for await (const page of this.listPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* get student join requests
|
|
72
|
+
* @param billingAccountName Billing account name.
|
|
73
|
+
* @param billingProfileName Billing profile name.
|
|
74
|
+
* @param invoiceSectionName Invoice section name.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
_list(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
78
|
+
return this.client.sendOperationRequest({ billingAccountName, billingProfileName, invoiceSectionName, options }, listOperationSpec);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* get student join requests
|
|
82
|
+
* @param billingAccountName Billing account name.
|
|
83
|
+
* @param billingProfileName Billing profile name.
|
|
84
|
+
* @param invoiceSectionName Invoice section name.
|
|
85
|
+
* @param joinRequestName Join name
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
get(billingAccountName, billingProfileName, invoiceSectionName, joinRequestName, options) {
|
|
89
|
+
return this.client.sendOperationRequest({
|
|
90
|
+
billingAccountName,
|
|
91
|
+
billingProfileName,
|
|
92
|
+
invoiceSectionName,
|
|
93
|
+
joinRequestName,
|
|
94
|
+
options
|
|
95
|
+
}, getOperationSpec);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Approve student joining the redeemable lab
|
|
99
|
+
* @param billingAccountName Billing account name.
|
|
100
|
+
* @param billingProfileName Billing profile name.
|
|
101
|
+
* @param invoiceSectionName Invoice section name.
|
|
102
|
+
* @param joinRequestName Join name
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
approve(billingAccountName, billingProfileName, invoiceSectionName, joinRequestName, options) {
|
|
106
|
+
return this.client.sendOperationRequest({
|
|
107
|
+
billingAccountName,
|
|
108
|
+
billingProfileName,
|
|
109
|
+
invoiceSectionName,
|
|
110
|
+
joinRequestName,
|
|
111
|
+
options
|
|
112
|
+
}, approveOperationSpec);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Deny student joining the redeemable lab
|
|
116
|
+
* @param billingAccountName Billing account name.
|
|
117
|
+
* @param billingProfileName Billing profile name.
|
|
118
|
+
* @param invoiceSectionName Invoice section name.
|
|
119
|
+
* @param joinRequestName Join name
|
|
120
|
+
* @param options The options parameters.
|
|
121
|
+
*/
|
|
122
|
+
deny(billingAccountName, billingProfileName, invoiceSectionName, joinRequestName, options) {
|
|
123
|
+
return this.client.sendOperationRequest({
|
|
124
|
+
billingAccountName,
|
|
125
|
+
billingProfileName,
|
|
126
|
+
invoiceSectionName,
|
|
127
|
+
joinRequestName,
|
|
128
|
+
options
|
|
129
|
+
}, denyOperationSpec);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* ListNext
|
|
133
|
+
* @param billingAccountName Billing account name.
|
|
134
|
+
* @param billingProfileName Billing profile name.
|
|
135
|
+
* @param invoiceSectionName Invoice section name.
|
|
136
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
137
|
+
* @param options The options parameters.
|
|
138
|
+
*/
|
|
139
|
+
_listNext(billingAccountName, billingProfileName, invoiceSectionName, nextLink, options) {
|
|
140
|
+
return this.client.sendOperationRequest({
|
|
141
|
+
billingAccountName,
|
|
142
|
+
billingProfileName,
|
|
143
|
+
invoiceSectionName,
|
|
144
|
+
nextLink,
|
|
145
|
+
options
|
|
146
|
+
}, listNextOperationSpec);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
// Operation Specifications
|
|
150
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
151
|
+
const listOperationSpec = {
|
|
152
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests",
|
|
153
|
+
httpMethod: "GET",
|
|
154
|
+
responses: {
|
|
155
|
+
200: {
|
|
156
|
+
bodyMapper: Mappers.JoinRequestList
|
|
157
|
+
},
|
|
158
|
+
default: {
|
|
159
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
queryParameters: [Parameters.apiVersion, Parameters.includeDenied],
|
|
163
|
+
urlParameters: [
|
|
164
|
+
Parameters.$host,
|
|
165
|
+
Parameters.billingAccountName,
|
|
166
|
+
Parameters.billingProfileName,
|
|
167
|
+
Parameters.invoiceSectionName
|
|
168
|
+
],
|
|
169
|
+
headerParameters: [Parameters.accept],
|
|
170
|
+
serializer
|
|
171
|
+
};
|
|
172
|
+
const getOperationSpec = {
|
|
173
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests/{joinRequestName}",
|
|
174
|
+
httpMethod: "GET",
|
|
175
|
+
responses: {
|
|
176
|
+
200: {
|
|
177
|
+
bodyMapper: Mappers.JoinRequestDetails
|
|
178
|
+
},
|
|
179
|
+
default: {
|
|
180
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
queryParameters: [Parameters.apiVersion],
|
|
184
|
+
urlParameters: [
|
|
185
|
+
Parameters.$host,
|
|
186
|
+
Parameters.billingAccountName,
|
|
187
|
+
Parameters.billingProfileName,
|
|
188
|
+
Parameters.invoiceSectionName,
|
|
189
|
+
Parameters.joinRequestName
|
|
190
|
+
],
|
|
191
|
+
headerParameters: [Parameters.accept],
|
|
192
|
+
serializer
|
|
193
|
+
};
|
|
194
|
+
const approveOperationSpec = {
|
|
195
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests/{joinRequestName}/approve",
|
|
196
|
+
httpMethod: "POST",
|
|
197
|
+
responses: {
|
|
198
|
+
200: {},
|
|
199
|
+
default: {
|
|
200
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
queryParameters: [Parameters.apiVersion],
|
|
204
|
+
urlParameters: [
|
|
205
|
+
Parameters.$host,
|
|
206
|
+
Parameters.billingAccountName,
|
|
207
|
+
Parameters.billingProfileName,
|
|
208
|
+
Parameters.invoiceSectionName,
|
|
209
|
+
Parameters.joinRequestName
|
|
210
|
+
],
|
|
211
|
+
headerParameters: [Parameters.accept],
|
|
212
|
+
serializer
|
|
213
|
+
};
|
|
214
|
+
const denyOperationSpec = {
|
|
215
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests/{joinRequestName}/deny",
|
|
216
|
+
httpMethod: "POST",
|
|
217
|
+
responses: {
|
|
218
|
+
200: {},
|
|
219
|
+
default: {
|
|
220
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
queryParameters: [Parameters.apiVersion],
|
|
224
|
+
urlParameters: [
|
|
225
|
+
Parameters.$host,
|
|
226
|
+
Parameters.billingAccountName,
|
|
227
|
+
Parameters.billingProfileName,
|
|
228
|
+
Parameters.invoiceSectionName,
|
|
229
|
+
Parameters.joinRequestName
|
|
230
|
+
],
|
|
231
|
+
headerParameters: [Parameters.accept],
|
|
232
|
+
serializer
|
|
233
|
+
};
|
|
234
|
+
const listNextOperationSpec = {
|
|
235
|
+
path: "{nextLink}",
|
|
236
|
+
httpMethod: "GET",
|
|
237
|
+
responses: {
|
|
238
|
+
200: {
|
|
239
|
+
bodyMapper: Mappers.JoinRequestList
|
|
240
|
+
},
|
|
241
|
+
default: {
|
|
242
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
urlParameters: [
|
|
246
|
+
Parameters.$host,
|
|
247
|
+
Parameters.billingAccountName,
|
|
248
|
+
Parameters.billingProfileName,
|
|
249
|
+
Parameters.nextLink,
|
|
250
|
+
Parameters.invoiceSectionName
|
|
251
|
+
],
|
|
252
|
+
headerParameters: [Parameters.accept],
|
|
253
|
+
serializer
|
|
254
|
+
};
|
|
255
|
+
//# sourceMappingURL=joinRequests.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"joinRequests.js","sourceRoot":"","sources":["../../../src/operations/joinRequests.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AActD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IACV,MAAM,CAA4B;IAEnD;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,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AC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,kBAAkB;KAC9B;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 { JoinRequests } 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 { EducationManagementClient } from \"../educationManagementClient.js\";\nimport {\n JoinRequestDetails,\n JoinRequestsListNextOptionalParams,\n JoinRequestsListOptionalParams,\n JoinRequestsListResponse,\n JoinRequestsGetOptionalParams,\n JoinRequestsGetResponse,\n JoinRequestsApproveOptionalParams,\n JoinRequestsDenyOptionalParams,\n JoinRequestsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing JoinRequests operations. */\nexport class JoinRequestsImpl implements JoinRequests {\n private readonly client: EducationManagementClient;\n\n /**\n * Initialize a new instance of the class JoinRequests class.\n * @param client Reference to the service client\n */\n constructor(client: EducationManagementClient) {\n this.client = client;\n }\n\n /**\n * get student join requests\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n public list(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: JoinRequestsListOptionalParams\n ): PagedAsyncIterableIterator<JoinRequestDetails> {\n const iter = this.listPagingAll(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options\n );\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.listPagingPage(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: JoinRequestsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<JoinRequestDetails[]> {\n let result: JoinRequestsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\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 *listPagingAll(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: JoinRequestsListOptionalParams\n ): AsyncIterableIterator<JoinRequestDetails> {\n for await (const page of this.listPagingPage(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * get student join requests\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n private _list(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: JoinRequestsListOptionalParams\n ): Promise<JoinRequestsListResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, invoiceSectionName, options },\n listOperationSpec\n );\n }\n\n /**\n * get student join requests\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param joinRequestName Join name\n * @param options The options parameters.\n */\n get(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsGetOptionalParams\n ): Promise<JoinRequestsGetResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n joinRequestName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Approve student joining the redeemable lab\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param joinRequestName Join name\n * @param options The options parameters.\n */\n approve(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsApproveOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n joinRequestName,\n options\n },\n approveOperationSpec\n );\n }\n\n /**\n * Deny student joining the redeemable lab\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param joinRequestName Join name\n * @param options The options parameters.\n */\n deny(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsDenyOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n joinRequestName,\n options\n },\n denyOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n nextLink: string,\n options?: JoinRequestsListNextOptionalParams\n ): Promise<JoinRequestsListNextResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n nextLink,\n options\n },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JoinRequestList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.includeDenied],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.invoiceSectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests/{joinRequestName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JoinRequestDetails\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.invoiceSectionName,\n Parameters.joinRequestName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst approveOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests/{joinRequestName}/approve\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.invoiceSectionName,\n Parameters.joinRequestName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst denyOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests/{joinRequestName}/deny\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.invoiceSectionName,\n Parameters.joinRequestName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JoinRequestList\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.nextLink,\n Parameters.invoiceSectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Labs } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { EducationManagementClient } from "../educationManagementClient.js";
|
|
4
|
+
import { LabDetails, LabsListAllOptionalParams, LabsListOptionalParams, LabsGetOptionalParams, LabsGetResponse, LabsDeleteOptionalParams, LabsCreateOrUpdateOptionalParams, LabsCreateOrUpdateResponse, InviteCodeGenerateRequest, LabsGenerateInviteCodeOptionalParams, LabsGenerateInviteCodeResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing Labs operations. */
|
|
6
|
+
export declare class LabsImpl implements Labs {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Labs class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: EducationManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Get a list of labs associated with the provided billing account name and billing profile name.
|
|
15
|
+
* @param billingAccountName Billing account name.
|
|
16
|
+
* @param billingProfileName Billing profile name.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listAll(billingAccountName: string, billingProfileName: string, options?: LabsListAllOptionalParams): PagedAsyncIterableIterator<LabDetails>;
|
|
20
|
+
private listAllPagingPage;
|
|
21
|
+
private listAllPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Get the details for a specific lab associated with the provided billing account name, billing
|
|
24
|
+
* profile name, and invoice section name.
|
|
25
|
+
* @param billingAccountName Billing account name.
|
|
26
|
+
* @param billingProfileName Billing profile name.
|
|
27
|
+
* @param invoiceSectionName Invoice section name.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsListOptionalParams): PagedAsyncIterableIterator<LabDetails>;
|
|
31
|
+
private listPagingPage;
|
|
32
|
+
private listPagingAll;
|
|
33
|
+
/**
|
|
34
|
+
* Get a list of labs associated with the provided billing account name and billing profile name.
|
|
35
|
+
* @param billingAccountName Billing account name.
|
|
36
|
+
* @param billingProfileName Billing profile name.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
private _listAll;
|
|
40
|
+
/**
|
|
41
|
+
* Get the details for a specific lab associated with the provided billing account name, billing
|
|
42
|
+
* profile name, and invoice section name.
|
|
43
|
+
* @param billingAccountName Billing account name.
|
|
44
|
+
* @param billingProfileName Billing profile name.
|
|
45
|
+
* @param invoiceSectionName Invoice section name.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
private _list;
|
|
49
|
+
/**
|
|
50
|
+
* Get the details for a specific lab associated with the provided billing account name, billing
|
|
51
|
+
* profile name, and invoice section name.
|
|
52
|
+
* @param billingAccountName Billing account name.
|
|
53
|
+
* @param billingProfileName Billing profile name.
|
|
54
|
+
* @param invoiceSectionName Invoice section name.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
get(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsGetOptionalParams): Promise<LabsGetResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Delete a specific lab associated with the provided billing account name, billing profile name, and
|
|
60
|
+
* invoice section name. Note all students must be removed from the lab in order to delete the lab.
|
|
61
|
+
* @param billingAccountName Billing account name.
|
|
62
|
+
* @param billingProfileName Billing profile name.
|
|
63
|
+
* @param invoiceSectionName Invoice section name.
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
delete(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsDeleteOptionalParams): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Create a new lab or update a previously created lab.
|
|
69
|
+
* @param billingAccountName Billing account name.
|
|
70
|
+
* @param billingProfileName Billing profile name.
|
|
71
|
+
* @param invoiceSectionName Invoice section name.
|
|
72
|
+
* @param parameters Request parameters that are provided to create lab resource.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
createOrUpdate(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: LabDetails, options?: LabsCreateOrUpdateOptionalParams): Promise<LabsCreateOrUpdateResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* Generate invite code for a lab
|
|
78
|
+
* @param billingAccountName Billing account name.
|
|
79
|
+
* @param billingProfileName Billing profile name.
|
|
80
|
+
* @param invoiceSectionName Invoice section name.
|
|
81
|
+
* @param parameters Request parameters that are provided to generate invite code.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
generateInviteCode(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InviteCodeGenerateRequest, options?: LabsGenerateInviteCodeOptionalParams): Promise<LabsGenerateInviteCodeResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* ListAllNext
|
|
87
|
+
* @param billingAccountName Billing account name.
|
|
88
|
+
* @param billingProfileName Billing profile name.
|
|
89
|
+
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
private _listAllNext;
|
|
93
|
+
/**
|
|
94
|
+
* ListNext
|
|
95
|
+
* @param billingAccountName Billing account name.
|
|
96
|
+
* @param billingProfileName Billing profile name.
|
|
97
|
+
* @param invoiceSectionName Invoice section name.
|
|
98
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
99
|
+
* @param options The options parameters.
|
|
100
|
+
*/
|
|
101
|
+
private _listNext;
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=labs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labs.d.ts","sourceRoot":"","sources":["../../../src/operations/labs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAIxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,UAAU,EAEV,yBAAyB,EAGzB,sBAAsB,EAEtB,qBAAqB,EACrB,eAAe,EACf,wBAAwB,EACxB,gCAAgC,EAChC,0BAA0B,EAC1B,yBAAyB,EACzB,oCAAoC,EACpC,8BAA8B,EAG/B,MAAM,oBAAoB,CAAC;AAG5B,wCAAwC;AACxC,qBAAa,QAAS,YAAW,IAAI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