@azure/arm-notificationhubs 3.0.0-beta.1 → 3.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -5
- package/LICENSE +4 -4
- package/README.md +25 -18
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{src/index.ts → dist/browser/index.js} +5 -6
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.d.ts +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -0
- package/dist/browser/lroImpl.js +18 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts +1 -1
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +170 -80
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.d.ts +1 -1
- package/dist/browser/models/parameters.d.ts.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}/notificationHubsManagementClient.d.ts +3 -3
- package/dist/browser/notificationHubsManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/notificationHubsManagementClient.js +33 -26
- package/dist/browser/notificationHubsManagementClient.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 → dist/browser}/operations/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/namespaces.d.ts +5 -5
- package/dist/browser/operations/namespaces.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/namespaces.js +118 -184
- package/dist/browser/operations/namespaces.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/notificationHubs.d.ts +4 -4
- package/dist/browser/operations/notificationHubs.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/notificationHubs.js +49 -87
- package/dist/browser/operations/notificationHubs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +4 -4
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +116 -148
- package/dist/browser/operations/privateEndpointConnections.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 → dist/browser}/operationsInterfaces/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/namespaces.d.ts +3 -3
- package/dist/browser/operationsInterfaces/namespaces.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/namespaces.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/notificationHubs.d.ts +2 -2
- package/dist/browser/operationsInterfaces/notificationHubs.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/notificationHubs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.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 +18 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +21 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-notificationhubs.d.ts → dist/commonjs/models/index.d.ts} +1606 -2131
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +157 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +60 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2509 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +24 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +215 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/notificationHubsManagementClient.d.ts +23 -0
- package/dist/commonjs/notificationHubsManagementClient.d.ts.map +1 -0
- package/dist/commonjs/notificationHubsManagementClient.js +115 -0
- package/dist/commonjs/notificationHubsManagementClient.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/namespaces.d.ts +173 -0
- package/dist/commonjs/operations/namespaces.d.ts.map +1 -0
- package/dist/commonjs/operations/namespaces.js +749 -0
- package/dist/commonjs/operations/namespaces.js.map +1 -0
- package/dist/commonjs/operations/notificationHubs.d.ts +170 -0
- package/dist/commonjs/operations/notificationHubs.d.ts.map +1 -0
- package/dist/commonjs/operations/notificationHubs.js +711 -0
- package/dist/commonjs/operations/notificationHubs.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +121 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +114 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +439 -0
- package/dist/commonjs/operations/privateEndpointConnections.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/namespaces.d.ts +120 -0
- package/dist/commonjs/operationsInterfaces/namespaces.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/namespaces.js +10 -0
- package/dist/commonjs/operationsInterfaces/namespaces.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/notificationHubs.d.ts +126 -0
- package/dist/commonjs/operationsInterfaces/notificationHubs.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/notificationHubs.js +10 -0
- package/dist/commonjs/operationsInterfaces/notificationHubs.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.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 +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/index.js +4 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +18 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1606 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +154 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +60 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2505 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +24 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +212 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/notificationHubsManagementClient.d.ts +23 -0
- package/dist/esm/notificationHubsManagementClient.d.ts.map +1 -0
- package/dist/esm/notificationHubsManagementClient.js +110 -0
- package/dist/esm/notificationHubsManagementClient.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/namespaces.d.ts +173 -0
- package/dist/esm/operations/namespaces.d.ts.map +1 -0
- package/dist/esm/operations/namespaces.js +744 -0
- package/dist/esm/operations/namespaces.js.map +1 -0
- package/dist/esm/operations/notificationHubs.d.ts +170 -0
- package/dist/esm/operations/notificationHubs.d.ts.map +1 -0
- package/dist/esm/operations/notificationHubs.js +706 -0
- package/dist/esm/operations/notificationHubs.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +116 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +114 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +434 -0
- package/dist/esm/operations/privateEndpointConnections.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/namespaces.d.ts +120 -0
- package/dist/esm/operationsInterfaces/namespaces.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/namespaces.js +9 -0
- package/dist/esm/operationsInterfaces/namespaces.js.map +1 -0
- package/dist/esm/operationsInterfaces/notificationHubs.d.ts +126 -0
- package/dist/esm/operationsInterfaces/notificationHubs.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/notificationHubs.js +9 -0
- package/dist/esm/operationsInterfaces/notificationHubs.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.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 +30 -0
- package/dist/esm/pagingHelper.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 +12 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +18 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1606 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +154 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +60 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2505 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +24 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +212 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/notificationHubsManagementClient.d.ts +23 -0
- package/dist/react-native/notificationHubsManagementClient.d.ts.map +1 -0
- package/dist/react-native/notificationHubsManagementClient.js +110 -0
- package/dist/react-native/notificationHubsManagementClient.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/namespaces.d.ts +173 -0
- package/dist/react-native/operations/namespaces.d.ts.map +1 -0
- package/dist/react-native/operations/namespaces.js +744 -0
- package/dist/react-native/operations/namespaces.js.map +1 -0
- package/dist/react-native/operations/notificationHubs.d.ts +170 -0
- package/dist/react-native/operations/notificationHubs.d.ts.map +1 -0
- package/dist/react-native/operations/notificationHubs.js +706 -0
- package/dist/react-native/operations/notificationHubs.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +116 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +114 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +434 -0
- package/dist/react-native/operations/privateEndpointConnections.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/namespaces.d.ts +120 -0
- package/dist/react-native/operationsInterfaces/namespaces.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/namespaces.js +9 -0
- package/dist/react-native/operationsInterfaces/namespaces.js.map +1 -0
- package/dist/react-native/operationsInterfaces/notificationHubs.d.ts +126 -0
- package/dist/react-native/operationsInterfaces/notificationHubs.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/notificationHubs.js +9 -0
- package/dist/react-native/operationsInterfaces/notificationHubs.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.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 +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +88 -72
- package/review/{arm-notificationhubs.api.md → arm-notificationhubs-node.api.md} +4 -4
- package/dist/index.js +0 -5155
- 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/namespacesCheckAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js +0 -40
- package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js +0 -43
- package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +0 -51
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js +0 -40
- package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesDeleteSample.js +0 -39
- package/dist-esm/samples-dev/namespacesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js +0 -40
- package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js +0 -39
- package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesGetSample.js +0 -39
- package/dist-esm/samples-dev/namespacesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesListAllSample.js +0 -53
- package/dist-esm/samples-dev/namespacesListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js +0 -55
- package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesListKeysSample.js +0 -40
- package/dist-esm/samples-dev/namespacesListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesListSample.js +0 -54
- package/dist-esm/samples-dev/namespacesListSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesRegenerateKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js +0 -41
- package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/namespacesUpdateSample.js +0 -51
- package/dist-esm/samples-dev/namespacesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js +0 -43
- package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js +0 -44
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js +0 -41
- package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsDebugSendSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsDebugSendSample.js +0 -40
- package/dist-esm/samples-dev/notificationHubsDebugSendSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js +0 -41
- package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsDeleteSample.js +0 -40
- package/dist-esm/samples-dev/notificationHubsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js +0 -41
- package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js +0 -40
- package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsGetSample.js +0 -40
- package/dist-esm/samples-dev/notificationHubsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js +0 -56
- package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsListKeysSample.js +0 -41
- package/dist-esm/samples-dev/notificationHubsListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsListSample.js +0 -55
- package/dist-esm/samples-dev/notificationHubsListSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js +0 -42
- package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/notificationHubsUpdateSample.js +0 -47
- package/dist-esm/samples-dev/notificationHubsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -42
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js +0 -42
- package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -42
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js +0 -57
- package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -57
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +0 -48
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/notificationHubsManagementClient.d.ts.map +0 -1
- package/dist-esm/src/notificationHubsManagementClient.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/namespaces.d.ts.map +0 -1
- package/dist-esm/src/operations/namespaces.js.map +0 -1
- package/dist-esm/src/operations/notificationHubs.d.ts.map +0 -1
- package/dist-esm/src/operations/notificationHubs.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.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/namespaces.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/namespaces.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/notificationHubs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/notificationhubs_examples.d.ts +0 -4
- package/dist-esm/test/notificationhubs_examples.d.ts.map +0 -1
- package/dist-esm/test/notificationhubs_examples.js +0 -139
- package/dist-esm/test/notificationhubs_examples.js.map +0 -1
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1778
- package/src/models/mappers.ts +0 -2570
- package/src/models/parameters.ts +0 -248
- package/src/notificationHubsManagementClient.ts +0 -157
- package/src/operations/index.ts +0 -12
- package/src/operations/namespaces.ts +0 -1039
- package/src/operations/notificationHubs.ts +0 -983
- package/src/operations/operations.ts +0 -149
- package/src/operations/privateEndpointConnections.ts +0 -629
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/namespaces.ts +0 -229
- package/src/operationsInterfaces/notificationHubs.ts +0 -243
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -156
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/namespaces.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/notificationHubs.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
12
|
/// <reference lib="esnext.asynciterable" />
|
|
14
13
|
/** Class containing NotificationHubs operations. */
|
|
15
14
|
export class NotificationHubsImpl {
|
|
15
|
+
client;
|
|
16
16
|
/**
|
|
17
17
|
* Initialize a new instance of the class NotificationHubs class.
|
|
18
18
|
* @param client Reference to the service client
|
|
@@ -36,52 +36,35 @@ export class NotificationHubsImpl {
|
|
|
36
36
|
return this;
|
|
37
37
|
},
|
|
38
38
|
byPage: (settings) => {
|
|
39
|
-
if (settings
|
|
39
|
+
if (settings?.maxPageSize) {
|
|
40
40
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
41
|
}
|
|
42
42
|
return this.listPagingPage(resourceGroupName, namespaceName, options, settings);
|
|
43
43
|
},
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
listPagingPage(resourceGroupName, namespaceName, options, settings) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
});
|
|
46
|
+
async *listPagingPage(resourceGroupName, namespaceName, options, settings) {
|
|
47
|
+
let result;
|
|
48
|
+
let continuationToken = settings?.continuationToken;
|
|
49
|
+
if (!continuationToken) {
|
|
50
|
+
result = await this._list(resourceGroupName, namespaceName, options);
|
|
51
|
+
const page = result.value || [];
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
setContinuationToken(page, continuationToken);
|
|
54
|
+
yield page;
|
|
55
|
+
}
|
|
56
|
+
while (continuationToken) {
|
|
57
|
+
result = await this._listNext(resourceGroupName, namespaceName, continuationToken, options);
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
const page = result.value || [];
|
|
60
|
+
setContinuationToken(page, continuationToken);
|
|
61
|
+
yield page;
|
|
62
|
+
}
|
|
65
63
|
}
|
|
66
|
-
listPagingAll(resourceGroupName, namespaceName, options) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
-
_c = _f.value;
|
|
72
|
-
_d = false;
|
|
73
|
-
const page = _c;
|
|
74
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
-
finally {
|
|
79
|
-
try {
|
|
80
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
-
}
|
|
82
|
-
finally { if (e_1) throw e_1.error; }
|
|
83
|
-
}
|
|
84
|
-
});
|
|
64
|
+
async *listPagingAll(resourceGroupName, namespaceName, options) {
|
|
65
|
+
for await (const page of this.listPagingPage(resourceGroupName, namespaceName, options)) {
|
|
66
|
+
yield* page;
|
|
67
|
+
}
|
|
85
68
|
}
|
|
86
69
|
/**
|
|
87
70
|
* Gets the authorization rules for a NotificationHub.
|
|
@@ -100,52 +83,35 @@ export class NotificationHubsImpl {
|
|
|
100
83
|
return this;
|
|
101
84
|
},
|
|
102
85
|
byPage: (settings) => {
|
|
103
|
-
if (settings
|
|
86
|
+
if (settings?.maxPageSize) {
|
|
104
87
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
105
88
|
}
|
|
106
89
|
return this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings);
|
|
107
90
|
},
|
|
108
91
|
};
|
|
109
92
|
}
|
|
110
|
-
listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings) {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
});
|
|
93
|
+
async *listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings) {
|
|
94
|
+
let result;
|
|
95
|
+
let continuationToken = settings?.continuationToken;
|
|
96
|
+
if (!continuationToken) {
|
|
97
|
+
result = await this._listAuthorizationRules(resourceGroupName, namespaceName, notificationHubName, options);
|
|
98
|
+
const page = result.value || [];
|
|
99
|
+
continuationToken = result.nextLink;
|
|
100
|
+
setContinuationToken(page, continuationToken);
|
|
101
|
+
yield page;
|
|
102
|
+
}
|
|
103
|
+
while (continuationToken) {
|
|
104
|
+
result = await this._listAuthorizationRulesNext(resourceGroupName, namespaceName, notificationHubName, continuationToken, options);
|
|
105
|
+
continuationToken = result.nextLink;
|
|
106
|
+
const page = result.value || [];
|
|
107
|
+
setContinuationToken(page, continuationToken);
|
|
108
|
+
yield page;
|
|
109
|
+
}
|
|
129
110
|
}
|
|
130
|
-
listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, notificationHubName, options) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
for (var _d = true, _e = __asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
135
|
-
_c = _f.value;
|
|
136
|
-
_d = false;
|
|
137
|
-
const page = _c;
|
|
138
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
142
|
-
finally {
|
|
143
|
-
try {
|
|
144
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
145
|
-
}
|
|
146
|
-
finally { if (e_2) throw e_2.error; }
|
|
147
|
-
}
|
|
148
|
-
});
|
|
111
|
+
async *listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, notificationHubName, options) {
|
|
112
|
+
for await (const page of this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options)) {
|
|
113
|
+
yield* page;
|
|
114
|
+
}
|
|
149
115
|
}
|
|
150
116
|
/**
|
|
151
117
|
* Checks the availability of the given notificationHub in a namespace.
|
|
@@ -497,11 +463,7 @@ const listOperationSpec = {
|
|
|
497
463
|
bodyMapper: Mappers.ErrorResponse,
|
|
498
464
|
},
|
|
499
465
|
},
|
|
500
|
-
queryParameters: [
|
|
501
|
-
Parameters.apiVersion,
|
|
502
|
-
Parameters.skipToken,
|
|
503
|
-
Parameters.top,
|
|
504
|
-
],
|
|
466
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken, Parameters.top],
|
|
505
467
|
urlParameters: [
|
|
506
468
|
Parameters.$host,
|
|
507
469
|
Parameters.subscriptionId,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationHubs.js","sourceRoot":"","sources":["../../../src/operations/notificationHubs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAwCtD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IACd,MAAM,CAAmC;IAE1D;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,aAAqB,EACrB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAClF,CAAC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AC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uCAAuC;SAC5D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,QAAQ;KACpB;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 type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { NotificationHubs } 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 type { NotificationHubsManagementClient } from \"../notificationHubsManagementClient.js\";\nimport type {\n NotificationHubResource,\n NotificationHubsListNextOptionalParams,\n NotificationHubsListOptionalParams,\n NotificationHubsListResponse,\n SharedAccessAuthorizationRuleResource,\n NotificationHubsListAuthorizationRulesNextOptionalParams,\n NotificationHubsListAuthorizationRulesOptionalParams,\n NotificationHubsListAuthorizationRulesResponse,\n CheckAvailabilityParameters,\n NotificationHubsCheckNotificationHubAvailabilityOptionalParams,\n NotificationHubsCheckNotificationHubAvailabilityResponse,\n NotificationHubsGetOptionalParams,\n NotificationHubsGetResponse,\n NotificationHubsCreateOrUpdateOptionalParams,\n NotificationHubsCreateOrUpdateResponse,\n NotificationHubPatchParameters,\n NotificationHubsUpdateOptionalParams,\n NotificationHubsUpdateResponse,\n NotificationHubsDeleteOptionalParams,\n NotificationHubsDebugSendOptionalParams,\n NotificationHubsDebugSendResponse,\n NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams,\n NotificationHubsCreateOrUpdateAuthorizationRuleResponse,\n NotificationHubsDeleteAuthorizationRuleOptionalParams,\n NotificationHubsGetAuthorizationRuleOptionalParams,\n NotificationHubsGetAuthorizationRuleResponse,\n NotificationHubsListKeysOptionalParams,\n NotificationHubsListKeysResponse,\n PolicyKeyResource,\n NotificationHubsRegenerateKeysOptionalParams,\n NotificationHubsRegenerateKeysResponse,\n NotificationHubsGetPnsCredentialsOptionalParams,\n NotificationHubsGetPnsCredentialsResponse,\n NotificationHubsListNextResponse,\n NotificationHubsListAuthorizationRulesNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing NotificationHubs operations. */\nexport class NotificationHubsImpl implements NotificationHubs {\n private readonly client: NotificationHubsManagementClient;\n\n /**\n * Initialize a new instance of the class NotificationHubs class.\n * @param client Reference to the service client\n */\n constructor(client: NotificationHubsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the notification hubs associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n namespaceName: string,\n options?: NotificationHubsListOptionalParams,\n ): PagedAsyncIterableIterator<NotificationHubResource> {\n const iter = this.listPagingAll(resourceGroupName, namespaceName, 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(resourceGroupName, namespaceName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n options?: NotificationHubsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NotificationHubResource[]> {\n let result: NotificationHubsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, namespaceName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, namespaceName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n options?: NotificationHubsListOptionalParams,\n ): AsyncIterableIterator<NotificationHubResource> {\n for await (const page of this.listPagingPage(resourceGroupName, namespaceName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the authorization rules for a NotificationHub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n public listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsListAuthorizationRulesOptionalParams,\n ): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource> {\n const iter = this.listAuthorizationRulesPagingAll(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAuthorizationRulesPagingPage(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listAuthorizationRulesPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsListAuthorizationRulesOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SharedAccessAuthorizationRuleResource[]> {\n let result: NotificationHubsListAuthorizationRulesResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAuthorizationRules(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n options,\n );\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAuthorizationRulesNext(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAuthorizationRulesPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsListAuthorizationRulesOptionalParams,\n ): AsyncIterableIterator<SharedAccessAuthorizationRuleResource> {\n for await (const page of this.listAuthorizationRulesPagingPage(\n resourceGroupName,\n namespaceName,\n notificationHubName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Checks the availability of the given notificationHub in a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n checkNotificationHubAvailability(\n resourceGroupName: string,\n namespaceName: string,\n parameters: CheckAvailabilityParameters,\n options?: NotificationHubsCheckNotificationHubAvailabilityOptionalParams,\n ): Promise<NotificationHubsCheckNotificationHubAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, parameters, options },\n checkNotificationHubAvailabilityOperationSpec,\n );\n }\n\n /**\n * Gets the notification hub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsGetOptionalParams,\n ): Promise<NotificationHubsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates/Update a NotificationHub in a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n parameters: NotificationHubResource,\n options?: NotificationHubsCreateOrUpdateOptionalParams,\n ): Promise<NotificationHubsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Patch a NotificationHub in a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n parameters: NotificationHubPatchParameters,\n options?: NotificationHubsUpdateOptionalParams,\n ): Promise<NotificationHubsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n parameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes a notification hub associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Lists the notification hubs associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n namespaceName: string,\n options?: NotificationHubsListOptionalParams,\n ): Promise<NotificationHubsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Test send a push notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n debugSend(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsDebugSendOptionalParams,\n ): Promise<NotificationHubsDebugSendResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n debugSendOperationSpec,\n );\n }\n\n /**\n * Creates/Updates an authorization rule for a NotificationHub\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n createOrUpdateAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n parameters: SharedAccessAuthorizationRuleResource,\n options?: NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams,\n ): Promise<NotificationHubsCreateOrUpdateAuthorizationRuleResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n parameters,\n options,\n },\n createOrUpdateAuthorizationRuleOperationSpec,\n );\n }\n\n /**\n * Deletes a notificationHub authorization rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n deleteAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n options?: NotificationHubsDeleteAuthorizationRuleOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n options,\n },\n deleteAuthorizationRuleOperationSpec,\n );\n }\n\n /**\n * Gets an authorization rule for a NotificationHub by name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n getAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n options?: NotificationHubsGetAuthorizationRuleOptionalParams,\n ): Promise<NotificationHubsGetAuthorizationRuleResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n options,\n },\n getAuthorizationRuleOperationSpec,\n );\n }\n\n /**\n * Gets the authorization rules for a NotificationHub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n private _listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsListAuthorizationRulesOptionalParams,\n ): Promise<NotificationHubsListAuthorizationRulesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n listAuthorizationRulesOperationSpec,\n );\n }\n\n /**\n * Gets the Primary and Secondary ConnectionStrings to the NotificationHub\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n options?: NotificationHubsListKeysOptionalParams,\n ): Promise<NotificationHubsListKeysResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n options,\n },\n listKeysOperationSpec,\n );\n }\n\n /**\n * Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n regenerateKeys(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n authorizationRuleName: string,\n parameters: PolicyKeyResource,\n options?: NotificationHubsRegenerateKeysOptionalParams,\n ): Promise<NotificationHubsRegenerateKeysResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n authorizationRuleName,\n parameters,\n options,\n },\n regenerateKeysOperationSpec,\n );\n }\n\n /**\n * Lists the PNS Credentials associated with a notification hub.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param options The options parameters.\n */\n getPnsCredentials(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n options?: NotificationHubsGetPnsCredentialsOptionalParams,\n ): Promise<NotificationHubsGetPnsCredentialsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, notificationHubName, options },\n getPnsCredentialsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n namespaceName: string,\n nextLink: string,\n options?: NotificationHubsListNextOptionalParams,\n ): Promise<NotificationHubsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListAuthorizationRulesNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param notificationHubName Notification Hub name\n * @param nextLink The nextLink from the previous successful call to the ListAuthorizationRules method.\n * @param options The options parameters.\n */\n private _listAuthorizationRulesNext(\n resourceGroupName: string,\n namespaceName: string,\n notificationHubName: string,\n nextLink: string,\n options?: NotificationHubsListAuthorizationRulesNextOptionalParams,\n ): Promise<NotificationHubsListAuthorizationRulesNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n notificationHubName,\n nextLink,\n options,\n },\n listAuthorizationRulesNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNotificationHubAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckAvailabilityResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubResource,\n },\n 201: {\n bodyMapper: Mappers.NotificationHubResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst debugSendOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DebugSendResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateAuthorizationRuleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,\n },\n 201: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteAuthorizationRuleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getAuthorizationRuleOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAuthorizationRulesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListKeys,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListKeys,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.authorizationRuleName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getPnsCredentialsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PnsCredentialsResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationHubListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAuthorizationRulesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedAccessAuthorizationRuleListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.notificationHubName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operations } from "../operationsInterfaces";
|
|
3
|
-
import { NotificationHubsManagementClient } from "../notificationHubsManagementClient";
|
|
4
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { NotificationHubsManagementClient } from "../notificationHubsManagementClient.js";
|
|
4
|
+
import type { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Operations operations. */
|
|
6
6
|
export declare class OperationsImpl implements Operations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,KAAK,EACV,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,SAAS,CAAC;YAkB3E,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
12
|
/// <reference lib="esnext.asynciterable" />
|
|
14
13
|
/** Class containing Operations operations. */
|
|
15
14
|
export class OperationsImpl {
|
|
15
|
+
client;
|
|
16
16
|
/**
|
|
17
17
|
* Initialize a new instance of the class Operations class.
|
|
18
18
|
* @param client Reference to the service client
|
|
@@ -34,52 +34,35 @@ export class OperationsImpl {
|
|
|
34
34
|
return this;
|
|
35
35
|
},
|
|
36
36
|
byPage: (settings) => {
|
|
37
|
-
if (settings
|
|
37
|
+
if (settings?.maxPageSize) {
|
|
38
38
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
39
|
}
|
|
40
40
|
return this.listPagingPage(options, settings);
|
|
41
41
|
},
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
listPagingPage(options, settings) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
});
|
|
44
|
+
async *listPagingPage(options, settings) {
|
|
45
|
+
let result;
|
|
46
|
+
let continuationToken = settings?.continuationToken;
|
|
47
|
+
if (!continuationToken) {
|
|
48
|
+
result = await this._list(options);
|
|
49
|
+
const page = result.value || [];
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
setContinuationToken(page, continuationToken);
|
|
52
|
+
yield page;
|
|
53
|
+
}
|
|
54
|
+
while (continuationToken) {
|
|
55
|
+
result = await this._listNext(continuationToken, options);
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
const page = result.value || [];
|
|
58
|
+
setContinuationToken(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
63
61
|
}
|
|
64
|
-
listPagingAll(options) {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
69
|
-
_c = _f.value;
|
|
70
|
-
_d = false;
|
|
71
|
-
const page = _c;
|
|
72
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
76
|
-
finally {
|
|
77
|
-
try {
|
|
78
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
79
|
-
}
|
|
80
|
-
finally { if (e_1) throw e_1.error; }
|
|
81
|
-
}
|
|
82
|
-
});
|
|
62
|
+
async *listPagingAll(options) {
|
|
63
|
+
for await (const page of this.listPagingPage(options)) {
|
|
64
|
+
yield* page;
|
|
65
|
+
}
|
|
83
66
|
}
|
|
84
67
|
/**
|
|
85
68
|
* Lists all available Notification Hubs operations.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAmC;IAE1D;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAsC;QAChD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC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AgB,EAChB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,qBAAqB,CAAC,CAAC;IACxF,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,kDAAkD;IACxD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Operations } 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 type { NotificationHubsManagementClient } from \"../notificationHubsManagementClient.js\";\nimport type {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: NotificationHubsManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: NotificationHubsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all available Notification Hubs operations.\n * @param options The options parameters.\n */\n public list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation> {\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?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n const 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 const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all available Notification Hubs operations.\n * @param options The options parameters.\n */\n private _list(options?: OperationsListOptionalParams): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.NotificationHubs/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
3
|
-
import { NotificationHubsManagementClient } from "../notificationHubsManagementClient";
|
|
4
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { PrivateEndpointConnectionResource, PrivateEndpointConnectionsListOptionalParams, PrivateLinkResource, PrivateEndpointConnectionsListGroupIdsOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsGetGroupIdOptionalParams, PrivateEndpointConnectionsGetGroupIdResponse } from "../models";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { NotificationHubsManagementClient } from "../notificationHubsManagementClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { PrivateEndpointConnectionResource, PrivateEndpointConnectionsListOptionalParams, PrivateLinkResource, PrivateEndpointConnectionsListGroupIdsOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsGetGroupIdOptionalParams, PrivateEndpointConnectionsGetGroupIdResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing PrivateEndpointConnections operations. */
|
|
7
7
|
export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
|
|
8
8
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,iCAAiC,EACjC,4CAA4C,EAE5C,mBAAmB,EACnB,oDAAoD,EAEpD,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EACxC,2CAA2C,EAC3C,qCAAqC,EACrC,kDAAkD,EAClD,4CAA4C,EAC7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