@azure/arm-notificationhubs 2.1.1-alpha.20240312.1 → 3.0.0-beta.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.
Files changed (179) hide show
  1. package/CHANGELOG.md +170 -9
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +3826 -1755
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js +14 -6
  9. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js.map +1 -1
  10. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js +15 -7
  11. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js.map +1 -1
  12. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +25 -10
  13. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js +13 -5
  15. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js.map +1 -1
  16. package/dist-esm/samples-dev/namespacesDeleteSample.js +14 -6
  17. package/dist-esm/samples-dev/namespacesDeleteSample.js.map +1 -1
  18. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js +13 -5
  19. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js.map +1 -1
  20. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js +39 -0
  23. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js.map +1 -0
  24. package/dist-esm/samples-dev/namespacesGetSample.js +15 -7
  25. package/dist-esm/samples-dev/namespacesGetSample.js.map +1 -1
  26. package/dist-esm/samples-dev/namespacesListAllSample.js +14 -6
  27. package/dist-esm/samples-dev/namespacesListAllSample.js.map +1 -1
  28. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js +13 -5
  29. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js.map +1 -1
  30. package/dist-esm/samples-dev/namespacesListKeysSample.js +15 -7
  31. package/dist-esm/samples-dev/namespacesListKeysSample.js.map +1 -1
  32. package/dist-esm/samples-dev/namespacesListSample.js +15 -7
  33. package/dist-esm/samples-dev/namespacesListSample.js.map +1 -1
  34. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js +14 -6
  35. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js.map +1 -1
  36. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/namespacesUpdateSample.js +51 -0
  39. package/dist-esm/samples-dev/namespacesUpdateSample.js.map +1 -0
  40. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js +15 -7
  41. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js.map +1 -1
  42. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js +16 -8
  43. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js.map +1 -1
  44. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js +15 -9
  45. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js +16 -10
  47. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js.map +1 -1
  48. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js +13 -5
  49. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js.map +1 -1
  50. package/dist-esm/samples-dev/notificationHubsDeleteSample.js +13 -5
  51. package/dist-esm/samples-dev/notificationHubsDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js +13 -5
  53. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js.map +1 -1
  54. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js +15 -7
  55. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js.map +1 -1
  56. package/dist-esm/samples-dev/notificationHubsGetSample.js +15 -7
  57. package/dist-esm/samples-dev/notificationHubsGetSample.js.map +1 -1
  58. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js +13 -5
  59. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js.map +1 -1
  60. package/dist-esm/samples-dev/notificationHubsListKeysSample.js +13 -5
  61. package/dist-esm/samples-dev/notificationHubsListKeysSample.js.map +1 -1
  62. package/dist-esm/samples-dev/notificationHubsListSample.js +13 -5
  63. package/dist-esm/samples-dev/notificationHubsListSample.js.map +1 -1
  64. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js +14 -6
  65. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js.map +1 -1
  66. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts +2 -0
  67. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts.map +1 -0
  68. package/dist-esm/samples-dev/notificationHubsUpdateSample.js +47 -0
  69. package/dist-esm/samples-dev/notificationHubsUpdateSample.js.map +1 -0
  70. package/dist-esm/samples-dev/operationsListSample.js +13 -5
  71. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  72. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +42 -0
  75. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
  76. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js +42 -0
  79. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js.map +1 -0
  80. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +42 -0
  83. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  84. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js +57 -0
  87. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js.map +1 -0
  88. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +57 -0
  91. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -0
  92. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +48 -0
  95. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +1 -0
  96. package/dist-esm/src/lroImpl.d.ts +6 -11
  97. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  98. package/dist-esm/src/lroImpl.js +12 -20
  99. package/dist-esm/src/lroImpl.js.map +1 -1
  100. package/dist-esm/src/models/index.d.ts +1377 -455
  101. package/dist-esm/src/models/index.d.ts.map +1 -1
  102. package/dist-esm/src/models/index.js +136 -0
  103. package/dist-esm/src/models/index.js.map +1 -1
  104. package/dist-esm/src/models/mappers.d.ts +44 -17
  105. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  106. package/dist-esm/src/models/mappers.js +1972 -738
  107. package/dist-esm/src/models/mappers.js.map +1 -1
  108. package/dist-esm/src/models/parameters.d.ts +10 -6
  109. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  110. package/dist-esm/src/models/parameters.js +140 -80
  111. package/dist-esm/src/models/parameters.js.map +1 -1
  112. package/dist-esm/src/notificationHubsManagementClient.d.ts +6 -6
  113. package/dist-esm/src/notificationHubsManagementClient.d.ts.map +1 -1
  114. package/dist-esm/src/notificationHubsManagementClient.js +13 -13
  115. package/dist-esm/src/notificationHubsManagementClient.js.map +1 -1
  116. package/dist-esm/src/operations/index.d.ts +3 -2
  117. package/dist-esm/src/operations/index.d.ts.map +1 -1
  118. package/dist-esm/src/operations/index.js +3 -2
  119. package/dist-esm/src/operations/index.js.map +1 -1
  120. package/dist-esm/src/operations/namespaces.d.ts +82 -81
  121. package/dist-esm/src/operations/namespaces.d.ts.map +1 -1
  122. package/dist-esm/src/operations/namespaces.js +323 -224
  123. package/dist-esm/src/operations/namespaces.js.map +1 -1
  124. package/dist-esm/src/operations/notificationHubs.d.ts +73 -74
  125. package/dist-esm/src/operations/notificationHubs.d.ts.map +1 -1
  126. package/dist-esm/src/operations/notificationHubs.js +249 -185
  127. package/dist-esm/src/operations/notificationHubs.js.map +1 -1
  128. package/dist-esm/src/operations/operations.d.ts +2 -2
  129. package/dist-esm/src/operations/operations.js +11 -12
  130. package/dist-esm/src/operations/operations.js.map +1 -1
  131. package/dist-esm/src/operations/privateEndpointConnections.d.ts +114 -0
  132. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  133. package/dist-esm/src/operations/privateEndpointConnections.js +466 -0
  134. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  135. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -2
  136. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  137. package/dist-esm/src/operationsInterfaces/index.js +3 -2
  138. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  139. package/dist-esm/src/operationsInterfaces/namespaces.d.ts +61 -58
  140. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -1
  141. package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts +62 -63
  142. package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts.map +1 -1
  143. package/dist-esm/src/operationsInterfaces/operations.d.ts +1 -1
  144. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  145. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  148. package/dist-esm/src/pagingHelper.d.ts +4 -4
  149. package/dist-esm/src/pagingHelper.js +4 -4
  150. package/dist-esm/test/notificationhubs_examples.js +16 -4
  151. package/dist-esm/test/notificationhubs_examples.js.map +1 -1
  152. package/package.json +14 -13
  153. package/review/arm-notificationhubs.api.md +548 -121
  154. package/src/lroImpl.ts +31 -23
  155. package/src/models/index.ts +1458 -467
  156. package/src/models/mappers.ts +2054 -789
  157. package/src/models/parameters.ts +152 -87
  158. package/src/notificationHubsManagementClient.ts +30 -26
  159. package/src/operations/index.ts +3 -2
  160. package/src/operations/namespaces.ts +444 -341
  161. package/src/operations/notificationHubs.ts +326 -275
  162. package/src/operations/operations.ts +18 -19
  163. package/src/operations/privateEndpointConnections.ts +629 -0
  164. package/src/operationsInterfaces/index.ts +3 -2
  165. package/src/operationsInterfaces/namespaces.ts +101 -88
  166. package/src/operationsInterfaces/notificationHubs.ts +88 -89
  167. package/src/operationsInterfaces/operations.ts +2 -2
  168. package/src/operationsInterfaces/privateEndpointConnections.ts +156 -0
  169. package/src/pagingHelper.ts +5 -5
  170. package/types/arm-notificationhubs.d.ts +1615 -549
  171. package/types/tsdoc-metadata.json +1 -1
  172. package/dist-esm/samples-dev/namespacesPatchSample.d.ts +0 -2
  173. package/dist-esm/samples-dev/namespacesPatchSample.d.ts.map +0 -1
  174. package/dist-esm/samples-dev/namespacesPatchSample.js +0 -35
  175. package/dist-esm/samples-dev/namespacesPatchSample.js.map +0 -1
  176. package/dist-esm/samples-dev/notificationHubsPatchSample.d.ts +0 -2
  177. package/dist-esm/samples-dev/notificationHubsPatchSample.d.ts.map +0 -1
  178. package/dist-esm/samples-dev/notificationHubsPatchSample.js +0 -34
  179. package/dist-esm/samples-dev/notificationHubsPatchSample.js.map +0 -1
