@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,111 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { OuContainerOperationGrp } from "../operationsInterfaces/index.js";
|
3
|
+
import { DomainServicesResourceProvider } from "../domainServicesResourceProvider.js";
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
5
|
+
import { OuContainer, OuContainerListOptionalParams, OuContainerGetOptionalParams, OuContainerGetResponse, ContainerAccount, OuContainerCreateOptionalParams, OuContainerCreateResponse, OuContainerDeleteOptionalParams, OuContainerUpdateOptionalParams, OuContainerUpdateResponse } from "../models/index.js";
|
6
|
+
/** Class containing OuContainerOperationGrp operations. */
|
7
|
+
export declare class OuContainerOperationGrpImpl implements OuContainerOperationGrp {
|
8
|
+
private readonly client;
|
9
|
+
/**
|
10
|
+
* Initialize a new instance of the class OuContainerOperationGrp class.
|
11
|
+
* @param client Reference to the service client
|
12
|
+
*/
|
13
|
+
constructor(client: DomainServicesResourceProvider);
|
14
|
+
/**
|
15
|
+
* The List of OuContainers 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 options The options parameters.
|
20
|
+
*/
|
21
|
+
list(resourceGroupName: string, domainServiceName: string, options?: OuContainerListOptionalParams): PagedAsyncIterableIterator<OuContainer>;
|
22
|
+
private listPagingPage;
|
23
|
+
private listPagingAll;
|
24
|
+
/**
|
25
|
+
* The List of OuContainers in DomainService 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 options The options parameters.
|
30
|
+
*/
|
31
|
+
private _list;
|
32
|
+
/**
|
33
|
+
* Get OuContainer in DomainService instance.
|
34
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
35
|
+
* case insensitive.
|
36
|
+
* @param domainServiceName The name of the domain service.
|
37
|
+
* @param ouContainerName The name of the OuContainer.
|
38
|
+
* @param options The options parameters.
|
39
|
+
*/
|
40
|
+
get(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerGetOptionalParams): Promise<OuContainerGetResponse>;
|
41
|
+
/**
|
42
|
+
* The Create OuContainer operation creates a new OuContainer under the specified Domain Service
|
43
|
+
* instance.
|
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 ouContainerName The name of the OuContainer.
|
48
|
+
* @param containerAccount Container Account Description.
|
49
|
+
* @param options The options parameters.
|
50
|
+
*/
|
51
|
+
beginCreate(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerCreateOptionalParams): Promise<PollerLike<PollOperationState<OuContainerCreateResponse>, OuContainerCreateResponse>>;
|
52
|
+
/**
|
53
|
+
* The Create OuContainer operation creates a new OuContainer under the specified Domain Service
|
54
|
+
* instance.
|
55
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
56
|
+
* case insensitive.
|
57
|
+
* @param domainServiceName The name of the domain service.
|
58
|
+
* @param ouContainerName The name of the OuContainer.
|
59
|
+
* @param containerAccount Container Account Description.
|
60
|
+
* @param options The options parameters.
|
61
|
+
*/
|
62
|
+
beginCreateAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerCreateOptionalParams): Promise<OuContainerCreateResponse>;
|
63
|
+
/**
|
64
|
+
* The Delete OuContainer operation deletes specified OuContainer.
|
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 options The options parameters.
|
70
|
+
*/
|
71
|
+
beginDelete(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
72
|
+
/**
|
73
|
+
* The Delete OuContainer operation deletes specified OuContainer.
|
74
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
75
|
+
* case insensitive.
|
76
|
+
* @param domainServiceName The name of the domain service.
|
77
|
+
* @param ouContainerName The name of the OuContainer.
|
78
|
+
* @param options The options parameters.
|
79
|
+
*/
|
80
|
+
beginDeleteAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerDeleteOptionalParams): Promise<void>;
|
81
|
+
/**
|
82
|
+
* The Update OuContainer operation can be used to update the existing OuContainers.
|
83
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
84
|
+
* case insensitive.
|
85
|
+
* @param domainServiceName The name of the domain service.
|
86
|
+
* @param ouContainerName The name of the OuContainer.
|
87
|
+
* @param containerAccount Container Account Description.
|
88
|
+
* @param options The options parameters.
|
89
|
+
*/
|
90
|
+
beginUpdate(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerUpdateOptionalParams): Promise<PollerLike<PollOperationState<OuContainerUpdateResponse>, OuContainerUpdateResponse>>;
|
91
|
+
/**
|
92
|
+
* The Update OuContainer operation can be used to update the existing OuContainers.
|
93
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
94
|
+
* case insensitive.
|
95
|
+
* @param domainServiceName The name of the domain service.
|
96
|
+
* @param ouContainerName The name of the OuContainer.
|
97
|
+
* @param containerAccount Container Account Description.
|
98
|
+
* @param options The options parameters.
|
99
|
+
*/
|
100
|
+
beginUpdateAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerUpdateOptionalParams): Promise<OuContainerUpdateResponse>;
|
101
|
+
/**
|
102
|
+
* ListNext
|
103
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
104
|
+
* case insensitive.
|
105
|
+
* @param domainServiceName The name of the domain service.
|
106
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
107
|
+
* @param options The options parameters.
|
108
|
+
*/
|
109
|
+
private _listNext;
|
110
|
+
}
|
111
|
+
//# sourceMappingURL=ouContainerOperationGrp.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"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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.OuContainerOperationGrpImpl = 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
|
+
const core_lro_1 = require("@azure/core-lro");
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
19
|
+
/** Class containing OuContainerOperationGrp operations. */
|
20
|
+
class OuContainerOperationGrpImpl {
|
21
|
+
/**
|
22
|
+
* Initialize a new instance of the class OuContainerOperationGrp class.
|
23
|
+
* @param client Reference to the service client
|
24
|
+
*/
|
25
|
+
constructor(client) {
|
26
|
+
this.client = client;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* The List of OuContainers in DomainService instance.
|
30
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
31
|
+
* case insensitive.
|
32
|
+
* @param domainServiceName The name of the domain service.
|
33
|
+
* @param options The options parameters.
|
34
|
+
*/
|
35
|
+
list(resourceGroupName, domainServiceName, options) {
|
36
|
+
const iter = this.listPagingAll(resourceGroupName, domainServiceName, options);
|
37
|
+
return {
|
38
|
+
next() {
|
39
|
+
return iter.next();
|
40
|
+
},
|
41
|
+
[Symbol.asyncIterator]() {
|
42
|
+
return this;
|
43
|
+
},
|
44
|
+
byPage: (settings) => {
|
45
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
46
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
47
|
+
}
|
48
|
+
return this.listPagingPage(resourceGroupName, domainServiceName, options, settings);
|
49
|
+
}
|
50
|
+
};
|
51
|
+
}
|
52
|
+
listPagingPage(resourceGroupName, domainServiceName, options, settings) {
|
53
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
54
|
+
let result;
|
55
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
56
|
+
if (!continuationToken) {
|
57
|
+
result = yield tslib_1.__await(this._list(resourceGroupName, domainServiceName, options));
|
58
|
+
let page = result.value || [];
|
59
|
+
continuationToken = result.nextLink;
|
60
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
61
|
+
yield yield tslib_1.__await(page);
|
62
|
+
}
|
63
|
+
while (continuationToken) {
|
64
|
+
result = yield tslib_1.__await(this._listNext(resourceGroupName, domainServiceName, continuationToken, options));
|
65
|
+
continuationToken = result.nextLink;
|
66
|
+
let page = result.value || [];
|
67
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
68
|
+
yield yield tslib_1.__await(page);
|
69
|
+
}
|
70
|
+
});
|
71
|
+
}
|
72
|
+
listPagingAll(resourceGroupName, domainServiceName, options) {
|
73
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
74
|
+
var _a, e_1, _b, _c;
|
75
|
+
try {
|
76
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, domainServiceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
77
|
+
_c = _f.value;
|
78
|
+
_d = false;
|
79
|
+
const page = _c;
|
80
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
81
|
+
}
|
82
|
+
}
|
83
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
84
|
+
finally {
|
85
|
+
try {
|
86
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
87
|
+
}
|
88
|
+
finally { if (e_1) throw e_1.error; }
|
89
|
+
}
|
90
|
+
});
|
91
|
+
}
|
92
|
+
/**
|
93
|
+
* The List of OuContainers in DomainService instance.
|
94
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
95
|
+
* case insensitive.
|
96
|
+
* @param domainServiceName The name of the domain service.
|
97
|
+
* @param options The options parameters.
|
98
|
+
*/
|
99
|
+
_list(resourceGroupName, domainServiceName, options) {
|
100
|
+
return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, options }, listOperationSpec);
|
101
|
+
}
|
102
|
+
/**
|
103
|
+
* Get OuContainer in DomainService instance.
|
104
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
105
|
+
* case insensitive.
|
106
|
+
* @param domainServiceName The name of the domain service.
|
107
|
+
* @param ouContainerName The name of the OuContainer.
|
108
|
+
* @param options The options parameters.
|
109
|
+
*/
|
110
|
+
get(resourceGroupName, domainServiceName, ouContainerName, options) {
|
111
|
+
return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, ouContainerName, options }, getOperationSpec);
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* The Create OuContainer operation creates a new OuContainer under the specified Domain Service
|
115
|
+
* instance.
|
116
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
117
|
+
* case insensitive.
|
118
|
+
* @param domainServiceName The name of the domain service.
|
119
|
+
* @param ouContainerName The name of the OuContainer.
|
120
|
+
* @param containerAccount Container Account Description.
|
121
|
+
* @param options The options parameters.
|
122
|
+
*/
|
123
|
+
async beginCreate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
|
124
|
+
const directSendOperation = async (args, spec) => {
|
125
|
+
return this.client.sendOperationRequest(args, spec);
|
126
|
+
};
|
127
|
+
const sendOperation = async (args, spec) => {
|
128
|
+
var _a;
|
129
|
+
let currentRawResponse = undefined;
|
130
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
131
|
+
const callback = (rawResponse, flatResponse) => {
|
132
|
+
currentRawResponse = rawResponse;
|
133
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
134
|
+
};
|
135
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
136
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
137
|
+
return {
|
138
|
+
flatResponse,
|
139
|
+
rawResponse: {
|
140
|
+
statusCode: currentRawResponse.status,
|
141
|
+
body: currentRawResponse.parsedBody,
|
142
|
+
headers: currentRawResponse.headers.toJSON()
|
143
|
+
}
|
144
|
+
};
|
145
|
+
};
|
146
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, {
|
147
|
+
resourceGroupName,
|
148
|
+
domainServiceName,
|
149
|
+
ouContainerName,
|
150
|
+
containerAccount,
|
151
|
+
options
|
152
|
+
}, createOperationSpec);
|
153
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
154
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
155
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
156
|
+
});
|
157
|
+
await poller.poll();
|
158
|
+
return poller;
|
159
|
+
}
|
160
|
+
/**
|
161
|
+
* The Create OuContainer operation creates a new OuContainer under the specified Domain Service
|
162
|
+
* instance.
|
163
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
164
|
+
* case insensitive.
|
165
|
+
* @param domainServiceName The name of the domain service.
|
166
|
+
* @param ouContainerName The name of the OuContainer.
|
167
|
+
* @param containerAccount Container Account Description.
|
168
|
+
* @param options The options parameters.
|
169
|
+
*/
|
170
|
+
async beginCreateAndWait(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
|
171
|
+
const poller = await this.beginCreate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options);
|
172
|
+
return poller.pollUntilDone();
|
173
|
+
}
|
174
|
+
/**
|
175
|
+
* The Delete OuContainer operation deletes specified OuContainer.
|
176
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
177
|
+
* case insensitive.
|
178
|
+
* @param domainServiceName The name of the domain service.
|
179
|
+
* @param ouContainerName The name of the OuContainer.
|
180
|
+
* @param options The options parameters.
|
181
|
+
*/
|
182
|
+
async beginDelete(resourceGroupName, domainServiceName, ouContainerName, options) {
|
183
|
+
const directSendOperation = async (args, spec) => {
|
184
|
+
return this.client.sendOperationRequest(args, spec);
|
185
|
+
};
|
186
|
+
const sendOperation = async (args, spec) => {
|
187
|
+
var _a;
|
188
|
+
let currentRawResponse = undefined;
|
189
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
190
|
+
const callback = (rawResponse, flatResponse) => {
|
191
|
+
currentRawResponse = rawResponse;
|
192
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
193
|
+
};
|
194
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
195
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
196
|
+
return {
|
197
|
+
flatResponse,
|
198
|
+
rawResponse: {
|
199
|
+
statusCode: currentRawResponse.status,
|
200
|
+
body: currentRawResponse.parsedBody,
|
201
|
+
headers: currentRawResponse.headers.toJSON()
|
202
|
+
}
|
203
|
+
};
|
204
|
+
};
|
205
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, domainServiceName, ouContainerName, options }, deleteOperationSpec);
|
206
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
207
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
208
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
209
|
+
});
|
210
|
+
await poller.poll();
|
211
|
+
return poller;
|
212
|
+
}
|
213
|
+
/**
|
214
|
+
* The Delete OuContainer operation deletes specified OuContainer.
|
215
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
216
|
+
* case insensitive.
|
217
|
+
* @param domainServiceName The name of the domain service.
|
218
|
+
* @param ouContainerName The name of the OuContainer.
|
219
|
+
* @param options The options parameters.
|
220
|
+
*/
|
221
|
+
async beginDeleteAndWait(resourceGroupName, domainServiceName, ouContainerName, options) {
|
222
|
+
const poller = await this.beginDelete(resourceGroupName, domainServiceName, ouContainerName, options);
|
223
|
+
return poller.pollUntilDone();
|
224
|
+
}
|
225
|
+
/**
|
226
|
+
* The Update OuContainer operation can be used to update the existing OuContainers.
|
227
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
228
|
+
* case insensitive.
|
229
|
+
* @param domainServiceName The name of the domain service.
|
230
|
+
* @param ouContainerName The name of the OuContainer.
|
231
|
+
* @param containerAccount Container Account Description.
|
232
|
+
* @param options The options parameters.
|
233
|
+
*/
|
234
|
+
async beginUpdate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
|
235
|
+
const directSendOperation = async (args, spec) => {
|
236
|
+
return this.client.sendOperationRequest(args, spec);
|
237
|
+
};
|
238
|
+
const sendOperation = async (args, spec) => {
|
239
|
+
var _a;
|
240
|
+
let currentRawResponse = undefined;
|
241
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
242
|
+
const callback = (rawResponse, flatResponse) => {
|
243
|
+
currentRawResponse = rawResponse;
|
244
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
245
|
+
};
|
246
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
247
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
248
|
+
return {
|
249
|
+
flatResponse,
|
250
|
+
rawResponse: {
|
251
|
+
statusCode: currentRawResponse.status,
|
252
|
+
body: currentRawResponse.parsedBody,
|
253
|
+
headers: currentRawResponse.headers.toJSON()
|
254
|
+
}
|
255
|
+
};
|
256
|
+
};
|
257
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, {
|
258
|
+
resourceGroupName,
|
259
|
+
domainServiceName,
|
260
|
+
ouContainerName,
|
261
|
+
containerAccount,
|
262
|
+
options
|
263
|
+
}, updateOperationSpec);
|
264
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
265
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
266
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
267
|
+
});
|
268
|
+
await poller.poll();
|
269
|
+
return poller;
|
270
|
+
}
|
271
|
+
/**
|
272
|
+
* The Update OuContainer operation can be used to update the existing OuContainers.
|
273
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
274
|
+
* case insensitive.
|
275
|
+
* @param domainServiceName The name of the domain service.
|
276
|
+
* @param ouContainerName The name of the OuContainer.
|
277
|
+
* @param containerAccount Container Account Description.
|
278
|
+
* @param options The options parameters.
|
279
|
+
*/
|
280
|
+
async beginUpdateAndWait(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
|
281
|
+
const poller = await this.beginUpdate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options);
|
282
|
+
return poller.pollUntilDone();
|
283
|
+
}
|
284
|
+
/**
|
285
|
+
* ListNext
|
286
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
287
|
+
* case insensitive.
|
288
|
+
* @param domainServiceName The name of the domain service.
|
289
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
290
|
+
* @param options The options parameters.
|
291
|
+
*/
|
292
|
+
_listNext(resourceGroupName, domainServiceName, nextLink, options) {
|
293
|
+
return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, nextLink, options }, listNextOperationSpec);
|
294
|
+
}
|
295
|
+
}
|
296
|
+
exports.OuContainerOperationGrpImpl = OuContainerOperationGrpImpl;
|
297
|
+
// Operation Specifications
|
298
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
299
|
+
const listOperationSpec = {
|
300
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer",
|
301
|
+
httpMethod: "GET",
|
302
|
+
responses: {
|
303
|
+
200: {
|
304
|
+
bodyMapper: Mappers.OuContainerListResult
|
305
|
+
},
|
306
|
+
default: {
|
307
|
+
bodyMapper: Mappers.CloudError
|
308
|
+
}
|
309
|
+
},
|
310
|
+
queryParameters: [Parameters.apiVersion],
|
311
|
+
urlParameters: [
|
312
|
+
Parameters.$host,
|
313
|
+
Parameters.subscriptionId,
|
314
|
+
Parameters.resourceGroupName,
|
315
|
+
Parameters.domainServiceName
|
316
|
+
],
|
317
|
+
headerParameters: [Parameters.accept],
|
318
|
+
serializer
|
319
|
+
};
|
320
|
+
const getOperationSpec = {
|
321
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
|
322
|
+
httpMethod: "GET",
|
323
|
+
responses: {
|
324
|
+
200: {
|
325
|
+
bodyMapper: Mappers.OuContainer
|
326
|
+
},
|
327
|
+
default: {
|
328
|
+
bodyMapper: Mappers.CloudError
|
329
|
+
}
|
330
|
+
},
|
331
|
+
queryParameters: [Parameters.apiVersion],
|
332
|
+
urlParameters: [
|
333
|
+
Parameters.$host,
|
334
|
+
Parameters.subscriptionId,
|
335
|
+
Parameters.resourceGroupName,
|
336
|
+
Parameters.domainServiceName,
|
337
|
+
Parameters.ouContainerName
|
338
|
+
],
|
339
|
+
headerParameters: [Parameters.accept],
|
340
|
+
serializer
|
341
|
+
};
|
342
|
+
const createOperationSpec = {
|
343
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
|
344
|
+
httpMethod: "PUT",
|
345
|
+
responses: {
|
346
|
+
200: {
|
347
|
+
bodyMapper: Mappers.OuContainer
|
348
|
+
},
|
349
|
+
201: {
|
350
|
+
bodyMapper: Mappers.OuContainer
|
351
|
+
},
|
352
|
+
202: {
|
353
|
+
bodyMapper: Mappers.OuContainer
|
354
|
+
},
|
355
|
+
204: {
|
356
|
+
bodyMapper: Mappers.OuContainer
|
357
|
+
},
|
358
|
+
default: {
|
359
|
+
bodyMapper: Mappers.CloudError
|
360
|
+
}
|
361
|
+
},
|
362
|
+
requestBody: Parameters.containerAccount,
|
363
|
+
queryParameters: [Parameters.apiVersion],
|
364
|
+
urlParameters: [
|
365
|
+
Parameters.$host,
|
366
|
+
Parameters.subscriptionId,
|
367
|
+
Parameters.resourceGroupName,
|
368
|
+
Parameters.domainServiceName,
|
369
|
+
Parameters.ouContainerName
|
370
|
+
],
|
371
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
372
|
+
mediaType: "json",
|
373
|
+
serializer
|
374
|
+
};
|
375
|
+
const deleteOperationSpec = {
|
376
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
|
377
|
+
httpMethod: "DELETE",
|
378
|
+
responses: {
|
379
|
+
200: {},
|
380
|
+
201: {},
|
381
|
+
202: {},
|
382
|
+
204: {},
|
383
|
+
default: {
|
384
|
+
bodyMapper: Mappers.CloudError
|
385
|
+
}
|
386
|
+
},
|
387
|
+
queryParameters: [Parameters.apiVersion],
|
388
|
+
urlParameters: [
|
389
|
+
Parameters.$host,
|
390
|
+
Parameters.subscriptionId,
|
391
|
+
Parameters.resourceGroupName,
|
392
|
+
Parameters.domainServiceName,
|
393
|
+
Parameters.ouContainerName
|
394
|
+
],
|
395
|
+
headerParameters: [Parameters.accept],
|
396
|
+
serializer
|
397
|
+
};
|
398
|
+
const updateOperationSpec = {
|
399
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
|
400
|
+
httpMethod: "PATCH",
|
401
|
+
responses: {
|
402
|
+
200: {
|
403
|
+
bodyMapper: Mappers.OuContainer
|
404
|
+
},
|
405
|
+
201: {
|
406
|
+
bodyMapper: Mappers.OuContainer
|
407
|
+
},
|
408
|
+
202: {
|
409
|
+
bodyMapper: Mappers.OuContainer
|
410
|
+
},
|
411
|
+
204: {
|
412
|
+
bodyMapper: Mappers.OuContainer
|
413
|
+
},
|
414
|
+
default: {
|
415
|
+
bodyMapper: Mappers.CloudError
|
416
|
+
}
|
417
|
+
},
|
418
|
+
requestBody: Parameters.containerAccount,
|
419
|
+
queryParameters: [Parameters.apiVersion],
|
420
|
+
urlParameters: [
|
421
|
+
Parameters.$host,
|
422
|
+
Parameters.subscriptionId,
|
423
|
+
Parameters.resourceGroupName,
|
424
|
+
Parameters.domainServiceName,
|
425
|
+
Parameters.ouContainerName
|
426
|
+
],
|
427
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
428
|
+
mediaType: "json",
|
429
|
+
serializer
|
430
|
+
};
|
431
|
+
const listNextOperationSpec = {
|
432
|
+
path: "{nextLink}",
|
433
|
+
httpMethod: "GET",
|
434
|
+
responses: {
|
435
|
+
200: {
|
436
|
+
bodyMapper: Mappers.OuContainerListResult
|
437
|
+
},
|
438
|
+
default: {
|
439
|
+
bodyMapper: Mappers.CloudError
|
440
|
+
}
|
441
|
+
},
|
442
|
+
queryParameters: [Parameters.apiVersion],
|
443
|
+
urlParameters: [
|
444
|
+
Parameters.$host,
|
445
|
+
Parameters.nextLink,
|
446
|
+
Parameters.subscriptionId,
|
447
|
+
Parameters.resourceGroupName,
|
448
|
+
Parameters.domainServiceName
|
449
|
+
],
|
450
|
+
headerParameters: [Parameters.accept],
|
451
|
+
serializer
|
452
|
+
};
|
453
|
+
//# sourceMappingURL=ouContainerOperationGrp.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ouContainerOperationGrp.js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BAAiB;QAC5B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { OuContainerOperationGrp } 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 { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n OuContainer,\n OuContainerListNextOptionalParams,\n OuContainerListOptionalParams,\n OuContainerListResponse,\n OuContainerGetOptionalParams,\n OuContainerGetResponse,\n ContainerAccount,\n OuContainerCreateOptionalParams,\n OuContainerCreateResponse,\n OuContainerDeleteOptionalParams,\n OuContainerUpdateOptionalParams,\n OuContainerUpdateResponse,\n OuContainerListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing OuContainerOperationGrp operations. */\nexport class OuContainerOperationGrpImpl implements OuContainerOperationGrp {\n private readonly client: DomainServicesResourceProvider;\n\n /**\n * Initialize a new instance of the class OuContainerOperationGrp class.\n * @param client Reference to the service client\n */\n constructor(client: DomainServicesResourceProvider) {\n this.client = client;\n }\n\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 public list(\n resourceGroupName: string,\n domainServiceName: string,\n options?: OuContainerListOptionalParams\n ): PagedAsyncIterableIterator<OuContainer> {\n const iter = this.listPagingAll(\n resourceGroupName,\n domainServiceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n domainServiceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n domainServiceName: string,\n options?: OuContainerListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<OuContainer[]> {\n let result: OuContainerListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, domainServiceName, 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(\n resourceGroupName,\n domainServiceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n domainServiceName: string,\n options?: OuContainerListOptionalParams\n ): AsyncIterableIterator<OuContainer> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n domainServiceName,\n options\n )) {\n yield* page;\n }\n }\n\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 private _list(\n resourceGroupName: string,\n domainServiceName: string,\n options?: OuContainerListOptionalParams\n ): Promise<OuContainerListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainServiceName, options },\n listOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, domainServiceName, ouContainerName, options },\n getOperationSpec\n );\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 async 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 const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OuContainerCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n containerAccount,\n options\n },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginCreateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerCreateOptionalParams\n ): Promise<OuContainerCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n containerAccount,\n options\n );\n return poller.pollUntilDone();\n }\n\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 async beginDelete(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n options?: OuContainerDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, domainServiceName, ouContainerName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\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 async beginDeleteAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n options?: OuContainerDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n options\n );\n return poller.pollUntilDone();\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 async 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 const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OuContainerUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n containerAccount,\n options\n },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginUpdateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerUpdateOptionalParams\n ): Promise<OuContainerUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n containerAccount,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\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 nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n domainServiceName: string,\n nextLink: string,\n options?: OuContainerListNextOptionalParams\n ): Promise<OuContainerListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainServiceName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainerListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainer\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName,\n Parameters.ouContainerName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainer\n },\n 201: {\n bodyMapper: Mappers.OuContainer\n },\n 202: {\n bodyMapper: Mappers.OuContainer\n },\n 204: {\n bodyMapper: Mappers.OuContainer\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.containerAccount,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName,\n Parameters.ouContainerName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName,\n Parameters.ouContainerName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainer\n },\n 201: {\n bodyMapper: Mappers.OuContainer\n },\n 202: {\n bodyMapper: Mappers.OuContainer\n },\n 204: {\n bodyMapper: Mappers.OuContainer\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.containerAccount,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName,\n Parameters.ouContainerName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainerListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|