@azure/arm-education 1.0.0-beta.2 → 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 +25 -2
- package/LICENSE +4 -4
- package/README.md +27 -18
- 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 +52 -40
- 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 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +32 -46
- 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 +56 -65
- 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 +30 -34
- 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 +56 -69
- 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 +30 -34
- 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 +30 -34
- 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/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- 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 -1000
- 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 -4
- 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 +86 -75
- package/review/{arm-education.api.md → arm-education-node.api.md} +3 -7
- package/dist/index.js +0 -2522
- 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 -51
- 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 -75
- 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 -79
- 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 -32
- 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 -32
- 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 -32
- 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 -47
- 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 -37
- 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 -31
- 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 -32
- 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 -53
- 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 -79
- 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 -81
- 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 -28
- 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 -33
- 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 -29
- 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 -42
- 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 -40
- 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 -32
- 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 -32
- 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 -45
- 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 -5
- 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/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 -190
- package/src/models/index.ts +0 -806
- package/src/models/mappers.ts +0 -775
- package/src/models/parameters.ts +0 -215
- package/src/operations/grants.ts +0 -330
- package/src/operations/index.ts +0 -14
- package/src/operations/joinRequests.ts +0 -358
- package/src/operations/labs.ts +0 -570
- package/src/operations/operations.ts +0 -59
- package/src/operations/studentLabs.ts +0 -170
- package/src/operations/students.ts +0 -371
- 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/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
|
@@ -1,51 +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
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Get details for a specific grant linked to the provided billing account and billing profile.
|
|
15
|
-
*
|
|
16
|
-
* @summary Get details for a specific grant linked to the provided billing account and billing profile.
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/Grant.json
|
|
18
|
-
*/
|
|
19
|
-
function grant() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const billingAccountName = "{billingAccountName}";
|
|
22
|
-
const billingProfileName = "{billingProfileName}";
|
|
23
|
-
const includeAllocatedBudget = false;
|
|
24
|
-
const options = { includeAllocatedBudget };
|
|
25
|
-
const credential = new DefaultAzureCredential();
|
|
26
|
-
const client = new EducationManagementClient(credential);
|
|
27
|
-
const result = yield client.grants.get(billingAccountName, billingProfileName, options);
|
|
28
|
-
console.log(result);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
grant().catch(console.error);
|
|
32
|
-
/**
|
|
33
|
-
* This sample demonstrates how to Get details for a specific grant linked to the provided billing account and billing profile.
|
|
34
|
-
*
|
|
35
|
-
* @summary Get details for a specific grant linked to the provided billing account and billing profile.
|
|
36
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GrantIncludeAllocatedBudget.json
|
|
37
|
-
*/
|
|
38
|
-
function grantIncludeAllocatedBudget() {
|
|
39
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
-
const billingAccountName = "{billingAccountName}";
|
|
41
|
-
const billingProfileName = "{billingProfileName}";
|
|
42
|
-
const includeAllocatedBudget = false;
|
|
43
|
-
const options = { includeAllocatedBudget };
|
|
44
|
-
const credential = new DefaultAzureCredential();
|
|
45
|
-
const client = new EducationManagementClient(credential);
|
|
46
|
-
const result = yield client.grants.get(billingAccountName, billingProfileName, options);
|
|
47
|
-
console.log(result);
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
grantIncludeAllocatedBudget().catch(console.error);
|
|
51
|
-
//# sourceMappingURL=grantsGetSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grantsGetSample.js","sourceRoot":"","sources":["../../samples-dev/grantsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,KAAK;;QAClB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,sBAAsB,GAAG,KAAK,CAAC;QACrC,MAAM,OAAO,GAA4B,EAAE,sBAAsB,EAAE,CAAC;QACpE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CACpC,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,KAAK,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAE7B;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,sBAAsB,GAAG,KAAK,CAAC;QACrC,MAAM,OAAO,GAA4B,EAAE,sBAAsB,EAAE,CAAC;QACpE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CACpC,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grantsListAllSample.d.ts","sourceRoot":"","sources":["../../samples-dev/grantsListAllSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,75 +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
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Get a list of grants that Microsoft has provided.
|
|
15
|
-
*
|
|
16
|
-
* @summary Get a list of grants that Microsoft has provided.
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GrantList.json
|
|
18
|
-
*/
|
|
19
|
-
function grantList() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const includeAllocatedBudget = false;
|
|
23
|
-
const options = { includeAllocatedBudget };
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new EducationManagementClient(credential);
|
|
26
|
-
const resArray = new Array();
|
|
27
|
-
try {
|
|
28
|
-
for (var _b = __asyncValues(client.grants.listAll(options)), _c; _c = yield _b.next(), !_c.done;) {
|
|
29
|
-
let item = _c.value;
|
|
30
|
-
resArray.push(item);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
34
|
-
finally {
|
|
35
|
-
try {
|
|
36
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
37
|
-
}
|
|
38
|
-
finally { if (e_1) throw e_1.error; }
|
|
39
|
-
}
|
|
40
|
-
console.log(resArray);
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
grantList().catch(console.error);
|
|
44
|
-
/**
|
|
45
|
-
* This sample demonstrates how to Get a list of grants that Microsoft has provided.
|
|
46
|
-
*
|
|
47
|
-
* @summary Get a list of grants that Microsoft has provided.
|
|
48
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GrantListIncludeAllocatedBudget.json
|
|
49
|
-
*/
|
|
50
|
-
function grantListIncludeAllocatedBudget() {
|
|
51
|
-
var e_2, _a;
|
|
52
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
-
const includeAllocatedBudget = true;
|
|
54
|
-
const options = { includeAllocatedBudget };
|
|
55
|
-
const credential = new DefaultAzureCredential();
|
|
56
|
-
const client = new EducationManagementClient(credential);
|
|
57
|
-
const resArray = new Array();
|
|
58
|
-
try {
|
|
59
|
-
for (var _b = __asyncValues(client.grants.listAll(options)), _c; _c = yield _b.next(), !_c.done;) {
|
|
60
|
-
let item = _c.value;
|
|
61
|
-
resArray.push(item);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
65
|
-
finally {
|
|
66
|
-
try {
|
|
67
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
68
|
-
}
|
|
69
|
-
finally { if (e_2) throw e_2.error; }
|
|
70
|
-
}
|
|
71
|
-
console.log(resArray);
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
grantListIncludeAllocatedBudget().catch(console.error);
|
|
75
|
-
//# sourceMappingURL=grantsListAllSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grantsListAllSample.js","sourceRoot":"","sources":["../../samples-dev/grantsListAllSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,SAAS;;;QACtB,MAAM,sBAAsB,GAAG,KAAK,CAAC;QACrC,MAAM,OAAO,GAAgC,EAAE,sBAAsB,EAAE,CAAC;QACxE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA,IAAA;gBAA1C,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAS,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAEjC;;;;;GAKG;AACH,SAAe,+BAA+B;;;QAC5C,MAAM,sBAAsB,GAAG,IAAI,CAAC;QACpC,MAAM,OAAO,GAAgC,EAAE,sBAAsB,EAAE,CAAC;QACxE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA,IAAA;gBAA1C,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grantsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/grantsListSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,79 +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
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Get details for a specific grant linked to the provided billing account and billing profile.
|
|
15
|
-
*
|
|
16
|
-
* @summary Get details for a specific grant linked to the provided billing account and billing profile.
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GrantDefaultList.json
|
|
18
|
-
*/
|
|
19
|
-
function grantList() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const billingAccountName = "{billingAccountName}";
|
|
23
|
-
const billingProfileName = "{billingProfileName}";
|
|
24
|
-
const includeAllocatedBudget = false;
|
|
25
|
-
const options = { includeAllocatedBudget };
|
|
26
|
-
const credential = new DefaultAzureCredential();
|
|
27
|
-
const client = new EducationManagementClient(credential);
|
|
28
|
-
const resArray = new Array();
|
|
29
|
-
try {
|
|
30
|
-
for (var _b = __asyncValues(client.grants.list(billingAccountName, billingProfileName, options)), _c; _c = yield _b.next(), !_c.done;) {
|
|
31
|
-
let item = _c.value;
|
|
32
|
-
resArray.push(item);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
36
|
-
finally {
|
|
37
|
-
try {
|
|
38
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
39
|
-
}
|
|
40
|
-
finally { if (e_1) throw e_1.error; }
|
|
41
|
-
}
|
|
42
|
-
console.log(resArray);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
grantList().catch(console.error);
|
|
46
|
-
/**
|
|
47
|
-
* This sample demonstrates how to Get details for a specific grant linked to the provided billing account and billing profile.
|
|
48
|
-
*
|
|
49
|
-
* @summary Get details for a specific grant linked to the provided billing account and billing profile.
|
|
50
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GrantDefaultListIncludeAllocatedBudget.json
|
|
51
|
-
*/
|
|
52
|
-
function grantListIncludeAllocatedBudget() {
|
|
53
|
-
var e_2, _a;
|
|
54
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
-
const billingAccountName = "{billingAccountName}";
|
|
56
|
-
const billingProfileName = "{billingProfileName}";
|
|
57
|
-
const includeAllocatedBudget = false;
|
|
58
|
-
const options = { includeAllocatedBudget };
|
|
59
|
-
const credential = new DefaultAzureCredential();
|
|
60
|
-
const client = new EducationManagementClient(credential);
|
|
61
|
-
const resArray = new Array();
|
|
62
|
-
try {
|
|
63
|
-
for (var _b = __asyncValues(client.grants.list(billingAccountName, billingProfileName, options)), _c; _c = yield _b.next(), !_c.done;) {
|
|
64
|
-
let item = _c.value;
|
|
65
|
-
resArray.push(item);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
69
|
-
finally {
|
|
70
|
-
try {
|
|
71
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
72
|
-
}
|
|
73
|
-
finally { if (e_2) throw e_2.error; }
|
|
74
|
-
}
|
|
75
|
-
console.log(resArray);
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
grantListIncludeAllocatedBudget().catch(console.error);
|
|
79
|
-
//# sourceMappingURL=grantsListSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grantsListSample.js","sourceRoot":"","sources":["../../samples-dev/grantsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,SAAS;;;QACtB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,sBAAsB,GAAG,KAAK,CAAC;QACrC,MAAM,OAAO,GAA6B,EAAE,sBAAsB,EAAE,CAAC;QACrE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,MAAM,CAAC,IAAI,CACvC,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAS,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAEjC;;;;;GAKG;AACH,SAAe,+BAA+B;;;QAC5C,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,sBAAsB,GAAG,KAAK,CAAC;QACrC,MAAM,OAAO,GAA6B,EAAE,sBAAsB,EAAE,CAAC;QACrE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,MAAM,CAAC,IAAI,CACvC,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinRequestsApproveSample.d.ts","sourceRoot":"","sources":["../../samples-dev/joinRequestsApproveSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +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
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Approve student joining the redeemable lab
|
|
15
|
-
*
|
|
16
|
-
* @summary Approve student joining the redeemable lab
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/JoinRequestApproveAndDeny.json
|
|
18
|
-
*/
|
|
19
|
-
function joinRequestApprove() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const billingAccountName = "{billingAccountName}";
|
|
22
|
-
const billingProfileName = "{billingProfileName}";
|
|
23
|
-
const invoiceSectionName = "{invoiceSectionName}";
|
|
24
|
-
const joinRequestName = "{joinRequestName}";
|
|
25
|
-
const credential = new DefaultAzureCredential();
|
|
26
|
-
const client = new EducationManagementClient(credential);
|
|
27
|
-
const result = yield client.joinRequests.approve(billingAccountName, billingProfileName, invoiceSectionName, joinRequestName);
|
|
28
|
-
console.log(result);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
joinRequestApprove().catch(console.error);
|
|
32
|
-
//# sourceMappingURL=joinRequestsApproveSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinRequestsApproveSample.js","sourceRoot":"","sources":["../../samples-dev/joinRequestsApproveSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,eAAe,GAAG,mBAAmB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,OAAO,CAC9C,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinRequestsDenySample.d.ts","sourceRoot":"","sources":["../../samples-dev/joinRequestsDenySample.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +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
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Deny student joining the redeemable lab
|
|
15
|
-
*
|
|
16
|
-
* @summary Deny student joining the redeemable lab
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/JoinRequestApproveAndDeny.json
|
|
18
|
-
*/
|
|
19
|
-
function joinRequestDeny() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const billingAccountName = "{billingAccountName}";
|
|
22
|
-
const billingProfileName = "{billingProfileName}";
|
|
23
|
-
const invoiceSectionName = "{invoiceSectionName}";
|
|
24
|
-
const joinRequestName = "{joinRequestName}";
|
|
25
|
-
const credential = new DefaultAzureCredential();
|
|
26
|
-
const client = new EducationManagementClient(credential);
|
|
27
|
-
const result = yield client.joinRequests.deny(billingAccountName, billingProfileName, invoiceSectionName, joinRequestName);
|
|
28
|
-
console.log(result);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
joinRequestDeny().catch(console.error);
|
|
32
|
-
//# sourceMappingURL=joinRequestsDenySample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinRequestsDenySample.js","sourceRoot":"","sources":["../../samples-dev/joinRequestsDenySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,eAAe,GAAG,mBAAmB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,IAAI,CAC3C,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinRequestsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/joinRequestsGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +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
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to get student join requests
|
|
15
|
-
*
|
|
16
|
-
* @summary get student join requests
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/JoinRequest.json
|
|
18
|
-
*/
|
|
19
|
-
function joinRequest() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const billingAccountName = "{billingAccountName}";
|
|
22
|
-
const billingProfileName = "{billingProfileName}";
|
|
23
|
-
const invoiceSectionName = "{invoiceSectionName}";
|
|
24
|
-
const joinRequestName = "{joinRequestName}";
|
|
25
|
-
const credential = new DefaultAzureCredential();
|
|
26
|
-
const client = new EducationManagementClient(credential);
|
|
27
|
-
const result = yield client.joinRequests.get(billingAccountName, billingProfileName, invoiceSectionName, joinRequestName);
|
|
28
|
-
console.log(result);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
joinRequest().catch(console.error);
|
|
32
|
-
//# sourceMappingURL=joinRequestsGetSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinRequestsGetSample.js","sourceRoot":"","sources":["../../samples-dev/joinRequestsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,eAAe,GAAG,mBAAmB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,GAAG,CAC1C,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,WAAW,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinRequestsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/joinRequestsListSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,47 +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
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to get student join requests
|
|
15
|
-
*
|
|
16
|
-
* @summary get student join requests
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/JoinRequestList.json
|
|
18
|
-
*/
|
|
19
|
-
function joinRequestList() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const billingAccountName = "{billingAccountName}";
|
|
23
|
-
const billingProfileName = "{billingProfileName}";
|
|
24
|
-
const invoiceSectionName = "{invoiceSectionName}";
|
|
25
|
-
const includeDenied = false;
|
|
26
|
-
const options = { includeDenied };
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new EducationManagementClient(credential);
|
|
29
|
-
const resArray = new Array();
|
|
30
|
-
try {
|
|
31
|
-
for (var _b = __asyncValues(client.joinRequests.list(billingAccountName, billingProfileName, invoiceSectionName, options)), _c; _c = yield _b.next(), !_c.done;) {
|
|
32
|
-
let item = _c.value;
|
|
33
|
-
resArray.push(item);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
37
|
-
finally {
|
|
38
|
-
try {
|
|
39
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
40
|
-
}
|
|
41
|
-
finally { if (e_1) throw e_1.error; }
|
|
42
|
-
}
|
|
43
|
-
console.log(resArray);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
joinRequestList().catch(console.error);
|
|
47
|
-
//# sourceMappingURL=joinRequestsListSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinRequestsListSample.js","sourceRoot":"","sources":["../../samples-dev/joinRequestsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;;QAC5B,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,aAAa,GAAG,KAAK,CAAC;QAC5B,MAAM,OAAO,GAAmC,EAAE,aAAa,EAAE,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,IAAI,CAC7C,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAA,IAAA;gBALU,IAAI,IAAI,WAAA,CAAA;gBAMjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/labsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,37 +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
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Create a new lab or update a previously created lab.
|
|
15
|
-
*
|
|
16
|
-
* @summary Create a new lab or update a previously created lab.
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/CreateLab.json
|
|
18
|
-
*/
|
|
19
|
-
function createLab() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const billingAccountName = "{billingAccountName}";
|
|
22
|
-
const billingProfileName = "{billingProfileName}";
|
|
23
|
-
const invoiceSectionName = "{invoiceSectionName}";
|
|
24
|
-
const parameters = {
|
|
25
|
-
description: "example lab description",
|
|
26
|
-
budgetPerStudent: { currency: "USD", value: 100 },
|
|
27
|
-
displayName: "example lab",
|
|
28
|
-
expirationDate: new Date("2021-12-09T22:11:29.422Z")
|
|
29
|
-
};
|
|
30
|
-
const credential = new DefaultAzureCredential();
|
|
31
|
-
const client = new EducationManagementClient(credential);
|
|
32
|
-
const result = yield client.labs.createOrUpdate(billingAccountName, billingProfileName, invoiceSectionName, parameters);
|
|
33
|
-
console.log(result);
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
createLab().catch(console.error);
|
|
37
|
-
//# sourceMappingURL=labsCreateOrUpdateSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/labsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAc,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,SAAS;;QACtB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,UAAU,GAAe;YAC7B,WAAW,EAAE,yBAAyB;YACtC,gBAAgB,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,WAAW,EAAE,aAAa;YAC1B,cAAc,EAAE,IAAI,IAAI,CAAC,0BAA0B,CAAC;SACrD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,cAAc,CAC7C,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAS,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/labsDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +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
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Delete a specific lab associated with the provided billing account name, billing profile name, and invoice section name. Note all students must be removed from the lab in order to delete the lab.
|
|
15
|
-
*
|
|
16
|
-
* @summary Delete a specific lab associated with the provided billing account name, billing profile name, and invoice section name. Note all students must be removed from the lab in order to delete the lab.
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/DeleteLab.json
|
|
18
|
-
*/
|
|
19
|
-
function deleteLab() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const billingAccountName = "{billingAccountName}";
|
|
22
|
-
const billingProfileName = "{billingProfileName}";
|
|
23
|
-
const invoiceSectionName = "{invoiceSectionName}";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new EducationManagementClient(credential);
|
|
26
|
-
const result = yield client.labs.delete(billingAccountName, billingProfileName, invoiceSectionName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
deleteLab().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=labsDeleteSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/labsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,SAAS;;QACtB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,MAAM,CACrC,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAS,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labsGenerateInviteCodeSample.d.ts","sourceRoot":"","sources":["../../samples-dev/labsGenerateInviteCodeSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +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
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { EducationManagementClient } from "@azure/arm-education";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Generate invite code for a lab
|
|
15
|
-
*
|
|
16
|
-
* @summary Generate invite code for a lab
|
|
17
|
-
* x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GenerateInviteCode.json
|
|
18
|
-
*/
|
|
19
|
-
function createLab() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const billingAccountName = "{billingAccountName}";
|
|
22
|
-
const billingProfileName = "{billingProfileName}";
|
|
23
|
-
const invoiceSectionName = "{invoiceSectionName}";
|
|
24
|
-
const parameters = { maxStudentCount: 10 };
|
|
25
|
-
const credential = new DefaultAzureCredential();
|
|
26
|
-
const client = new EducationManagementClient(credential);
|
|
27
|
-
const result = yield client.labs.generateInviteCode(billingAccountName, billingProfileName, invoiceSectionName, parameters);
|
|
28
|
-
console.log(result);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
createLab().catch(console.error);
|
|
32
|
-
//# sourceMappingURL=labsGenerateInviteCodeSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labsGenerateInviteCodeSample.js","sourceRoot":"","sources":["../../samples-dev/labsGenerateInviteCodeSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,SAAS;;QACtB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,UAAU,GAA8B,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC;QACtE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,kBAAkB,CACjD,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAS,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"labsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/labsGetSample.ts"],"names":[],"mappings":""}
|