@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,545 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.DomainServicesImpl = 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 DomainServices operations. */
|
20
|
+
class DomainServicesImpl {
|
21
|
+
/**
|
22
|
+
* Initialize a new instance of the class DomainServices class.
|
23
|
+
* @param client Reference to the service client
|
24
|
+
*/
|
25
|
+
constructor(client) {
|
26
|
+
this.client = client;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* The List Domain Services in Subscription operation lists all the domain services available under the
|
30
|
+
* given subscription (and across all resource groups within that subscription).
|
31
|
+
* @param options The options parameters.
|
32
|
+
*/
|
33
|
+
list(options) {
|
34
|
+
const iter = this.listPagingAll(options);
|
35
|
+
return {
|
36
|
+
next() {
|
37
|
+
return iter.next();
|
38
|
+
},
|
39
|
+
[Symbol.asyncIterator]() {
|
40
|
+
return this;
|
41
|
+
},
|
42
|
+
byPage: (settings) => {
|
43
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
44
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
45
|
+
}
|
46
|
+
return this.listPagingPage(options, settings);
|
47
|
+
}
|
48
|
+
};
|
49
|
+
}
|
50
|
+
listPagingPage(options, settings) {
|
51
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
52
|
+
let result;
|
53
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
54
|
+
if (!continuationToken) {
|
55
|
+
result = yield tslib_1.__await(this._list(options));
|
56
|
+
let page = result.value || [];
|
57
|
+
continuationToken = result.nextLink;
|
58
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
59
|
+
yield yield tslib_1.__await(page);
|
60
|
+
}
|
61
|
+
while (continuationToken) {
|
62
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
63
|
+
continuationToken = result.nextLink;
|
64
|
+
let page = result.value || [];
|
65
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
66
|
+
yield yield tslib_1.__await(page);
|
67
|
+
}
|
68
|
+
});
|
69
|
+
}
|
70
|
+
listPagingAll(options) {
|
71
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
72
|
+
var _a, e_1, _b, _c;
|
73
|
+
try {
|
74
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
75
|
+
_c = _f.value;
|
76
|
+
_d = false;
|
77
|
+
const page = _c;
|
78
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
79
|
+
}
|
80
|
+
}
|
81
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
82
|
+
finally {
|
83
|
+
try {
|
84
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
85
|
+
}
|
86
|
+
finally { if (e_1) throw e_1.error; }
|
87
|
+
}
|
88
|
+
});
|
89
|
+
}
|
90
|
+
/**
|
91
|
+
* The List Domain Services in Resource Group operation lists all the domain services available under
|
92
|
+
* the given resource group.
|
93
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
94
|
+
* case insensitive.
|
95
|
+
* @param options The options parameters.
|
96
|
+
*/
|
97
|
+
listByResourceGroup(resourceGroupName, options) {
|
98
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
99
|
+
return {
|
100
|
+
next() {
|
101
|
+
return iter.next();
|
102
|
+
},
|
103
|
+
[Symbol.asyncIterator]() {
|
104
|
+
return this;
|
105
|
+
},
|
106
|
+
byPage: (settings) => {
|
107
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
108
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
109
|
+
}
|
110
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
111
|
+
}
|
112
|
+
};
|
113
|
+
}
|
114
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
115
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
116
|
+
let result;
|
117
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
118
|
+
if (!continuationToken) {
|
119
|
+
result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
|
120
|
+
let page = result.value || [];
|
121
|
+
continuationToken = result.nextLink;
|
122
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
123
|
+
yield yield tslib_1.__await(page);
|
124
|
+
}
|
125
|
+
while (continuationToken) {
|
126
|
+
result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
127
|
+
continuationToken = result.nextLink;
|
128
|
+
let page = result.value || [];
|
129
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
130
|
+
yield yield tslib_1.__await(page);
|
131
|
+
}
|
132
|
+
});
|
133
|
+
}
|
134
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
135
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
136
|
+
var _a, e_2, _b, _c;
|
137
|
+
try {
|
138
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
139
|
+
_c = _f.value;
|
140
|
+
_d = false;
|
141
|
+
const page = _c;
|
142
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
143
|
+
}
|
144
|
+
}
|
145
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
146
|
+
finally {
|
147
|
+
try {
|
148
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
149
|
+
}
|
150
|
+
finally { if (e_2) throw e_2.error; }
|
151
|
+
}
|
152
|
+
});
|
153
|
+
}
|
154
|
+
/**
|
155
|
+
* The List Domain Services in Subscription operation lists all the domain services available under the
|
156
|
+
* given subscription (and across all resource groups within that subscription).
|
157
|
+
* @param options The options parameters.
|
158
|
+
*/
|
159
|
+
_list(options) {
|
160
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
161
|
+
}
|
162
|
+
/**
|
163
|
+
* The List Domain Services in Resource Group operation lists all the domain services available under
|
164
|
+
* the given resource group.
|
165
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
166
|
+
* case insensitive.
|
167
|
+
* @param options The options parameters.
|
168
|
+
*/
|
169
|
+
_listByResourceGroup(resourceGroupName, options) {
|
170
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
171
|
+
}
|
172
|
+
/**
|
173
|
+
* The Create Domain Service operation creates a new domain service with the specified parameters. If
|
174
|
+
* the specific service already exists, then any patchable properties will be updated and any immutable
|
175
|
+
* properties will remain unchanged.
|
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 domainService Properties supplied to the Create or Update a Domain Service operation.
|
180
|
+
* @param options The options parameters.
|
181
|
+
*/
|
182
|
+
async beginCreateOrUpdate(resourceGroupName, domainServiceName, domainService, 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, domainService, options }, createOrUpdateOperationSpec);
|
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 Create Domain Service operation creates a new domain service with the specified parameters. If
|
215
|
+
* the specific service already exists, then any patchable properties will be updated and any immutable
|
216
|
+
* properties will remain unchanged.
|
217
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
218
|
+
* case insensitive.
|
219
|
+
* @param domainServiceName The name of the domain service.
|
220
|
+
* @param domainService Properties supplied to the Create or Update a Domain Service operation.
|
221
|
+
* @param options The options parameters.
|
222
|
+
*/
|
223
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, domainServiceName, domainService, options) {
|
224
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, domainServiceName, domainService, options);
|
225
|
+
return poller.pollUntilDone();
|
226
|
+
}
|
227
|
+
/**
|
228
|
+
* The Get Domain Service operation retrieves a json representation of the Domain Service.
|
229
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
230
|
+
* case insensitive.
|
231
|
+
* @param domainServiceName The name of the domain service.
|
232
|
+
* @param options The options parameters.
|
233
|
+
*/
|
234
|
+
get(resourceGroupName, domainServiceName, options) {
|
235
|
+
return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, options }, getOperationSpec);
|
236
|
+
}
|
237
|
+
/**
|
238
|
+
* The Delete Domain Service operation deletes an existing Domain Service.
|
239
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
240
|
+
* case insensitive.
|
241
|
+
* @param domainServiceName The name of the domain service.
|
242
|
+
* @param options The options parameters.
|
243
|
+
*/
|
244
|
+
async beginDelete(resourceGroupName, domainServiceName, options) {
|
245
|
+
const directSendOperation = async (args, spec) => {
|
246
|
+
return this.client.sendOperationRequest(args, spec);
|
247
|
+
};
|
248
|
+
const sendOperation = async (args, spec) => {
|
249
|
+
var _a;
|
250
|
+
let currentRawResponse = undefined;
|
251
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
252
|
+
const callback = (rawResponse, flatResponse) => {
|
253
|
+
currentRawResponse = rawResponse;
|
254
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
255
|
+
};
|
256
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
257
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
258
|
+
return {
|
259
|
+
flatResponse,
|
260
|
+
rawResponse: {
|
261
|
+
statusCode: currentRawResponse.status,
|
262
|
+
body: currentRawResponse.parsedBody,
|
263
|
+
headers: currentRawResponse.headers.toJSON()
|
264
|
+
}
|
265
|
+
};
|
266
|
+
};
|
267
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, domainServiceName, options }, deleteOperationSpec);
|
268
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
269
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
270
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
271
|
+
});
|
272
|
+
await poller.poll();
|
273
|
+
return poller;
|
274
|
+
}
|
275
|
+
/**
|
276
|
+
* The Delete Domain Service operation deletes an existing Domain Service.
|
277
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
278
|
+
* case insensitive.
|
279
|
+
* @param domainServiceName The name of the domain service.
|
280
|
+
* @param options The options parameters.
|
281
|
+
*/
|
282
|
+
async beginDeleteAndWait(resourceGroupName, domainServiceName, options) {
|
283
|
+
const poller = await this.beginDelete(resourceGroupName, domainServiceName, options);
|
284
|
+
return poller.pollUntilDone();
|
285
|
+
}
|
286
|
+
/**
|
287
|
+
* The Update Domain Service operation can be used to update the existing deployment. The update call
|
288
|
+
* only supports the properties listed in the PATCH body.
|
289
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
290
|
+
* case insensitive.
|
291
|
+
* @param domainServiceName The name of the domain service.
|
292
|
+
* @param domainService Properties supplied to the Update a Domain Service operation.
|
293
|
+
* @param options The options parameters.
|
294
|
+
*/
|
295
|
+
async beginUpdate(resourceGroupName, domainServiceName, domainService, options) {
|
296
|
+
const directSendOperation = async (args, spec) => {
|
297
|
+
return this.client.sendOperationRequest(args, spec);
|
298
|
+
};
|
299
|
+
const sendOperation = async (args, spec) => {
|
300
|
+
var _a;
|
301
|
+
let currentRawResponse = undefined;
|
302
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
303
|
+
const callback = (rawResponse, flatResponse) => {
|
304
|
+
currentRawResponse = rawResponse;
|
305
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
306
|
+
};
|
307
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
308
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
309
|
+
return {
|
310
|
+
flatResponse,
|
311
|
+
rawResponse: {
|
312
|
+
statusCode: currentRawResponse.status,
|
313
|
+
body: currentRawResponse.parsedBody,
|
314
|
+
headers: currentRawResponse.headers.toJSON()
|
315
|
+
}
|
316
|
+
};
|
317
|
+
};
|
318
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, domainServiceName, domainService, options }, updateOperationSpec);
|
319
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
320
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
321
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
322
|
+
});
|
323
|
+
await poller.poll();
|
324
|
+
return poller;
|
325
|
+
}
|
326
|
+
/**
|
327
|
+
* The Update Domain Service operation can be used to update the existing deployment. The update call
|
328
|
+
* only supports the properties listed in the PATCH body.
|
329
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
330
|
+
* case insensitive.
|
331
|
+
* @param domainServiceName The name of the domain service.
|
332
|
+
* @param domainService Properties supplied to the Update a Domain Service operation.
|
333
|
+
* @param options The options parameters.
|
334
|
+
*/
|
335
|
+
async beginUpdateAndWait(resourceGroupName, domainServiceName, domainService, options) {
|
336
|
+
const poller = await this.beginUpdate(resourceGroupName, domainServiceName, domainService, options);
|
337
|
+
return poller.pollUntilDone();
|
338
|
+
}
|
339
|
+
/**
|
340
|
+
* ListNext
|
341
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
342
|
+
* @param options The options parameters.
|
343
|
+
*/
|
344
|
+
_listNext(nextLink, options) {
|
345
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
346
|
+
}
|
347
|
+
/**
|
348
|
+
* ListByResourceGroupNext
|
349
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
350
|
+
* case insensitive.
|
351
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
352
|
+
* @param options The options parameters.
|
353
|
+
*/
|
354
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
355
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
356
|
+
}
|
357
|
+
}
|
358
|
+
exports.DomainServicesImpl = DomainServicesImpl;
|
359
|
+
// Operation Specifications
|
360
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
361
|
+
const listOperationSpec = {
|
362
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices",
|
363
|
+
httpMethod: "GET",
|
364
|
+
responses: {
|
365
|
+
200: {
|
366
|
+
bodyMapper: Mappers.DomainServiceListResult
|
367
|
+
},
|
368
|
+
default: {
|
369
|
+
bodyMapper: Mappers.CloudError
|
370
|
+
}
|
371
|
+
},
|
372
|
+
queryParameters: [Parameters.apiVersion],
|
373
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
374
|
+
headerParameters: [Parameters.accept],
|
375
|
+
serializer
|
376
|
+
};
|
377
|
+
const listByResourceGroupOperationSpec = {
|
378
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices",
|
379
|
+
httpMethod: "GET",
|
380
|
+
responses: {
|
381
|
+
200: {
|
382
|
+
bodyMapper: Mappers.DomainServiceListResult
|
383
|
+
},
|
384
|
+
default: {
|
385
|
+
bodyMapper: Mappers.CloudError
|
386
|
+
}
|
387
|
+
},
|
388
|
+
queryParameters: [Parameters.apiVersion],
|
389
|
+
urlParameters: [
|
390
|
+
Parameters.$host,
|
391
|
+
Parameters.subscriptionId,
|
392
|
+
Parameters.resourceGroupName
|
393
|
+
],
|
394
|
+
headerParameters: [Parameters.accept],
|
395
|
+
serializer
|
396
|
+
};
|
397
|
+
const createOrUpdateOperationSpec = {
|
398
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
399
|
+
httpMethod: "PUT",
|
400
|
+
responses: {
|
401
|
+
200: {
|
402
|
+
bodyMapper: Mappers.DomainService
|
403
|
+
},
|
404
|
+
201: {
|
405
|
+
bodyMapper: Mappers.DomainService
|
406
|
+
},
|
407
|
+
202: {
|
408
|
+
bodyMapper: Mappers.DomainService
|
409
|
+
},
|
410
|
+
204: {
|
411
|
+
bodyMapper: Mappers.DomainService
|
412
|
+
},
|
413
|
+
default: {
|
414
|
+
bodyMapper: Mappers.CloudError
|
415
|
+
}
|
416
|
+
},
|
417
|
+
requestBody: Parameters.domainService,
|
418
|
+
queryParameters: [Parameters.apiVersion],
|
419
|
+
urlParameters: [
|
420
|
+
Parameters.$host,
|
421
|
+
Parameters.subscriptionId,
|
422
|
+
Parameters.resourceGroupName,
|
423
|
+
Parameters.domainServiceName
|
424
|
+
],
|
425
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
426
|
+
mediaType: "json",
|
427
|
+
serializer
|
428
|
+
};
|
429
|
+
const getOperationSpec = {
|
430
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
431
|
+
httpMethod: "GET",
|
432
|
+
responses: {
|
433
|
+
200: {
|
434
|
+
bodyMapper: Mappers.DomainService
|
435
|
+
},
|
436
|
+
default: {
|
437
|
+
bodyMapper: Mappers.CloudError
|
438
|
+
}
|
439
|
+
},
|
440
|
+
queryParameters: [Parameters.apiVersion],
|
441
|
+
urlParameters: [
|
442
|
+
Parameters.$host,
|
443
|
+
Parameters.subscriptionId,
|
444
|
+
Parameters.resourceGroupName,
|
445
|
+
Parameters.domainServiceName
|
446
|
+
],
|
447
|
+
headerParameters: [Parameters.accept],
|
448
|
+
serializer
|
449
|
+
};
|
450
|
+
const deleteOperationSpec = {
|
451
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
452
|
+
httpMethod: "DELETE",
|
453
|
+
responses: {
|
454
|
+
200: {},
|
455
|
+
201: {},
|
456
|
+
202: {},
|
457
|
+
204: {},
|
458
|
+
default: {
|
459
|
+
bodyMapper: Mappers.CloudError
|
460
|
+
}
|
461
|
+
},
|
462
|
+
queryParameters: [Parameters.apiVersion],
|
463
|
+
urlParameters: [
|
464
|
+
Parameters.$host,
|
465
|
+
Parameters.subscriptionId,
|
466
|
+
Parameters.resourceGroupName,
|
467
|
+
Parameters.domainServiceName
|
468
|
+
],
|
469
|
+
headerParameters: [Parameters.accept],
|
470
|
+
serializer
|
471
|
+
};
|
472
|
+
const updateOperationSpec = {
|
473
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
|
474
|
+
httpMethod: "PATCH",
|
475
|
+
responses: {
|
476
|
+
200: {
|
477
|
+
bodyMapper: Mappers.DomainService
|
478
|
+
},
|
479
|
+
201: {
|
480
|
+
bodyMapper: Mappers.DomainService
|
481
|
+
},
|
482
|
+
202: {
|
483
|
+
bodyMapper: Mappers.DomainService
|
484
|
+
},
|
485
|
+
204: {
|
486
|
+
bodyMapper: Mappers.DomainService
|
487
|
+
},
|
488
|
+
default: {
|
489
|
+
bodyMapper: Mappers.CloudError
|
490
|
+
}
|
491
|
+
},
|
492
|
+
requestBody: Parameters.domainService,
|
493
|
+
queryParameters: [Parameters.apiVersion],
|
494
|
+
urlParameters: [
|
495
|
+
Parameters.$host,
|
496
|
+
Parameters.subscriptionId,
|
497
|
+
Parameters.resourceGroupName,
|
498
|
+
Parameters.domainServiceName
|
499
|
+
],
|
500
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
501
|
+
mediaType: "json",
|
502
|
+
serializer
|
503
|
+
};
|
504
|
+
const listNextOperationSpec = {
|
505
|
+
path: "{nextLink}",
|
506
|
+
httpMethod: "GET",
|
507
|
+
responses: {
|
508
|
+
200: {
|
509
|
+
bodyMapper: Mappers.DomainServiceListResult
|
510
|
+
},
|
511
|
+
default: {
|
512
|
+
bodyMapper: Mappers.CloudError
|
513
|
+
}
|
514
|
+
},
|
515
|
+
queryParameters: [Parameters.apiVersion],
|
516
|
+
urlParameters: [
|
517
|
+
Parameters.$host,
|
518
|
+
Parameters.nextLink,
|
519
|
+
Parameters.subscriptionId
|
520
|
+
],
|
521
|
+
headerParameters: [Parameters.accept],
|
522
|
+
serializer
|
523
|
+
};
|
524
|
+
const listByResourceGroupNextOperationSpec = {
|
525
|
+
path: "{nextLink}",
|
526
|
+
httpMethod: "GET",
|
527
|
+
responses: {
|
528
|
+
200: {
|
529
|
+
bodyMapper: Mappers.DomainServiceListResult
|
530
|
+
},
|
531
|
+
default: {
|
532
|
+
bodyMapper: Mappers.CloudError
|
533
|
+
}
|
534
|
+
},
|
535
|
+
queryParameters: [Parameters.apiVersion],
|
536
|
+
urlParameters: [
|
537
|
+
Parameters.$host,
|
538
|
+
Parameters.nextLink,
|
539
|
+
Parameters.subscriptionId,
|
540
|
+
Parameters.resourceGroupName
|
541
|
+
],
|
542
|
+
headerParameters: [Parameters.accept],
|
543
|
+
serializer
|
544
|
+
};
|
545
|
+
//# sourceMappingURL=domainServices.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"domainServices.js","sourceRoot":"","sources":["../../../src/operations/domainServices.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAoBxC,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,OA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AC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,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 { DomainServices } 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 DomainService,\n DomainServicesListNextOptionalParams,\n DomainServicesListOptionalParams,\n DomainServicesListResponse,\n DomainServicesListByResourceGroupNextOptionalParams,\n DomainServicesListByResourceGroupOptionalParams,\n DomainServicesListByResourceGroupResponse,\n DomainServicesCreateOrUpdateOptionalParams,\n DomainServicesCreateOrUpdateResponse,\n DomainServicesGetOptionalParams,\n DomainServicesGetResponse,\n DomainServicesDeleteOptionalParams,\n DomainServicesUpdateOptionalParams,\n DomainServicesUpdateResponse,\n DomainServicesListNextResponse,\n DomainServicesListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DomainServices operations. */\nexport class DomainServicesImpl implements DomainServices {\n private readonly client: DomainServicesResourceProvider;\n\n /**\n * Initialize a new instance of the class DomainServices class.\n * @param client Reference to the service client\n */\n constructor(client: DomainServicesResourceProvider) {\n this.client = client;\n }\n\n /**\n * The List Domain Services in Subscription operation lists all the domain services available under the\n * given subscription (and across all resource groups within that subscription).\n * @param options The options parameters.\n */\n public list(\n options?: DomainServicesListOptionalParams\n ): PagedAsyncIterableIterator<DomainService> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: DomainServicesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DomainService[]> {\n let result: DomainServicesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: DomainServicesListOptionalParams\n ): AsyncIterableIterator<DomainService> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The List Domain Services in Resource Group operation lists all the domain services available under\n * the given resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: DomainServicesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<DomainService> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: DomainServicesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DomainService[]> {\n let result: DomainServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(\n resourceGroupName,\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 *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: DomainServicesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<DomainService> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The List Domain Services in Subscription operation lists all the domain services available under the\n * given subscription (and across all resource groups within that subscription).\n * @param options The options parameters.\n */\n private _list(\n options?: DomainServicesListOptionalParams\n ): Promise<DomainServicesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * The List Domain Services in Resource Group operation lists all the domain services available under\n * the given resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: DomainServicesListByResourceGroupOptionalParams\n ): Promise<DomainServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * The Create Domain Service operation creates a new domain service with the specified parameters. If\n * the specific service already exists, then any patchable properties will be updated and any immutable\n * properties will remain unchanged.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param domainService Properties supplied to the Create or Update a Domain Service operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n domainServiceName: string,\n domainService: DomainService,\n options?: DomainServicesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<DomainServicesCreateOrUpdateResponse>,\n DomainServicesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DomainServicesCreateOrUpdateResponse> => {\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, domainService, options },\n createOrUpdateOperationSpec\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 Domain Service operation creates a new domain service with the specified parameters. If\n * the specific service already exists, then any patchable properties will be updated and any immutable\n * properties will remain unchanged.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param domainService Properties supplied to the Create or Update a Domain Service operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n domainService: DomainService,\n options?: DomainServicesCreateOrUpdateOptionalParams\n ): Promise<DomainServicesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n domainServiceName,\n domainService,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The Get Domain Service operation retrieves a json representation of the Domain Service.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n domainServiceName: string,\n options?: DomainServicesGetOptionalParams\n ): Promise<DomainServicesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainServiceName, options },\n getOperationSpec\n );\n }\n\n /**\n * The Delete Domain Service operation deletes an existing Domain Service.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n domainServiceName: string,\n options?: DomainServicesDeleteOptionalParams\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, 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 Domain Service operation deletes an existing Domain Service.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n options?: DomainServicesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n domainServiceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The Update Domain Service operation can be used to update the existing deployment. The update call\n * only supports the properties listed in the PATCH body.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param domainService Properties supplied to the Update a Domain Service operation.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n domainServiceName: string,\n domainService: DomainService,\n options?: DomainServicesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<DomainServicesUpdateResponse>,\n DomainServicesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<DomainServicesUpdateResponse> => {\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, domainService, options },\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 Domain Service operation can be used to update the existing deployment. The update call\n * only supports the properties listed in the PATCH body.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param domainService Properties supplied to the Update a Domain Service operation.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n domainService: DomainService,\n options?: DomainServicesUpdateOptionalParams\n ): Promise<DomainServicesUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n domainServiceName,\n domainService,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: DomainServicesListNextOptionalParams\n ): Promise<DomainServicesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: DomainServicesListByResourceGroupNextOptionalParams\n ): Promise<DomainServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DomainServiceListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DomainServiceListResult\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 ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DomainService\n },\n 201: {\n bodyMapper: Mappers.DomainService\n },\n 202: {\n bodyMapper: Mappers.DomainService\n },\n 204: {\n bodyMapper: Mappers.DomainService\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.domainService,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DomainService\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 deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}\",\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 ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.DomainService\n },\n 201: {\n bodyMapper: Mappers.DomainService\n },\n 202: {\n bodyMapper: Mappers.DomainService\n },\n 204: {\n bodyMapper: Mappers.DomainService\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.domainService,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName\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.DomainServiceListResult\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 ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DomainServiceListResult\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 ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
const tslib_1 = require("tslib");
|
11
|
+
tslib_1.__exportStar(require("./domainServiceOperations.js"), exports);
|
12
|
+
tslib_1.__exportStar(require("./domainServices.js"), exports);
|
13
|
+
tslib_1.__exportStar(require("./ouContainerOperations.js"), exports);
|
14
|
+
tslib_1.__exportStar(require("./ouContainerOperationGrp.js"), exports);
|
15
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,uEAA6C;AAC7C,8DAAoC;AACpC,qEAA2C;AAC3C,uEAA6C","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./domainServiceOperations.js\";\nexport * from \"./domainServices.js\";\nexport * from \"./ouContainerOperations.js\";\nexport * from \"./ouContainerOperationGrp.js\";\n"]}
|