@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
|
@@ -0,0 +1,711 @@
|
|
|
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.NotificationHubsImpl = 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
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing NotificationHubs operations. */
|
|
18
|
+
class NotificationHubsImpl {
|
|
19
|
+
client;
|
|
20
|
+
/**
|
|
21
|
+
* Initialize a new instance of the class NotificationHubs class.
|
|
22
|
+
* @param client Reference to the service client
|
|
23
|
+
*/
|
|
24
|
+
constructor(client) {
|
|
25
|
+
this.client = client;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Lists the notification hubs associated with a namespace.
|
|
29
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
30
|
+
* @param namespaceName Namespace name
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
list(resourceGroupName, namespaceName, options) {
|
|
34
|
+
const iter = this.listPagingAll(resourceGroupName, namespaceName, options);
|
|
35
|
+
return {
|
|
36
|
+
next() {
|
|
37
|
+
return iter.next();
|
|
38
|
+
},
|
|
39
|
+
[Symbol.asyncIterator]() {
|
|
40
|
+
return this;
|
|
41
|
+
},
|
|
42
|
+
byPage: (settings) => {
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
44
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
|
+
}
|
|
46
|
+
return this.listPagingPage(resourceGroupName, namespaceName, options, settings);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
async *listPagingPage(resourceGroupName, namespaceName, options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._list(resourceGroupName, namespaceName, options);
|
|
55
|
+
const page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listNext(resourceGroupName, namespaceName, continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
const page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
async *listPagingAll(resourceGroupName, namespaceName, options) {
|
|
69
|
+
for await (const page of this.listPagingPage(resourceGroupName, namespaceName, options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Gets the authorization rules for a NotificationHub.
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param namespaceName Namespace name
|
|
77
|
+
* @param notificationHubName Notification Hub name
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
listAuthorizationRules(resourceGroupName, namespaceName, notificationHubName, options) {
|
|
81
|
+
const iter = this.listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, notificationHubName, options);
|
|
82
|
+
return {
|
|
83
|
+
next() {
|
|
84
|
+
return iter.next();
|
|
85
|
+
},
|
|
86
|
+
[Symbol.asyncIterator]() {
|
|
87
|
+
return this;
|
|
88
|
+
},
|
|
89
|
+
byPage: (settings) => {
|
|
90
|
+
if (settings?.maxPageSize) {
|
|
91
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
92
|
+
}
|
|
93
|
+
return this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings);
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
async *listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options, settings) {
|
|
98
|
+
let result;
|
|
99
|
+
let continuationToken = settings?.continuationToken;
|
|
100
|
+
if (!continuationToken) {
|
|
101
|
+
result = await this._listAuthorizationRules(resourceGroupName, namespaceName, notificationHubName, options);
|
|
102
|
+
const page = result.value || [];
|
|
103
|
+
continuationToken = result.nextLink;
|
|
104
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
105
|
+
yield page;
|
|
106
|
+
}
|
|
107
|
+
while (continuationToken) {
|
|
108
|
+
result = await this._listAuthorizationRulesNext(resourceGroupName, namespaceName, notificationHubName, continuationToken, options);
|
|
109
|
+
continuationToken = result.nextLink;
|
|
110
|
+
const page = result.value || [];
|
|
111
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
112
|
+
yield page;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
async *listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, notificationHubName, options) {
|
|
116
|
+
for await (const page of this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, notificationHubName, options)) {
|
|
117
|
+
yield* page;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Checks the availability of the given notificationHub in a namespace.
|
|
122
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
123
|
+
* @param namespaceName Namespace name
|
|
124
|
+
* @param parameters Request content.
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
checkNotificationHubAvailability(resourceGroupName, namespaceName, parameters, options) {
|
|
128
|
+
return this.client.sendOperationRequest({ resourceGroupName, namespaceName, parameters, options }, checkNotificationHubAvailabilityOperationSpec);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Gets the notification hub.
|
|
132
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
133
|
+
* @param namespaceName Namespace name
|
|
134
|
+
* @param notificationHubName Notification Hub name
|
|
135
|
+
* @param options The options parameters.
|
|
136
|
+
*/
|
|
137
|
+
get(resourceGroupName, namespaceName, notificationHubName, options) {
|
|
138
|
+
return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, getOperationSpec);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Creates/Update a NotificationHub in a namespace.
|
|
142
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
143
|
+
* @param namespaceName Namespace name
|
|
144
|
+
* @param notificationHubName Notification Hub name
|
|
145
|
+
* @param parameters Request content.
|
|
146
|
+
* @param options The options parameters.
|
|
147
|
+
*/
|
|
148
|
+
createOrUpdate(resourceGroupName, namespaceName, notificationHubName, parameters, options) {
|
|
149
|
+
return this.client.sendOperationRequest({
|
|
150
|
+
resourceGroupName,
|
|
151
|
+
namespaceName,
|
|
152
|
+
notificationHubName,
|
|
153
|
+
parameters,
|
|
154
|
+
options,
|
|
155
|
+
}, createOrUpdateOperationSpec);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Patch a NotificationHub in a namespace.
|
|
159
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
160
|
+
* @param namespaceName Namespace name
|
|
161
|
+
* @param notificationHubName Notification Hub name
|
|
162
|
+
* @param parameters Request content.
|
|
163
|
+
* @param options The options parameters.
|
|
164
|
+
*/
|
|
165
|
+
update(resourceGroupName, namespaceName, notificationHubName, parameters, options) {
|
|
166
|
+
return this.client.sendOperationRequest({
|
|
167
|
+
resourceGroupName,
|
|
168
|
+
namespaceName,
|
|
169
|
+
notificationHubName,
|
|
170
|
+
parameters,
|
|
171
|
+
options,
|
|
172
|
+
}, updateOperationSpec);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Deletes a notification hub associated with a namespace.
|
|
176
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
177
|
+
* @param namespaceName Namespace name
|
|
178
|
+
* @param notificationHubName Notification Hub name
|
|
179
|
+
* @param options The options parameters.
|
|
180
|
+
*/
|
|
181
|
+
delete(resourceGroupName, namespaceName, notificationHubName, options) {
|
|
182
|
+
return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, deleteOperationSpec);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Lists the notification hubs associated with a namespace.
|
|
186
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
187
|
+
* @param namespaceName Namespace name
|
|
188
|
+
* @param options The options parameters.
|
|
189
|
+
*/
|
|
190
|
+
_list(resourceGroupName, namespaceName, options) {
|
|
191
|
+
return this.client.sendOperationRequest({ resourceGroupName, namespaceName, options }, listOperationSpec);
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Test send a push notification.
|
|
195
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
196
|
+
* @param namespaceName Namespace name
|
|
197
|
+
* @param notificationHubName Notification Hub name
|
|
198
|
+
* @param options The options parameters.
|
|
199
|
+
*/
|
|
200
|
+
debugSend(resourceGroupName, namespaceName, notificationHubName, options) {
|
|
201
|
+
return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, debugSendOperationSpec);
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Creates/Updates an authorization rule for a NotificationHub
|
|
205
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
206
|
+
* @param namespaceName Namespace name
|
|
207
|
+
* @param notificationHubName Notification Hub name
|
|
208
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
209
|
+
* @param parameters Request content.
|
|
210
|
+
* @param options The options parameters.
|
|
211
|
+
*/
|
|
212
|
+
createOrUpdateAuthorizationRule(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, parameters, options) {
|
|
213
|
+
return this.client.sendOperationRequest({
|
|
214
|
+
resourceGroupName,
|
|
215
|
+
namespaceName,
|
|
216
|
+
notificationHubName,
|
|
217
|
+
authorizationRuleName,
|
|
218
|
+
parameters,
|
|
219
|
+
options,
|
|
220
|
+
}, createOrUpdateAuthorizationRuleOperationSpec);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Deletes a notificationHub authorization rule
|
|
224
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
225
|
+
* @param namespaceName Namespace name
|
|
226
|
+
* @param notificationHubName Notification Hub name
|
|
227
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
228
|
+
* @param options The options parameters.
|
|
229
|
+
*/
|
|
230
|
+
deleteAuthorizationRule(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, options) {
|
|
231
|
+
return this.client.sendOperationRequest({
|
|
232
|
+
resourceGroupName,
|
|
233
|
+
namespaceName,
|
|
234
|
+
notificationHubName,
|
|
235
|
+
authorizationRuleName,
|
|
236
|
+
options,
|
|
237
|
+
}, deleteAuthorizationRuleOperationSpec);
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Gets an authorization rule for a NotificationHub by name.
|
|
241
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
242
|
+
* @param namespaceName Namespace name
|
|
243
|
+
* @param notificationHubName Notification Hub name
|
|
244
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
245
|
+
* @param options The options parameters.
|
|
246
|
+
*/
|
|
247
|
+
getAuthorizationRule(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, options) {
|
|
248
|
+
return this.client.sendOperationRequest({
|
|
249
|
+
resourceGroupName,
|
|
250
|
+
namespaceName,
|
|
251
|
+
notificationHubName,
|
|
252
|
+
authorizationRuleName,
|
|
253
|
+
options,
|
|
254
|
+
}, getAuthorizationRuleOperationSpec);
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Gets the authorization rules for a NotificationHub.
|
|
258
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
259
|
+
* @param namespaceName Namespace name
|
|
260
|
+
* @param notificationHubName Notification Hub name
|
|
261
|
+
* @param options The options parameters.
|
|
262
|
+
*/
|
|
263
|
+
_listAuthorizationRules(resourceGroupName, namespaceName, notificationHubName, options) {
|
|
264
|
+
return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, listAuthorizationRulesOperationSpec);
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Gets the Primary and Secondary ConnectionStrings to the NotificationHub
|
|
268
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
269
|
+
* @param namespaceName Namespace name
|
|
270
|
+
* @param notificationHubName Notification Hub name
|
|
271
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
272
|
+
* @param options The options parameters.
|
|
273
|
+
*/
|
|
274
|
+
listKeys(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, options) {
|
|
275
|
+
return this.client.sendOperationRequest({
|
|
276
|
+
resourceGroupName,
|
|
277
|
+
namespaceName,
|
|
278
|
+
notificationHubName,
|
|
279
|
+
authorizationRuleName,
|
|
280
|
+
options,
|
|
281
|
+
}, listKeysOperationSpec);
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule
|
|
285
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
286
|
+
* @param namespaceName Namespace name
|
|
287
|
+
* @param notificationHubName Notification Hub name
|
|
288
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
289
|
+
* @param parameters Request content.
|
|
290
|
+
* @param options The options parameters.
|
|
291
|
+
*/
|
|
292
|
+
regenerateKeys(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, parameters, options) {
|
|
293
|
+
return this.client.sendOperationRequest({
|
|
294
|
+
resourceGroupName,
|
|
295
|
+
namespaceName,
|
|
296
|
+
notificationHubName,
|
|
297
|
+
authorizationRuleName,
|
|
298
|
+
parameters,
|
|
299
|
+
options,
|
|
300
|
+
}, regenerateKeysOperationSpec);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Lists the PNS Credentials associated with a notification hub.
|
|
304
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
305
|
+
* @param namespaceName Namespace name
|
|
306
|
+
* @param notificationHubName Notification Hub name
|
|
307
|
+
* @param options The options parameters.
|
|
308
|
+
*/
|
|
309
|
+
getPnsCredentials(resourceGroupName, namespaceName, notificationHubName, options) {
|
|
310
|
+
return this.client.sendOperationRequest({ resourceGroupName, namespaceName, notificationHubName, options }, getPnsCredentialsOperationSpec);
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* ListNext
|
|
314
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
315
|
+
* @param namespaceName Namespace name
|
|
316
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
317
|
+
* @param options The options parameters.
|
|
318
|
+
*/
|
|
319
|
+
_listNext(resourceGroupName, namespaceName, nextLink, options) {
|
|
320
|
+
return this.client.sendOperationRequest({ resourceGroupName, namespaceName, nextLink, options }, listNextOperationSpec);
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* ListAuthorizationRulesNext
|
|
324
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
325
|
+
* @param namespaceName Namespace name
|
|
326
|
+
* @param notificationHubName Notification Hub name
|
|
327
|
+
* @param nextLink The nextLink from the previous successful call to the ListAuthorizationRules method.
|
|
328
|
+
* @param options The options parameters.
|
|
329
|
+
*/
|
|
330
|
+
_listAuthorizationRulesNext(resourceGroupName, namespaceName, notificationHubName, nextLink, options) {
|
|
331
|
+
return this.client.sendOperationRequest({
|
|
332
|
+
resourceGroupName,
|
|
333
|
+
namespaceName,
|
|
334
|
+
notificationHubName,
|
|
335
|
+
nextLink,
|
|
336
|
+
options,
|
|
337
|
+
}, listAuthorizationRulesNextOperationSpec);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
exports.NotificationHubsImpl = NotificationHubsImpl;
|
|
341
|
+
// Operation Specifications
|
|
342
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
343
|
+
const checkNotificationHubAvailabilityOperationSpec = {
|
|
344
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability",
|
|
345
|
+
httpMethod: "POST",
|
|
346
|
+
responses: {
|
|
347
|
+
200: {
|
|
348
|
+
bodyMapper: Mappers.CheckAvailabilityResult,
|
|
349
|
+
},
|
|
350
|
+
default: {
|
|
351
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
requestBody: Parameters.parameters,
|
|
355
|
+
queryParameters: [Parameters.apiVersion],
|
|
356
|
+
urlParameters: [
|
|
357
|
+
Parameters.$host,
|
|
358
|
+
Parameters.subscriptionId,
|
|
359
|
+
Parameters.resourceGroupName,
|
|
360
|
+
Parameters.namespaceName,
|
|
361
|
+
],
|
|
362
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
363
|
+
mediaType: "json",
|
|
364
|
+
serializer,
|
|
365
|
+
};
|
|
366
|
+
const getOperationSpec = {
|
|
367
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}",
|
|
368
|
+
httpMethod: "GET",
|
|
369
|
+
responses: {
|
|
370
|
+
200: {
|
|
371
|
+
bodyMapper: Mappers.NotificationHubResource,
|
|
372
|
+
},
|
|
373
|
+
default: {
|
|
374
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
queryParameters: [Parameters.apiVersion],
|
|
378
|
+
urlParameters: [
|
|
379
|
+
Parameters.$host,
|
|
380
|
+
Parameters.subscriptionId,
|
|
381
|
+
Parameters.resourceGroupName,
|
|
382
|
+
Parameters.namespaceName,
|
|
383
|
+
Parameters.notificationHubName,
|
|
384
|
+
],
|
|
385
|
+
headerParameters: [Parameters.accept],
|
|
386
|
+
serializer,
|
|
387
|
+
};
|
|
388
|
+
const createOrUpdateOperationSpec = {
|
|
389
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}",
|
|
390
|
+
httpMethod: "PUT",
|
|
391
|
+
responses: {
|
|
392
|
+
200: {
|
|
393
|
+
bodyMapper: Mappers.NotificationHubResource,
|
|
394
|
+
},
|
|
395
|
+
201: {
|
|
396
|
+
bodyMapper: Mappers.NotificationHubResource,
|
|
397
|
+
},
|
|
398
|
+
default: {
|
|
399
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
requestBody: Parameters.parameters1,
|
|
403
|
+
queryParameters: [Parameters.apiVersion],
|
|
404
|
+
urlParameters: [
|
|
405
|
+
Parameters.$host,
|
|
406
|
+
Parameters.subscriptionId,
|
|
407
|
+
Parameters.resourceGroupName,
|
|
408
|
+
Parameters.namespaceName,
|
|
409
|
+
Parameters.notificationHubName,
|
|
410
|
+
],
|
|
411
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
412
|
+
mediaType: "json",
|
|
413
|
+
serializer,
|
|
414
|
+
};
|
|
415
|
+
const updateOperationSpec = {
|
|
416
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}",
|
|
417
|
+
httpMethod: "PATCH",
|
|
418
|
+
responses: {
|
|
419
|
+
200: {
|
|
420
|
+
bodyMapper: Mappers.NotificationHubResource,
|
|
421
|
+
},
|
|
422
|
+
default: {
|
|
423
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
424
|
+
},
|
|
425
|
+
},
|
|
426
|
+
requestBody: Parameters.parameters2,
|
|
427
|
+
queryParameters: [Parameters.apiVersion],
|
|
428
|
+
urlParameters: [
|
|
429
|
+
Parameters.$host,
|
|
430
|
+
Parameters.subscriptionId,
|
|
431
|
+
Parameters.resourceGroupName,
|
|
432
|
+
Parameters.namespaceName,
|
|
433
|
+
Parameters.notificationHubName,
|
|
434
|
+
],
|
|
435
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
436
|
+
mediaType: "json",
|
|
437
|
+
serializer,
|
|
438
|
+
};
|
|
439
|
+
const deleteOperationSpec = {
|
|
440
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}",
|
|
441
|
+
httpMethod: "DELETE",
|
|
442
|
+
responses: {
|
|
443
|
+
200: {},
|
|
444
|
+
204: {},
|
|
445
|
+
default: {
|
|
446
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
447
|
+
},
|
|
448
|
+
},
|
|
449
|
+
queryParameters: [Parameters.apiVersion],
|
|
450
|
+
urlParameters: [
|
|
451
|
+
Parameters.$host,
|
|
452
|
+
Parameters.subscriptionId,
|
|
453
|
+
Parameters.resourceGroupName,
|
|
454
|
+
Parameters.namespaceName,
|
|
455
|
+
Parameters.notificationHubName,
|
|
456
|
+
],
|
|
457
|
+
headerParameters: [Parameters.accept],
|
|
458
|
+
serializer,
|
|
459
|
+
};
|
|
460
|
+
const listOperationSpec = {
|
|
461
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs",
|
|
462
|
+
httpMethod: "GET",
|
|
463
|
+
responses: {
|
|
464
|
+
200: {
|
|
465
|
+
bodyMapper: Mappers.NotificationHubListResult,
|
|
466
|
+
},
|
|
467
|
+
default: {
|
|
468
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
469
|
+
},
|
|
470
|
+
},
|
|
471
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken, Parameters.top],
|
|
472
|
+
urlParameters: [
|
|
473
|
+
Parameters.$host,
|
|
474
|
+
Parameters.subscriptionId,
|
|
475
|
+
Parameters.resourceGroupName,
|
|
476
|
+
Parameters.namespaceName,
|
|
477
|
+
],
|
|
478
|
+
headerParameters: [Parameters.accept],
|
|
479
|
+
serializer,
|
|
480
|
+
};
|
|
481
|
+
const debugSendOperationSpec = {
|
|
482
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend",
|
|
483
|
+
httpMethod: "POST",
|
|
484
|
+
responses: {
|
|
485
|
+
200: {
|
|
486
|
+
bodyMapper: Mappers.DebugSendResponse,
|
|
487
|
+
},
|
|
488
|
+
default: {
|
|
489
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
queryParameters: [Parameters.apiVersion],
|
|
493
|
+
urlParameters: [
|
|
494
|
+
Parameters.$host,
|
|
495
|
+
Parameters.subscriptionId,
|
|
496
|
+
Parameters.resourceGroupName,
|
|
497
|
+
Parameters.namespaceName,
|
|
498
|
+
Parameters.notificationHubName,
|
|
499
|
+
],
|
|
500
|
+
headerParameters: [Parameters.accept],
|
|
501
|
+
serializer,
|
|
502
|
+
};
|
|
503
|
+
const createOrUpdateAuthorizationRuleOperationSpec = {
|
|
504
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}",
|
|
505
|
+
httpMethod: "PUT",
|
|
506
|
+
responses: {
|
|
507
|
+
200: {
|
|
508
|
+
bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,
|
|
509
|
+
},
|
|
510
|
+
201: {
|
|
511
|
+
bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,
|
|
512
|
+
},
|
|
513
|
+
default: {
|
|
514
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
515
|
+
},
|
|
516
|
+
},
|
|
517
|
+
requestBody: Parameters.parameters3,
|
|
518
|
+
queryParameters: [Parameters.apiVersion],
|
|
519
|
+
urlParameters: [
|
|
520
|
+
Parameters.$host,
|
|
521
|
+
Parameters.subscriptionId,
|
|
522
|
+
Parameters.resourceGroupName,
|
|
523
|
+
Parameters.namespaceName,
|
|
524
|
+
Parameters.notificationHubName,
|
|
525
|
+
Parameters.authorizationRuleName,
|
|
526
|
+
],
|
|
527
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
528
|
+
mediaType: "json",
|
|
529
|
+
serializer,
|
|
530
|
+
};
|
|
531
|
+
const deleteAuthorizationRuleOperationSpec = {
|
|
532
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}",
|
|
533
|
+
httpMethod: "DELETE",
|
|
534
|
+
responses: {
|
|
535
|
+
200: {},
|
|
536
|
+
204: {},
|
|
537
|
+
default: {
|
|
538
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
539
|
+
},
|
|
540
|
+
},
|
|
541
|
+
queryParameters: [Parameters.apiVersion],
|
|
542
|
+
urlParameters: [
|
|
543
|
+
Parameters.$host,
|
|
544
|
+
Parameters.subscriptionId,
|
|
545
|
+
Parameters.resourceGroupName,
|
|
546
|
+
Parameters.namespaceName,
|
|
547
|
+
Parameters.notificationHubName,
|
|
548
|
+
Parameters.authorizationRuleName,
|
|
549
|
+
],
|
|
550
|
+
headerParameters: [Parameters.accept],
|
|
551
|
+
serializer,
|
|
552
|
+
};
|
|
553
|
+
const getAuthorizationRuleOperationSpec = {
|
|
554
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}",
|
|
555
|
+
httpMethod: "GET",
|
|
556
|
+
responses: {
|
|
557
|
+
200: {
|
|
558
|
+
bodyMapper: Mappers.SharedAccessAuthorizationRuleResource,
|
|
559
|
+
},
|
|
560
|
+
default: {
|
|
561
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
562
|
+
},
|
|
563
|
+
},
|
|
564
|
+
queryParameters: [Parameters.apiVersion],
|
|
565
|
+
urlParameters: [
|
|
566
|
+
Parameters.$host,
|
|
567
|
+
Parameters.subscriptionId,
|
|
568
|
+
Parameters.resourceGroupName,
|
|
569
|
+
Parameters.namespaceName,
|
|
570
|
+
Parameters.notificationHubName,
|
|
571
|
+
Parameters.authorizationRuleName,
|
|
572
|
+
],
|
|
573
|
+
headerParameters: [Parameters.accept],
|
|
574
|
+
serializer,
|
|
575
|
+
};
|
|
576
|
+
const listAuthorizationRulesOperationSpec = {
|
|
577
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules",
|
|
578
|
+
httpMethod: "GET",
|
|
579
|
+
responses: {
|
|
580
|
+
200: {
|
|
581
|
+
bodyMapper: Mappers.SharedAccessAuthorizationRuleListResult,
|
|
582
|
+
},
|
|
583
|
+
default: {
|
|
584
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
585
|
+
},
|
|
586
|
+
},
|
|
587
|
+
queryParameters: [Parameters.apiVersion],
|
|
588
|
+
urlParameters: [
|
|
589
|
+
Parameters.$host,
|
|
590
|
+
Parameters.subscriptionId,
|
|
591
|
+
Parameters.resourceGroupName,
|
|
592
|
+
Parameters.namespaceName,
|
|
593
|
+
Parameters.notificationHubName,
|
|
594
|
+
],
|
|
595
|
+
headerParameters: [Parameters.accept],
|
|
596
|
+
serializer,
|
|
597
|
+
};
|
|
598
|
+
const listKeysOperationSpec = {
|
|
599
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/listKeys",
|
|
600
|
+
httpMethod: "POST",
|
|
601
|
+
responses: {
|
|
602
|
+
200: {
|
|
603
|
+
bodyMapper: Mappers.ResourceListKeys,
|
|
604
|
+
},
|
|
605
|
+
default: {
|
|
606
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
607
|
+
},
|
|
608
|
+
},
|
|
609
|
+
queryParameters: [Parameters.apiVersion],
|
|
610
|
+
urlParameters: [
|
|
611
|
+
Parameters.$host,
|
|
612
|
+
Parameters.subscriptionId,
|
|
613
|
+
Parameters.resourceGroupName,
|
|
614
|
+
Parameters.namespaceName,
|
|
615
|
+
Parameters.notificationHubName,
|
|
616
|
+
Parameters.authorizationRuleName,
|
|
617
|
+
],
|
|
618
|
+
headerParameters: [Parameters.accept],
|
|
619
|
+
serializer,
|
|
620
|
+
};
|
|
621
|
+
const regenerateKeysOperationSpec = {
|
|
622
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys",
|
|
623
|
+
httpMethod: "POST",
|
|
624
|
+
responses: {
|
|
625
|
+
200: {
|
|
626
|
+
bodyMapper: Mappers.ResourceListKeys,
|
|
627
|
+
},
|
|
628
|
+
default: {
|
|
629
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
630
|
+
},
|
|
631
|
+
},
|
|
632
|
+
requestBody: Parameters.parameters4,
|
|
633
|
+
queryParameters: [Parameters.apiVersion],
|
|
634
|
+
urlParameters: [
|
|
635
|
+
Parameters.$host,
|
|
636
|
+
Parameters.subscriptionId,
|
|
637
|
+
Parameters.resourceGroupName,
|
|
638
|
+
Parameters.namespaceName,
|
|
639
|
+
Parameters.notificationHubName,
|
|
640
|
+
Parameters.authorizationRuleName,
|
|
641
|
+
],
|
|
642
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
643
|
+
mediaType: "json",
|
|
644
|
+
serializer,
|
|
645
|
+
};
|
|
646
|
+
const getPnsCredentialsOperationSpec = {
|
|
647
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials",
|
|
648
|
+
httpMethod: "POST",
|
|
649
|
+
responses: {
|
|
650
|
+
200: {
|
|
651
|
+
bodyMapper: Mappers.PnsCredentialsResource,
|
|
652
|
+
},
|
|
653
|
+
default: {
|
|
654
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
queryParameters: [Parameters.apiVersion],
|
|
658
|
+
urlParameters: [
|
|
659
|
+
Parameters.$host,
|
|
660
|
+
Parameters.subscriptionId,
|
|
661
|
+
Parameters.resourceGroupName,
|
|
662
|
+
Parameters.namespaceName,
|
|
663
|
+
Parameters.notificationHubName,
|
|
664
|
+
],
|
|
665
|
+
headerParameters: [Parameters.accept],
|
|
666
|
+
serializer,
|
|
667
|
+
};
|
|
668
|
+
const listNextOperationSpec = {
|
|
669
|
+
path: "{nextLink}",
|
|
670
|
+
httpMethod: "GET",
|
|
671
|
+
responses: {
|
|
672
|
+
200: {
|
|
673
|
+
bodyMapper: Mappers.NotificationHubListResult,
|
|
674
|
+
},
|
|
675
|
+
default: {
|
|
676
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
677
|
+
},
|
|
678
|
+
},
|
|
679
|
+
urlParameters: [
|
|
680
|
+
Parameters.$host,
|
|
681
|
+
Parameters.subscriptionId,
|
|
682
|
+
Parameters.resourceGroupName,
|
|
683
|
+
Parameters.namespaceName,
|
|
684
|
+
Parameters.nextLink,
|
|
685
|
+
],
|
|
686
|
+
headerParameters: [Parameters.accept],
|
|
687
|
+
serializer,
|
|
688
|
+
};
|
|
689
|
+
const listAuthorizationRulesNextOperationSpec = {
|
|
690
|
+
path: "{nextLink}",
|
|
691
|
+
httpMethod: "GET",
|
|
692
|
+
responses: {
|
|
693
|
+
200: {
|
|
694
|
+
bodyMapper: Mappers.SharedAccessAuthorizationRuleListResult,
|
|
695
|
+
},
|
|
696
|
+
default: {
|
|
697
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
698
|
+
},
|
|
699
|
+
},
|
|
700
|
+
urlParameters: [
|
|
701
|
+
Parameters.$host,
|
|
702
|
+
Parameters.subscriptionId,
|
|
703
|
+
Parameters.resourceGroupName,
|
|
704
|
+
Parameters.namespaceName,
|
|
705
|
+
Parameters.notificationHubName,
|
|
706
|
+
Parameters.nextLink,
|
|
707
|
+
],
|
|
708
|
+
headerParameters: [Parameters.accept],
|
|
709
|
+
serializer,
|
|
710
|
+
};
|
|
711
|
+
//# sourceMappingURL=notificationHubs.js.map
|