@azure/arm-domainservices 4.1.1-alpha.20250123.1 → 4.1.1-alpha.20250127.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,24 @@
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
3
|
+
import { DomainServiceOperations, DomainServices, OuContainerOperations, OuContainerOperationGrp } from "./operationsInterfaces/index.js";
|
4
|
+
import { DomainServicesResourceProviderOptionalParams } from "./models/index.js";
|
5
|
+
export declare class DomainServicesResourceProvider extends coreClient.ServiceClient {
|
6
|
+
$host: string;
|
7
|
+
apiVersion: string;
|
8
|
+
subscriptionId: string;
|
9
|
+
/**
|
10
|
+
* Initializes a new instance of the DomainServicesResourceProvider class.
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
12
|
+
* @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure
|
13
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
14
|
+
* @param options The parameter options
|
15
|
+
*/
|
16
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DomainServicesResourceProviderOptionalParams);
|
17
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
18
|
+
private addCustomApiVersionPolicy;
|
19
|
+
domainServiceOperations: DomainServiceOperations;
|
20
|
+
domainServices: DomainServices;
|
21
|
+
ouContainerOperations: OuContainerOperations;
|
22
|
+
ouContainerOperationGrp: OuContainerOperationGrp;
|
23
|
+
}
|
24
|
+
//# sourceMappingURL=domainServicesResourceProvider.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"domainServicesResourceProvider.d.ts","sourceRoot":"","sources":["../../src/domainServicesResourceProvider.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,4CAA4C,EAAE,MAAM,mBAAmB,CAAC;AAEjF,qBAAa,8BAA+B,SAAQ,UAAU,CAAC,aAAa;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4CAA4C;IA+ExD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,cAAc,EAAE,cAAc,CAAC;IAC/B,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,uBAAuB,EAAE,uBAAuB,CAAC;CAClD"}
|
@@ -0,0 +1,101 @@
|
|
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 * as coreClient from "@azure/core-client";
|
9
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
10
|
+
import { DomainServiceOperationsImpl, DomainServicesImpl, OuContainerOperationsImpl, OuContainerOperationGrpImpl } from "./operations/index.js";
|
11
|
+
export class DomainServicesResourceProvider extends coreClient.ServiceClient {
|
12
|
+
/**
|
13
|
+
* Initializes a new instance of the DomainServicesResourceProvider class.
|
14
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
15
|
+
* @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure
|
16
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
17
|
+
* @param options The parameter options
|
18
|
+
*/
|
19
|
+
constructor(credentials, subscriptionId, options) {
|
20
|
+
var _a, _b, _c;
|
21
|
+
if (credentials === undefined) {
|
22
|
+
throw new Error("'credentials' cannot be null");
|
23
|
+
}
|
24
|
+
if (subscriptionId === undefined) {
|
25
|
+
throw new Error("'subscriptionId' cannot be null");
|
26
|
+
}
|
27
|
+
// Initializing default values for options
|
28
|
+
if (!options) {
|
29
|
+
options = {};
|
30
|
+
}
|
31
|
+
const defaults = {
|
32
|
+
requestContentType: "application/json; charset=utf-8",
|
33
|
+
credential: credentials
|
34
|
+
};
|
35
|
+
const packageDetails = `azsdk-js-arm-domainservices/4.1.1`;
|
36
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
37
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
38
|
+
: `${packageDetails}`;
|
39
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
40
|
+
userAgentPrefix
|
41
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
42
|
+
super(optionsWithDefaults);
|
43
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
44
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
45
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
46
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
47
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
48
|
+
}
|
49
|
+
if (!options ||
|
50
|
+
!options.pipeline ||
|
51
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
52
|
+
!bearerTokenAuthenticationPolicyFound) {
|
53
|
+
this.pipeline.removePolicy({
|
54
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
55
|
+
});
|
56
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
57
|
+
credential: credentials,
|
58
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
59
|
+
challengeCallbacks: {
|
60
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
61
|
+
}
|
62
|
+
}));
|
63
|
+
}
|
64
|
+
// Parameter assignments
|
65
|
+
this.subscriptionId = subscriptionId;
|
66
|
+
// Assigning values to Constant parameters
|
67
|
+
this.$host = options.$host || "https://management.azure.com";
|
68
|
+
this.apiVersion = options.apiVersion || "2021-05-01";
|
69
|
+
this.domainServiceOperations = new DomainServiceOperationsImpl(this);
|
70
|
+
this.domainServices = new DomainServicesImpl(this);
|
71
|
+
this.ouContainerOperations = new OuContainerOperationsImpl(this);
|
72
|
+
this.ouContainerOperationGrp = new OuContainerOperationGrpImpl(this);
|
73
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
74
|
+
}
|
75
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
76
|
+
addCustomApiVersionPolicy(apiVersion) {
|
77
|
+
if (!apiVersion) {
|
78
|
+
return;
|
79
|
+
}
|
80
|
+
const apiVersionPolicy = {
|
81
|
+
name: "CustomApiVersionPolicy",
|
82
|
+
async sendRequest(request, next) {
|
83
|
+
const param = request.url.split("?");
|
84
|
+
if (param.length > 1) {
|
85
|
+
const newParams = param[1].split("&").map((item) => {
|
86
|
+
if (item.indexOf("api-version") > -1) {
|
87
|
+
return "api-version=" + apiVersion;
|
88
|
+
}
|
89
|
+
else {
|
90
|
+
return item;
|
91
|
+
}
|
92
|
+
});
|
93
|
+
request.url = param[0] + "?" + newParams.join("&");
|
94
|
+
}
|
95
|
+
return next(request);
|
96
|
+
}
|
97
|
+
};
|
98
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
99
|
+
}
|
100
|
+
}
|
101
|
+
//# sourceMappingURL=domainServicesResourceProvider.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"domainServicesResourceProvider.js","sourceRoot":"","sources":["../../src/domainServicesResourceProvider.ts"],"names":[],"mappings":"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","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n DomainServiceOperationsImpl,\n DomainServicesImpl,\n OuContainerOperationsImpl,\n OuContainerOperationGrpImpl\n} from \"./operations/index.js\";\nimport {\n DomainServiceOperations,\n DomainServices,\n OuContainerOperations,\n OuContainerOperationGrp\n} from \"./operationsInterfaces/index.js\";\nimport { DomainServicesResourceProviderOptionalParams } from \"./models/index.js\";\n\nexport class DomainServicesResourceProvider extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the DomainServicesResourceProvider class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure\n * subscription. The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DomainServicesResourceProviderOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DomainServicesResourceProviderOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-domainservices/4.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-05-01\";\n this.domainServiceOperations = new DomainServiceOperationsImpl(this);\n this.domainServices = new DomainServicesImpl(this);\n this.ouContainerOperations = new OuContainerOperationsImpl(this);\n this.ouContainerOperationGrp = new OuContainerOperationGrpImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n domainServiceOperations: DomainServiceOperations;\n domainServices: DomainServices;\n ouContainerOperations: OuContainerOperations;\n ouContainerOperationGrp: OuContainerOperationGrp;\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,cAAc,iCAAiC,CAAC"}
|
@@ -5,9 +5,9 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
|
9
8
|
/// <reference lib="esnext.asynciterable" />
|
10
|
-
export { getContinuationToken } from "./pagingHelper";
|
11
|
-
export * from "./models";
|
12
|
-
export { DomainServicesResourceProvider } from "./domainServicesResourceProvider";
|
13
|
-
export * from "./operationsInterfaces";
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
10
|
+
export * from "./models/index.js";
|
11
|
+
export { DomainServicesResourceProvider } from "./domainServicesResourceProvider.js";
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
13
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { DomainServicesResourceProvider } from \"./domainServicesResourceProvider.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
2
|
+
export declare class LroImpl<T> implements LongRunningOperation<T> {
|
3
|
+
private sendOperationFn;
|
4
|
+
private args;
|
5
|
+
private spec;
|
6
|
+
requestPath: string;
|
7
|
+
requestMethod: string;
|
8
|
+
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
9
|
+
readonly requestBody?: unknown;
|
10
|
+
readonly path?: string;
|
11
|
+
readonly httpMethod: string;
|
12
|
+
} & Record<string, any>, requestPath?: string, requestMethod?: string);
|
13
|
+
sendInitialRequest(): Promise<LroResponse<T>>;
|
14
|
+
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
|
@@ -0,0 +1,25 @@
|
|
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 { __rest } from "tslib";
|
9
|
+
export class LroImpl {
|
10
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
11
|
+
this.sendOperationFn = sendOperationFn;
|
12
|
+
this.args = args;
|
13
|
+
this.spec = spec;
|
14
|
+
this.requestPath = requestPath;
|
15
|
+
this.requestMethod = requestMethod;
|
16
|
+
}
|
17
|
+
async sendInitialRequest() {
|
18
|
+
return this.sendOperationFn(this.args, this.spec);
|
19
|
+
}
|
20
|
+
async sendPollRequest(path) {
|
21
|
+
const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
|
22
|
+
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
23
|
+
}
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=lroImpl.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,MAAM,OAAO,OAAO;IAClB,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,KAA+B,IAAI,CAAC,IAAI,EAAxC,EAAE,WAAW,OAA2B,EAAtB,QAAQ,cAA1B,eAA4B,CAAY,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,kCAChC,QAAQ,KACX,IAAI,EACJ,UAAU,EAAE,KAAK,IACjB,CAAC;IACL,CAAC;CACF","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|