@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,114 @@
|
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { NotificationHubsManagementClient } from "../notificationHubsManagementClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { PrivateEndpointConnectionResource, PrivateEndpointConnectionsListOptionalParams, PrivateLinkResource, PrivateEndpointConnectionsListGroupIdsOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsGetGroupIdOptionalParams, PrivateEndpointConnectionsGetGroupIdResponse } from "../models/index.js";
|
|
6
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
7
|
+
export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: NotificationHubsManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.
|
|
16
|
+
* This is a public API that can be called directly by Notification Hubs users.
|
|
17
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
18
|
+
* @param namespaceName Namespace name
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
list(resourceGroupName: string, namespaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionResource>;
|
|
22
|
+
private listPagingPage;
|
|
23
|
+
private listPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* Even though this namespace requires subscription id, resource group and namespace name, it returns a
|
|
26
|
+
* constant payload (for a given namespacE) every time it's called.
|
|
27
|
+
* That's why we don't send it to the sibling RP, but process it directly in the scale unit that
|
|
28
|
+
* received the request.
|
|
29
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
30
|
+
* @param namespaceName Namespace name
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
listGroupIds(resourceGroupName: string, namespaceName: string, options?: PrivateEndpointConnectionsListGroupIdsOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
34
|
+
private listGroupIdsPagingPage;
|
|
35
|
+
private listGroupIdsPagingAll;
|
|
36
|
+
/**
|
|
37
|
+
* Approves or rejects Private Endpoint Connection.
|
|
38
|
+
* This is a public API that can be called directly by Notification Hubs users.
|
|
39
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
+
* @param namespaceName Namespace name
|
|
41
|
+
* @param privateEndpointConnectionName Private Endpoint Connection Name
|
|
42
|
+
* @param parameters Description of the Private Endpoint Connection resource.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
beginUpdate(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsUpdateResponse>, PrivateEndpointConnectionsUpdateResponse>>;
|
|
46
|
+
/**
|
|
47
|
+
* Approves or rejects Private Endpoint Connection.
|
|
48
|
+
* This is a public API that can be called directly by Notification Hubs users.
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
|
+
* @param namespaceName Namespace name
|
|
51
|
+
* @param privateEndpointConnectionName Private Endpoint Connection Name
|
|
52
|
+
* @param parameters Description of the Private Endpoint Connection resource.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginUpdateAndWait(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Deletes the Private Endpoint Connection.
|
|
58
|
+
* This is a public API that can be called directly by Notification Hubs users.
|
|
59
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
|
+
* @param namespaceName Namespace name
|
|
61
|
+
* @param privateEndpointConnectionName Private Endpoint Connection Name
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
beginDelete(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsDeleteResponse>, PrivateEndpointConnectionsDeleteResponse>>;
|
|
65
|
+
/**
|
|
66
|
+
* Deletes the Private Endpoint Connection.
|
|
67
|
+
* This is a public API that can be called directly by Notification Hubs users.
|
|
68
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
69
|
+
* @param namespaceName Namespace name
|
|
70
|
+
* @param privateEndpointConnectionName Private Endpoint Connection Name
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
beginDeleteAndWait(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Returns a Private Endpoint Connection with a given name.
|
|
76
|
+
* This is a public API that can be called directly by Notification Hubs users.
|
|
77
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
|
+
* @param namespaceName Namespace name
|
|
79
|
+
* @param privateEndpointConnectionName Private Endpoint Connection Name
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
get(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.
|
|
85
|
+
* This is a public API that can be called directly by Notification Hubs users.
|
|
86
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
87
|
+
* @param namespaceName Namespace name
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
private _list;
|
|
91
|
+
/**
|
|
92
|
+
* Even though this namespace requires subscription id, resource group and namespace name, it returns a
|
|
93
|
+
* constant payload (for a given namespacE) every time it's called.
|
|
94
|
+
* That's why we don't send it to the sibling RP, but process it directly in the scale unit that
|
|
95
|
+
* received the request.
|
|
96
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
97
|
+
* @param namespaceName Namespace name
|
|
98
|
+
* @param subResourceName Name of the Private Link sub-resource. The only supported sub-resource is
|
|
99
|
+
* "namespace"
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
getGroupId(resourceGroupName: string, namespaceName: string, subResourceName: string, options?: PrivateEndpointConnectionsGetGroupIdOptionalParams): Promise<PrivateEndpointConnectionsGetGroupIdResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* Even though this namespace requires subscription id, resource group and namespace name, it returns a
|
|
105
|
+
* constant payload (for a given namespacE) every time it's called.
|
|
106
|
+
* That's why we don't send it to the sibling RP, but process it directly in the scale unit that
|
|
107
|
+
* received the request.
|
|
108
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
|
+
* @param namespaceName Namespace name
|
|
110
|
+
* @param options The options parameters.
|
|
111
|
+
*/
|
|
112
|
+
private _listGroupIds;
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=privateEndpointConnections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,iCAAiC,EACjC,4CAA4C,EAE5C,mBAAmB,EACnB,oDAAoD,EAEpD,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EACxC,2CAA2C,EAC3C,qCAAqC,EACrC,kDAAkD,EAClD,4CAA4C,EAC7C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BAA+B,YAAW,0BAA0B;IAC/E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBAC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IAUpD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;;;OAUG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAOxD;;;;;;;;OAQG;IACH,OAAO,CAAC,aAAa;CAUtB"}
|
|
@@ -5,12 +5,12 @@
|
|
|
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
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
import { createHttpPoller
|
|
13
|
-
import { createLroSpec } from "../lroImpl";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
13
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
14
14
|
/// <reference lib="esnext.asynciterable" />
|
|
15
15
|
/** Class containing PrivateEndpointConnections operations. */
|
|
16
16
|
export class PrivateEndpointConnectionsImpl {
|
|
@@ -134,49 +134,47 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
134
134
|
* @param parameters Description of the Private Endpoint Connection resource.
|
|
135
135
|
* @param options The options parameters.
|
|
136
136
|
*/
|
|
137
|
-
beginUpdate(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
158
|
-
},
|
|
159
|
-
};
|
|
160
|
-
});
|
|
161
|
-
const lro = createLroSpec({
|
|
162
|
-
sendOperationFn,
|
|
163
|
-
args: {
|
|
164
|
-
resourceGroupName,
|
|
165
|
-
namespaceName,
|
|
166
|
-
privateEndpointConnectionName,
|
|
167
|
-
parameters,
|
|
168
|
-
options,
|
|
137
|
+
async beginUpdate(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
|
|
138
|
+
const directSendOperation = async (args, spec) => {
|
|
139
|
+
return this.client.sendOperationRequest(args, spec);
|
|
140
|
+
};
|
|
141
|
+
const sendOperationFn = async (args, spec) => {
|
|
142
|
+
var _a;
|
|
143
|
+
let currentRawResponse = undefined;
|
|
144
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
145
|
+
const callback = (rawResponse, flatResponse) => {
|
|
146
|
+
currentRawResponse = rawResponse;
|
|
147
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
148
|
+
};
|
|
149
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
150
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
151
|
+
return {
|
|
152
|
+
flatResponse,
|
|
153
|
+
rawResponse: {
|
|
154
|
+
statusCode: currentRawResponse.status,
|
|
155
|
+
body: currentRawResponse.parsedBody,
|
|
156
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
169
157
|
},
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
const lro = createLroSpec({
|
|
161
|
+
sendOperationFn,
|
|
162
|
+
args: {
|
|
163
|
+
resourceGroupName,
|
|
164
|
+
namespaceName,
|
|
165
|
+
privateEndpointConnectionName,
|
|
166
|
+
parameters,
|
|
167
|
+
options,
|
|
168
|
+
},
|
|
169
|
+
spec: updateOperationSpec,
|
|
179
170
|
});
|
|
171
|
+
const poller = await createHttpPoller(lro, {
|
|
172
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
173
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
174
|
+
resourceLocationConfig: "azure-async-operation",
|
|
175
|
+
});
|
|
176
|
+
await poller.poll();
|
|
177
|
+
return poller;
|
|
180
178
|
}
|
|
181
179
|
/**
|
|
182
180
|
* Approves or rejects Private Endpoint Connection.
|
|
@@ -187,11 +185,9 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
187
185
|
* @param parameters Description of the Private Endpoint Connection resource.
|
|
188
186
|
* @param options The options parameters.
|
|
189
187
|
*/
|
|
190
|
-
beginUpdateAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
return poller.pollUntilDone();
|
|
194
|
-
});
|
|
188
|
+
async beginUpdateAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
|
|
189
|
+
const poller = await this.beginUpdate(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options);
|
|
190
|
+
return poller.pollUntilDone();
|
|
195
191
|
}
|
|
196
192
|
/**
|
|
197
193
|
* Deletes the Private Endpoint Connection.
|
|
@@ -201,48 +197,46 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
201
197
|
* @param privateEndpointConnectionName Private Endpoint Connection Name
|
|
202
198
|
* @param options The options parameters.
|
|
203
199
|
*/
|
|
204
|
-
beginDelete(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
225
|
-
},
|
|
226
|
-
};
|
|
227
|
-
});
|
|
228
|
-
const lro = createLroSpec({
|
|
229
|
-
sendOperationFn,
|
|
230
|
-
args: {
|
|
231
|
-
resourceGroupName,
|
|
232
|
-
namespaceName,
|
|
233
|
-
privateEndpointConnectionName,
|
|
234
|
-
options,
|
|
200
|
+
async beginDelete(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
|
|
201
|
+
const directSendOperation = async (args, spec) => {
|
|
202
|
+
return this.client.sendOperationRequest(args, spec);
|
|
203
|
+
};
|
|
204
|
+
const sendOperationFn = async (args, spec) => {
|
|
205
|
+
var _a;
|
|
206
|
+
let currentRawResponse = undefined;
|
|
207
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
208
|
+
const callback = (rawResponse, flatResponse) => {
|
|
209
|
+
currentRawResponse = rawResponse;
|
|
210
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
211
|
+
};
|
|
212
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
213
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
214
|
+
return {
|
|
215
|
+
flatResponse,
|
|
216
|
+
rawResponse: {
|
|
217
|
+
statusCode: currentRawResponse.status,
|
|
218
|
+
body: currentRawResponse.parsedBody,
|
|
219
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
235
220
|
},
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
const lro = createLroSpec({
|
|
224
|
+
sendOperationFn,
|
|
225
|
+
args: {
|
|
226
|
+
resourceGroupName,
|
|
227
|
+
namespaceName,
|
|
228
|
+
privateEndpointConnectionName,
|
|
229
|
+
options,
|
|
230
|
+
},
|
|
231
|
+
spec: deleteOperationSpec,
|
|
245
232
|
});
|
|
233
|
+
const poller = await createHttpPoller(lro, {
|
|
234
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
235
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
236
|
+
resourceLocationConfig: "location",
|
|
237
|
+
});
|
|
238
|
+
await poller.poll();
|
|
239
|
+
return poller;
|
|
246
240
|
}
|
|
247
241
|
/**
|
|
248
242
|
* Deletes the Private Endpoint Connection.
|
|
@@ -252,11 +246,9 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
252
246
|
* @param privateEndpointConnectionName Private Endpoint Connection Name
|
|
253
247
|
* @param options The options parameters.
|
|
254
248
|
*/
|
|
255
|
-
beginDeleteAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
return poller.pollUntilDone();
|
|
259
|
-
});
|
|
249
|
+
async beginDeleteAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
|
|
250
|
+
const poller = await this.beginDelete(resourceGroupName, namespaceName, privateEndpointConnectionName, options);
|
|
251
|
+
return poller.pollUntilDone();
|
|
260
252
|
}
|
|
261
253
|
/**
|
|
262
254
|
* Returns a Private Endpoint Connection with a given name.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAkB9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAGzC;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,aAAqB,EACrB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAClF,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,aAAqB,EACrB,OAAsD,EACtD,SAAwB;;YAExB,IAAI,MAA8C,CAAC;Y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;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EAAE,2KAA2K;IACjL,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EAAE,yJAAyJ;IAC/J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { NotificationHubsManagementClient } from \"../notificationHubsManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnectionResource,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateLinkResource,\n PrivateEndpointConnectionsListGroupIdsOptionalParams,\n PrivateEndpointConnectionsListGroupIdsResponse,\n PrivateEndpointConnectionsUpdateOptionalParams,\n PrivateEndpointConnectionsUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsDeleteResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsGetGroupIdOptionalParams,\n PrivateEndpointConnectionsGetGroupIdResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {\n private readonly client: NotificationHubsManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: NotificationHubsManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnectionResource> {\n const iter = this.listPagingAll(resourceGroupName, namespaceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, namespaceName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnectionResource[]> {\n let result: PrivateEndpointConnectionsListResponse;\n result = await this._list(resourceGroupName, namespaceName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnectionResource> {\n for await (const page of this.listPagingPage(resourceGroupName, namespaceName, options)) {\n yield* page;\n }\n }\n\n /**\n * Even though this namespace requires subscription id, resource group and namespace name, it returns a\n * constant payload (for a given namespacE) every time it's called.\n * That's why we don't send it to the sibling RP, but process it directly in the scale unit that\n * received the request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n public listGroupIds(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListGroupIdsOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listGroupIdsPagingAll(resourceGroupName, namespaceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listGroupIdsPagingPage(resourceGroupName, namespaceName, options, settings);\n },\n };\n }\n\n private async *listGroupIdsPagingPage(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListGroupIdsOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: PrivateEndpointConnectionsListGroupIdsResponse;\n result = await this._listGroupIds(resourceGroupName, namespaceName, options);\n yield result.value || [];\n }\n\n private async *listGroupIdsPagingAll(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListGroupIdsOptionalParams,\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listGroupIdsPagingPage(\n resourceGroupName,\n namespaceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Approves or rejects Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param parameters Description of the Private Endpoint Connection resource.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsUpdateResponse>,\n PrivateEndpointConnectionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsUpdateResponse,\n OperationState<PrivateEndpointConnectionsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Approves or rejects Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param parameters Description of the Private Endpoint Connection resource.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsDeleteResponse>,\n PrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsDeleteResponse,\n OperationState<PrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the Private Endpoint Connection.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<PrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns a Private Endpoint Connection with a given name.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param privateEndpointConnectionName Private Endpoint Connection Name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n namespaceName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.\n * This is a public API that can be called directly by Notification Hubs users.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Even though this namespace requires subscription id, resource group and namespace name, it returns a\n * constant payload (for a given namespacE) every time it's called.\n * That's why we don't send it to the sibling RP, but process it directly in the scale unit that\n * received the request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param subResourceName Name of the Private Link sub-resource. The only supported sub-resource is\n * \"namespace\"\n * @param options The options parameters.\n */\n getGroupId(\n resourceGroupName: string,\n namespaceName: string,\n subResourceName: string,\n options?: PrivateEndpointConnectionsGetGroupIdOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetGroupIdResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, subResourceName, options },\n getGroupIdOperationSpec,\n );\n }\n\n /**\n * Even though this namespace requires subscription id, resource group and namespace name, it returns a\n * constant payload (for a given namespacE) every time it's called.\n * That's why we don't send it to the sibling RP, but process it directly in the scale unit that\n * received the request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n private _listGroupIds(\n resourceGroupName: string,\n namespaceName: string,\n options?: PrivateEndpointConnectionsListGroupIdsOptionalParams,\n ): Promise<PrivateEndpointConnectionsListGroupIdsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, namespaceName, options },\n listGroupIdsOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getGroupIdOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources/{subResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n Parameters.subResourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listGroupIdsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.namespaceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/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/operationsInterfaces/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,120 @@
|
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
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";
|
|
4
|
+
/** Interface representing a Namespaces. */
|
|
5
|
+
export interface Namespaces {
|
|
6
|
+
/**
|
|
7
|
+
* Lists all the available namespaces within the subscription.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
listAll(options?: NamespacesListAllOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
|
|
11
|
+
/**
|
|
12
|
+
* Lists the available namespaces within a resource group.
|
|
13
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
list(resourceGroupName: string, options?: NamespacesListOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
|
|
17
|
+
/**
|
|
18
|
+
* Gets the authorization rules for a namespace.
|
|
19
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
20
|
+
* @param namespaceName Namespace name
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;
|
|
24
|
+
/**
|
|
25
|
+
* Checks the availability of the given service namespace across all Azure subscriptions. This is
|
|
26
|
+
* useful because the domain name is created based on the service namespace name.
|
|
27
|
+
* @param parameters Request content.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
checkAvailability(parameters: CheckAvailabilityParameters, options?: NamespacesCheckAvailabilityOptionalParams): Promise<NamespacesCheckAvailabilityResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the given namespace.
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param namespaceName Namespace name
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams): Promise<NamespacesGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates / Updates a Notification Hub namespace. This operation is idempotent.
|
|
40
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
41
|
+
* @param namespaceName Namespace name
|
|
42
|
+
* @param parameters Request content.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NamespacesCreateOrUpdateResponse>, NamespacesCreateOrUpdateResponse>>;
|
|
46
|
+
/**
|
|
47
|
+
* Creates / Updates a Notification Hub namespace. This operation is idempotent.
|
|
48
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
49
|
+
* @param namespaceName Namespace name
|
|
50
|
+
* @param parameters Request content.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<NamespacesCreateOrUpdateResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Patches the existing namespace.
|
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
57
|
+
* @param namespaceName Namespace name
|
|
58
|
+
* @param parameters Request content.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
update(resourceGroupName: string, namespaceName: string, parameters: NamespacePatchParameters, options?: NamespacesUpdateOptionalParams): Promise<NamespacesUpdateResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Deletes an existing namespace. This operation also removes all associated notificationHubs under the
|
|
64
|
+
* namespace.
|
|
65
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
|
+
* @param namespaceName Namespace name
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
delete(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams): Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Creates an authorization rule for a namespace
|
|
72
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
73
|
+
* @param namespaceName Namespace name
|
|
74
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
75
|
+
* @param parameters Request content.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleResource, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NamespacesCreateOrUpdateAuthorizationRuleResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Deletes a namespace authorization rule
|
|
81
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
82
|
+
* @param namespaceName Namespace name
|
|
83
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams): Promise<void>;
|
|
87
|
+
/**
|
|
88
|
+
* Gets an authorization rule for a namespace by name.
|
|
89
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
90
|
+
* @param namespaceName Namespace name
|
|
91
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams): Promise<NamespacesGetAuthorizationRuleResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* Gets the Primary and Secondary ConnectionStrings to the 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 options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams): Promise<NamespacesListKeysResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule
|
|
105
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
106
|
+
* @param namespaceName Namespace name
|
|
107
|
+
* @param authorizationRuleName Authorization Rule Name
|
|
108
|
+
* @param parameters Request content.
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: PolicyKeyResource, options?: NamespacesRegenerateKeysOptionalParams): Promise<NamespacesRegenerateKeysResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Lists the PNS credentials associated with a namespace.
|
|
114
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
115
|
+
* @param namespaceName Namespace name
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
getPnsCredentials(resourceGroupName: string, namespaceName: string, options?: NamespacesGetPnsCredentialsOptionalParams): Promise<NamespacesGetPnsCredentialsResponse>;
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=namespaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/namespaces.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,iBAAiB,EACjB,+BAA+B,EAC/B,4BAA4B,EAC5B,qCAAqC,EACrC,8CAA8C,EAC9C,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,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iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaces.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/namespaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n NamespaceResource,\n NamespacesListAllOptionalParams,\n NamespacesListOptionalParams,\n SharedAccessAuthorizationRuleResource,\n NamespacesListAuthorizationRulesOptionalParams,\n CheckAvailabilityParameters,\n NamespacesCheckAvailabilityOptionalParams,\n NamespacesCheckAvailabilityResponse,\n NamespacesGetOptionalParams,\n NamespacesGetResponse,\n NamespacesCreateOrUpdateOptionalParams,\n NamespacesCreateOrUpdateResponse,\n NamespacePatchParameters,\n NamespacesUpdateOptionalParams,\n NamespacesUpdateResponse,\n NamespacesDeleteOptionalParams,\n NamespacesCreateOrUpdateAuthorizationRuleOptionalParams,\n NamespacesCreateOrUpdateAuthorizationRuleResponse,\n NamespacesDeleteAuthorizationRuleOptionalParams,\n NamespacesGetAuthorizationRuleOptionalParams,\n NamespacesGetAuthorizationRuleResponse,\n NamespacesListKeysOptionalParams,\n NamespacesListKeysResponse,\n PolicyKeyResource,\n NamespacesRegenerateKeysOptionalParams,\n NamespacesRegenerateKeysResponse,\n NamespacesGetPnsCredentialsOptionalParams,\n NamespacesGetPnsCredentialsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Namespaces. */\nexport interface Namespaces {\n /**\n * Lists all the available namespaces within the subscription.\n * @param options The options parameters.\n */\n listAll(options?: NamespacesListAllOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;\n /**\n * Lists the available namespaces within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n options?: NamespacesListOptionalParams,\n ): PagedAsyncIterableIterator<NamespaceResource>;\n /**\n * Gets the authorization rules for a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n listAuthorizationRules(\n resourceGroupName: string,\n namespaceName: string,\n options?: NamespacesListAuthorizationRulesOptionalParams,\n ): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;\n /**\n * Checks the availability of the given service namespace across all Azure subscriptions. This is\n * useful because the domain name is created based on the service namespace name.\n * @param parameters Request content.\n * @param options The options parameters.\n */\n checkAvailability(\n parameters: CheckAvailabilityParameters,\n options?: NamespacesCheckAvailabilityOptionalParams,\n ): Promise<NamespacesCheckAvailabilityResponse>;\n /**\n * Returns the given namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n namespaceName: string,\n options?: NamespacesGetOptionalParams,\n ): Promise<NamespacesGetResponse>;\n /**\n * Creates / Updates a Notification Hub namespace. This operation is idempotent.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n namespaceName: string,\n parameters: NamespaceResource,\n options?: NamespacesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<NamespacesCreateOrUpdateResponse>,\n NamespacesCreateOrUpdateResponse\n >\n >;\n /**\n * Creates / Updates a Notification Hub namespace. This operation is idempotent.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n namespaceName: string,\n parameters: NamespaceResource,\n options?: NamespacesCreateOrUpdateOptionalParams,\n ): Promise<NamespacesCreateOrUpdateResponse>;\n /**\n * Patches the existing namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n namespaceName: string,\n parameters: NamespacePatchParameters,\n options?: NamespacesUpdateOptionalParams,\n ): Promise<NamespacesUpdateResponse>;\n /**\n * Deletes an existing namespace. This operation also removes all associated notificationHubs under the\n * namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n namespaceName: string,\n options?: NamespacesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Creates an authorization rule for a namespace\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n createOrUpdateAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n parameters: SharedAccessAuthorizationRuleResource,\n options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams,\n ): Promise<NamespacesCreateOrUpdateAuthorizationRuleResponse>;\n /**\n * Deletes a namespace authorization rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n deleteAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n options?: NamespacesDeleteAuthorizationRuleOptionalParams,\n ): Promise<void>;\n /**\n * Gets an authorization rule for a namespace by name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n getAuthorizationRule(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n options?: NamespacesGetAuthorizationRuleOptionalParams,\n ): Promise<NamespacesGetAuthorizationRuleResponse>;\n /**\n * Gets the Primary and Secondary ConnectionStrings to the namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n options?: NamespacesListKeysOptionalParams,\n ): Promise<NamespacesListKeysResponse>;\n /**\n * Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param authorizationRuleName Authorization Rule Name\n * @param parameters Request content.\n * @param options The options parameters.\n */\n regenerateKeys(\n resourceGroupName: string,\n namespaceName: string,\n authorizationRuleName: string,\n parameters: PolicyKeyResource,\n options?: NamespacesRegenerateKeysOptionalParams,\n ): Promise<NamespacesRegenerateKeysResponse>;\n /**\n * Lists the PNS credentials associated with a namespace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param namespaceName Namespace name\n * @param options The options parameters.\n */\n getPnsCredentials(\n resourceGroupName: string,\n namespaceName: string,\n options?: NamespacesGetPnsCredentialsOptionalParams,\n ): Promise<NamespacesGetPnsCredentialsResponse>;\n}\n"]}
|