@@ -1,117 +1,120 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PollerLike, PollOperationState } from "@azure/core-lro";
3
- import { NamespaceResource, NamespacesListOptionalParams, NamespacesListAllOptionalParams, SharedAccessAuthorizationRuleResource, NamespacesListAuthorizationRulesOptionalParams, CheckAvailabilityParameters, NamespacesCheckAvailabilityOptionalParams, NamespacesCheckAvailabilityResponse, NamespaceCreateOrUpdateParameters, NamespacesCreateOrUpdateOptionalParams, NamespacesCreateOrUpdateResponse, NamespacePatchParameters, NamespacesPatchOptionalParams, NamespacesPatchResponse, NamespacesDeleteOptionalParams, NamespacesGetOptionalParams, NamespacesGetResponse, SharedAccessAuthorizationRuleCreateOrUpdateParameters, NamespacesCreateOrUpdateAuthorizationRuleOptionalParams, NamespacesCreateOrUpdateAuthorizationRuleResponse, NamespacesDeleteAuthorizationRuleOptionalParams, NamespacesGetAuthorizationRuleOptionalParams, NamespacesGetAuthorizationRuleResponse, NamespacesListKeysOptionalParams, NamespacesListKeysResponse, PolicykeyResource, NamespacesRegenerateKeysOptionalParams, NamespacesRegenerateKeysResponse } from "../models";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { 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";
4
4
  /** Interface representing a Namespaces. */
5
5
  export interface Namespaces {
6
6
  /**
7
- * Lists the available namespaces within a resourceGroup.
8
- * @param resourceGroupName The name of the resource group. If resourceGroupName value is null the
9
- * method lists all the namespaces within subscription
7
+ * Lists all the available namespaces within the subscription.
10
8
  * @param options The options parameters.
11
9
  */
12
- list(resourceGroupName: string, options?: NamespacesListOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
10
+ listAll(options?: NamespacesListAllOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
13
11
  /**
14
- * Lists all the available namespaces within the subscription irrespective of the resourceGroups.
12
+ * Lists the available namespaces within a resource group.
13
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
14
  * @param options The options parameters.
16
15
  */
17
- listAll(options?: NamespacesListAllOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
16
+ list(resourceGroupName: string, options?: NamespacesListOptionalParams): PagedAsyncIterableIterator<NamespaceResource>;
18
17
  /**
19
18
  * Gets the authorization rules for a namespace.
20
- * @param resourceGroupName The name of the resource group.
21
- * @param namespaceName The namespace name
19
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
20
+ * @param namespaceName Namespace name
22
21
  * @param options The options parameters.
23
22
  */
24
23
  listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;
25
24
  /**
26
25
  * Checks the availability of the given service namespace across all Azure subscriptions. This is
27
26
  * useful because the domain name is created based on the service namespace name.
28
- * @param parameters The namespace name.
27
+ * @param parameters Request content.
29
28
  * @param options The options parameters.
30
29
  */
31
30
  checkAvailability(parameters: CheckAvailabilityParameters, options?: NamespacesCheckAvailabilityOptionalParams): Promise<NamespacesCheckAvailabilityResponse>;
32
31
  /**
33
- * Creates/Updates a service namespace. Once created, this namespace's resource manifest is immutable.
34
- * This operation is idempotent.
35
- * @param resourceGroupName The name of the resource group.
36
- * @param namespaceName The namespace name.
37
- * @param parameters Parameters supplied to create a Namespace Resource.
32
+ * Returns the given namespace.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param namespaceName Namespace name
38
35
  * @param options The options parameters.
39
36
  */
40
- createOrUpdate(resourceGroupName: string, namespaceName: string, parameters: NamespaceCreateOrUpdateParameters, options?: NamespacesCreateOrUpdateOptionalParams): Promise<NamespacesCreateOrUpdateResponse>;
37
+ get(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams): Promise<NamespacesGetResponse>;
41
38
  /**
42
- * Patches the existing namespace
43
- * @param resourceGroupName The name of the resource group.
44
- * @param namespaceName The namespace name.
45
- * @param parameters Parameters supplied to patch a Namespace Resource.
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.
46
43
  * @param options The options parameters.
47
44
  */
48
- patch(resourceGroupName: string, namespaceName: string, parameters: NamespacePatchParameters, options?: NamespacesPatchOptionalParams): Promise<NamespacesPatchResponse>;
45
+ beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NamespacesCreateOrUpdateResponse>, NamespacesCreateOrUpdateResponse>>;
49
46
  /**
50
- * Deletes an existing namespace. This operation also removes all associated notificationHubs under the
51
- * namespace.
52
- * @param resourceGroupName The name of the resource group.
53
- * @param namespaceName The namespace name.
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.
54
51
  * @param options The options parameters.
55
52
  */
56
- beginDelete(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
53
+ beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, parameters: NamespaceResource, options?: NamespacesCreateOrUpdateOptionalParams): Promise<NamespacesCreateOrUpdateResponse>;
57
54
  /**
58
- * Deletes an existing namespace. This operation also removes all associated notificationHubs under the
59
- * namespace.
60
- * @param resourceGroupName The name of the resource group.
61
- * @param namespaceName The namespace name.
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.
62
59
  * @param options The options parameters.
63
60
  */
64
- beginDeleteAndWait(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams): Promise<void>;
61
+ update(resourceGroupName: string, namespaceName: string, parameters: NamespacePatchParameters, options?: NamespacesUpdateOptionalParams): Promise<NamespacesUpdateResponse>;
65
62
  /**
66
- * Returns the description for the specified namespace.
67
- * @param resourceGroupName The name of the resource group.
68
- * @param namespaceName The namespace name.
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
69
67
  * @param options The options parameters.
70
68
  */
71
- get(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams): Promise<NamespacesGetResponse>;
69
+ delete(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams): Promise<void>;
72
70
  /**
73
71
  * Creates an authorization rule for a namespace
74
- * @param resourceGroupName The name of the resource group.
75
- * @param namespaceName The namespace name.
76
- * @param authorizationRuleName Authorization Rule Name.
77
- * @param parameters The shared access authorization rule.
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.
78
76
  * @param options The options parameters.
79
77
  */
80
- createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleCreateOrUpdateParameters, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NamespacesCreateOrUpdateAuthorizationRuleResponse>;
78
+ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleResource, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NamespacesCreateOrUpdateAuthorizationRuleResponse>;
81
79
  /**
82
80
  * Deletes a namespace authorization rule
83
- * @param resourceGroupName The name of the resource group.
84
- * @param namespaceName The namespace name.
85
- * @param authorizationRuleName Authorization Rule Name.
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
86
84
  * @param options The options parameters.
87
85
  */
88
86
  deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams): Promise<void>;
89
87
  /**
90
88
  * Gets an authorization rule for a namespace by name.
91
- * @param resourceGroupName The name of the resource group.
92
- * @param namespaceName The namespace name
93
- * @param authorizationRuleName Authorization rule 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
94
92
  * @param options The options parameters.
95
93
  */
96
94
  getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams): Promise<NamespacesGetAuthorizationRuleResponse>;
97
95
  /**
98
- * Gets the Primary and Secondary ConnectionStrings to the namespace
99
- * @param resourceGroupName The name of the resource group.
100
- * @param namespaceName The namespace name.
101
- * @param authorizationRuleName The connection string of the namespace for the specified
102
- * authorizationRule.
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
103
100
  * @param options The options parameters.
104
101
  */
105
102
  listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams): Promise<NamespacesListKeysResponse>;
106
103
  /**
107
104
  * Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule
108
- * @param resourceGroupName The name of the resource group.
109
- * @param namespaceName The namespace name.
110
- * @param authorizationRuleName The connection string of the namespace for the specified
111
- * authorizationRule.
112
- * @param parameters Parameters supplied to regenerate the Namespace Authorization Rule Key.
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
113
116
  * @param options The options parameters.
114
117
  */
115
- regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: PolicykeyResource, options?: NamespacesRegenerateKeysOptionalParams): Promise<NamespacesRegenerateKeysResponse>;
118
+ getPnsCredentials(resourceGroupName: string, namespaceName: string, options?: NamespacesGetPnsCredentialsOptionalParams): Promise<NamespacesGetPnsCredentialsResponse>;
116
119
  }
