@azure/arm-domainservices 4.1.1-alpha.20250124.1 → 4.1.1-alpha.20250128.1
Sign up to get free protection for your applications and to get access to all the features.
- package/{dist-esm/src → dist/browser}/domainServicesResourceProvider.d.ts +2 -2
- package/dist/browser/domainServicesResourceProvider.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/domainServicesResourceProvider.js +15 -18
- package/dist/browser/domainServicesResourceProvider.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/domainServiceOperations.d.ts +3 -3
- package/dist/browser/operations/domainServiceOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/domainServiceOperations.js +3 -3
- package/dist/browser/operations/domainServiceOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/domainServices.d.ts +3 -3
- package/dist/browser/operations/domainServices.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/domainServices.js +101 -113
- package/dist/browser/operations/domainServices.js.map +1 -0
- package/dist/browser/operations/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/ouContainerOperationGrp.d.ts +3 -3
- package/dist/browser/operations/ouContainerOperationGrp.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/ouContainerOperationGrp.js +113 -125
- package/dist/browser/operations/ouContainerOperationGrp.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/ouContainerOperations.d.ts +3 -3
- package/dist/browser/operations/ouContainerOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/ouContainerOperations.js +3 -3
- package/dist/browser/operations/ouContainerOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/domainServiceOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/domainServiceOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/domainServices.d.ts +1 -1
- package/dist/browser/operationsInterfaces/domainServices.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/domainServices.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/ouContainerOperationGrp.d.ts +1 -1
- package/dist/browser/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/ouContainerOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/ouContainerOperations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/domainServicesResourceProvider.d.ts +24 -0
- package/dist/commonjs/domainServicesResourceProvider.d.ts.map +1 -0
- package/dist/commonjs/domainServicesResourceProvider.js +106 -0
- package/dist/commonjs/domainServicesResourceProvider.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-domainservices.d.ts → dist/commonjs/models/index.d.ts} +802 -1107
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +135 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +27 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1018 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +13 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +120 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/domainServiceOperations.d.ts +32 -0
- package/dist/commonjs/operations/domainServiceOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/domainServiceOperations.js +138 -0
- package/dist/commonjs/operations/domainServiceOperations.js.map +1 -0
- package/dist/commonjs/operations/domainServices.d.ts +127 -0
- package/dist/commonjs/operations/domainServices.d.ts.map +1 -0
- package/dist/commonjs/operations/domainServices.js +545 -0
- package/dist/commonjs/operations/domainServices.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/ouContainerOperationGrp.d.ts +111 -0
- package/dist/commonjs/operations/ouContainerOperationGrp.d.ts.map +1 -0
- package/dist/commonjs/operations/ouContainerOperationGrp.js +453 -0
- package/dist/commonjs/operations/ouContainerOperationGrp.js.map +1 -0
- package/dist/commonjs/operations/ouContainerOperations.d.ts +32 -0
- package/dist/commonjs/operations/ouContainerOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/ouContainerOperations.js +138 -0
- package/dist/commonjs/operations/ouContainerOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/domainServiceOperations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/domainServiceOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/domainServiceOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/domainServices.d.ts +87 -0
- package/dist/commonjs/operationsInterfaces/domainServices.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/domainServices.js +10 -0
- package/dist/commonjs/operationsInterfaces/domainServices.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
- package/dist/commonjs/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/ouContainerOperationGrp.js +10 -0
- package/dist/commonjs/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/ouContainerOperations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/ouContainerOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/ouContainerOperations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/domainServicesResourceProvider.d.ts +24 -0
- package/dist/esm/domainServicesResourceProvider.d.ts.map +1 -0
- package/dist/esm/domainServicesResourceProvider.js +101 -0
- package/dist/esm/domainServicesResourceProvider.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/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +802 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +132 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +27 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1015 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +13 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +117 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/domainServiceOperations.d.ts +32 -0
- package/dist/esm/operations/domainServiceOperations.d.ts.map +1 -0
- package/dist/esm/operations/domainServiceOperations.js +134 -0
- package/dist/esm/operations/domainServiceOperations.js.map +1 -0
- package/dist/esm/operations/domainServices.d.ts +127 -0
- package/dist/esm/operations/domainServices.d.ts.map +1 -0
- package/dist/esm/operations/domainServices.js +541 -0
- package/dist/esm/operations/domainServices.js.map +1 -0
- package/dist/esm/operations/index.d.ts +5 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +12 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/ouContainerOperationGrp.d.ts +111 -0
- package/dist/esm/operations/ouContainerOperationGrp.d.ts.map +1 -0
- package/dist/esm/operations/ouContainerOperationGrp.js +449 -0
- package/dist/esm/operations/ouContainerOperationGrp.js.map +1 -0
- package/dist/esm/operations/ouContainerOperations.d.ts +32 -0
- package/dist/esm/operations/ouContainerOperations.d.ts.map +1 -0
- package/dist/esm/operations/ouContainerOperations.js +134 -0
- package/dist/esm/operations/ouContainerOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/domainServiceOperations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/domainServiceOperations.js +9 -0
- package/dist/esm/operationsInterfaces/domainServiceOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/domainServices.d.ts +87 -0
- package/dist/esm/operationsInterfaces/domainServices.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/domainServices.js +9 -0
- package/dist/esm/operationsInterfaces/domainServices.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +12 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
- package/dist/esm/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/ouContainerOperationGrp.js +9 -0
- package/dist/esm/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
- package/dist/esm/operationsInterfaces/ouContainerOperations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/ouContainerOperations.js +9 -0
- package/dist/esm/operationsInterfaces/ouContainerOperations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/domainServicesResourceProvider.d.ts +24 -0
- package/dist/react-native/domainServicesResourceProvider.d.ts.map +1 -0
- package/dist/react-native/domainServicesResourceProvider.js +101 -0
- package/dist/react-native/domainServicesResourceProvider.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/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +802 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +132 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +27 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1015 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +13 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +117 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/domainServiceOperations.d.ts +32 -0
- package/dist/react-native/operations/domainServiceOperations.d.ts.map +1 -0
- package/dist/react-native/operations/domainServiceOperations.js +134 -0
- package/dist/react-native/operations/domainServiceOperations.js.map +1 -0
- package/dist/react-native/operations/domainServices.d.ts +127 -0
- package/dist/react-native/operations/domainServices.d.ts.map +1 -0
- package/dist/react-native/operations/domainServices.js +541 -0
- package/dist/react-native/operations/domainServices.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +5 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +12 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/ouContainerOperationGrp.d.ts +111 -0
- package/dist/react-native/operations/ouContainerOperationGrp.d.ts.map +1 -0
- package/dist/react-native/operations/ouContainerOperationGrp.js +449 -0
- package/dist/react-native/operations/ouContainerOperationGrp.js.map +1 -0
- package/dist/react-native/operations/ouContainerOperations.d.ts +32 -0
- package/dist/react-native/operations/ouContainerOperations.d.ts.map +1 -0
- package/dist/react-native/operations/ouContainerOperations.js +134 -0
- package/dist/react-native/operations/ouContainerOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/domainServiceOperations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/domainServiceOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/domainServiceOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/domainServices.d.ts +87 -0
- package/dist/react-native/operationsInterfaces/domainServices.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/domainServices.js +9 -0
- package/dist/react-native/operationsInterfaces/domainServices.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +12 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
- package/dist/react-native/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/ouContainerOperationGrp.js +9 -0
- package/dist/react-native/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
- package/dist/react-native/operationsInterfaces/ouContainerOperations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/ouContainerOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/ouContainerOperations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +65 -35
- package/dist/index.js +0 -2742
- 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/domainServiceOperationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/domainServiceOperationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/domainServiceOperationsListSample.js +0 -45
- package/dist-esm/samples-dev/domainServiceOperationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/domainServicesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/domainServicesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/domainServicesCreateOrUpdateSample.js +0 -57
- package/dist-esm/samples-dev/domainServicesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/domainServicesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/domainServicesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/domainServicesDeleteSample.js +0 -31
- package/dist-esm/samples-dev/domainServicesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/domainServicesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/domainServicesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/domainServicesGetSample.js +0 -31
- package/dist-esm/samples-dev/domainServicesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/domainServicesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/domainServicesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/domainServicesListByResourceGroupSample.js +0 -46
- package/dist-esm/samples-dev/domainServicesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/domainServicesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/domainServicesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/domainServicesListSample.js +0 -45
- package/dist-esm/samples-dev/domainServicesListSample.js.map +0 -1
- package/dist-esm/samples-dev/domainServicesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/domainServicesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/domainServicesUpdateSample.js +0 -71
- package/dist-esm/samples-dev/domainServicesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/ouContainerCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/ouContainerCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ouContainerCreateSample.js +0 -37
- package/dist-esm/samples-dev/ouContainerCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/ouContainerDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/ouContainerDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ouContainerDeleteSample.js +0 -32
- package/dist-esm/samples-dev/ouContainerDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/ouContainerGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/ouContainerGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ouContainerGetSample.js +0 -32
- package/dist-esm/samples-dev/ouContainerGetSample.js.map +0 -1
- package/dist-esm/samples-dev/ouContainerListSample.d.ts +0 -2
- package/dist-esm/samples-dev/ouContainerListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ouContainerListSample.js +0 -47
- package/dist-esm/samples-dev/ouContainerListSample.js.map +0 -1
- package/dist-esm/samples-dev/ouContainerOperationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/ouContainerOperationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ouContainerOperationsListSample.js +0 -45
- package/dist-esm/samples-dev/ouContainerOperationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/ouContainerUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/ouContainerUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ouContainerUpdateSample.js +0 -37
- package/dist-esm/samples-dev/ouContainerUpdateSample.js.map +0 -1
- package/dist-esm/src/domainServicesResourceProvider.d.ts.map +0 -1
- package/dist-esm/src/domainServicesResourceProvider.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/domainServiceOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/domainServiceOperations.js.map +0 -1
- package/dist-esm/src/operations/domainServices.d.ts.map +0 -1
- package/dist-esm/src/operations/domainServices.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/ouContainerOperationGrp.d.ts.map +0 -1
- package/dist-esm/src/operations/ouContainerOperationGrp.js.map +0 -1
- package/dist-esm/src/operations/ouContainerOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/ouContainerOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/domainServiceOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/domainServices.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/domainServices.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/ouContainerOperations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/domainServicesResourceProvider.ts +0 -157
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -902
- package/src/models/mappers.ts +0 -1069
- package/src/models/parameters.ts +0 -136
- package/src/operations/domainServiceOperations.ts +0 -150
- package/src/operations/domainServices.ts +0 -725
- package/src/operations/index.ts +0 -12
- package/src/operations/ouContainerOperationGrp.ts +0 -648
- package/src/operations/ouContainerOperations.ts +0 -150
- package/src/operationsInterfaces/domainServiceOperations.ts +0 -25
- package/src/operationsInterfaces/domainServices.ts +0 -154
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/ouContainerOperationGrp.ts +0 -157
- package/src/operationsInterfaces/ouContainerOperations.ts +0 -25
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/domainServiceOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/domainServices.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/ouContainerOperationGrp.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/ouContainerOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { OuContainerOperations } from "../operationsInterfaces/index.js";
|
3
|
+
import { DomainServicesResourceProvider } from "../domainServicesResourceProvider.js";
|
4
|
+
import { OperationEntity, OuContainerOperationsListOptionalParams } from "../models/index.js";
|
5
|
+
/** Class containing OuContainerOperations operations. */
|
6
|
+
export declare class OuContainerOperationsImpl implements OuContainerOperations {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class OuContainerOperations class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: DomainServicesResourceProvider);
|
13
|
+
/**
|
14
|
+
* Lists all the available OuContainer operations.
|
15
|
+
* @param options The options parameters.
|
16
|
+
*/
|
17
|
+
list(options?: OuContainerOperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
|
18
|
+
private listPagingPage;
|
19
|
+
private listPagingAll;
|
20
|
+
/**
|
21
|
+
* Lists all the available OuContainer operations.
|
22
|
+
* @param options The options parameters.
|
23
|
+
*/
|
24
|
+
private _list;
|
25
|
+
/**
|
26
|
+
* ListNext
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
private _listNext;
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=ouContainerOperations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ouContainerOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/ouContainerOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAIzE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EACL,eAAe,EAEf,uCAAuC,EAGxC,MAAM,oBAAoB,CAAC;AAG5B,yDAAyD;AACzD,qBAAa,yBAA0B,YAAW,qBAAqB;IACrE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,eAAe,CAAC;YAkB/B,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
@@ -0,0 +1,138 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.OuContainerOperationsImpl = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
17
|
+
/** Class containing OuContainerOperations operations. */
|
18
|
+
class OuContainerOperationsImpl {
|
19
|
+
/**
|
20
|
+
* Initialize a new instance of the class OuContainerOperations class.
|
21
|
+
* @param client Reference to the service client
|
22
|
+
*/
|
23
|
+
constructor(client) {
|
24
|
+
this.client = client;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Lists all the available OuContainer operations.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
list(options) {
|
31
|
+
const iter = this.listPagingAll(options);
|
32
|
+
return {
|
33
|
+
next() {
|
34
|
+
return iter.next();
|
35
|
+
},
|
36
|
+
[Symbol.asyncIterator]() {
|
37
|
+
return this;
|
38
|
+
},
|
39
|
+
byPage: (settings) => {
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
42
|
+
}
|
43
|
+
return this.listPagingPage(options, settings);
|
44
|
+
}
|
45
|
+
};
|
46
|
+
}
|
47
|
+
listPagingPage(options, settings) {
|
48
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
49
|
+
let result;
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
51
|
+
if (!continuationToken) {
|
52
|
+
result = yield tslib_1.__await(this._list(options));
|
53
|
+
let page = result.value || [];
|
54
|
+
continuationToken = result.nextLink;
|
55
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
56
|
+
yield yield tslib_1.__await(page);
|
57
|
+
}
|
58
|
+
while (continuationToken) {
|
59
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
60
|
+
continuationToken = result.nextLink;
|
61
|
+
let page = result.value || [];
|
62
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
63
|
+
yield yield tslib_1.__await(page);
|
64
|
+
}
|
65
|
+
});
|
66
|
+
}
|
67
|
+
listPagingAll(options) {
|
68
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
69
|
+
var _a, e_1, _b, _c;
|
70
|
+
try {
|
71
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
72
|
+
_c = _f.value;
|
73
|
+
_d = false;
|
74
|
+
const page = _c;
|
75
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
76
|
+
}
|
77
|
+
}
|
78
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
79
|
+
finally {
|
80
|
+
try {
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
82
|
+
}
|
83
|
+
finally { if (e_1) throw e_1.error; }
|
84
|
+
}
|
85
|
+
});
|
86
|
+
}
|
87
|
+
/**
|
88
|
+
* Lists all the available OuContainer operations.
|
89
|
+
* @param options The options parameters.
|
90
|
+
*/
|
91
|
+
_list(options) {
|
92
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
93
|
+
}
|
94
|
+
/**
|
95
|
+
* ListNext
|
96
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
97
|
+
* @param options The options parameters.
|
98
|
+
*/
|
99
|
+
_listNext(nextLink, options) {
|
100
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
101
|
+
}
|
102
|
+
}
|
103
|
+
exports.OuContainerOperationsImpl = OuContainerOperationsImpl;
|
104
|
+
// Operation Specifications
|
105
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
106
|
+
const listOperationSpec = {
|
107
|
+
path: "/providers/Microsoft.Aad/operations",
|
108
|
+
httpMethod: "GET",
|
109
|
+
responses: {
|
110
|
+
200: {
|
111
|
+
bodyMapper: Mappers.OperationEntityListResult
|
112
|
+
},
|
113
|
+
default: {
|
114
|
+
bodyMapper: Mappers.CloudError
|
115
|
+
}
|
116
|
+
},
|
117
|
+
queryParameters: [Parameters.apiVersion],
|
118
|
+
urlParameters: [Parameters.$host],
|
119
|
+
headerParameters: [Parameters.accept],
|
120
|
+
serializer
|
121
|
+
};
|
122
|
+
const listNextOperationSpec = {
|
123
|
+
path: "{nextLink}",
|
124
|
+
httpMethod: "GET",
|
125
|
+
responses: {
|
126
|
+
200: {
|
127
|
+
bodyMapper: Mappers.OperationEntityListResult
|
128
|
+
},
|
129
|
+
default: {
|
130
|
+
bodyMapper: Mappers.CloudError
|
131
|
+
}
|
132
|
+
},
|
133
|
+
queryParameters: [Parameters.apiVersion],
|
134
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
135
|
+
headerParameters: [Parameters.accept],
|
136
|
+
serializer
|
137
|
+
};
|
138
|
+
//# sourceMappingURL=ouContainerOperations.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ouContainerOperations.js","sourceRoot":"","sources":["../../../src/operations/ouContainerOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,yDAAyD;AACzD,MAAa,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAiD;QAEjD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAiD,EACjD,QAAuB;;YAEvB,IAAI,MAAyC,CAAC;YAC9C,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;gBACnC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAA,sCAAoB,EAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,4BAAM,IAAI,CAAA,CAAC;YACb,CAAC;YACD,OAAO,iBAAiB,EAAE,CAAC;gBACzB,MAAM,GAAG,sBAAM,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA,CAAC;gBAC1D,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,IAAA,sCAAoB,EAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,4BAAM,IAAI,CAAA,CAAC;YACb,CAAC;QACH,CAAC;KAAA;IAEc,aAAa,CAC1B,OAAiD;;;;gBAEjD,KAAyB,eAAA,KAAA,sBAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,IAAA,uEAAE,CAAC;oBAA/B,cAA4B;oBAA5B,WAA4B;oBAA1C,MAAM,IAAI,KAAA,CAAA;oBACnB,sBAAA,KAAK,CAAC,CAAC,yBAAA,sBAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;OAGG;IACK,KAAK,CACX,OAAiD;QAEjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAAqD;QAErD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AAzFD,8DAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,qCAAqC;IAC3C,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,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,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { OuContainerOperations } 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 { DomainServicesResourceProvider } from \"../domainServicesResourceProvider.js\";\nimport {\n OperationEntity,\n OuContainerOperationsListNextOptionalParams,\n OuContainerOperationsListOptionalParams,\n OuContainerOperationsListResponse,\n OuContainerOperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing OuContainerOperations operations. */\nexport class OuContainerOperationsImpl implements OuContainerOperations {\n private readonly client: DomainServicesResourceProvider;\n\n /**\n * Initialize a new instance of the class OuContainerOperations class.\n * @param client Reference to the service client\n */\n constructor(client: DomainServicesResourceProvider) {\n this.client = client;\n }\n\n /**\n * Lists all the available OuContainer operations.\n * @param options The options parameters.\n */\n public list(\n options?: OuContainerOperationsListOptionalParams\n ): PagedAsyncIterableIterator<OperationEntity> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OuContainerOperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<OperationEntity[]> {\n let result: OuContainerOperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OuContainerOperationsListOptionalParams\n ): AsyncIterableIterator<OperationEntity> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the available OuContainer operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OuContainerOperationsListOptionalParams\n ): Promise<OuContainerOperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\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 nextLink: string,\n options?: OuContainerOperationsListNextOptionalParams\n ): Promise<OuContainerOperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Aad/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationEntityListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationEntityListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { OperationEntity, DomainServiceOperationsListOptionalParams } from "../models/index.js";
|
3
|
+
/** Interface representing a DomainServiceOperations. */
|
4
|
+
export interface DomainServiceOperations {
|
5
|
+
/**
|
6
|
+
* Lists all the available Domain Services operations.
|
7
|
+
* @param options The options parameters.
|
8
|
+
*/
|
9
|
+
list(options?: DomainServiceOperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=domainServiceOperations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"domainServiceOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainServiceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,eAAe,EACf,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,eAAe,CAAC,CAAC;CAChD"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=domainServiceOperations.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"domainServiceOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainServiceOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n OperationEntity,\n DomainServiceOperationsListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DomainServiceOperations. */\nexport interface DomainServiceOperations {\n /**\n * Lists all the available Domain Services operations.\n * @param options The options parameters.\n */\n list(\n options?: DomainServiceOperationsListOptionalParams\n ): PagedAsyncIterableIterator<OperationEntity>;\n}\n"]}
|
@@ -0,0 +1,87 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
3
|
+
import { DomainService, DomainServicesListOptionalParams, DomainServicesListByResourceGroupOptionalParams, DomainServicesCreateOrUpdateOptionalParams, DomainServicesCreateOrUpdateResponse, DomainServicesGetOptionalParams, DomainServicesGetResponse, DomainServicesDeleteOptionalParams, DomainServicesUpdateOptionalParams, DomainServicesUpdateResponse } from "../models/index.js";
|
4
|
+
/** Interface representing a DomainServices. */
|
5
|
+
export interface DomainServices {
|
6
|
+
/**
|
7
|
+
* The List Domain Services in Subscription operation lists all the domain services available under the
|
8
|
+
* given subscription (and across all resource groups within that subscription).
|
9
|
+
* @param options The options parameters.
|
10
|
+
*/
|
11
|
+
list(options?: DomainServicesListOptionalParams): PagedAsyncIterableIterator<DomainService>;
|
12
|
+
/**
|
13
|
+
* The List Domain Services in Resource Group operation lists all the domain services available under
|
14
|
+
* the given resource group.
|
15
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
16
|
+
* case insensitive.
|
17
|
+
* @param options The options parameters.
|
18
|
+
*/
|
19
|
+
listByResourceGroup(resourceGroupName: string, options?: DomainServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DomainService>;
|
20
|
+
/**
|
21
|
+
* The Create Domain Service operation creates a new domain service with the specified parameters. If
|
22
|
+
* the specific service already exists, then any patchable properties will be updated and any immutable
|
23
|
+
* properties will remain unchanged.
|
24
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
25
|
+
* case insensitive.
|
26
|
+
* @param domainServiceName The name of the domain service.
|
27
|
+
* @param domainService Properties supplied to the Create or Update a Domain Service operation.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
beginCreateOrUpdate(resourceGroupName: string, domainServiceName: string, domainService: DomainService, options?: DomainServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DomainServicesCreateOrUpdateResponse>, DomainServicesCreateOrUpdateResponse>>;
|
31
|
+
/**
|
32
|
+
* The Create Domain Service operation creates a new domain service with the specified parameters. If
|
33
|
+
* the specific service already exists, then any patchable properties will be updated and any immutable
|
34
|
+
* properties will remain unchanged.
|
35
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
36
|
+
* case insensitive.
|
37
|
+
* @param domainServiceName The name of the domain service.
|
38
|
+
* @param domainService Properties supplied to the Create or Update a Domain Service operation.
|
39
|
+
* @param options The options parameters.
|
40
|
+
*/
|
41
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, domainServiceName: string, domainService: DomainService, options?: DomainServicesCreateOrUpdateOptionalParams): Promise<DomainServicesCreateOrUpdateResponse>;
|
42
|
+
/**
|
43
|
+
* The Get Domain Service operation retrieves a json representation of the Domain Service.
|
44
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
45
|
+
* case insensitive.
|
46
|
+
* @param domainServiceName The name of the domain service.
|
47
|
+
* @param options The options parameters.
|
48
|
+
*/
|
49
|
+
get(resourceGroupName: string, domainServiceName: string, options?: DomainServicesGetOptionalParams): Promise<DomainServicesGetResponse>;
|
50
|
+
/**
|
51
|
+
* The Delete Domain Service operation deletes an existing Domain Service.
|
52
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
53
|
+
* case insensitive.
|
54
|
+
* @param domainServiceName The name of the domain service.
|
55
|
+
* @param options The options parameters.
|
56
|
+
*/
|
57
|
+
beginDelete(resourceGroupName: string, domainServiceName: string, options?: DomainServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
58
|
+
/**
|
59
|
+
* The Delete Domain Service operation deletes an existing Domain Service.
|
60
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
61
|
+
* case insensitive.
|
62
|
+
* @param domainServiceName The name of the domain service.
|
63
|
+
* @param options The options parameters.
|
64
|
+
*/
|
65
|
+
beginDeleteAndWait(resourceGroupName: string, domainServiceName: string, options?: DomainServicesDeleteOptionalParams): Promise<void>;
|
66
|
+
/**
|
67
|
+
* The Update Domain Service operation can be used to update the existing deployment. The update call
|
68
|
+
* only supports the properties listed in the PATCH body.
|
69
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
70
|
+
* case insensitive.
|
71
|
+
* @param domainServiceName The name of the domain service.
|
72
|
+
* @param domainService Properties supplied to the Update a Domain Service operation.
|
73
|
+
* @param options The options parameters.
|
74
|
+
*/
|
75
|
+
beginUpdate(resourceGroupName: string, domainServiceName: string, domainService: DomainService, options?: DomainServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<DomainServicesUpdateResponse>, DomainServicesUpdateResponse>>;
|
76
|
+
/**
|
77
|
+
* The Update Domain Service operation can be used to update the existing deployment. The update call
|
78
|
+
* only supports the properties listed in the PATCH body.
|
79
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
80
|
+
* case insensitive.
|
81
|
+
* @param domainServiceName The name of the domain service.
|
82
|
+
* @param domainService Properties supplied to the Update a Domain Service operation.
|
83
|
+
* @param options The options parameters.
|
84
|
+
*/
|
85
|
+
beginUpdateAndWait(resourceGroupName: string, domainServiceName: string, domainService: DomainService, options?: DomainServicesUpdateOptionalParams): Promise<DomainServicesUpdateResponse>;
|
86
|
+
}
|
87
|
+
//# sourceMappingURL=domainServices.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"domainServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,aAAa,EACb,gCAAgC,EAChC,+CAA+C,EAC/C,0CAA0C,EAC1C,oCAAoC,EACpC,+BAA+B,EAC/B,yBAAyB,EACzB,kCAAkC,EAClC,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;;;;;OASG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,oCAAoC,CAAC,EACxD,oCAAoC,CACrC,CACF,CAAC;IACF;;;;;;;;;OASG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,4BAA4B,CAAC,EAChD,4BAA4B,CAC7B,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;CAC1C"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=domainServices.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"domainServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainServices.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n DomainService,\n DomainServicesListOptionalParams,\n DomainServicesListByResourceGroupOptionalParams,\n DomainServicesCreateOrUpdateOptionalParams,\n DomainServicesCreateOrUpdateResponse,\n DomainServicesGetOptionalParams,\n DomainServicesGetResponse,\n DomainServicesDeleteOptionalParams,\n DomainServicesUpdateOptionalParams,\n DomainServicesUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DomainServices. */\nexport interface DomainServices {\n /**\n * The List Domain Services in Subscription operation lists all the domain services available under the\n * given subscription (and across all resource groups within that subscription).\n * @param options The options parameters.\n */\n list(\n options?: DomainServicesListOptionalParams\n ): PagedAsyncIterableIterator<DomainService>;\n /**\n * The List Domain Services in Resource Group operation lists all the domain services available under\n * the given resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: DomainServicesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<DomainService>;\n /**\n * The Create Domain Service operation creates a new domain service with the specified parameters. If\n * the specific service already exists, then any patchable properties will be updated and any immutable\n * properties will remain unchanged.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param domainService Properties supplied to the Create or Update a Domain Service operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n domainServiceName: string,\n domainService: DomainService,\n options?: DomainServicesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<DomainServicesCreateOrUpdateResponse>,\n DomainServicesCreateOrUpdateResponse\n >\n >;\n /**\n * The Create Domain Service operation creates a new domain service with the specified parameters. If\n * the specific service already exists, then any patchable properties will be updated and any immutable\n * properties will remain unchanged.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param domainService Properties supplied to the Create or Update a Domain Service operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n domainService: DomainService,\n options?: DomainServicesCreateOrUpdateOptionalParams\n ): Promise<DomainServicesCreateOrUpdateResponse>;\n /**\n * The Get Domain Service operation retrieves a json representation of the Domain Service.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n domainServiceName: string,\n options?: DomainServicesGetOptionalParams\n ): Promise<DomainServicesGetResponse>;\n /**\n * The Delete Domain Service operation deletes an existing Domain Service.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n domainServiceName: string,\n options?: DomainServicesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * The Delete Domain Service operation deletes an existing Domain Service.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n options?: DomainServicesDeleteOptionalParams\n ): Promise<void>;\n /**\n * The Update Domain Service operation can be used to update the existing deployment. The update call\n * only supports the properties listed in the PATCH body.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param domainService Properties supplied to the Update a Domain Service operation.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n domainServiceName: string,\n domainService: DomainService,\n options?: DomainServicesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<DomainServicesUpdateResponse>,\n DomainServicesUpdateResponse\n >\n >;\n /**\n * The Update Domain Service operation can be used to update the existing deployment. The update call\n * only supports the properties listed in the PATCH body.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param domainService Properties supplied to the Update a Domain Service operation.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n domainService: DomainService,\n options?: DomainServicesUpdateOptionalParams\n ): Promise<DomainServicesUpdateResponse>;\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
const tslib_1 = require("tslib");
|
11
|
+
tslib_1.__exportStar(require("./domainServiceOperations.js"), exports);
|
12
|
+
tslib_1.__exportStar(require("./domainServices.js"), exports);
|
13
|
+
tslib_1.__exportStar(require("./ouContainerOperations.js"), exports);
|
14
|
+
tslib_1.__exportStar(require("./ouContainerOperationGrp.js"), exports);
|
15
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,uEAA6C;AAC7C,8DAAoC;AACpC,qEAA2C;AAC3C,uEAA6C","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 \"./domainServiceOperations.js\";\nexport * from \"./domainServices.js\";\nexport * from \"./ouContainerOperations.js\";\nexport * from \"./ouContainerOperationGrp.js\";\n"]}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
3
|
+
import { OuContainer, OuContainerListOptionalParams, OuContainerGetOptionalParams, OuContainerGetResponse, ContainerAccount, OuContainerCreateOptionalParams, OuContainerCreateResponse, OuContainerDeleteOptionalParams, OuContainerUpdateOptionalParams, OuContainerUpdateResponse } from "../models/index.js";
|
4
|
+
/** Interface representing a OuContainerOperationGrp. */
|
5
|
+
export interface OuContainerOperationGrp {
|
6
|
+
/**
|
7
|
+
* The List of OuContainers in DomainService instance.
|
8
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
9
|
+
* case insensitive.
|
10
|
+
* @param domainServiceName The name of the domain service.
|
11
|
+
* @param options The options parameters.
|
12
|
+
*/
|
13
|
+
list(resourceGroupName: string, domainServiceName: string, options?: OuContainerListOptionalParams): PagedAsyncIterableIterator<OuContainer>;
|
14
|
+
/**
|
15
|
+
* Get OuContainer in DomainService instance.
|
16
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
17
|
+
* case insensitive.
|
18
|
+
* @param domainServiceName The name of the domain service.
|
19
|
+
* @param ouContainerName The name of the OuContainer.
|
20
|
+
* @param options The options parameters.
|
21
|
+
*/
|
22
|
+
get(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerGetOptionalParams): Promise<OuContainerGetResponse>;
|
23
|
+
/**
|
24
|
+
* The Create OuContainer operation creates a new OuContainer under the specified Domain Service
|
25
|
+
* instance.
|
26
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
27
|
+
* case insensitive.
|
28
|
+
* @param domainServiceName The name of the domain service.
|
29
|
+
* @param ouContainerName The name of the OuContainer.
|
30
|
+
* @param containerAccount Container Account Description.
|
31
|
+
* @param options The options parameters.
|
32
|
+
*/
|
33
|
+
beginCreate(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerCreateOptionalParams): Promise<PollerLike<PollOperationState<OuContainerCreateResponse>, OuContainerCreateResponse>>;
|
34
|
+
/**
|
35
|
+
* The Create OuContainer operation creates a new OuContainer under the specified Domain Service
|
36
|
+
* instance.
|
37
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
38
|
+
* case insensitive.
|
39
|
+
* @param domainServiceName The name of the domain service.
|
40
|
+
* @param ouContainerName The name of the OuContainer.
|
41
|
+
* @param containerAccount Container Account Description.
|
42
|
+
* @param options The options parameters.
|
43
|
+
*/
|
44
|
+
beginCreateAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerCreateOptionalParams): Promise<OuContainerCreateResponse>;
|
45
|
+
/**
|
46
|
+
* The Delete OuContainer operation deletes specified OuContainer.
|
47
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
48
|
+
* case insensitive.
|
49
|
+
* @param domainServiceName The name of the domain service.
|
50
|
+
* @param ouContainerName The name of the OuContainer.
|
51
|
+
* @param options The options parameters.
|
52
|
+
*/
|
53
|
+
beginDelete(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
54
|
+
/**
|
55
|
+
* The Delete OuContainer operation deletes specified OuContainer.
|
56
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
57
|
+
* case insensitive.
|
58
|
+
* @param domainServiceName The name of the domain service.
|
59
|
+
* @param ouContainerName The name of the OuContainer.
|
60
|
+
* @param options The options parameters.
|
61
|
+
*/
|
62
|
+
beginDeleteAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerDeleteOptionalParams): Promise<void>;
|
63
|
+
/**
|
64
|
+
* The Update OuContainer operation can be used to update the existing OuContainers.
|
65
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
66
|
+
* case insensitive.
|
67
|
+
* @param domainServiceName The name of the domain service.
|
68
|
+
* @param ouContainerName The name of the OuContainer.
|
69
|
+
* @param containerAccount Container Account Description.
|
70
|
+
* @param options The options parameters.
|
71
|
+
*/
|
72
|
+
beginUpdate(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerUpdateOptionalParams): Promise<PollerLike<PollOperationState<OuContainerUpdateResponse>, OuContainerUpdateResponse>>;
|
73
|
+
/**
|
74
|
+
* The Update OuContainer operation can be used to update the existing OuContainers.
|
75
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
76
|
+
* case insensitive.
|
77
|
+
* @param domainServiceName The name of the domain service.
|
78
|
+
* @param ouContainerName The name of the OuContainer.
|
79
|
+
* @param containerAccount Container Account Description.
|
80
|
+
* @param options The options parameters.
|
81
|
+
*/
|
82
|
+
beginUpdateAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerUpdateOptionalParams): Promise<OuContainerUpdateResponse>;
|
83
|
+
}
|
84
|
+
//# sourceMappingURL=ouContainerOperationGrp.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ouContainerOperationGrp.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ouContainerOperationGrp.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,WAAW,EACX,6BAA6B,EAC7B,4BAA4B,EAC5B,sBAAsB,EACtB,gBAAgB,EAChB,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;;;;OASG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,yBAAyB,CAAC,EAC7C,yBAAyB,CAC1B,CACF,CAAC;IACF;;;;;;;;;OASG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,yBAAyB,CAAC,EAC7C,yBAAyB,CAC1B,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=ouContainerOperationGrp.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ouContainerOperationGrp.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/ouContainerOperationGrp.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n OuContainer,\n OuContainerListOptionalParams,\n OuContainerGetOptionalParams,\n OuContainerGetResponse,\n ContainerAccount,\n OuContainerCreateOptionalParams,\n OuContainerCreateResponse,\n OuContainerDeleteOptionalParams,\n OuContainerUpdateOptionalParams,\n OuContainerUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a OuContainerOperationGrp. */\nexport interface OuContainerOperationGrp {\n /**\n * The List of OuContainers in DomainService instance.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n domainServiceName: string,\n options?: OuContainerListOptionalParams\n ): PagedAsyncIterableIterator<OuContainer>;\n /**\n * Get OuContainer in DomainService instance.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n options?: OuContainerGetOptionalParams\n ): Promise<OuContainerGetResponse>;\n /**\n * The Create OuContainer operation creates a new OuContainer under the specified Domain Service\n * instance.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param containerAccount Container Account Description.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<OuContainerCreateResponse>,\n OuContainerCreateResponse\n >\n >;\n /**\n * The Create OuContainer operation creates a new OuContainer under the specified Domain Service\n * instance.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param containerAccount Container Account Description.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerCreateOptionalParams\n ): Promise<OuContainerCreateResponse>;\n /**\n * The Delete OuContainer operation deletes specified OuContainer.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n options?: OuContainerDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * The Delete OuContainer operation deletes specified OuContainer.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n options?: OuContainerDeleteOptionalParams\n ): Promise<void>;\n /**\n * The Update OuContainer operation can be used to update the existing OuContainers.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param containerAccount Container Account Description.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<OuContainerUpdateResponse>,\n OuContainerUpdateResponse\n >\n >;\n /**\n * The Update OuContainer operation can be used to update the existing OuContainers.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param containerAccount Container Account Description.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerUpdateOptionalParams\n ): Promise<OuContainerUpdateResponse>;\n}\n"]}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { OperationEntity, OuContainerOperationsListOptionalParams } from "../models/index.js";
|
3
|
+
/** Interface representing a OuContainerOperations. */
|
4
|
+
export interface OuContainerOperations {
|
5
|
+
/**
|
6
|
+
* Lists all the available OuContainer operations.
|
7
|
+
* @param options The options parameters.
|
8
|
+
*/
|
9
|
+
list(options?: OuContainerOperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=ouContainerOperations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ouContainerOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ouContainerOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,eAAe,EACf,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,eAAe,CAAC,CAAC;CAChD"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=ouContainerOperations.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ouContainerOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/ouContainerOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n OperationEntity,\n OuContainerOperationsListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a OuContainerOperations. */\nexport interface OuContainerOperations {\n /**\n * Lists all the available OuContainer operations.\n * @param options The options parameters.\n */\n list(\n options?: OuContainerOperationsListOptionalParams\n ): PagedAsyncIterableIterator<OperationEntity>;\n}\n"]}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface PageInfo {
|
2
|
+
continuationToken?: string;
|
3
|
+
}
|
4
|
+
/**
|
5
|
+
* Given a result page from a pageable operation, returns a
|
6
|
+
* continuation token that can be used to begin paging from
|
7
|
+
* that point later.
|
8
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
9
|
+
* @returns The continuation token that can be passed into byPage().
|
10
|
+
*/
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.getContinuationToken = getContinuationToken;
|
11
|
+
exports.setContinuationToken = setContinuationToken;
|
12
|
+
const pageMap = new WeakMap();
|
13
|
+
/**
|
14
|
+
* Given a result page from a pageable operation, returns a
|
15
|
+
* continuation token that can be used to begin paging from
|
16
|
+
* that point later.
|
17
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
18
|
+
* @returns The continuation token that can be passed into byPage().
|
19
|
+
*/
|
20
|
+
function getContinuationToken(page) {
|
21
|
+
var _a;
|
22
|
+
if (typeof page !== "object" || page === null) {
|
23
|
+
return undefined;
|
24
|
+
}
|
25
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
26
|
+
}
|
27
|
+
function setContinuationToken(page, continuationToken) {
|
28
|
+
var _a;
|
29
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
30
|
+
return;
|
31
|
+
}
|
32
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
33
|
+
pageInfo.continuationToken = continuationToken;
|
34
|
+
pageMap.set(page, pageInfo);
|
35
|
+
}
|
36
|
+
//# sourceMappingURL=pagingHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|