@azure/arm-domainservices 4.1.1-alpha.20250124.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
@@ -1,725 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
11
|
-
import { DomainServices } from "../operationsInterfaces";
|
12
|
-
import * as coreClient from "@azure/core-client";
|
13
|
-
import * as Mappers from "../models/mappers";
|
14
|
-
import * as Parameters from "../models/parameters";
|
15
|
-
import { DomainServicesResourceProvider } from "../domainServicesResourceProvider";
|
16
|
-
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
17
|
-
import { LroImpl } from "../lroImpl";
|
18
|
-
import {
|
19
|
-
DomainService,
|
20
|
-
DomainServicesListNextOptionalParams,
|
21
|
-
DomainServicesListOptionalParams,
|
22
|
-
DomainServicesListResponse,
|
23
|
-
DomainServicesListByResourceGroupNextOptionalParams,
|
24
|
-
DomainServicesListByResourceGroupOptionalParams,
|
25
|
-
DomainServicesListByResourceGroupResponse,
|
26
|
-
DomainServicesCreateOrUpdateOptionalParams,
|
27
|
-
DomainServicesCreateOrUpdateResponse,
|
28
|
-
DomainServicesGetOptionalParams,
|
29
|
-
DomainServicesGetResponse,
|
30
|
-
DomainServicesDeleteOptionalParams,
|
31
|
-
DomainServicesUpdateOptionalParams,
|
32
|
-
DomainServicesUpdateResponse,
|
33
|
-
DomainServicesListNextResponse,
|
34
|
-
DomainServicesListByResourceGroupNextResponse
|
35
|
-
} from "../models";
|
36
|
-
|
37
|
-
/// <reference lib="esnext.asynciterable" />
|
38
|
-
/** Class containing DomainServices operations. */
|
39
|
-
export class DomainServicesImpl implements DomainServices {
|
40
|
-
private readonly client: DomainServicesResourceProvider;
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Initialize a new instance of the class DomainServices class.
|
44
|
-
* @param client Reference to the service client
|
45
|
-
*/
|
46
|
-
constructor(client: DomainServicesResourceProvider) {
|
47
|
-
this.client = client;
|
48
|
-
}
|
49
|
-
|
50
|
-
/**
|
51
|
-
* The List Domain Services in Subscription operation lists all the domain services available under the
|
52
|
-
* given subscription (and across all resource groups within that subscription).
|
53
|
-
* @param options The options parameters.
|
54
|
-
*/
|
55
|
-
public list(
|
56
|
-
options?: DomainServicesListOptionalParams
|
57
|
-
): PagedAsyncIterableIterator<DomainService> {
|
58
|
-
const iter = this.listPagingAll(options);
|
59
|
-
return {
|
60
|
-
next() {
|
61
|
-
return iter.next();
|
62
|
-
},
|
63
|
-
[Symbol.asyncIterator]() {
|
64
|
-
return this;
|
65
|
-
},
|
66
|
-
byPage: (settings?: PageSettings) => {
|
67
|
-
if (settings?.maxPageSize) {
|
68
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
69
|
-
}
|
70
|
-
return this.listPagingPage(options, settings);
|
71
|
-
}
|
72
|
-
};
|
73
|
-
}
|
74
|
-
|
75
|
-
private async *listPagingPage(
|
76
|
-
options?: DomainServicesListOptionalParams,
|
77
|
-
settings?: PageSettings
|
78
|
-
): AsyncIterableIterator<DomainService[]> {
|
79
|
-
let result: DomainServicesListResponse;
|
80
|
-
let continuationToken = settings?.continuationToken;
|
81
|
-
if (!continuationToken) {
|
82
|
-
result = await this._list(options);
|
83
|
-
let page = result.value || [];
|
84
|
-
continuationToken = result.nextLink;
|
85
|
-
setContinuationToken(page, continuationToken);
|
86
|
-
yield page;
|
87
|
-
}
|
88
|
-
while (continuationToken) {
|
89
|
-
result = await this._listNext(continuationToken, options);
|
90
|
-
continuationToken = result.nextLink;
|
91
|
-
let page = result.value || [];
|
92
|
-
setContinuationToken(page, continuationToken);
|
93
|
-
yield page;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
private async *listPagingAll(
|
98
|
-
options?: DomainServicesListOptionalParams
|
99
|
-
): AsyncIterableIterator<DomainService> {
|
100
|
-
for await (const page of this.listPagingPage(options)) {
|
101
|
-
yield* page;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
/**
|
106
|
-
* The List Domain Services in Resource Group operation lists all the domain services available under
|
107
|
-
* the given resource group.
|
108
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
109
|
-
* case insensitive.
|
110
|
-
* @param options The options parameters.
|
111
|
-
*/
|
112
|
-
public listByResourceGroup(
|
113
|
-
resourceGroupName: string,
|
114
|
-
options?: DomainServicesListByResourceGroupOptionalParams
|
115
|
-
): PagedAsyncIterableIterator<DomainService> {
|
116
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
117
|
-
return {
|
118
|
-
next() {
|
119
|
-
return iter.next();
|
120
|
-
},
|
121
|
-
[Symbol.asyncIterator]() {
|
122
|
-
return this;
|
123
|
-
},
|
124
|
-
byPage: (settings?: PageSettings) => {
|
125
|
-
if (settings?.maxPageSize) {
|
126
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
127
|
-
}
|
128
|
-
return this.listByResourceGroupPagingPage(
|
129
|
-
resourceGroupName,
|
130
|
-
options,
|
131
|
-
settings
|
132
|
-
);
|
133
|
-
}
|
134
|
-
};
|
135
|
-
}
|
136
|
-
|
137
|
-
private async *listByResourceGroupPagingPage(
|
138
|
-
resourceGroupName: string,
|
139
|
-
options?: DomainServicesListByResourceGroupOptionalParams,
|
140
|
-
settings?: PageSettings
|
141
|
-
): AsyncIterableIterator<DomainService[]> {
|
142
|
-
let result: DomainServicesListByResourceGroupResponse;
|
143
|
-
let continuationToken = settings?.continuationToken;
|
144
|
-
if (!continuationToken) {
|
145
|
-
result = await this._listByResourceGroup(resourceGroupName, options);
|
146
|
-
let page = result.value || [];
|
147
|
-
continuationToken = result.nextLink;
|
148
|
-
setContinuationToken(page, continuationToken);
|
149
|
-
yield page;
|
150
|
-
}
|
151
|
-
while (continuationToken) {
|
152
|
-
result = await this._listByResourceGroupNext(
|
153
|
-
resourceGroupName,
|
154
|
-
continuationToken,
|
155
|
-
options
|
156
|
-
);
|
157
|
-
continuationToken = result.nextLink;
|
158
|
-
let page = result.value || [];
|
159
|
-
setContinuationToken(page, continuationToken);
|
160
|
-
yield page;
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
private async *listByResourceGroupPagingAll(
|
165
|
-
resourceGroupName: string,
|
166
|
-
options?: DomainServicesListByResourceGroupOptionalParams
|
167
|
-
): AsyncIterableIterator<DomainService> {
|
168
|
-
for await (const page of this.listByResourceGroupPagingPage(
|
169
|
-
resourceGroupName,
|
170
|
-
options
|
171
|
-
)) {
|
172
|
-
yield* page;
|
173
|
-
}
|
174
|
-
}
|
175
|
-
|
176
|
-
/**
|
177
|
-
* The List Domain Services in Subscription operation lists all the domain services available under the
|
178
|
-
* given subscription (and across all resource groups within that subscription).
|
179
|
-
* @param options The options parameters.
|
180
|
-
*/
|
181
|
-
private _list(
|
182
|
-
options?: DomainServicesListOptionalParams
|
183
|
-
): Promise<DomainServicesListResponse> {
|
184
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
185
|
-
}
|
186
|
-
|
187
|
-
/**
|
188
|
-
* The List Domain Services in Resource Group operation lists all the domain services available under
|
189
|
-
* the given resource group.
|
190
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
191
|
-
* case insensitive.
|
192
|
-
* @param options The options parameters.
|
193
|
-
*/
|
194
|
-
private _listByResourceGroup(
|
195
|
-
resourceGroupName: string,
|
196
|
-
options?: DomainServicesListByResourceGroupOptionalParams
|
197
|
-
): Promise<DomainServicesListByResourceGroupResponse> {
|
198
|
-
return this.client.sendOperationRequest(
|
199
|
-
{ resourceGroupName, options },
|
200
|
-
listByResourceGroupOperationSpec
|
201
|
-
);
|
202
|
-
}
|
203
|
-
|
204
|
-
/**
|
205
|
-
* The Create Domain Service operation creates a new domain service with the specified parameters. If
|
206
|
-
* the specific service already exists, then any patchable properties will be updated and any immutable
|
207
|
-
* properties will remain unchanged.
|
208
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
209
|
-
* case insensitive.
|
210
|
-
* @param domainServiceName The name of the domain service.
|
211
|
-
* @param domainService Properties supplied to the Create or Update a Domain Service operation.
|
212
|
-
* @param options The options parameters.
|
213
|
-
*/
|
214
|
-
async beginCreateOrUpdate(
|
215
|
-
resourceGroupName: string,
|
216
|
-
domainServiceName: string,
|
217
|
-
domainService: DomainService,
|
218
|
-
options?: DomainServicesCreateOrUpdateOptionalParams
|
219
|
-
): Promise<
|
220
|
-
PollerLike<
|
221
|
-
PollOperationState<DomainServicesCreateOrUpdateResponse>,
|
222
|
-
DomainServicesCreateOrUpdateResponse
|
223
|
-
>
|
224
|
-
> {
|
225
|
-
const directSendOperation = async (
|
226
|
-
args: coreClient.OperationArguments,
|
227
|
-
spec: coreClient.OperationSpec
|
228
|
-
): Promise<DomainServicesCreateOrUpdateResponse> => {
|
229
|
-
return this.client.sendOperationRequest(args, spec);
|
230
|
-
};
|
231
|
-
const sendOperation = async (
|
232
|
-
args: coreClient.OperationArguments,
|
233
|
-
spec: coreClient.OperationSpec
|
234
|
-
) => {
|
235
|
-
let currentRawResponse:
|
236
|
-
| coreClient.FullOperationResponse
|
237
|
-
| undefined = undefined;
|
238
|
-
const providedCallback = args.options?.onResponse;
|
239
|
-
const callback: coreClient.RawResponseCallback = (
|
240
|
-
rawResponse: coreClient.FullOperationResponse,
|
241
|
-
flatResponse: unknown
|
242
|
-
) => {
|
243
|
-
currentRawResponse = rawResponse;
|
244
|
-
providedCallback?.(rawResponse, flatResponse);
|
245
|
-
};
|
246
|
-
const updatedArgs = {
|
247
|
-
...args,
|
248
|
-
options: {
|
249
|
-
...args.options,
|
250
|
-
onResponse: callback
|
251
|
-
}
|
252
|
-
};
|
253
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
254
|
-
return {
|
255
|
-
flatResponse,
|
256
|
-
rawResponse: {
|
257
|
-
statusCode: currentRawResponse!.status,
|
258
|
-
body: currentRawResponse!.parsedBody,
|
259
|
-
headers: currentRawResponse!.headers.toJSON()
|
260
|
-
}
|
261
|
-
};
|
262
|
-
};
|
263
|
-
|
264
|
-
const lro = new LroImpl(
|
265
|
-
sendOperation,
|
266
|
-
{ resourceGroupName, domainServiceName, domainService, options },
|
267
|
-
createOrUpdateOperationSpec
|
268
|
-
);
|
269
|
-
const poller = new LroEngine(lro, {
|
270
|
-
resumeFrom: options?.resumeFrom,
|
271
|
-
intervalInMs: options?.updateIntervalInMs
|
272
|
-
});
|
273
|
-
await poller.poll();
|
274
|
-
return poller;
|
275
|
-
}
|
276
|
-
|
277
|
-
/**
|
278
|
-
* The Create Domain Service operation creates a new domain service with the specified parameters. If
|
279
|
-
* the specific service already exists, then any patchable properties will be updated and any immutable
|
280
|
-
* properties will remain unchanged.
|
281
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
282
|
-
* case insensitive.
|
283
|
-
* @param domainServiceName The name of the domain service.
|
284
|
-
* @param domainService Properties supplied to the Create or Update a Domain Service operation.
|
285
|
-
* @param options The options parameters.
|
286
|
-
*/
|
287
|
-
async beginCreateOrUpdateAndWait(
|
288
|
-
resourceGroupName: string,
|
289
|
-
domainServiceName: string,
|
290
|
-
domainService: DomainService,
|
291
|
-
options?: DomainServicesCreateOrUpdateOptionalParams
|
292
|
-
): Promise<DomainServicesCreateOrUpdateResponse> {
|
293
|
-
const poller = await this.beginCreateOrUpdate(
|
294
|
-
resourceGroupName,
|
295
|
-
domainServiceName,
|
296
|
-
domainService,
|
297
|
-
options
|
298
|
-
);
|
299
|
-
return poller.pollUntilDone();
|
300
|
-
}
|
301
|
-
|
302
|
-
/**
|
303
|
-
* The Get Domain Service operation retrieves a json representation of the Domain Service.
|
304
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
305
|
-
* case insensitive.
|
306
|
-
* @param domainServiceName The name of the domain service.
|
307
|
-
* @param options The options parameters.
|
308
|
-
*/
|
309
|
-
get(
|
310
|
-
resourceGroupName: string,
|
311
|
-
domainServiceName: string,
|
312
|
-
options?: DomainServicesGetOptionalParams
|
313
|
-
): Promise<DomainServicesGetResponse> {
|
314
|
-
return this.client.sendOperationRequest(
|
315
|
-
{ resourceGroupName, domainServiceName, options },
|
316
|
-
getOperationSpec
|
317
|
-
);
|
318
|
-
}
|
319
|
-
|
320
|
-
/**
|
321
|
-
* The Delete Domain Service operation deletes an existing Domain Service.
|
322
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
323
|
-
* case insensitive.
|
324
|
-
* @param domainServiceName The name of the domain service.
|
325
|
-
* @param options The options parameters.
|
326
|
-
*/
|
327
|
-
async beginDelete(
|
328
|
-
resourceGroupName: string,
|
329
|
-
domainServiceName: string,
|
330
|
-
options?: DomainServicesDeleteOptionalParams
|
331
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
332
|
-
const directSendOperation = async (
|
333
|
-
args: coreClient.OperationArguments,
|
334
|
-
spec: coreClient.OperationSpec
|
335
|
-
): Promise<void> => {
|
336
|
-
return this.client.sendOperationRequest(args, spec);
|
337
|
-
};
|
338
|
-
const sendOperation = async (
|
339
|
-
args: coreClient.OperationArguments,
|
340
|
-
spec: coreClient.OperationSpec
|
341
|
-
) => {
|
342
|
-
let currentRawResponse:
|
343
|
-
| coreClient.FullOperationResponse
|
344
|
-
| undefined = undefined;
|
345
|
-
const providedCallback = args.options?.onResponse;
|
346
|
-
const callback: coreClient.RawResponseCallback = (
|
347
|
-
rawResponse: coreClient.FullOperationResponse,
|
348
|
-
flatResponse: unknown
|
349
|
-
) => {
|
350
|
-
currentRawResponse = rawResponse;
|
351
|
-
providedCallback?.(rawResponse, flatResponse);
|
352
|
-
};
|
353
|
-
const updatedArgs = {
|
354
|
-
...args,
|
355
|
-
options: {
|
356
|
-
...args.options,
|
357
|
-
onResponse: callback
|
358
|
-
}
|
359
|
-
};
|
360
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
361
|
-
return {
|
362
|
-
flatResponse,
|
363
|
-
rawResponse: {
|
364
|
-
statusCode: currentRawResponse!.status,
|
365
|
-
body: currentRawResponse!.parsedBody,
|
366
|
-
headers: currentRawResponse!.headers.toJSON()
|
367
|
-
}
|
368
|
-
};
|
369
|
-
};
|
370
|
-
|
371
|
-
const lro = new LroImpl(
|
372
|
-
sendOperation,
|
373
|
-
{ resourceGroupName, domainServiceName, options },
|
374
|
-
deleteOperationSpec
|
375
|
-
);
|
376
|
-
const poller = new LroEngine(lro, {
|
377
|
-
resumeFrom: options?.resumeFrom,
|
378
|
-
intervalInMs: options?.updateIntervalInMs
|
379
|
-
});
|
380
|
-
await poller.poll();
|
381
|
-
return poller;
|
382
|
-
}
|
383
|
-
|
384
|
-
/**
|
385
|
-
* The Delete Domain Service operation deletes an existing Domain Service.
|
386
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
387
|
-
* case insensitive.
|
388
|
-
* @param domainServiceName The name of the domain service.
|
389
|
-
* @param options The options parameters.
|
390
|
-
*/
|
391
|
-
async beginDeleteAndWait(
|
392
|
-
resourceGroupName: string,
|
393
|
-
domainServiceName: string,
|
394
|
-
options?: DomainServicesDeleteOptionalParams
|
395
|
-
): Promise<void> {
|
396
|
-
const poller = await this.beginDelete(
|
397
|
-
resourceGroupName,
|
398
|
-
domainServiceName,
|
399
|
-
options
|
400
|
-
);
|
401
|
-
return poller.pollUntilDone();
|
402
|
-
}
|
403
|
-
|
404
|
-
/**
|
405
|
-
* The Update Domain Service operation can be used to update the existing deployment. The update call
|
406
|
-
* only supports the properties listed in the PATCH body.
|
407
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
408
|
-
* case insensitive.
|
409
|
-
* @param domainServiceName The name of the domain service.
|
410
|
-
* @param domainService Properties supplied to the Update a Domain Service operation.
|
411
|
-
* @param options The options parameters.
|
412
|
-
*/
|
413
|
-
async beginUpdate(
|
414
|
-
resourceGroupName: string,
|
415
|
-
domainServiceName: string,
|
416
|
-
domainService: DomainService,
|
417
|
-
options?: DomainServicesUpdateOptionalParams
|
418
|
-
): Promise<
|
419
|
-
PollerLike<
|
420
|
-
PollOperationState<DomainServicesUpdateResponse>,
|
421
|
-
DomainServicesUpdateResponse
|
422
|
-
>
|
423
|
-
> {
|
424
|
-
const directSendOperation = async (
|
425
|
-
args: coreClient.OperationArguments,
|
426
|
-
spec: coreClient.OperationSpec
|
427
|
-
): Promise<DomainServicesUpdateResponse> => {
|
428
|
-
return this.client.sendOperationRequest(args, spec);
|
429
|
-
};
|
430
|
-
const sendOperation = async (
|
431
|
-
args: coreClient.OperationArguments,
|
432
|
-
spec: coreClient.OperationSpec
|
433
|
-
) => {
|
434
|
-
let currentRawResponse:
|
435
|
-
| coreClient.FullOperationResponse
|
436
|
-
| undefined = undefined;
|
437
|
-
const providedCallback = args.options?.onResponse;
|
438
|
-
const callback: coreClient.RawResponseCallback = (
|
439
|
-
rawResponse: coreClient.FullOperationResponse,
|
440
|
-
flatResponse: unknown
|
441
|
-
) => {
|
442
|
-
currentRawResponse = rawResponse;
|
443
|
-
providedCallback?.(rawResponse, flatResponse);
|
444
|
-
};
|
445
|
-
const updatedArgs = {
|
446
|
-
...args,
|
447
|
-
options: {
|
448
|
-
...args.options,
|
449
|
-
onResponse: callback
|
450
|
-
}
|
451
|
-
};
|
452
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
453
|
-
return {
|
454
|
-
flatResponse,
|
455
|
-
rawResponse: {
|
456
|
-
statusCode: currentRawResponse!.status,
|
457
|
-
body: currentRawResponse!.parsedBody,
|
458
|
-
headers: currentRawResponse!.headers.toJSON()
|
459
|
-
}
|
460
|
-
};
|
461
|
-
};
|
462
|
-
|
463
|
-
const lro = new LroImpl(
|
464
|
-
sendOperation,
|
465
|
-
{ resourceGroupName, domainServiceName, domainService, options },
|
466
|
-
updateOperationSpec
|
467
|
-
);
|
468
|
-
const poller = new LroEngine(lro, {
|
469
|
-
resumeFrom: options?.resumeFrom,
|
470
|
-
intervalInMs: options?.updateIntervalInMs
|
471
|
-
});
|
472
|
-
await poller.poll();
|
473
|
-
return poller;
|
474
|
-
}
|
475
|
-
|
476
|
-
/**
|
477
|
-
* The Update Domain Service operation can be used to update the existing deployment. The update call
|
478
|
-
* only supports the properties listed in the PATCH body.
|
479
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
480
|
-
* case insensitive.
|
481
|
-
* @param domainServiceName The name of the domain service.
|
482
|
-
* @param domainService Properties supplied to the Update a Domain Service operation.
|
483
|
-
* @param options The options parameters.
|
484
|
-
*/
|
485
|
-
async beginUpdateAndWait(
|
486
|
-
resourceGroupName: string,
|
487
|
-
domainServiceName: string,
|
488
|
-
domainService: DomainService,
|
489
|
-
options?: DomainServicesUpdateOptionalParams
|
490
|
-
): Promise<DomainServicesUpdateResponse> {
|
491
|
-
const poller = await this.beginUpdate(
|
492
|
-
resourceGroupName,
|
493
|
-
domainServiceName,
|
494
|
-
domainService,
|
495
|
-
options
|
496
|
-
);
|
497
|
-
return poller.pollUntilDone();
|
498
|
-
}
|
499
|
-
|
500
|
-
/**
|
501
|
-
* ListNext
|
502
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
503
|
-
* @param options The options parameters.
|
504
|
-
*/
|
505
|
-
private _listNext(
|
506
|
-
nextLink: string,
|
507
|
-
options?: DomainServicesListNextOptionalParams
|
508
|
-
): Promise<DomainServicesListNextResponse> {
|
509
|
-
return this.client.sendOperationRequest(
|
510
|
-
{ nextLink, options },
|
511
|
-
listNextOperationSpec
|
512
|
-
);
|
513
|
-
}
|
514
|
-
|
515
|
-
/**
|
516
|
-
* ListByResourceGroupNext
|
517
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
518
|
-
* case insensitive.
|
519
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
520
|
-
* @param options The options parameters.
|
521
|
-
*/
|
522
|
-
private _listByResourceGroupNext(
|
523
|
-
resourceGroupName: string,
|
524
|
-
nextLink: string,
|
525
|
-
options?: DomainServicesListByResourceGroupNextOptionalParams
|
526
|
-
): Promise<DomainServicesListByResourceGroupNextResponse> {
|
527
|
-
return this.client.sendOperationRequest(
|
528
|
-
{ resourceGroupName, nextLink, options },
|
529
|
-
listByResourceGroupNextOperationSpec
|
530
|
-
);
|
531
|
-
}
|
532
|
-
}
|
533
|
-
// Operation Specifications
|
534
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
535
|
-
|
536
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
537
|
-
path:
|
538
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices",
|
539
|
-
httpMethod: "GET",
|
540
|
-
responses: {
|
541
|
-
200: {
|
542
|
-
bodyMapper: Mappers.DomainServiceListResult
|
543
|
-
},
|
544
|
-
default: {
|
545
|
-
bodyMapper: Mappers.CloudError
|
546
|
-
}
|
547
|
-
},
|
548
|
-
queryParameters: [Parameters.apiVersion],
|
549
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
550
|
-
headerParameters: [Parameters.accept],
|
551
|
-
serializer
|
552
|
-
};
|
553
|
-
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
554
|
-
path:
|
555
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices",
|
556
|
-
httpMethod: "GET",
|
557
|
-
responses: {
|
558
|
-
200: {
|
559
|
-
bodyMapper: Mappers.DomainServiceListResult
|
560
|
-
},
|
561
|
-
default: {
|
562
|
-
bodyMapper: Mappers.CloudError
|
563
|
-
}
|
564
|
-
},
|
565
|
-
queryParameters: [Parameters.apiVersion],
|
566
|
-
urlParameters: [
|
567
|
-
Parameters.$host,
|
568
|
-
Parameters.subscriptionId,
|
569
|
-
Parameters.resourceGroupName
|
570
|
-
],
|
571
|
-
headerParameters: [Parameters.accept],
|
572
|
-
serializer
|
573
|
-
};
|
574
|
-
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
575
|
-
path:
|
576
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
577
|
-
httpMethod: "PUT",
|
578
|
-
responses: {
|
579
|
-
200: {
|
580
|
-
bodyMapper: Mappers.DomainService
|
581
|
-
},
|
582
|
-
201: {
|
583
|
-
bodyMapper: Mappers.DomainService
|
584
|
-
},
|
585
|
-
202: {
|
586
|
-
bodyMapper: Mappers.DomainService
|
587
|
-
},
|
588
|
-
204: {
|
589
|
-
bodyMapper: Mappers.DomainService
|
590
|
-
},
|
591
|
-
default: {
|
592
|
-
bodyMapper: Mappers.CloudError
|
593
|
-
}
|
594
|
-
},
|
595
|
-
requestBody: Parameters.domainService,
|
596
|
-
queryParameters: [Parameters.apiVersion],
|
597
|
-
urlParameters: [
|
598
|
-
Parameters.$host,
|
599
|
-
Parameters.subscriptionId,
|
600
|
-
Parameters.resourceGroupName,
|
601
|
-
Parameters.domainServiceName
|
602
|
-
],
|
603
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
604
|
-
mediaType: "json",
|
605
|
-
serializer
|
606
|
-
};
|
607
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
608
|
-
path:
|
609
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
610
|
-
httpMethod: "GET",
|
611
|
-
responses: {
|
612
|
-
200: {
|
613
|
-
bodyMapper: Mappers.DomainService
|
614
|
-
},
|
615
|
-
default: {
|
616
|
-
bodyMapper: Mappers.CloudError
|
617
|
-
}
|
618
|
-
},
|
619
|
-
queryParameters: [Parameters.apiVersion],
|
620
|
-
urlParameters: [
|
621
|
-
Parameters.$host,
|
622
|
-
Parameters.subscriptionId,
|
623
|
-
Parameters.resourceGroupName,
|
624
|
-
Parameters.domainServiceName
|
625
|
-
],
|
626
|
-
headerParameters: [Parameters.accept],
|
627
|
-
serializer
|
628
|
-
};
|
629
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
630
|
-
path:
|
631
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
632
|
-
httpMethod: "DELETE",
|
633
|
-
responses: {
|
634
|
-
200: {},
|
635
|
-
201: {},
|
636
|
-
202: {},
|
637
|
-
204: {},
|
638
|
-
default: {
|
639
|
-
bodyMapper: Mappers.CloudError
|
640
|
-
}
|
641
|
-
},
|
642
|
-
queryParameters: [Parameters.apiVersion],
|
643
|
-
urlParameters: [
|
644
|
-
Parameters.$host,
|
645
|
-
Parameters.subscriptionId,
|
646
|
-
Parameters.resourceGroupName,
|
647
|
-
Parameters.domainServiceName
|
648
|
-
],
|
649
|
-
headerParameters: [Parameters.accept],
|
650
|
-
serializer
|
651
|
-
};
|
652
|
-
const updateOperationSpec: coreClient.OperationSpec = {
|
653
|
-
path:
|
654
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
655
|
-
httpMethod: "PATCH",
|
656
|
-
responses: {
|
657
|
-
200: {
|
658
|
-
bodyMapper: Mappers.DomainService
|
659
|
-
},
|
660
|
-
201: {
|
661
|
-
bodyMapper: Mappers.DomainService
|
662
|
-
},
|
663
|
-
202: {
|
664
|
-
bodyMapper: Mappers.DomainService
|
665
|
-
},
|
666
|
-
204: {
|
667
|
-
bodyMapper: Mappers.DomainService
|
668
|
-
},
|
669
|
-
default: {
|
670
|
-
bodyMapper: Mappers.CloudError
|
671
|
-
}
|
672
|
-
},
|
673
|
-
requestBody: Parameters.domainService,
|
674
|
-
queryParameters: [Parameters.apiVersion],
|
675
|
-
urlParameters: [
|
676
|
-
Parameters.$host,
|
677
|
-
Parameters.subscriptionId,
|
678
|
-
Parameters.resourceGroupName,
|
679
|
-
Parameters.domainServiceName
|
680
|
-
],
|
681
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
682
|
-
mediaType: "json",
|
683
|
-
serializer
|
684
|
-
};
|
685
|
-
const listNextOperationSpec: coreClient.OperationSpec = {
|
686
|
-
path: "{nextLink}",
|
687
|
-
httpMethod: "GET",
|
688
|
-
responses: {
|
689
|
-
200: {
|
690
|
-
bodyMapper: Mappers.DomainServiceListResult
|
691
|
-
},
|
692
|
-
default: {
|
693
|
-
bodyMapper: Mappers.CloudError
|
694
|
-
}
|
695
|
-
},
|
696
|
-
queryParameters: [Parameters.apiVersion],
|
697
|
-
urlParameters: [
|
698
|
-
Parameters.$host,
|
699
|
-
Parameters.nextLink,
|
700
|
-
Parameters.subscriptionId
|
701
|
-
],
|
702
|
-
headerParameters: [Parameters.accept],
|
703
|
-
serializer
|
704
|
-
};
|
705
|
-
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
706
|
-
path: "{nextLink}",
|
707
|
-
httpMethod: "GET",
|
708
|
-
responses: {
|
709
|
-
200: {
|
710
|
-
bodyMapper: Mappers.DomainServiceListResult
|
711
|
-
},
|
712
|
-
default: {
|
713
|
-
bodyMapper: Mappers.CloudError
|
714
|
-
}
|
715
|
-
},
|
716
|
-
queryParameters: [Parameters.apiVersion],
|
717
|
-
urlParameters: [
|
718
|
-
Parameters.$host,
|
719
|
-
Parameters.nextLink,
|
720
|
-
Parameters.subscriptionId,
|
721
|
-
Parameters.resourceGroupName
|
722
|
-
],
|
723
|
-
headerParameters: [Parameters.accept],
|
724
|
-
serializer
|
725
|
-
};
|