117
120
  //# sourceMappingURL=namespaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/namespaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,iBAAiB,EACjB,4BAA4B,EAC5B,+BAA+B,EAC/B,qCAAqC,EACrC,8CAA8C,EAC9C,2BAA2B,EAC3B,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EACjC,sCAAsC,EACtC,gCAAgC,EAChC,wBAAwB,EACxB,6BAA6B,EAC7B,uBAAuB,EACvB,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EACrB,qDAAqD,EACrD,uDAAuD,EACvD,iDAAiD,EACjD,+CAA+C,EAC/C,4CAA4C,EAC5C,sCAAsC,EACtC,gCAAgC,EAChC,0BAA0B,EAC1B,iBAAiB,EACjB,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,WAAW,CAAC;AAGnB,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACjD;;;OAGG;IACH,OAAO,CACL,OAAO,CAAC,EAAE,+BAA+B,GACxC,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACjD;;;;;OAKG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,qCAAqC,CAAC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B,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;;OAOG;IACH,QAAQ,CACN,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,iBAAiB,EAC7B,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;CAC9C"}
1
+ {"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/namespaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,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,4CAA4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AAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;OAKG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
@@ -1,125 +1,124 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { NotificationHubResource, NotificationHubsListOptionalParams, SharedAccessAuthorizationRuleResource, NotificationHubsListAuthorizationRulesOptionalParams, CheckAvailabilityParameters, NotificationHubsCheckNotificationHubAvailabilityOptionalParams, NotificationHubsCheckNotificationHubAvailabilityResponse, NotificationHubCreateOrUpdateParameters, NotificationHubsCreateOrUpdateOptionalParams, NotificationHubsCreateOrUpdateResponse, NotificationHubsPatchOptionalParams, NotificationHubsPatchResponse, NotificationHubsDeleteOptionalParams, NotificationHubsGetOptionalParams, NotificationHubsGetResponse, NotificationHubsDebugSendOptionalParams, NotificationHubsDebugSendResponse, SharedAccessAuthorizationRuleCreateOrUpdateParameters, NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams, NotificationHubsCreateOrUpdateAuthorizationRuleResponse, NotificationHubsDeleteAuthorizationRuleOptionalParams, NotificationHubsGetAuthorizationRuleOptionalParams, NotificationHubsGetAuthorizationRuleResponse, NotificationHubsListKeysOptionalParams, NotificationHubsListKeysResponse, PolicykeyResource, NotificationHubsRegenerateKeysOptionalParams, NotificationHubsRegenerateKeysResponse, NotificationHubsGetPnsCredentialsOptionalParams, NotificationHubsGetPnsCredentialsResponse } from "../models";
2
+ import { NotificationHubResource, NotificationHubsListOptionalParams, SharedAccessAuthorizationRuleResource, NotificationHubsListAuthorizationRulesOptionalParams, CheckAvailabilityParameters, NotificationHubsCheckNotificationHubAvailabilityOptionalParams, NotificationHubsCheckNotificationHubAvailabilityResponse, NotificationHubsGetOptionalParams, NotificationHubsGetResponse, NotificationHubsCreateOrUpdateOptionalParams, NotificationHubsCreateOrUpdateResponse, NotificationHubPatchParameters, NotificationHubsUpdateOptionalParams, NotificationHubsUpdateResponse, NotificationHubsDeleteOptionalParams, NotificationHubsDebugSendOptionalParams, NotificationHubsDebugSendResponse, NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams, NotificationHubsCreateOrUpdateAuthorizationRuleResponse, NotificationHubsDeleteAuthorizationRuleOptionalParams, NotificationHubsGetAuthorizationRuleOptionalParams, NotificationHubsGetAuthorizationRuleResponse, NotificationHubsListKeysOptionalParams, NotificationHubsListKeysResponse, PolicyKeyResource, NotificationHubsRegenerateKeysOptionalParams, NotificationHubsRegenerateKeysResponse, NotificationHubsGetPnsCredentialsOptionalParams, NotificationHubsGetPnsCredentialsResponse } from "../models";
3
3
  /** Interface representing a NotificationHubs. */
4
4
  export interface NotificationHubs {
5
5
  /**
6
6
  * Lists the notification hubs associated with a namespace.
7
- * @param resourceGroupName The name of the resource group.
8
- * @param namespaceName The namespace name.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param namespaceName Namespace name
9
9
  * @param options The options parameters.
10
10
  */
11
11
  list(resourceGroupName: string, namespaceName: string, options?: NotificationHubsListOptionalParams): PagedAsyncIterableIterator<NotificationHubResource>;
12
12
  /**
13
13
  * Gets the authorization rules for a NotificationHub.
14
- * @param resourceGroupName The name of the resource group.
15
- * @param namespaceName The namespace name
16
- * @param notificationHubName The notification hub name.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param namespaceName Namespace name
16
+ * @param notificationHubName Notification Hub name
17
17
  * @param options The options parameters.
18
18
  */
19
19
  listAuthorizationRules(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource>;
20
20
  /**
21
21
  * Checks the availability of the given notificationHub in a namespace.
22
- * @param resourceGroupName The name of the resource group.
23
- * @param namespaceName The namespace name.
24
- * @param parameters The notificationHub name.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param namespaceName Namespace name
24
+ * @param parameters Request content.
25
25
  * @param options The options parameters.
26
26
  */
27
27
  checkNotificationHubAvailability(resourceGroupName: string, namespaceName: string, parameters: CheckAvailabilityParameters, options?: NotificationHubsCheckNotificationHubAvailabilityOptionalParams): Promise<NotificationHubsCheckNotificationHubAvailabilityResponse>;
28
+ /**
29
+ * Gets the notification hub.
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param namespaceName Namespace name
32
+ * @param notificationHubName Notification Hub name
33
+ * @param options The options parameters.
34
+ */
35
+ get(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsGetOptionalParams): Promise<NotificationHubsGetResponse>;
28
36
  /**
29
37
  * Creates/Update a NotificationHub in a namespace.
30
- * @param resourceGroupName The name of the resource group.
31
- * @param namespaceName The namespace name.
32
- * @param notificationHubName The notification hub name.
33
- * @param parameters Parameters supplied to the create/update a NotificationHub Resource.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
+ * @param namespaceName Namespace name
40
+ * @param notificationHubName Notification Hub name
41
+ * @param parameters Request content.
34
42
  * @param options The options parameters.
35
43
  */
36
- createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: NotificationHubCreateOrUpdateParameters, options?: NotificationHubsCreateOrUpdateOptionalParams): Promise<NotificationHubsCreateOrUpdateResponse>;
44
+ createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: NotificationHubResource, options?: NotificationHubsCreateOrUpdateOptionalParams): Promise<NotificationHubsCreateOrUpdateResponse>;
37
45
  /**
38
46
  * Patch a NotificationHub in a namespace.
39
- * @param resourceGroupName The name of the resource group.
40
- * @param namespaceName The namespace name.
41
- * @param notificationHubName The notification hub name.
47
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
+ * @param namespaceName Namespace name
49
+ * @param notificationHubName Notification Hub name
50
+ * @param parameters Request content.
42
51
  * @param options The options parameters.
43
52
  */
44
- patch(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsPatchOptionalParams): Promise<NotificationHubsPatchResponse>;
53
+ update(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: NotificationHubPatchParameters, options?: NotificationHubsUpdateOptionalParams): Promise<NotificationHubsUpdateResponse>;
45
54
  /**
46
55
  * Deletes a notification hub associated with a namespace.
47
- * @param resourceGroupName The name of the resource group.
48
- * @param namespaceName The namespace name.
49
- * @param notificationHubName The notification hub name.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param namespaceName Namespace name
58
+ * @param notificationHubName Notification Hub name
50
59
  * @param options The options parameters.
51
60
  */
52
61
  delete(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDeleteOptionalParams): Promise<void>;
53
62
  /**
54
- * Lists the notification hubs associated with a namespace.
55
- * @param resourceGroupName The name of the resource group.
56
- * @param namespaceName The namespace name.
57
- * @param notificationHubName The notification hub name.
58
- * @param options The options parameters.
59
- */
60
- get(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsGetOptionalParams): Promise<NotificationHubsGetResponse>;
61
- /**
62
- * test send a push notification
63
- * @param resourceGroupName The name of the resource group.
64
- * @param namespaceName The namespace name.
65
- * @param notificationHubName The notification hub name.
63
+ * Test send a push notification.
64
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
+ * @param namespaceName Namespace name
66
+ * @param notificationHubName Notification Hub name
66
67
  * @param options The options parameters.
67
68
  */
68
69
  debugSend(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDebugSendOptionalParams): Promise<NotificationHubsDebugSendResponse>;
69
70
  /**
70
71
  * Creates/Updates an authorization rule for a NotificationHub
71
- * @param resourceGroupName The name of the resource group.
72
- * @param namespaceName The namespace name.
73
- * @param notificationHubName The notification hub name.
74
- * @param authorizationRuleName Authorization Rule Name.
75
- * @param parameters The shared access authorization rule.
72
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
73
+ * @param namespaceName Namespace name
74
+ * @param notificationHubName Notification Hub name
75
+ * @param authorizationRuleName Authorization Rule Name
76
+ * @param parameters Request content.
76
77
  * @param options The options parameters.
77
78
  */
78
- createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleCreateOrUpdateParameters, options?: NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NotificationHubsCreateOrUpdateAuthorizationRuleResponse>;
79
+ createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleResource, options?: NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NotificationHubsCreateOrUpdateAuthorizationRuleResponse>;
79
80
  /**
80
81
  * Deletes a notificationHub authorization rule
81
- * @param resourceGroupName The name of the resource group.
82
- * @param namespaceName The namespace name.
83
- * @param notificationHubName The notification hub name.
84
- * @param authorizationRuleName Authorization Rule Name.
82
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
83
+ * @param namespaceName Namespace name
84
+ * @param notificationHubName Notification Hub name
85
+ * @param authorizationRuleName Authorization Rule Name
85
86
  * @param options The options parameters.
86
87
  */
87
88
  deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsDeleteAuthorizationRuleOptionalParams): Promise<void>;
