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