@azure/arm-notificationhubs 3.0.0-alpha.20241212.1 → 3.0.0-alpha.20241218.1
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/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-esm/src → dist/commonjs}/lroImpl.d.ts +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/models/index.d.ts +1 -1
- 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-esm/src → dist/commonjs}/models/mappers.d.ts +1 -1
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2419 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts +1 -1
- 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-esm/src → dist/commonjs}/notificationHubsManagementClient.d.ts +3 -3
- package/dist/commonjs/notificationHubsManagementClient.d.ts.map +1 -0
- package/dist/commonjs/notificationHubsManagementClient.js +104 -0
- package/dist/commonjs/notificationHubsManagementClient.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/{dist-esm/src → dist/commonjs}/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/namespaces.d.ts +5 -5
- package/dist/commonjs/operations/namespaces.d.ts.map +1 -0
- package/dist/commonjs/operations/namespaces.js +794 -0
- package/dist/commonjs/operations/namespaces.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/notificationHubs.d.ts +4 -4
- package/dist/commonjs/operations/notificationHubs.d.ts.map +1 -0
- package/dist/commonjs/operations/notificationHubs.js +744 -0
- package/dist/commonjs/operations/notificationHubs.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/operations.d.ts +4 -4
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +462 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/namespaces.d.ts +3 -3
- 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-esm/src → dist/commonjs}/operationsInterfaces/notificationHubs.d.ts +2 -2
- 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-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts +2 -2
- 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-esm/src → dist/commonjs}/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- 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-esm/src → dist/commonjs}/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -6
- 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.map +1 -0
- package/{types/arm-notificationhubs.d.ts → dist/esm/models/index.d.ts} +1606 -2131
- package/dist/esm/models/index.d.ts.map +1 -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.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/src → dist/esm}/models/parameters.js +1 -1
- 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/src → dist/esm}/notificationHubsManagementClient.js +16 -20
- 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/src → dist/esm}/operations/index.js +4 -4
- 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/src → dist/esm}/operations/namespaces.js +53 -73
- 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/src → dist/esm}/operations/notificationHubs.js +8 -12
- 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/src → dist/esm}/operations/operations.js +5 -5
- 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/src → dist/esm}/operations/privateEndpointConnections.js +88 -96
- 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/src → dist/esm}/operationsInterfaces/index.js +4 -4
- 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.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.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.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.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.map +1 -0
- package/package.json +61 -45
- package/review/arm-notificationhubs.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 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- 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.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 -140
- 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/commonjs}/pagingHelper.d.ts +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
- /package/{dist-esm/src → dist/esm}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/esm}/models/index.js +0 -0
- /package/{dist-esm/src → dist/esm}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/namespaces.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/notificationHubs.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/esm}/pagingHelper.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,2BAA2B,IAAI,iCAAiC,EAChE,uBAAuB,IAAI,6BAA6B,EACxD,8BAA8B,IAAI,oCAAoC,EACtE,qCAAqC,IAAI,2CAA2C,EACpF,iBAAiB,IAAI,uBAAuB,EAC5C,iBAAiB,IAAI,uBAAuB,EAC5C,wBAAwB,IAAI,8BAA8B,EAC1D,iCAAiC,IAAI,uCAAuC,GAC7E,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE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AAC;YAChE,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,+BAA+B;QAC/C,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAA0B;IACpD,aAAa,EAAE,iBAAiB;IAChC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,aAAa,CAAC;SACnC;QACD,cAAc,EAAE,iBAAiB;QACjC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n CheckAvailabilityParameters as CheckAvailabilityParametersMapper,\n NotificationHubResource as NotificationHubResourceMapper,\n NotificationHubPatchParameters as NotificationHubPatchParametersMapper,\n SharedAccessAuthorizationRuleResource as SharedAccessAuthorizationRuleResourceMapper,\n PolicyKeyResource as PolicyKeyResourceMapper,\n NamespaceResource as NamespaceResourceMapper,\n NamespacePatchParameters as NamespacePatchParametersMapper,\n PrivateEndpointConnectionResource as PrivateEndpointConnectionResourceMapper,\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: CheckAvailabilityParametersMapper,\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const namespaceName: OperationURLParameter = {\n parameterPath: \"namespaceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z][a-zA-Z0-9-]*$\"),\n MaxLength: 50,\n MinLength: 1,\n },\n serializedName: \"namespaceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-10-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const notificationHubName: OperationURLParameter = {\n parameterPath: \"notificationHubName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z][a-zA-Z0-9-./_]*$\"),\n MaxLength: 265,\n MinLength: 1,\n },\n serializedName: \"notificationHubName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: NotificationHubResourceMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: NotificationHubPatchParametersMapper,\n};\n\nexport const skipToken: OperationQueryParameter = {\n parameterPath: [\"options\", \"skipToken\"],\n mapper: {\n serializedName: \"$skipToken\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n defaultValue: 100,\n serializedName: \"$top\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SharedAccessAuthorizationRuleResourceMapper,\n};\n\nexport const authorizationRuleName: OperationURLParameter = {\n parameterPath: \"authorizationRuleName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9!()*-._]+$\"),\n MaxLength: 256,\n MinLength: 1,\n },\n serializedName: \"authorizationRuleName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PolicyKeyResourceMapper,\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: NamespaceResourceMapper,\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: NamespacePatchParametersMapper,\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionResourceMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z][a-zA-Z0-9-]*\\\\.[a-fA-F0-9\\\\-]+$\"),\n MaxLength: 87,\n MinLength: 1,\n },\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subResourceName: OperationURLParameter = {\n parameterPath: \"subResourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^namespace$\"),\n },\n serializedName: \"subResourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import type * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import type { NotificationHubs, Namespaces, Operations, PrivateEndpointConnections } from "./operationsInterfaces/index.js";
|
|
4
|
+
import type { NotificationHubsManagementClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class NotificationHubsManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
subscriptionId: string;
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the NotificationHubsManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
13
|
+
* @param options The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: NotificationHubsManagementClientOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
18
|
+
notificationHubs: NotificationHubs;
|
|
19
|
+
namespaces: Namespaces;
|
|
20
|
+
operations: Operations;
|
|
21
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=notificationHubsManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationHubsManagementClient.d.ts","sourceRoot":"","sources":["../../src/notificationHubsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAOlD,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,0BAA0B,EAC3B,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,mBAAmB,CAAC;AAExF,qBAAa,gCAAiC,SAAQ,UAAU,CAAC,aAAa;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,8CAA8C;IA4E1D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;IACvB,0BAA0B,EAAE,0BAA0B,CAAC;CACxD"}
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { NotificationHubsImpl, NamespacesImpl, OperationsImpl, PrivateEndpointConnectionsImpl, } from "./operations";
|
|
10
|
+
import { NotificationHubsImpl, NamespacesImpl, OperationsImpl, PrivateEndpointConnectionsImpl, } from "./operations/index.js";
|
|
12
11
|
export class NotificationHubsManagementClient extends coreClient.ServiceClient {
|
|
13
12
|
/**
|
|
14
13
|
* Initializes a new instance of the NotificationHubsManagementClient class.
|
|
@@ -43,8 +42,7 @@ export class NotificationHubsManagementClient extends coreClient.ServiceClient {
|
|
|
43
42
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
44
43
|
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
45
44
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
46
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
47
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
45
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
48
46
|
}
|
|
49
47
|
if (!options ||
|
|
50
48
|
!options.pipeline ||
|
|
@@ -79,22 +77,20 @@ export class NotificationHubsManagementClient extends coreClient.ServiceClient {
|
|
|
79
77
|
}
|
|
80
78
|
const apiVersionPolicy = {
|
|
81
79
|
name: "CustomApiVersionPolicy",
|
|
82
|
-
sendRequest(request, next) {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
return next(request);
|
|
97
|
-
});
|
|
80
|
+
async sendRequest(request, next) {
|
|
81
|
+
const param = request.url.split("?");
|
|
82
|
+
if (param.length > 1) {
|
|
83
|
+
const newParams = param[1].split("&").map((item) => {
|
|
84
|
+
if (item.indexOf("api-version") > -1) {
|
|
85
|
+
return "api-version=" + apiVersion;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
return item;
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
92
|
+
}
|
|
93
|
+
return next(request);
|
|
98
94
|
},
|
|
99
95
|
};
|
|
100
96
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationHubsManagementClient.js","sourceRoot":"","sources":["../../src/notificationHubsManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,8BAA8B,GAC/B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CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CAAC,OAAwB,EAAE,IAAiB;gBAC3D,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAMF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n NotificationHubsImpl,\n NamespacesImpl,\n OperationsImpl,\n PrivateEndpointConnectionsImpl,\n} from \"./operations/index.js\";\nimport type {\n NotificationHubs,\n Namespaces,\n Operations,\n PrivateEndpointConnections,\n} from \"./operationsInterfaces/index.js\";\nimport type { NotificationHubsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class NotificationHubsManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the NotificationHubsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: NotificationHubsManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: NotificationHubsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-notificationhubs/3.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-10-01-preview\";\n this.notificationHubs = new NotificationHubsImpl(this);\n this.namespaces = new NamespacesImpl(this);\n this.operations = new OperationsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n notificationHubs: NotificationHubs;\n namespaces: Namespaces;\n operations: Operations;\n privateEndpointConnections: PrivateEndpointConnections;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC"}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
export * from "./notificationHubs";
|
|
9
|
-
export * from "./namespaces";
|
|
10
|
-
export * from "./operations";
|
|
11
|
-
export * from "./privateEndpointConnections";
|
|
8
|
+
export * from "./notificationHubs.js";
|
|
9
|
+
export * from "./namespaces.js";
|
|
10
|
+
export * from "./operations.js";
|
|
11
|
+
export * from "./privateEndpointConnections.js";
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./notificationHubs.js\";\nexport * from \"./namespaces.js\";\nexport * from \"./operations.js\";\nexport * from \"./privateEndpointConnections.js\";\n"]}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { Namespaces } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { NotificationHubsManagementClient } from "../notificationHubsManagementClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { NamespaceResource, NamespacesListAllOptionalParams, NamespacesListOptionalParams, SharedAccessAuthorizationRuleResource, NamespacesListAuthorizationRulesOptionalParams, CheckAvailabilityParameters, NamespacesCheckAvailabilityOptionalParams, NamespacesCheckAvailabilityResponse, NamespacesGetOptionalParams, NamespacesGetResponse, NamespacesCreateOrUpdateOptionalParams, NamespacesCreateOrUpdateResponse, NamespacePatchParameters, NamespacesUpdateOptionalParams, NamespacesUpdateResponse, NamespacesDeleteOptionalParams, NamespacesCreateOrUpdateAuthorizationRuleOptionalParams, NamespacesCreateOrUpdateAuthorizationRuleResponse, NamespacesDeleteAuthorizationRuleOptionalParams, NamespacesGetAuthorizationRuleOptionalParams, NamespacesGetAuthorizationRuleResponse, NamespacesListKeysOptionalParams, NamespacesListKeysResponse, PolicyKeyResource, NamespacesRegenerateKeysOptionalParams, NamespacesRegenerateKeysResponse, NamespacesGetPnsCredentialsOptionalParams, NamespacesGetPnsCredentialsResponse } from "../models/index.js";
|
|
6
|
+
/** Class containing Namespaces operations. */
|
|
7
|
+
export declare class NamespacesImpl implements Namespaces {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class Namespaces class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: NotificationHubsManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Lists all the available namespaces within the subscription.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listAll(options?: NamespacesListAllOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
|
|
19
|
+
private listAllPagingPage;
|
|
20
|
+
private listAllPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* Lists the available namespaces within a resource group.
|
|
23
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(resourceGroupName: string, options?: NamespacesListOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
|
|
27
|
+
private listPagingPage;
|
|
28
|
+
private listPagingAll;
|
|
29
|
+
/**
|
|
30
|
+
* Gets the authorization rules for a namespace.
|
|
31
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
+
* @param namespaceName Namespace name
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;
|
|
36
|
+
private listAuthorizationRulesPagingPage;
|
|
37
|
+
private listAuthorizationRulesPagingAll;
|
|
38
|
+
/**
|
|
39
|
+
* Checks the availability of the given service namespace across all Azure subscriptions. This is
|
|
40
|
+
* useful because the domain name is created based on the service namespace name.
|
|
41
|
+
* @param parameters Request content.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
checkAvailability(parameters: CheckAvailabilityParameters, options?: NamespacesCheckAvailabilityOptionalParams): Promise<NamespacesCheckAvailabilityResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Returns the given namespace.
|
|
47
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
48
|
+
* @param namespaceName Namespace name
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
get(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams): Promise<NamespacesGetResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Creates / Updates a Notification Hub namespace. This operation is idempotent.
|
|
54
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
55
|
+
* @param namespaceName Namespace name
|
|
56
|
+
* @param parameters Request content.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NamespacesCreateOrUpdateResponse>, NamespacesCreateOrUpdateResponse>>;
|
|
60
|
+
/**
|
|
61
|
+
* Creates / Updates a Notification Hub namespace. This operation is idempotent.
|
|
62
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
63
|
+
* @param namespaceName Namespace name
|
|
64
|
+
* @param parameters Request content.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<NamespacesCreateOrUpdateResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Patches the existing namespace.
|
|
70
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
|
+
* @param namespaceName Namespace name
|
|
72
|
+
* @param parameters Request content.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
update(resourceGroupName: string, namespaceName: string, parameters: NamespacePatchParameters, options?: NamespacesUpdateOptionalParams): Promise<NamespacesUpdateResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* Deletes an existing namespace. This operation also removes all associated notificationHubs under the
|
|
78
|
+
* namespace.
|
|
79
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
80
|
+
* @param namespaceName Namespace name
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
delete(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Lists all the available namespaces within the subscription.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
private _listAll;
|
|
89
|
+
/**
|
|
90
|
+
* Lists the available namespaces within a resource group.
|
|
91
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
private _list;
|
|
95
|
+
/**
|
|
96
|
+
* Creates an authorization rule for a namespace
|
|
97
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
98
|
+
* @param namespaceName Namespace name
|
|
99
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
100
|
+
* @param parameters Request content.
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleResource, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NamespacesCreateOrUpdateAuthorizationRuleResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* Deletes a namespace authorization rule
|
|
106
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
107
|
+
* @param namespaceName Namespace name
|
|
108
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Gets an authorization rule for a namespace by name.
|
|
114
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
115
|
+
* @param namespaceName Namespace name
|
|
116
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams): Promise<NamespacesGetAuthorizationRuleResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* Gets the authorization rules for a namespace.
|
|
122
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
123
|
+
* @param namespaceName Namespace name
|
|
124
|
+
* @param options The options parameters.
|
|
125
|
+
*/
|
|
126
|
+
private _listAuthorizationRules;
|
|
127
|
+
/**
|
|
128
|
+
* Gets the Primary and Secondary ConnectionStrings to the namespace.
|
|
129
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
130
|
+
* @param namespaceName Namespace name
|
|
131
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams): Promise<NamespacesListKeysResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule
|
|
137
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
138
|
+
* @param namespaceName Namespace name
|
|
139
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
140
|
+
* @param parameters Request content.
|
|
141
|
+
* @param options The options parameters.
|
|
142
|
+
*/
|
|
143
|
+
regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: PolicyKeyResource, options?: NamespacesRegenerateKeysOptionalParams): Promise<NamespacesRegenerateKeysResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* Lists the PNS credentials associated with a namespace.
|
|
146
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
147
|
+
* @param namespaceName Namespace name
|
|
148
|
+
* @param options The options parameters.
|
|
149
|
+
*/
|
|
150
|
+
getPnsCredentials(resourceGroupName: string, namespaceName: string, options?: NamespacesGetPnsCredentialsOptionalParams): Promise<NamespacesGetPnsCredentialsResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* ListAllNext
|
|
153
|
+
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
private _listAllNext;
|
|
157
|
+
/**
|
|
158
|
+
* ListNext
|
|
159
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
160
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
161
|
+
* @param options The options parameters.
|
|
162
|
+
*/
|
|
163
|
+
private _listNext;
|
|
164
|
+
/**
|
|
165
|
+
* ListAuthorizationRulesNext
|
|
166
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
167
|
+
* @param namespaceName Namespace name
|
|
168
|
+
* @param nextLink The nextLink from the previous successful call to the ListAuthorizationRules method.
|
|
169
|
+
* @param options The options parameters.
|
|
170
|
+
*/
|
|
171
|
+
private _listAuthorizationRulesNext;
|
|
172
|
+
}
|
|
173
|
+
//# sourceMappingURL=namespaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../../src/operations/namespaces.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,iBAAiB,EAEjB,+BAA+B,EAG/B,4BAA4B,EAE5B,qCAAqC,EAErC,8CAA8C,EAE9C,2BAA2B,EAC3B,yCAAyC,EACzC,mCAAmC,EACnC,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,uDAAuD,EACvD,iDAAiD,EACjD,+CAA+C,EAC/C,4CAA4C,EAC5C,sCAAsC,EACtC,gCAAgC,EAChC,0BAA0B,EAC1B,iBAAiB,EACjB,sCAAsC,EACtC,gCAAgC,EAChC,yCAAyC,EACzC,mCAAmC,EAIpC,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;OAGG;IACI,OAAO,CAC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AC;IAa5C;;;;;OAKG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAOpB;;;;;OAKG;IACH,OAAO,CAAC,SAAS;IAWjB;;;;;;OAMG;IACH,OAAO,CAAC,2BAA2B;CAWpC"}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
import { createHttpPoller
|
|
14
|
-
import { createLroSpec } from "../lroImpl";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing Namespaces operations. */
|
|
17
17
|
export class NamespacesImpl {
|
|
@@ -49,7 +49,7 @@ export class NamespacesImpl {
|
|
|
49
49
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
50
50
|
if (!continuationToken) {
|
|
51
51
|
result = yield __await(this._listAll(options));
|
|
52
|
-
|
|
52
|
+
const page = result.value || [];
|
|
53
53
|
continuationToken = result.nextLink;
|
|
54
54
|
setContinuationToken(page, continuationToken);
|
|
55
55
|
yield yield __await(page);
|
|
@@ -57,7 +57,7 @@ export class NamespacesImpl {
|
|
|
57
57
|
while (continuationToken) {
|
|
58
58
|
result = yield __await(this._listAllNext(continuationToken, options));
|
|
59
59
|
continuationToken = result.nextLink;
|
|
60
|
-
|
|
60
|
+
const page = result.value || [];
|
|
61
61
|
setContinuationToken(page, continuationToken);
|
|
62
62
|
yield yield __await(page);
|
|
63
63
|
}
|
|
@@ -111,7 +111,7 @@ export class NamespacesImpl {
|
|
|
111
111
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
112
112
|
if (!continuationToken) {
|
|
113
113
|
result = yield __await(this._list(resourceGroupName, options));
|
|
114
|
-
|
|
114
|
+
const page = result.value || [];
|
|
115
115
|
continuationToken = result.nextLink;
|
|
116
116
|
setContinuationToken(page, continuationToken);
|
|
117
117
|
yield yield __await(page);
|
|
@@ -119,7 +119,7 @@ export class NamespacesImpl {
|
|
|
119
119
|
while (continuationToken) {
|
|
120
120
|
result = yield __await(this._listNext(resourceGroupName, continuationToken, options));
|
|
121
121
|
continuationToken = result.nextLink;
|
|
122
|
-
|
|
122
|
+
const page = result.value || [];
|
|
123
123
|
setContinuationToken(page, continuationToken);
|
|
124
124
|
yield yield __await(page);
|
|
125
125
|
}
|
|
@@ -174,7 +174,7 @@ export class NamespacesImpl {
|
|
|
174
174
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
175
175
|
if (!continuationToken) {
|
|
176
176
|
result = yield __await(this._listAuthorizationRules(resourceGroupName, namespaceName, options));
|
|
177
|
-
|
|
177
|
+
const page = result.value || [];
|
|
178
178
|
continuationToken = result.nextLink;
|
|
179
179
|
setContinuationToken(page, continuationToken);
|
|
180
180
|
yield yield __await(page);
|
|
@@ -182,7 +182,7 @@ export class NamespacesImpl {
|
|
|
182
182
|
while (continuationToken) {
|
|
183
183
|
result = yield __await(this._listAuthorizationRulesNext(resourceGroupName, namespaceName, continuationToken, options));
|
|
184
184
|
continuationToken = result.nextLink;
|
|
185
|
-
|
|
185
|
+
const page = result.value || [];
|
|
186
186
|
setContinuationToken(page, continuationToken);
|
|
187
187
|
yield yield __await(page);
|
|
188
188
|
}
|
|
@@ -233,43 +233,41 @@ export class NamespacesImpl {
|
|
|
233
233
|
* @param parameters Request content.
|
|
234
234
|
* @param options The options parameters.
|
|
235
235
|
*/
|
|
236
|
-
beginCreateOrUpdate(resourceGroupName, namespaceName, parameters, options) {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
spec: createOrUpdateOperationSpec,
|
|
264
|
-
});
|
|
265
|
-
const poller = yield createHttpPoller(lro, {
|
|
266
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
267
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
268
|
-
resourceLocationConfig: "azure-async-operation",
|
|
269
|
-
});
|
|
270
|
-
yield poller.poll();
|
|
271
|
-
return poller;
|
|
236
|
+
async beginCreateOrUpdate(resourceGroupName, namespaceName, parameters, options) {
|
|
237
|
+
const directSendOperation = async (args, spec) => {
|
|
238
|
+
return this.client.sendOperationRequest(args, spec);
|
|
239
|
+
};
|
|
240
|
+
const sendOperationFn = async (args, spec) => {
|
|
241
|
+
var _a;
|
|
242
|
+
let currentRawResponse = undefined;
|
|
243
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
244
|
+
const callback = (rawResponse, flatResponse) => {
|
|
245
|
+
currentRawResponse = rawResponse;
|
|
246
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
247
|
+
};
|
|
248
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
249
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
250
|
+
return {
|
|
251
|
+
flatResponse,
|
|
252
|
+
rawResponse: {
|
|
253
|
+
statusCode: currentRawResponse.status,
|
|
254
|
+
body: currentRawResponse.parsedBody,
|
|
255
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
256
|
+
},
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
const lro = createLroSpec({
|
|
260
|
+
sendOperationFn,
|
|
261
|
+
args: { resourceGroupName, namespaceName, parameters, options },
|
|
262
|
+
spec: createOrUpdateOperationSpec,
|
|
272
263
|
});
|
|
264
|
+
const poller = await createHttpPoller(lro, {
|
|
265
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
266
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
267
|
+
resourceLocationConfig: "azure-async-operation",
|
|
268
|
+
});
|
|
269
|
+
await poller.poll();
|
|
270
|
+
return poller;
|
|
273
271
|
}
|
|
274
272
|
/**
|
|
275
273
|
* Creates / Updates a Notification Hub namespace. This operation is idempotent.
|
|
@@ -278,11 +276,9 @@ export class NamespacesImpl {
|
|
|
278
276
|
* @param parameters Request content.
|
|
279
277
|
* @param options The options parameters.
|
|
280
278
|
*/
|
|
281
|
-
beginCreateOrUpdateAndWait(resourceGroupName, namespaceName, parameters, options) {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
return poller.pollUntilDone();
|
|
285
|
-
});
|
|
279
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, namespaceName, parameters, options) {
|
|
280
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, namespaceName, parameters, options);
|
|
281
|
+
return poller.pollUntilDone();
|
|
286
282
|
}
|
|
287
283
|
/**
|
|
288
284
|
* Patches the existing namespace.
|
|
@@ -556,11 +552,7 @@ const listAllOperationSpec = {
|
|
|
556
552
|
bodyMapper: Mappers.ErrorResponse,
|
|
557
553
|
},
|
|
558
554
|
},
|
|
559
|
-
queryParameters: [
|
|
560
|
-
Parameters.apiVersion,
|
|
561
|
-
Parameters.skipToken,
|
|
562
|
-
Parameters.top,
|
|
563
|
-
],
|
|
555
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken, Parameters.top],
|
|
564
556
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
565
557
|
headerParameters: [Parameters.accept],
|
|
566
558
|
serializer,
|
|
@@ -576,16 +568,8 @@ const listOperationSpec = {
|
|
|
576
568
|
bodyMapper: Mappers.ErrorResponse,
|
|
577
569
|
},
|
|
578
570
|
},
|
|
579
|
-
queryParameters: [
|
|
580
|
-
|
|
581
|
-
Parameters.skipToken,
|
|
582
|
-
Parameters.top,
|
|
583
|
-
],
|
|
584
|
-
urlParameters: [
|
|
585
|
-
Parameters.$host,
|
|
586
|
-
Parameters.subscriptionId,
|
|
587
|
-
Parameters.resourceGroupName,
|
|
588
|
-
],
|
|
571
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipToken, Parameters.top],
|
|
572
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
|
|
589
573
|
headerParameters: [Parameters.accept],
|
|
590
574
|
serializer,
|
|
591
575
|
};
|
|
@@ -758,11 +742,7 @@ const listAllNextOperationSpec = {
|
|
|
758
742
|
bodyMapper: Mappers.ErrorResponse,
|
|
759
743
|
},
|
|
760
744
|
},
|
|
761
|
-
urlParameters: [
|
|
762
|
-
Parameters.$host,
|
|
763
|
-
Parameters.subscriptionId,
|
|
764
|
-
Parameters.nextLink,
|
|
765
|
-
],
|
|
745
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],
|
|
766
746
|
headerParameters: [Parameters.accept],
|
|
767
747
|
serializer,
|
|
768
748
|
};
|