88
89
  /**
89
90
  * Gets an authorization rule for a NotificationHub by name.
90
- * @param resourceGroupName The name of the resource group.
91
- * @param namespaceName The namespace name
92
- * @param notificationHubName The notification hub name.
93
- * @param authorizationRuleName authorization rule name.
91
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
92
+ * @param namespaceName Namespace name
93
+ * @param notificationHubName Notification Hub name
94
+ * @param authorizationRuleName Authorization Rule Name
94
95
  * @param options The options parameters.
95
96
  */
96
97
  getAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsGetAuthorizationRuleOptionalParams): Promise<NotificationHubsGetAuthorizationRuleResponse>;
97
98
  /**
98
99
  * Gets the Primary and Secondary ConnectionStrings to the NotificationHub
99
- * @param resourceGroupName The name of the resource group.
100
- * @param namespaceName The namespace name.
101
- * @param notificationHubName The notification hub name.
102
- * @param authorizationRuleName The connection string of the NotificationHub for the specified
103
- * authorizationRule.
100
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
101
+ * @param namespaceName Namespace name
102
+ * @param notificationHubName Notification Hub name
103
+ * @param authorizationRuleName Authorization Rule Name
104
104
  * @param options The options parameters.
105
105
  */
106
106
  listKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsListKeysOptionalParams): Promise<NotificationHubsListKeysResponse>;
107
107
  /**
108
108
  * Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule
109
- * @param resourceGroupName The name of the resource group.
110
- * @param namespaceName The namespace name.
111
- * @param notificationHubName The notification hub name.
112
- * @param authorizationRuleName The connection string of the NotificationHub for the specified
113
- * authorizationRule.
114
- * @param parameters Parameters supplied to regenerate the NotificationHub Authorization Rule Key.
109
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
110
+ * @param namespaceName Namespace name
111
+ * @param notificationHubName Notification Hub name
112
+ * @param authorizationRuleName Authorization Rule Name
113
+ * @param parameters Request content.
115
114
  * @param options The options parameters.
116
115
  */
117
- regenerateKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: PolicykeyResource, options?: NotificationHubsRegenerateKeysOptionalParams): Promise<NotificationHubsRegenerateKeysResponse>;
116
+ regenerateKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: PolicyKeyResource, options?: NotificationHubsRegenerateKeysOptionalParams): Promise<NotificationHubsRegenerateKeysResponse>;
118
117
  /**
119
- * Lists the PNS Credentials associated with a notification hub .
120
- * @param resourceGroupName The name of the resource group.
121
- * @param namespaceName The namespace name.
122
- * @param notificationHubName The notification hub name.
118
+ * Lists the PNS Credentials associated with a notification hub.
119
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
+ * @param namespaceName Namespace name
121
+ * @param notificationHubName Notification Hub name
123
122
  * @param options The options parameters.
124
123
  */
125
124
  getPnsCredentials(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsGetPnsCredentialsOptionalParams): Promise<NotificationHubsGetPnsCredentialsResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"notificationHubs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/notificationHubs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,qCAAqC,EACrC,oDAAoD,EACpD,2BAA2B,EAC3B,8DAA8D,EAC9D,wDAAwD,EACxD,uCAAuC,EACvC,4CAA4C,EAC5C,sCAAsC,EACtC,mCAAmC,EACnC,6BAA6B,EAC7B,oCAAoC,EACpC,iCAAiC,EACjC,2BAA2B,EAC3B,uCAAuC,EACvC,iCAAiC,EACjC,qDAAqD,EACrD,6DAA6D,EAC7D,uDAAuD,EACvD,qDAAqD,EACrD,kDAAkD,EAClD,4CAA4C,EAC5C,sCAAsC,EACtC,gCAAgC,EAChC,iBAAiB,EACjB,4CAA4C,EAC5C,sCAAsC,EACtC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAGnB,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,M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,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACvD"}
1
+ {"version":3,"file":"notificationHubs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/notificationHubs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,qCAAqC,EACrC,oDAAoD,EACpD,2BAA2B,EAC3B,8DAA8D,EAC9D,wDAAwD,EACxD,iCAAiC,EACjC,2BAA2B,EAC3B,4CAA4C,EAC5C,sCAAsC,EACtC,8BAA8B,EAC9B,oCAAoC,EACpC,8BAA8B,EAC9B,oCAAoC,EACpC,uCAAuC,EACvC,iCAAiC,EACjC,6DAA6D,EAC7D,uDAAuD,EACvD,qDAAqD,EACrD,kDAAkD,EAClD,4CAA4C,EAC5C,sCAAsC,EACtC,gCAAgC,EAChC,iBAAiB,EACjB,4CAA4C,EAC5C,sCAAsC,EACtC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAGnB,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,oDAAoD,GAC7D,0BAA0B,CAAC,qCAAqC,CAAC,CAAC;IACrE;;;;;;OAMG;IACH,gCAAgC,CAC9B,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,2BAA2B,EACvC,OAAO,CAAC,EAAE,8DAA8D,GACvE,OAAO,CAAC,wDAAwD,CAAC,CAAC;IACrE;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,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACzD;;;;;;;OAOG;IACH,QAAQ,CACN,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,iBAAiB,EAC7B,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;OAMG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACvD"}
@@ -3,7 +3,7 @@ import { Operation, OperationsListOptionalParams } from "../models";
3
3
  /** Interface representing a Operations. */
4
4
  export interface Operations {
5
5
  /**
6
- * Lists all of the available NotificationHubs REST API operations.
6
+ * Lists all available Notification Hubs operations.
7
7
  * @param options The options parameters.
8
8
  */
9
9
  list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
@@ -0,0 +1,84 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { PrivateEndpointConnectionResource, PrivateEndpointConnectionsListOptionalParams, PrivateLinkResource, PrivateEndpointConnectionsListGroupIdsOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsGetGroupIdOptionalParams, PrivateEndpointConnectionsGetGroupIdResponse } from "../models";
4
+ /** Interface representing a PrivateEndpointConnections. */
5
+ export interface PrivateEndpointConnections {
6
+ /**
7
+ * Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.
8
+ * This is a public API that can be called directly by Notification Hubs users.
9
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
10
+ * @param namespaceName Namespace name
11
+ * @param options The options parameters.
12
+ */
13
+ list(resourceGroupName: string, namespaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionResource>;
14
+ /**
15
+ * Even though this namespace requires subscription id, resource group and namespace name, it returns a
16
+ * constant payload (for a given namespacE) every time it's called.
17
+ * That's why we don't send it to the sibling RP, but process it directly in the scale unit that
18
+ * received the request.
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
+ listGroupIds(resourceGroupName: string, namespaceName: string, options?: PrivateEndpointConnectionsListGroupIdsOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
24
+ /**
25
+ * Approves or rejects Private Endpoint Connection.
26
+ * This is a public API that can be called directly by Notification Hubs users.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param namespaceName Namespace name
29
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
30
+ * @param parameters Description of the Private Endpoint Connection resource.
31
+ * @param options The options parameters.
32
+ */
33
+ beginUpdate(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsUpdateResponse>, PrivateEndpointConnectionsUpdateResponse>>;
34
+ /**
35
+ * Approves or rejects Private Endpoint Connection.
36
+ * This is a public API that can be called directly by Notification Hubs users.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param namespaceName Namespace name
39
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
40
+ * @param parameters Description of the Private Endpoint Connection resource.
41
+ * @param options The options parameters.
42
+ */
43
+ beginUpdateAndWait(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
44
+ /**
45
+ * Deletes the Private Endpoint Connection.
46
+ * This is a public API that can be called directly by Notification Hubs users.
47
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
+ * @param namespaceName Namespace name
49
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
50
+ * @param options The options parameters.
51
+ */
52
+ beginDelete(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsDeleteResponse>, PrivateEndpointConnectionsDeleteResponse>>;
53
+ /**
54
+ * Deletes the Private Endpoint Connection.
55
+ * This is a public API that can be called directly by Notification Hubs users.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param namespaceName Namespace name
58
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
59
+ * @param options The options parameters.
60
+ */
61
+ beginDeleteAndWait(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
62
+ /**
63
+ * Returns a Private Endpoint Connection with a given name.
64
+ * This is a public API that can be called directly by Notification Hubs users.
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param namespaceName Namespace name
67
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
68
+ * @param options The options parameters.
69
+ */
70
+ get(resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
71
+ /**
72
+ * Even though this namespace requires subscription id, resource group and namespace name, it returns a
73
+ * constant payload (for a given namespacE) every time it's called.
74
+ * That's why we don't send it to the sibling RP, but process it directly in the scale unit that
75
+ * received the request.
76
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
+ * @param namespaceName Namespace name
78
+ * @param subResourceName Name of the Private Link sub-resource. The only supported sub-resource is
79
+ * "namespace"
80
+ * @param options The options parameters.
81
+ */
82
+ getGroupId(resourceGroupName: string, namespaceName: string, subResourceName: string, options?: PrivateEndpointConnectionsGetGroupIdOptionalParams): Promise<PrivateEndpointConnectionsGetGroupIdResponse>;
83
+ }
84
+ //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,iCAAiC,EACjC,4CAA4C,EAC5C,mBAAmB,EACnB,oDAAoD,EACpD,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EACxC,2CAA2C,EAC3C,qCAAqC,EACrC,kDAAkD,EAClD,4CAA4C,EAC7C,MAAM,WAAW,CAAC;AAGnB,2DAA2D;A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CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;;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,CAAC;CAC1D"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=privateEndpointConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -2,11 +2,11 @@ export interface PageInfo {
2
2
  continuationToken?: string;
3
3
  }
4
4
  /**
5
- * Given a result page from a pageable operation, returns a
6
- * continuation token that can be used to begin paging from
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
7
  * that point later.
8
- * @param page A result object from calling .byPage() on a paged operation.
9
- * @returns The continuation token that can be passed into byPage().
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
10
  */
11
11
  export declare function getContinuationToken(page: unknown): string | undefined;
12
12
  export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
@@ -7,11 +7,11 @@
7
7
  */
8
8
  const pageMap = new WeakMap();
9
9
  /**
10
- * Given a result page from a pageable operation, returns a
11
- * continuation token that can be used to begin paging from
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
12
  * that point later.
13
- * @param page A result object from calling .byPage() on a paged operation.
14
- * @returns The continuation token that can be passed into byPage().
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
15
  */
16
16
  export function getContinuationToken(page) {
17
17
  var _a;