@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,544 +1,1503 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- /** Result of the request to list NotificationHubs operations. It contains a list of operations and a URL link to get the next set of results. */
3
- export interface OperationListResult {
4
- /**
5
- * List of NotificationHubs operations supported by the Microsoft.NotificationHubs resource provider.
6
- * NOTE: This property will not be serialized. It can only be populated by the server.
7
- */
8
- readonly value?: Operation[];
9
- /**
10
- * URL to get the next set of operation list results if there are any.
11
- * NOTE: This property will not be serialized. It can only be populated by the server.
12
- */
13
- readonly nextLink?: string;
14
- }
15
- /** A NotificationHubs REST API operation */
16
- export interface Operation {
17
- /**
18
- * Operation name: {provider}/{resource}/{operation}
19
- * NOTE: This property will not be serialized. It can only be populated by the server.
20
- */
21
- readonly name?: string;
22
- /** The object that represents the operation. */
23
- display?: OperationDisplay;
24
- }
25
- /** The object that represents the operation. */
26
- export interface OperationDisplay {
27
- /**
28
- * Service provider: Microsoft.NotificationHubs
29
- * NOTE: This property will not be serialized. It can only be populated by the server.
30
- */
31
- readonly provider?: string;
32
- /**
33
- * Resource on which the operation is performed: Invoice, etc.
34
- * NOTE: This property will not be serialized. It can only be populated by the server.
35
- */
36
- readonly resource?: string;
37
- /**
38
- * Operation type: Read, write, delete, etc.
39
- * NOTE: This property will not be serialized. It can only be populated by the server.
40
- */
41
- readonly operation?: string;
42
- }
43
- /** Error response indicates NotificationHubs service is not able to process the incoming request. The reason is provided in the error message. */
44
- export interface ErrorResponse {
45
- /** Error code. */
46
- code?: string;
47
- /** Error message indicating why the operation failed. */
48
- message?: string;
49
- }
50
- /** Parameters supplied to the Check Name Availability for Namespace and NotificationHubs. */
2
+ /**
3
+ * Parameters supplied to the Check Name Availability for Namespace and
4
+ * NotificationHubs.
5
+ */
51
6
  export interface CheckAvailabilityParameters {
52
7
  /**
53
- * Resource Id
8
+ * Gets resource Id
54
9
  * NOTE: This property will not be serialized. It can only be populated by the server.
55
10
  */
56
11
  readonly id?: string;
57
- /** Resource name */
12
+ /** Gets or sets resource name */
58
13
  name: string;
59
14
  /**
60
- * Resource type
15
+ * Gets resource type
61
16
  * NOTE: This property will not be serialized. It can only be populated by the server.
62
17
  */
63
18
  readonly type?: string;
64
- /** Resource location */
19
+ /** Gets or sets resource location */
65
20
  location?: string;
66
- /** Resource tags */
21
+ /** Gets or sets resource tags */
67
22
  tags?: {
68
23
  [propertyName: string]: string;
69
24
  };
70
- /** The sku of the created namespace */
71
- sku?: Sku;
72
- /** True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false. */
25
+ /** Not used and deprecated since API version 2023-01-01-preview */
73
26
  isAvailiable?: boolean;
27
+ /** The Sku description for a namespace */
28
+ sku?: Sku;
74
29
  }
75
30
  /** The Sku description for a namespace */
76
31
  export interface Sku {
77
- /** Name of the notification hub sku */
32
+ /** Namespace SKU name. */
78
33
  name: SkuName;
79
- /** The tier of particular sku */
34
+ /** Gets or sets the tier of particular sku */
80
35
  tier?: string;
81
- /** The Sku size */
36
+ /** Gets or sets the Sku size */
82
37
  size?: string;
83
- /** The Sku Family */
38
+ /** Gets or sets the Sku Family */
84
39
  family?: string;
85
- /** The capacity of the resource */
40
+ /** Gets or sets the capacity of the resource */
86
41
  capacity?: number;
87
42
  }
43
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
88
44
  export interface Resource {
89
45
  /**
90
- * Resource Id
46
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
91
47
  * NOTE: This property will not be serialized. It can only be populated by the server.
92
48
  */
93
49
  readonly id?: string;
94
50
  /**
95
- * Resource name
51
+ * The name of the resource
96
52
  * NOTE: This property will not be serialized. It can only be populated by the server.
97
53
  */
98
54
  readonly name?: string;
99
55
  /**
100
- * Resource type
56
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
101
57
  * NOTE: This property will not be serialized. It can only be populated by the server.
102
58
  */
103
59
  readonly type?: string;
104
- /** Resource location */
105
- location?: string;
106
- /** Resource tags */
107
- tags?: {
108
- [propertyName: string]: string;
109
- };
110
- /** The sku of the created namespace */
111
- sku?: Sku;
60
+ /**
61
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
62
+ * NOTE: This property will not be serialized. It can only be populated by the server.
63
+ */
64
+ readonly systemData?: SystemData;
65
+ }
66
+ /** Metadata pertaining to creation and last modification of the resource. */
67
+ export interface SystemData {
68
+ /** The identity that created the resource. */
69
+ createdBy?: string;
70
+ /** The type of identity that created the resource. */
71
+ createdByType?: CreatedByType;
72
+ /** The timestamp of resource creation (UTC). */
73
+ createdAt?: Date;
74
+ /** The identity that last modified the resource. */
75
+ lastModifiedBy?: string;
76
+ /** The type of identity that last modified the resource. */
77
+ lastModifiedByType?: CreatedByType;
78
+ /** The timestamp of resource last modification (UTC) */
79
+ lastModifiedAt?: Date;
80
+ }
81
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
82
+ export interface ErrorResponse {
83
+ /** The error object. */
84
+ error?: ErrorDetail;
112
85
  }
113
- /** Parameters supplied to the Patch Namespace operation. */
114
- export interface NamespacePatchParameters {
115
- /** Resource tags */
116
- tags?: {
117
- [propertyName: string]: string;
118
- };
119
- /** The sku of the created namespace */
120
- sku?: Sku;
86
+ /** The error detail. */
87
+ export interface ErrorDetail {
88
+ /**
89
+ * The error code.
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
+ */
92
+ readonly code?: string;
93
+ /**
94
+ * The error message.
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
96
+ */
97
+ readonly message?: string;
98
+ /**
99
+ * The error target.
100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
+ */
102
+ readonly target?: string;
103
+ /**
104
+ * The error details.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly details?: ErrorDetail[];
108
+ /**
109
+ * The error additional info.
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
+ */
112
+ readonly additionalInfo?: ErrorAdditionalInfo[];
121
113
  }
122
- /** Parameters supplied to the CreateOrUpdate Namespace AuthorizationRules. */
123
- export interface SharedAccessAuthorizationRuleCreateOrUpdateParameters {
124
- /** Properties of the Namespace AuthorizationRules. */
125
- properties: SharedAccessAuthorizationRuleProperties;
114
+ /** The resource management error additional info. */
115
+ export interface ErrorAdditionalInfo {
116
+ /**
117
+ * The additional info type.
118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
119
+ */
120
+ readonly type?: string;
121
+ /**
122
+ * The additional info.
123
+ * NOTE: This property will not be serialized. It can only be populated by the server.
124
+ */
125
+ readonly info?: Record<string, unknown>;
126
126
  }
127
127
  /** SharedAccessAuthorizationRule properties. */
128
128
  export interface SharedAccessAuthorizationRuleProperties {
129
- /** The rights associated with the rule. */
130
- rights?: AccessRights[];
129
+ /** Gets or sets the rights associated with the rule. */
130
+ rights: AccessRights[];
131
131
  /**
132
- * A base64-encoded 256-bit primary key for signing and validating the SAS token.
133
- * NOTE: This property will not be serialized. It can only be populated by the server.
132
+ * Gets a base64-encoded 256-bit primary key for signing and
133
+ * validating the SAS token.
134
134
  */
135
- readonly primaryKey?: string;
135
+ primaryKey?: string;
136
136
  /**
137
- * A base64-encoded 256-bit primary key for signing and validating the SAS token.
138
- * NOTE: This property will not be serialized. It can only be populated by the server.
137
+ * Gets a base64-encoded 256-bit primary key for signing and
138
+ * validating the SAS token.
139
139
  */
140
- readonly secondaryKey?: string;
140
+ secondaryKey?: string;
141
141
  /**
142
- * A string that describes the authorization rule.
142
+ * Gets a string that describes the authorization rule.
143
143
  * NOTE: This property will not be serialized. It can only be populated by the server.
144
144
  */
145
145
  readonly keyName?: string;
146
146
  /**
147
- * A string that describes the claim type
147
+ * Gets the last modified time for this rule
148
148
  * NOTE: This property will not be serialized. It can only be populated by the server.
149
149
  */
150
- readonly claimType?: string;
150
+ readonly modifiedTime?: Date;
151
151
  /**
152
- * A string that describes the claim value
152
+ * Gets the created time for this rule
153
153
  * NOTE: This property will not be serialized. It can only be populated by the server.
154
154
  */
155
- readonly claimValue?: string;
155
+ readonly createdTime?: Date;
156
156
  /**
157
- * The last modified time for this rule
157
+ * Gets a string that describes the claim type
158
158
  * NOTE: This property will not be serialized. It can only be populated by the server.
159
159
  */
160
- readonly modifiedTime?: string;
160
+ readonly claimType?: string;
161
161
  /**
162
- * The created time for this rule
162
+ * Gets a string that describes the claim value
163
163
  * NOTE: This property will not be serialized. It can only be populated by the server.
164
164
  */
165
- readonly createdTime?: string;
165
+ readonly claimValue?: string;
166
166
  /**
167
- * The revision number for the rule
167
+ * Gets the revision number for the rule
168
168
  * NOTE: This property will not be serialized. It can only be populated by the server.
169
169
  */
170
170
  readonly revision?: number;
171
171
  }
172
- /** The response of the List Namespace operation. */
173
- export interface NamespaceListResult {
174
- /** Result of the List Namespace operation. */
175
- value?: NamespaceResource[];
176
- /** Link to the next set of results. Not empty if Value contains incomplete list of Namespaces */
177
- nextLink?: string;
178
- }
179
- /** The response of the List Namespace operation. */
180
- export interface SharedAccessAuthorizationRuleListResult {
181
- /** Result of the List AuthorizationRules operation. */
182
- value?: SharedAccessAuthorizationRuleResource[];
183
- /** Link to the next set of results. Not empty if Value contains incomplete list of AuthorizationRules */
184
- nextLink?: string;
185
- }
186
- /** Namespace/NotificationHub Connection String */
187
- export interface ResourceListKeys {
188
- /** PrimaryConnectionString of the AuthorizationRule. */
189
- primaryConnectionString?: string;
190
- /** SecondaryConnectionString of the created AuthorizationRule */
191
- secondaryConnectionString?: string;
192
- /** PrimaryKey of the created AuthorizationRule. */
193
- primaryKey?: string;
194
- /** SecondaryKey of the created AuthorizationRule */
195
- secondaryKey?: string;
196
- /** KeyName of the created AuthorizationRule */
197
- keyName?: string;
198
- }
199
- /** Namespace/NotificationHub Regenerate Keys */
200
- export interface PolicykeyResource {
201
- /** Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key. */
202
- policyKey?: string;
203
- }
204
172
  /** Description of a NotificationHub ApnsCredential. */
205
173
  export interface ApnsCredential {
206
- /** The APNS certificate. Specify if using Certificate Authentication Mode. */
174
+ /** Gets or sets the APNS certificate. */
207
175
  apnsCertificate?: string;
208
- /** The APNS certificate password if it exists. */
176
+ /** Gets or sets the certificate key. */
209
177
  certificateKey?: string;
210
- /** The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'. */
211
- endpoint?: string;
212
- /** The APNS certificate thumbprint. Specify if using Certificate Authentication Mode. */
178
+ /** Gets or sets the endpoint of this credential. */
179
+ endpoint: string;
180
+ /** Gets or sets the APNS certificate Thumbprint */
213
181
  thumbprint?: string;
214
- /** A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode. */
182
+ /**
183
+ * Gets or sets a 10-character key identifier (kid) key, obtained from
184
+ * your developer account
185
+ */
215
186
  keyId?: string;
216
- /** The name of the application or BundleId. Specify if using Token Authentication Mode. */
187
+ /** Gets or sets the name of the application */
217
188
  appName?: string;
218
- /** The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode. */
189
+ /**
190
+ * Gets or sets the issuer (iss) registered claim key, whose value is
191
+ * your 10-character Team ID, obtained from your developer account
192
+ */
219
193
  appId?: string;
220
- /** Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode. */
194
+ /**
195
+ * Gets or sets provider Authentication Token, obtained through your
196
+ * developer account
197
+ */
221
198
  token?: string;
222
199
  }
223
200
  /** Description of a NotificationHub WnsCredential. */
224
201
  export interface WnsCredential {
225
- /** The package ID for this credential. */
202
+ /** Gets or sets the package ID for this credential. */
226
203
  packageSid?: string;
227
- /** The secret key. */
204
+ /** Gets or sets the secret key. */
228
205
  secretKey?: string;
229
- /** The Windows Live endpoint. */
206
+ /** Gets or sets the Windows Live endpoint. */
230
207
  windowsLiveEndpoint?: string;
208
+ /** Ges or sets the WNS Certificate Key. */
209
+ certificateKey?: string;
210
+ /** Gets or sets the WNS Certificate. */
211
+ wnsCertificate?: string;
231
212
  }
232
213
  /** Description of a NotificationHub GcmCredential. */
233
214
  export interface GcmCredential {
234
- /** The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send' */
215
+ /** Gets or sets the GCM endpoint. */
235
216
  gcmEndpoint?: string;
236
- /** The Google API key. */
237
- googleApiKey?: string;
217
+ /** Gets or sets the Google API key. */
218
+ googleApiKey: string;
238
219
  }
239
220
  /** Description of a NotificationHub MpnsCredential. */
240
221
  export interface MpnsCredential {
241
- /** The MPNS certificate. */
242
- mpnsCertificate?: string;
243
- /** The certificate key for this credential. */
244
- certificateKey?: string;
245
- /** The MPNS certificate Thumbprint */
246
- thumbprint?: string;
222
+ /** Gets or sets the MPNS certificate. */
223
+ mpnsCertificate: string;
224
+ /** Gets or sets the certificate key for this credential. */
225
+ certificateKey: string;
226
+ /** Gets or sets the MPNS certificate Thumbprint */
227
+ thumbprint: string;
247
228
  }
248
229
  /** Description of a NotificationHub AdmCredential. */
249
230
  export interface AdmCredential {
250
- /** The client identifier. */
251
- clientId?: string;
252
- /** The credential secret access key. */
253
- clientSecret?: string;
254
- /** The URL of the authorization token. */
255
- authTokenUrl?: string;
231
+ /** Gets or sets the client identifier. */
232
+ clientId: string;
233
+ /** Gets or sets the credential secret access key. */
234
+ clientSecret: string;
235
+ /** Gets or sets the URL of the authorization token. */
236
+ authTokenUrl: string;
256
237
  }
257
238
  /** Description of a NotificationHub BaiduCredential. */
258
239
  export interface BaiduCredential {
259
- /** Baidu Api Key. */
260
- baiduApiKey?: string;
261
- /** Baidu Endpoint. */
262
- baiduEndPoint?: string;
263
- /** Baidu Secret Key */
264
- baiduSecretKey?: string;
240
+ /** Gets or sets baidu Api Key. */
241
+ baiduApiKey: string;
242
+ /** Gets or sets baidu Endpoint. */
243
+ baiduEndPoint: string;
244
+ /** Gets or sets baidu Secret Key */
245
+ baiduSecretKey: string;
246
+ }
247
+ /** Description of a NotificationHub BrowserCredential. */
248
+ export interface BrowserCredential {
249
+ /** Gets or sets web push subject. */
250
+ subject: string;
251
+ /** Gets or sets VAPID private key. */
252
+ vapidPrivateKey: string;
253
+ /** Gets or sets VAPID public key. */
254
+ vapidPublicKey: string;
255
+ }
256
+ /** Description of a NotificationHub XiaomiCredential. */
257
+ export interface XiaomiCredential {
258
+ /** Gets or sets app secret. */
259
+ appSecret?: string;
260
+ /** Gets or sets xiaomi service endpoint. */
261
+ endpoint?: string;
262
+ }
263
+ /** Description of a NotificationHub FcmV1Credential. */
264
+ export interface FcmV1Credential {
265
+ /** Gets or sets client email. */
266
+ clientEmail: string;
267
+ /** Gets or sets private key. */
268
+ privateKey: string;
269
+ /** Gets or sets project id. */
270
+ projectId: string;
271
+ }
272
+ /** Patch parameter for NamespaceResource. */
273
+ export interface NotificationHubPatchParameters {
274
+ /** The Sku description for a namespace */
275
+ sku?: Sku;
276
+ /** Dictionary of <string> */
277
+ tags?: {
278
+ [propertyName: string]: string;
279
+ };
280
+ /** Gets or sets the NotificationHub name. */
281
+ name?: string;
282
+ /** Gets or sets the RegistrationTtl of the created NotificationHub */
283
+ registrationTtl?: string;
284
+ /**
285
+ * Gets or sets the AuthorizationRules of the created NotificationHub
286
+ * NOTE: This property will not be serialized. It can only be populated by the server.
287
+ */
288
+ readonly authorizationRules?: SharedAccessAuthorizationRuleProperties[];
289
+ /** Description of a NotificationHub ApnsCredential. */
290
+ apnsCredential?: ApnsCredential;
291
+ /** Description of a NotificationHub WnsCredential. */
292
+ wnsCredential?: WnsCredential;
293
+ /** Description of a NotificationHub GcmCredential. */
294
+ gcmCredential?: GcmCredential;
295
+ /** Description of a NotificationHub MpnsCredential. */
296
+ mpnsCredential?: MpnsCredential;
297
+ /** Description of a NotificationHub AdmCredential. */
298
+ admCredential?: AdmCredential;
299
+ /** Description of a NotificationHub BaiduCredential. */
300
+ baiduCredential?: BaiduCredential;
301
+ /** Description of a NotificationHub BrowserCredential. */
302
+ browserCredential?: BrowserCredential;
303
+ /** Description of a NotificationHub XiaomiCredential. */
304
+ xiaomiCredential?: XiaomiCredential;
305
+ /** Description of a NotificationHub FcmV1Credential. */
306
+ fcmV1Credential?: FcmV1Credential;
307
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
308
+ readonly dailyMaxActiveDevices?: number;
265
309
  }
266
310
  /** The response of the List NotificationHub operation. */
267
311
  export interface NotificationHubListResult {
268
- /** Result of the List NotificationHub operation. */
269
- value?: NotificationHubResource[];
270
- /** Link to the next set of results. Not empty if Value contains incomplete list of NotificationHub */
271
- nextLink?: string;
272
- }
273
- export interface SubResource {
274
- /** Resource Id */
275
- id?: string;
276
- }
277
- /** Description of a CheckAvailability resource. */
278
- export interface CheckAvailabilityResult extends Resource {
279
- /** True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false. */
280
- isAvailiable?: boolean;
281
- }
282
- /** Parameters supplied to the CreateOrUpdate Namespace operation. */
283
- export interface NamespaceCreateOrUpdateParameters extends Resource {
284
- /** The name of the namespace. */
285
- namePropertiesName?: string;
286
- /** Provisioning state of the Namespace. */
287
- provisioningState?: string;
288
- /** Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe */
289
- region?: string;
290
312
  /**
291
- * Identifier for Azure Insights metrics
313
+ * Gets or sets result of the List AuthorizationRules operation.
292
314
  * NOTE: This property will not be serialized. It can only be populated by the server.
293
315
  */
294
- readonly metricId?: string;
295
- /** Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting */
296
- status?: string;
297
- /** The time the namespace was created. */
298
- createdAt?: Date;
299
- /** The time the namespace was updated. */
300
- updatedAt?: Date;
301
- /** Endpoint you can use to perform NotificationHub operations. */
302
- serviceBusEndpoint?: string;
303
- /** The Id of the Azure subscription associated with the namespace. */
304
- subscriptionId?: string;
305
- /** ScaleUnit where the namespace gets created */
306
- scaleUnit?: string;
307
- /** Whether or not the namespace is currently enabled. */
308
- enabled?: boolean;
309
- /** Whether or not the namespace is set as Critical. */
310
- critical?: boolean;
311
- /** Data center for the namespace */
312
- dataCenter?: string;
313
- /** The namespace type. */
314
- namespaceType?: NamespaceType;
315
- }
316
- /** Description of a Namespace resource. */
317
- export interface NamespaceResource extends Resource {
318
- /** The name of the namespace. */
319
- namePropertiesName?: string;
320
- /** Provisioning state of the Namespace. */
321
- provisioningState?: string;
322
- /** Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe */
323
- region?: string;
316
+ readonly value?: NotificationHubResource[];
324
317
  /**
325
- * Identifier for Azure Insights metrics
318
+ * Gets or sets link to the next set of results.
326
319
  * NOTE: This property will not be serialized. It can only be populated by the server.
327
320
  */
328
- readonly metricId?: string;
329
- /** Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting */
330
- status?: string;
331
- /** The time the namespace was created. */
332
- createdAt?: Date;
333
- /** The time the namespace was updated. */
334
- updatedAt?: Date;
335
- /** Endpoint you can use to perform NotificationHub operations. */
336
- serviceBusEndpoint?: string;
337
- /** The Id of the Azure subscription associated with the namespace. */
338
- subscriptionId?: string;
339
- /** ScaleUnit where the namespace gets created */
340
- scaleUnit?: string;
341
- /** Whether or not the namespace is currently enabled. */
342
- enabled?: boolean;
343
- /** Whether or not the namespace is set as Critical. */
344
- critical?: boolean;
345
- /** Data center for the namespace */
346
- dataCenter?: string;
347
- /** The namespace type. */
348
- namespaceType?: NamespaceType;
321
+ readonly nextLink?: string;
349
322
  }
350
- /** Description of a Namespace AuthorizationRules. */
351
- export interface SharedAccessAuthorizationRuleResource extends Resource {
352
- /** The rights associated with the rule. */
353
- rights?: AccessRights[];
323
+ /** Notification result for a single registration. */
324
+ export interface RegistrationResult {
354
325
  /**
355
- * A base64-encoded 256-bit primary key for signing and validating the SAS token.
326
+ * PNS type.
356
327
  * NOTE: This property will not be serialized. It can only be populated by the server.
357
328
  */
358
- readonly primaryKey?: string;
329
+ readonly applicationPlatform?: string;
359
330
  /**
360
- * A base64-encoded 256-bit primary key for signing and validating the SAS token.
331
+ * PNS handle.
361
332
  * NOTE: This property will not be serialized. It can only be populated by the server.
362
333
  */
363
- readonly secondaryKey?: string;
334
+ readonly pnsHandle?: string;
364
335
  /**
365
- * A string that describes the authorization rule.
336
+ * Registration id.
366
337
  * NOTE: This property will not be serialized. It can only be populated by the server.
367
338
  */
368
- readonly keyName?: string;
339
+ readonly registrationId?: string;
369
340
  /**
370
- * A string that describes the claim type
341
+ * Notification outcome.
371
342
  * NOTE: This property will not be serialized. It can only be populated by the server.
372
343
  */
373
- readonly claimType?: string;
344
+ readonly outcome?: string;
345
+ }
346
+ /** The response of the List Namespace operation. */
347
+ export interface SharedAccessAuthorizationRuleListResult {
374
348
  /**
375
- * A string that describes the claim value
349
+ * Gets or sets result of the List AuthorizationRules operation.
376
350
  * NOTE: This property will not be serialized. It can only be populated by the server.
377
351
  */
378
- readonly claimValue?: string;
352
+ readonly value?: SharedAccessAuthorizationRuleResource[];
353
+ /**
354
+ * Gets or sets link to the next set of results.
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
+ */
357
+ readonly nextLink?: string;
358
+ }
359
+ /** Response for the POST request that returns Namespace or NotificationHub access keys (connection strings). */
360
+ export interface ResourceListKeys {
379
361
  /**
380
- * The last modified time for this rule
362
+ * Gets or sets primaryConnectionString of the AuthorizationRule.
381
363
  * NOTE: This property will not be serialized. It can only be populated by the server.
382
364
  */
383
- readonly modifiedTime?: string;
365
+ readonly primaryConnectionString?: string;
384
366
  /**
385
- * The created time for this rule
367
+ * Gets or sets secondaryConnectionString of the created
368
+ * AuthorizationRule
386
369
  * NOTE: This property will not be serialized. It can only be populated by the server.
387
370
  */
388
- readonly createdTime?: string;
371
+ readonly secondaryConnectionString?: string;
389
372
  /**
390
- * The revision number for the rule
373
+ * Gets or sets primaryKey of the created AuthorizationRule.
391
374
  * NOTE: This property will not be serialized. It can only be populated by the server.
392
375
  */
393
- readonly revision?: number;
376
+ readonly primaryKey?: string;
377
+ /**
378
+ * Gets or sets secondaryKey of the created AuthorizationRule
379
+ * NOTE: This property will not be serialized. It can only be populated by the server.
380
+ */
381
+ readonly secondaryKey?: string;
382
+ /**
383
+ * Gets or sets keyName of the created AuthorizationRule
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
+ */
386
+ readonly keyName?: string;
394
387
  }
395
- /** Parameters supplied to the CreateOrUpdate NotificationHub operation. */
396
- export interface NotificationHubCreateOrUpdateParameters extends Resource {
397
- /** The NotificationHub name. */
398
- namePropertiesName?: string;
399
- /** The RegistrationTtl of the created NotificationHub */
400
- registrationTtl?: string;
401
- /** The AuthorizationRules of the created NotificationHub */
402
- authorizationRules?: SharedAccessAuthorizationRuleProperties[];
403
- /** The ApnsCredential of the created NotificationHub */
404
- apnsCredential?: ApnsCredential;
405
- /** The WnsCredential of the created NotificationHub */
406
- wnsCredential?: WnsCredential;
407
- /** The GcmCredential of the created NotificationHub */
408
- gcmCredential?: GcmCredential;
409
- /** The MpnsCredential of the created NotificationHub */
410
- mpnsCredential?: MpnsCredential;
411
- /** The AdmCredential of the created NotificationHub */
412
- admCredential?: AdmCredential;
413
- /** The BaiduCredential of the created NotificationHub */
414
- baiduCredential?: BaiduCredential;
388
+ /** Namespace / NotificationHub Regenerate Keys request. */
389
+ export interface PolicyKeyResource {
390
+ /** Type of Shared Access Policy Key (primary or secondary). */
391
+ policyKey: PolicyKeyType;
415
392
  }
416
- /** Description of a NotificationHub Resource. */
417
- export interface NotificationHubResource extends Resource {
418
- /** The NotificationHub name. */
419
- namePropertiesName?: string;
420
- /** The RegistrationTtl of the created NotificationHub */
421
- registrationTtl?: string;
422
- /** The AuthorizationRules of the created NotificationHub */
423
- authorizationRules?: SharedAccessAuthorizationRuleProperties[];
424
- /** The ApnsCredential of the created NotificationHub */
425
- apnsCredential?: ApnsCredential;
426
- /** The WnsCredential of the created NotificationHub */
427
- wnsCredential?: WnsCredential;
428
- /** The GcmCredential of the created NotificationHub */
429
- gcmCredential?: GcmCredential;
430
- /** The MpnsCredential of the created NotificationHub */
431
- mpnsCredential?: MpnsCredential;
432
- /** The AdmCredential of the created NotificationHub */
393
+ /** Collection of Notification Hub or Notification Hub Namespace PNS credentials. */
394
+ export interface PnsCredentials {
395
+ /** Description of a NotificationHub AdmCredential. */
433
396
  admCredential?: AdmCredential;
434
- /** The BaiduCredential of the created NotificationHub */
435
- baiduCredential?: BaiduCredential;
436
- }
437
- /** Parameters supplied to the patch NotificationHub operation. */
438
- export interface NotificationHubPatchParameters extends Resource {
439
- /** The NotificationHub name. */
440
- namePropertiesName?: string;
441
- /** The RegistrationTtl of the created NotificationHub */
442
- registrationTtl?: string;
443
- /** The AuthorizationRules of the created NotificationHub */
444
- authorizationRules?: SharedAccessAuthorizationRuleProperties[];
445
- /** The ApnsCredential of the created NotificationHub */
397
+ /** Description of a NotificationHub ApnsCredential. */
446
398
  apnsCredential?: ApnsCredential;
447
- /** The WnsCredential of the created NotificationHub */
448
- wnsCredential?: WnsCredential;
449
- /** The GcmCredential of the created NotificationHub */
450
- gcmCredential?: GcmCredential;
451
- /** The MpnsCredential of the created NotificationHub */
452
- mpnsCredential?: MpnsCredential;
453
- /** The AdmCredential of the created NotificationHub */
454
- admCredential?: AdmCredential;
455
- /** The BaiduCredential of the created NotificationHub */
399
+ /** Description of a NotificationHub BaiduCredential. */
456
400
  baiduCredential?: BaiduCredential;
457
- }
458
- /** Description of a NotificationHub Resource. */
459
- export interface DebugSendResponse extends Resource {
460
- /** successful send */
461
- success?: number;
462
- /** send failure */
463
- failure?: number;
464
- /** actual failure description */
465
- results?: Record<string, unknown>;
466
- }
467
- /** Description of a NotificationHub PNS Credentials. */
468
- export interface PnsCredentialsResource extends Resource {
469
- /** The ApnsCredential of the created NotificationHub */
470
- apnsCredential?: ApnsCredential;
471
- /** The WnsCredential of the created NotificationHub */
472
- wnsCredential?: WnsCredential;
473
- /** The GcmCredential of the created NotificationHub */
401
+ /** Description of a NotificationHub BrowserCredential. */
402
+ browserCredential?: BrowserCredential;
403
+ /** Description of a NotificationHub GcmCredential. */
474
404
  gcmCredential?: GcmCredential;
475
- /** The MpnsCredential of the created NotificationHub */
405
+ /** Description of a NotificationHub MpnsCredential. */
476
406
  mpnsCredential?: MpnsCredential;
477
- /** The AdmCredential of the created NotificationHub */
478
- admCredential?: AdmCredential;
479
- /** The BaiduCredential of the created NotificationHub */
480
- baiduCredential?: BaiduCredential;
407
+ /** Description of a NotificationHub WnsCredential. */
408
+ wnsCredential?: WnsCredential;
409
+ /** Description of a NotificationHub XiaomiCredential. */
410
+ xiaomiCredential?: XiaomiCredential;
411
+ /** Description of a NotificationHub FcmV1Credential. */
412
+ fcmV1Credential?: FcmV1Credential;
481
413
  }
482
- /** Known values of {@link SkuName} that the service accepts. */
483
- export declare enum KnownSkuName {
484
- /** Free */
485
- Free = "Free",
486
- /** Basic */
487
- Basic = "Basic",
488
- /** Standard */
489
- Standard = "Standard"
414
+ /** Represents namespace properties. */
415
+ export interface NamespaceProperties {
416
+ /**
417
+ * Name of the Notification Hubs namespace. This is immutable property, set automatically
418
+ * by the service when the namespace is created.
419
+ * NOTE: This property will not be serialized. It can only be populated by the server.
420
+ */
421
+ readonly name?: string;
422
+ /** Defines values for OperationProvisioningState. */
423
+ provisioningState?: OperationProvisioningState;
424
+ /** Namespace status. */
425
+ status?: NamespaceStatus;
426
+ /**
427
+ * Gets or sets whether or not the namespace is currently enabled.
428
+ * NOTE: This property will not be serialized. It can only be populated by the server.
429
+ */
430
+ readonly enabled?: boolean;
431
+ /**
432
+ * Gets or sets whether or not the namespace is set as Critical.
433
+ * NOTE: This property will not be serialized. It can only be populated by the server.
434
+ */
435
+ readonly critical?: boolean;
436
+ /**
437
+ * Namespace subscription id.
438
+ * NOTE: This property will not be serialized. It can only be populated by the server.
439
+ */
440
+ readonly subscriptionId?: string;
441
+ /**
442
+ * Region. The value is always set to the same value as Namespace.Location, so we are deprecating
443
+ * this property.
444
+ * NOTE: This property will not be serialized. It can only be populated by the server.
445
+ */
446
+ readonly region?: string;
447
+ /**
448
+ * Azure Insights Metrics id.
449
+ * NOTE: This property will not be serialized. It can only be populated by the server.
450
+ */
451
+ readonly metricId?: string;
452
+ /**
453
+ * Time when the namespace was created.
454
+ * NOTE: This property will not be serialized. It can only be populated by the server.
455
+ */
456
+ readonly createdAt?: Date;
457
+ /**
458
+ * Time when the namespace was updated.
459
+ * NOTE: This property will not be serialized. It can only be populated by the server.
460
+ */
461
+ readonly updatedAt?: Date;
462
+ /** Defines values for NamespaceType. */
463
+ namespaceType?: NamespaceType;
464
+ /** Allowed replication region */
465
+ replicationRegion?: ReplicationRegion;
466
+ /** Namespace SKU name. */
467
+ zoneRedundancy?: ZoneRedundancyPreference;
468
+ /** A collection of network authorization rules. */
469
+ networkAcls?: NetworkAcls;
470
+ /** Collection of Notification Hub or Notification Hub Namespace PNS credentials. */
471
+ pnsCredentials?: PnsCredentials;
472
+ /**
473
+ * Gets or sets endpoint you can use to perform NotificationHub
474
+ * operations.
475
+ * NOTE: This property will not be serialized. It can only be populated by the server.
476
+ */
477
+ readonly serviceBusEndpoint?: string;
478
+ /**
479
+ * Private Endpoint Connections for namespace
480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
+ */
482
+ readonly privateEndpointConnections?: PrivateEndpointConnectionResource[];
483
+ /** Gets or sets scaleUnit where the namespace gets created */
484
+ scaleUnit?: string;
485
+ /** Deprecated. */
486
+ dataCenter?: string;
487
+ /** Type of public network access. */
488
+ publicNetworkAccess?: PublicNetworkAccess;
489
+ }
490
+ /** A collection of network authorization rules. */
491
+ export interface NetworkAcls {
492
+ /** List of IP rules. */
493
+ ipRules?: IpRule[];
494
+ /** A default (public Internet) network authorization rule, which contains rights if no other network rule matches. */
495
+ publicNetworkRule?: PublicInternetAuthorizationRule;
496
+ }
497
+ /** A network authorization rule that filters traffic based on IP address. */
498
+ export interface IpRule {
499
+ /** IP mask. */
500
+ ipMask: string;
501
+ /** List of access rights. */
502
+ rights: AccessRights[];
503
+ }
504
+ /** A default (public Internet) network authorization rule, which contains rights if no other network rule matches. */
505
+ export interface PublicInternetAuthorizationRule {
506
+ /** List of access rights. */
507
+ rights: AccessRights[];
508
+ }
509
+ /** Private Endpoint Connection properties. */
510
+ export interface PrivateEndpointConnectionProperties {
511
+ /** State of Private Endpoint Connection. */
512
+ provisioningState?: PrivateEndpointConnectionProvisioningState;
513
+ /** Represents a Private Endpoint that is connected to Notification Hubs namespace using Private Endpoint Connection. */
514
+ privateEndpoint?: RemotePrivateEndpointConnection;
515
+ /**
516
+ * List of group ids. For Notification Hubs, it always contains a single "namespace" element.
517
+ * NOTE: This property will not be serialized. It can only be populated by the server.
518
+ */
519
+ readonly groupIds?: string[];
520
+ /** State of the Private Link Service connection. */
521
+ privateLinkServiceConnectionState?: RemotePrivateLinkServiceConnectionState;
490
522
  }
491
- /**
492
- * Defines values for SkuName. \
493
- * {@link KnownSkuName} can be used interchangeably with SkuName,
494
- * this enum contains the known values that the service supports.
495
- * ### Known values supported by the service
496
- * **Free** \
497
- * **Basic** \
498
- * **Standard**
499
- */
500
- export type SkuName = string;
501
- /** Defines values for NamespaceType. */
502
- export type NamespaceType = "Messaging" | "NotificationHub";
503
- /** Defines values for AccessRights. */
504
- export type AccessRights = "Manage" | "Send" | "Listen";
505
- /** Optional parameters. */
506
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
523
+ /** Represents a Private Endpoint that is connected to Notification Hubs namespace using Private Endpoint Connection. */
524
+ export interface RemotePrivateEndpointConnection {
525
+ /**
526
+ * ARM resource ID of the Private Endpoint. This may belong to different subscription and resource group than a Notification Hubs namespace.
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
528
+ */
529
+ readonly id?: string;
530
+ }
531
+ /** State of the Private Link Service connection. */
532
+ export interface RemotePrivateLinkServiceConnectionState {
533
+ /** State of Private Link Connection. */
534
+ status?: PrivateLinkConnectionStatus;
535
+ /**
536
+ * Human-friendly description.
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
538
+ */
539
+ readonly description?: string;
540
+ /**
541
+ * Human-friendly description of required actions.
542
+ * NOTE: This property will not be serialized. It can only be populated by the server.
543
+ */
544
+ readonly actionsRequired?: string;
545
+ }
546
+ /** Patch parameter for NamespaceResource. */
547
+ export interface NamespacePatchParameters {
548
+ /** The Sku description for a namespace */
549
+ sku?: Sku;
550
+ /** Represents namespace properties. */
551
+ properties?: NamespaceProperties;
552
+ /** Dictionary of <string> */
553
+ tags?: {
554
+ [propertyName: string]: string;
555
+ };
556
+ }
557
+ /** The response of the List Namespace operation. */
558
+ export interface NamespaceListResult {
559
+ /**
560
+ * Gets or sets result of the List AuthorizationRules operation.
561
+ * NOTE: This property will not be serialized. It can only be populated by the server.
562
+ */
563
+ readonly value?: NamespaceResource[];
564
+ /**
565
+ * Gets or sets link to the next set of results.
566
+ * NOTE: This property will not be serialized. It can only be populated by the server.
567
+ */
568
+ readonly nextLink?: string;
569
+ }
570
+ /**
571
+ * Result of the request to list NotificationHubs operations. It contains
572
+ * a list of operations and a URL link to get the next set of results.
573
+ */
574
+ export interface OperationListResult {
575
+ /**
576
+ * Gets list of NotificationHubs operations supported by the
577
+ * Microsoft.NotificationHubs resource provider.
578
+ * NOTE: This property will not be serialized. It can only be populated by the server.
579
+ */
580
+ readonly value?: Operation[];
581
+ /**
582
+ * Gets URL to get the next set of operation list results if there are
583
+ * any.
584
+ * NOTE: This property will not be serialized. It can only be populated by the server.
585
+ */
586
+ readonly nextLink?: string;
587
+ }
588
+ /** A NotificationHubs REST API operation */
589
+ export interface Operation {
590
+ /**
591
+ * Gets operation name: {provider}/{resource}/{operation}
592
+ * NOTE: This property will not be serialized. It can only be populated by the server.
593
+ */
594
+ readonly name?: string;
595
+ /** The object that represents the operation. */
596
+ display?: OperationDisplay;
597
+ /** Optional operation properties. */
598
+ properties?: OperationProperties;
599
+ /**
600
+ * Gets or sets IsDataAction property. It is used to differentiate management and data plane operations.
601
+ * NOTE: This property will not be serialized. It can only be populated by the server.
602
+ */
603
+ readonly isDataAction?: boolean;
604
+ }
605
+ /** The object that represents the operation. */
606
+ export interface OperationDisplay {
607
+ /**
608
+ * Gets service provider: Microsoft.NotificationHubs
609
+ * NOTE: This property will not be serialized. It can only be populated by the server.
610
+ */
611
+ readonly provider?: string;
612
+ /**
613
+ * Gets resource on which the operation is performed: Invoice, etc.
614
+ * NOTE: This property will not be serialized. It can only be populated by the server.
615
+ */
616
+ readonly resource?: string;
617
+ /**
618
+ * Gets operation type: Read, write, delete, etc.
619
+ * NOTE: This property will not be serialized. It can only be populated by the server.
620
+ */
621
+ readonly operation?: string;
622
+ /**
623
+ * Human-friendly operation description.
624
+ * NOTE: This property will not be serialized. It can only be populated by the server.
625
+ */
626
+ readonly description?: string;
627
+ }
628
+ /** Optional operation properties. */
629
+ export interface OperationProperties {
630
+ /** Optional service specification used in Operations API. */
631
+ serviceSpecification?: ServiceSpecification;
632
+ }
633
+ /** Optional service specification used in Operations API. */
634
+ export interface ServiceSpecification {
635
+ /**
636
+ * Log specifications.
637
+ * NOTE: This property will not be serialized. It can only be populated by the server.
638
+ */
639
+ readonly logSpecifications?: LogSpecification[];
640
+ /**
641
+ * Metric specification.
642
+ * NOTE: This property will not be serialized. It can only be populated by the server.
643
+ */
644
+ readonly metricSpecifications?: MetricSpecification[];
645
+ }
646
+ /** A single log category specification. */
647
+ export interface LogSpecification {
648
+ /**
649
+ * Name of the log category.
650
+ * NOTE: This property will not be serialized. It can only be populated by the server.
651
+ */
652
+ readonly name?: string;
653
+ /**
654
+ * Display name of the log category.
655
+ * NOTE: This property will not be serialized. It can only be populated by the server.
656
+ */
657
+ readonly displayName?: string;
658
+ /**
659
+ * Duration of data written to a single blob.
660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
661
+ */
662
+ readonly blobDuration?: string;
663
+ /** Category group for the log specification. */
664
+ categoryGroups?: string[];
665
+ }
666
+ /** A metric specification. */
667
+ export interface MetricSpecification {
668
+ /**
669
+ * Metric name / id.
670
+ * NOTE: This property will not be serialized. It can only be populated by the server.
671
+ */
672
+ readonly name?: string;
673
+ /**
674
+ * User-visible metric name.
675
+ * NOTE: This property will not be serialized. It can only be populated by the server.
676
+ */
677
+ readonly displayName?: string;
678
+ /**
679
+ * Description of the metric.
680
+ * NOTE: This property will not be serialized. It can only be populated by the server.
681
+ */
682
+ readonly displayDescription?: string;
683
+ /**
684
+ * Metric unit.
685
+ * NOTE: This property will not be serialized. It can only be populated by the server.
686
+ */
687
+ readonly unit?: string;
688
+ /**
689
+ * Type of the aggregation (Average, Minimum, Maximum, Total or Count).
690
+ * NOTE: This property will not be serialized. It can only be populated by the server.
691
+ */
692
+ readonly aggregationType?: string;
693
+ /**
694
+ * List of availabilities.
695
+ * NOTE: This property will not be serialized. It can only be populated by the server.
696
+ */
697
+ readonly availabilities?: Availability[];
698
+ /**
699
+ * List of supported time grain types.
700
+ * NOTE: This property will not be serialized. It can only be populated by the server.
701
+ */
702
+ readonly supportedTimeGrainTypes?: string[];
703
+ /**
704
+ * The matching regex pattern to be applied to the field pointed by the "metricsFilterPathSelector" flag in the ARM manifest.
705
+ * NOTE: This property will not be serialized. It can only be populated by the server.
706
+ */
707
+ readonly metricFilterPattern?: string;
708
+ /**
709
+ * Optional property. If set to true, then zero will be returned for time duration where no metric is emitted / published.
710
+ * NOTE: This property will not be serialized. It can only be populated by the server.
711
+ */
712
+ readonly fillGapWithZero?: boolean;
713
+ }
714
+ /** Represents metric availability (part of RP operation descriptions). */
715
+ export interface Availability {
716
+ /**
717
+ * Time grain of the availability.
718
+ * NOTE: This property will not be serialized. It can only be populated by the server.
719
+ */
720
+ readonly timeGrain?: string;
721
+ /**
722
+ * Duration of the availability blob.
723
+ * NOTE: This property will not be serialized. It can only be populated by the server.
724
+ */
725
+ readonly blobDuration?: string;
726
+ }
727
+ /** The response of the List Private Endpoint Connections operation. */
728
+ export interface PrivateEndpointConnectionResourceListResult {
729
+ /**
730
+ * Gets or sets result of the List AuthorizationRules operation.
731
+ * NOTE: This property will not be serialized. It can only be populated by the server.
732
+ */
733
+ readonly value?: PrivateEndpointConnectionResource[];
734
+ /**
735
+ * Gets or sets link to the next set of results.
736
+ * NOTE: This property will not be serialized. It can only be populated by the server.
737
+ */
738
+ readonly nextLink?: string;
739
+ }
740
+ /** Represents properties of Private Link Resource. */
741
+ export interface PrivateLinkResourceProperties {
742
+ /**
743
+ * A Group Id for Private Link. For Notification Hubs, it is always set to "namespace".
744
+ * NOTE: This property will not be serialized. It can only be populated by the server.
745
+ */
746
+ readonly groupId?: string;
747
+ /**
748
+ * Required members. For Notification Hubs, it's always a collection with a single "namespace" item.
749
+ * NOTE: This property will not be serialized. It can only be populated by the server.
750
+ */
751
+ readonly requiredMembers?: string[];
752
+ /**
753
+ * Required DNS zone names. For Notification Hubs, it contains two CNames for Service Bus and Notification Hubs zones.
754
+ * NOTE: This property will not be serialized. It can only be populated by the server.
755
+ */
756
+ readonly requiredZoneNames?: string[];
757
+ }
758
+ /** The response of the List Private Link Resources operation. */
759
+ export interface PrivateLinkResourceListResult {
760
+ /**
761
+ * Gets or sets result of the List AuthorizationRules operation.
762
+ * NOTE: This property will not be serialized. It can only be populated by the server.
763
+ */
764
+ readonly value?: PrivateLinkResource[];
765
+ /**
766
+ * Gets or sets link to the next set of results.
767
+ * NOTE: This property will not be serialized. It can only be populated by the server.
768
+ */
769
+ readonly nextLink?: string;
770
+ }
771
+ /**
772
+ * Part of Private Endpoint description that stores information about a connection between Private Endpoint and Notification Hubs namespace.
773
+ * This is internal class, not visible to customers, and we use it only to discover the link identifier.
774
+ */
775
+ export interface ConnectionDetails {
776
+ /**
777
+ * A unique ID of the connection. This is not the ARM id, but rather an internal identifier set by the Networking RP. Notification Hubs code
778
+ * does not analyze it.
779
+ * NOTE: This property will not be serialized. It can only be populated by the server.
780
+ */
781
+ readonly id?: string;
782
+ /**
783
+ * IP address of the Private Endpoint. This is not used by Notification Hubs.
784
+ * NOTE: This property will not be serialized. It can only be populated by the server.
785
+ */
786
+ readonly privateIpAddress?: string;
787
+ /**
788
+ * Link identifier. This is a string representation of an integer that is also encoded in every IPv6 frame received by Front Door,
789
+ * and we use it to create implicit authorization rule that allows connection from the associated Private Endpoint.
790
+ * NOTE: This property will not be serialized. It can only be populated by the server.
791
+ */
792
+ readonly linkIdentifier?: string;
793
+ /**
794
+ * Group name. Always "namespace" for Notification Hubs.
795
+ * NOTE: This property will not be serialized. It can only be populated by the server.
796
+ */
797
+ readonly groupId?: string;
798
+ /**
799
+ * Member name. Always "namespace" for Notification Hubs.
800
+ * NOTE: This property will not be serialized. It can only be populated by the server.
801
+ */
802
+ readonly memberName?: string;
803
+ }
804
+ /**
805
+ * Represents a connectivity information to Notification Hubs namespace. This is part of PrivateLinkService proxy that tell
806
+ * the Networking RP how to connect to the Notification Hubs namespace.
807
+ */
808
+ export interface GroupConnectivityInformation {
809
+ /**
810
+ * Group id. Always set to "namespace".
811
+ * NOTE: This property will not be serialized. It can only be populated by the server.
812
+ */
813
+ readonly groupId?: string;
814
+ /**
815
+ * Member name. Always set to "namespace".
816
+ * NOTE: This property will not be serialized. It can only be populated by the server.
817
+ */
818
+ readonly memberName?: string;
819
+ /**
820
+ * List of customer-visible domain names that point to a Notification Hubs namespace.
821
+ * NOTE: This property will not be serialized. It can only be populated by the server.
822
+ */
823
+ readonly customerVisibleFqdns?: string[];
824
+ /**
825
+ * One of the domain name from the customer-visible names; this is used internally by Private Link service to make connection to Notification Hubs
826
+ * namespace.
827
+ * NOTE: This property will not be serialized. It can only be populated by the server.
828
+ */
829
+ readonly internalFqdn?: string;
830
+ /**
831
+ * Not used by Notification Hubs.
832
+ * NOTE: This property will not be serialized. It can only be populated by the server.
833
+ */
834
+ readonly redirectMapId?: string;
835
+ /**
836
+ * ARM region for Private Link Service. We use the region that contains the connected Notification Hubs namespace.
837
+ * NOTE: This property will not be serialized. It can only be populated by the server.
838
+ */
839
+ readonly privateLinkServiceArmRegion?: string;
840
+ }
841
+ /** A customer-visible sub-resource of Private Endpoint, which describe the connection between Private Endpoint and Notification Hubs namespace. */
842
+ export interface PrivateLinkServiceConnection {
843
+ /** Name of the Private Link Service connection. */
844
+ name?: string;
845
+ /** List of group ids. Always contains a single element - "namespace" - for Notification Hub Namespace. */
846
+ groupIds?: string[];
847
+ /** Request message provided by the user that created the connection. This is usually used when the connection requires manual approval. */
848
+ requestMessage?: string;
849
+ }
850
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
851
+ export interface ProxyResource extends Resource {
852
+ }
853
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
854
+ export interface TrackedResource extends Resource {
855
+ /** Resource tags. */
856
+ tags?: {
857
+ [propertyName: string]: string;
858
+ };
859
+ /** The geo-location where the resource lives */
860
+ location: string;
861
+ }
862
+ /** Description of a CheckAvailability resource. */
863
+ export interface CheckAvailabilityResult extends ProxyResource {
864
+ /**
865
+ * Gets or sets true if the name is available and can be used to
866
+ * create new Namespace/NotificationHub. Otherwise false.
867
+ */
868
+ isAvailiable?: boolean;
869
+ /** Deprecated - only for compatibility. */
870
+ location?: string;
871
+ /** Deprecated - only for compatibility. */
872
+ tags?: {
873
+ [propertyName: string]: string;
874
+ };
875
+ /** The Sku description for a namespace */
876
+ sku?: Sku;
877
+ }
878
+ /** Description of a NotificationHub Resource. */
879
+ export interface DebugSendResponse extends ProxyResource {
880
+ /** Deprecated - only for compatibility. */
881
+ location?: string;
882
+ /** Deprecated - only for compatibility. */
883
+ tags?: {
884
+ [propertyName: string]: string;
885
+ };
886
+ /**
887
+ * Gets or sets successful send
888
+ * NOTE: This property will not be serialized. It can only be populated by the server.
889
+ */
890
+ readonly success?: number;
891
+ /**
892
+ * Gets or sets send failure
893
+ * NOTE: This property will not be serialized. It can only be populated by the server.
894
+ */
895
+ readonly failure?: number;
896
+ /**
897
+ * Gets or sets actual failure description
898
+ * NOTE: This property will not be serialized. It can only be populated by the server.
899
+ */
900
+ readonly results?: RegistrationResult[];
901
+ }
902
+ /** Response for POST requests that return single SharedAccessAuthorizationRule. */
903
+ export interface SharedAccessAuthorizationRuleResource extends ProxyResource {
904
+ /** Deprecated - only for compatibility. */
905
+ location?: string;
906
+ /** Deprecated - only for compatibility. */
907
+ tags?: {
908
+ [propertyName: string]: string;
909
+ };
910
+ /** Gets or sets the rights associated with the rule. */
911
+ rights?: AccessRights[];
912
+ /**
913
+ * Gets a base64-encoded 256-bit primary key for signing and
914
+ * validating the SAS token.
915
+ */
916
+ primaryKey?: string;
917
+ /**
918
+ * Gets a base64-encoded 256-bit primary key for signing and
919
+ * validating the SAS token.
920
+ */
921
+ secondaryKey?: string;
922
+ /**
923
+ * Gets a string that describes the authorization rule.
924
+ * NOTE: This property will not be serialized. It can only be populated by the server.
925
+ */
926
+ readonly keyName?: string;
927
+ /**
928
+ * Gets the last modified time for this rule
929
+ * NOTE: This property will not be serialized. It can only be populated by the server.
930
+ */
931
+ readonly modifiedTime?: Date;
932
+ /**
933
+ * Gets the created time for this rule
934
+ * NOTE: This property will not be serialized. It can only be populated by the server.
935
+ */
936
+ readonly createdTime?: Date;
937
+ /**
938
+ * Gets a string that describes the claim type
939
+ * NOTE: This property will not be serialized. It can only be populated by the server.
940
+ */
941
+ readonly claimType?: string;
942
+ /**
943
+ * Gets a string that describes the claim value
944
+ * NOTE: This property will not be serialized. It can only be populated by the server.
945
+ */
946
+ readonly claimValue?: string;
947
+ /**
948
+ * Gets the revision number for the rule
949
+ * NOTE: This property will not be serialized. It can only be populated by the server.
950
+ */
951
+ readonly revision?: number;
952
+ }
953
+ /**
954
+ * Description of a NotificationHub PNS Credentials. This is a response of the POST requests that return namespace or hubs
955
+ * PNS credentials.
956
+ */
957
+ export interface PnsCredentialsResource extends ProxyResource {
958
+ /** Deprecated - only for compatibility. */
959
+ location?: string;
960
+ /** Deprecated - only for compatibility. */
961
+ tags?: {
962
+ [propertyName: string]: string;
963
+ };
964
+ /** Description of a NotificationHub AdmCredential. */
965
+ admCredential?: AdmCredential;
966
+ /** Description of a NotificationHub ApnsCredential. */
967
+ apnsCredential?: ApnsCredential;
968
+ /** Description of a NotificationHub BaiduCredential. */
969
+ baiduCredential?: BaiduCredential;
970
+ /** Description of a NotificationHub BrowserCredential. */
971
+ browserCredential?: BrowserCredential;
972
+ /** Description of a NotificationHub GcmCredential. */
973
+ gcmCredential?: GcmCredential;
974
+ /** Description of a NotificationHub MpnsCredential. */
975
+ mpnsCredential?: MpnsCredential;
976
+ /** Description of a NotificationHub WnsCredential. */
977
+ wnsCredential?: WnsCredential;
978
+ /** Description of a NotificationHub XiaomiCredential. */
979
+ xiaomiCredential?: XiaomiCredential;
980
+ /** Description of a NotificationHub FcmV1Credential. */
981
+ fcmV1Credential?: FcmV1Credential;
982
+ }
983
+ /** Represents a Private Endpoint Connection ARM resource - a sub-resource of Notification Hubs namespace. */
984
+ export interface PrivateEndpointConnectionResource extends ProxyResource {
985
+ /** Private Endpoint Connection properties. */
986
+ properties?: PrivateEndpointConnectionProperties;
987
+ }
988
+ /** A Private Link Arm Resource. */
989
+ export interface PrivateLinkResource extends ProxyResource {
990
+ /** Represents properties of Private Link Resource. */
991
+ properties?: PrivateLinkResourceProperties;
992
+ }
993
+ /** Notification Hub Resource. */
994
+ export interface NotificationHubResource extends TrackedResource {
995
+ /** The Sku description for a namespace */
996
+ sku?: Sku;
997
+ /** Gets or sets the NotificationHub name. */
998
+ namePropertiesName?: string;
999
+ /** Gets or sets the RegistrationTtl of the created NotificationHub */
1000
+ registrationTtl?: string;
1001
+ /**
1002
+ * Gets or sets the AuthorizationRules of the created NotificationHub
1003
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1004
+ */
1005
+ readonly authorizationRules?: SharedAccessAuthorizationRuleProperties[];
1006
+ /** Description of a NotificationHub ApnsCredential. */
1007
+ apnsCredential?: ApnsCredential;
1008
+ /** Description of a NotificationHub WnsCredential. */
1009
+ wnsCredential?: WnsCredential;
1010
+ /** Description of a NotificationHub GcmCredential. */
1011
+ gcmCredential?: GcmCredential;
1012
+ /** Description of a NotificationHub MpnsCredential. */
1013
+ mpnsCredential?: MpnsCredential;
1014
+ /** Description of a NotificationHub AdmCredential. */
1015
+ admCredential?: AdmCredential;
1016
+ /** Description of a NotificationHub BaiduCredential. */
1017
+ baiduCredential?: BaiduCredential;
1018
+ /** Description of a NotificationHub BrowserCredential. */
1019
+ browserCredential?: BrowserCredential;
1020
+ /** Description of a NotificationHub XiaomiCredential. */
1021
+ xiaomiCredential?: XiaomiCredential;
1022
+ /** Description of a NotificationHub FcmV1Credential. */
1023
+ fcmV1Credential?: FcmV1Credential;
1024
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
1025
+ readonly dailyMaxActiveDevices?: number;
1026
+ }
1027
+ /** Notification Hubs Namespace Resource. */
1028
+ export interface NamespaceResource extends TrackedResource {
1029
+ /** The Sku description for a namespace */
1030
+ sku: Sku;
1031
+ /**
1032
+ * Name of the Notification Hubs namespace. This is immutable property, set automatically
1033
+ * by the service when the namespace is created.
1034
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1035
+ */
1036
+ readonly namePropertiesName?: string;
1037
+ /** Defines values for OperationProvisioningState. */
1038
+ provisioningState?: OperationProvisioningState;
1039
+ /** Namespace status. */
1040
+ status?: NamespaceStatus;
1041
+ /**
1042
+ * Gets or sets whether or not the namespace is currently enabled.
1043
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1044
+ */
1045
+ readonly enabled?: boolean;
1046
+ /**
1047
+ * Gets or sets whether or not the namespace is set as Critical.
1048
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1049
+ */
1050
+ readonly critical?: boolean;
1051
+ /**
1052
+ * Namespace subscription id.
1053
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1054
+ */
1055
+ readonly subscriptionId?: string;
1056
+ /**
1057
+ * Region. The value is always set to the same value as Namespace.Location, so we are deprecating
1058
+ * this property.
1059
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1060
+ */
1061
+ readonly region?: string;
1062
+ /**
1063
+ * Azure Insights Metrics id.
1064
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1065
+ */
1066
+ readonly metricId?: string;
1067
+ /**
1068
+ * Time when the namespace was created.
1069
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1070
+ */
1071
+ readonly createdAt?: Date;
1072
+ /**
1073
+ * Time when the namespace was updated.
1074
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1075
+ */
1076
+ readonly updatedAt?: Date;
1077
+ /** Defines values for NamespaceType. */
1078
+ namespaceType?: NamespaceType;
1079
+ /** Allowed replication region */
1080
+ replicationRegion?: ReplicationRegion;
1081
+ /** Namespace SKU name. */
1082
+ zoneRedundancy?: ZoneRedundancyPreference;
1083
+ /** A collection of network authorization rules. */
1084
+ networkAcls?: NetworkAcls;
1085
+ /** Collection of Notification Hub or Notification Hub Namespace PNS credentials. */
1086
+ pnsCredentials?: PnsCredentials;
1087
+ /**
1088
+ * Gets or sets endpoint you can use to perform NotificationHub
1089
+ * operations.
1090
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1091
+ */
1092
+ readonly serviceBusEndpoint?: string;
1093
+ /**
1094
+ * Private Endpoint Connections for namespace
1095
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1096
+ */
1097
+ readonly privateEndpointConnections?: PrivateEndpointConnectionResource[];
1098
+ /** Gets or sets scaleUnit where the namespace gets created */
1099
+ scaleUnit?: string;
1100
+ /** Deprecated. */
1101
+ dataCenter?: string;
1102
+ /** Type of public network access. */
1103
+ publicNetworkAccess?: PublicNetworkAccess;
1104
+ }
1105
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
1106
+ export interface PrivateEndpointConnectionsDeleteHeaders {
1107
+ location?: string;
1108
+ }
1109
+ /** Known values of {@link SkuName} that the service accepts. */
1110
+ export declare enum KnownSkuName {
1111
+ /** Free */
1112
+ Free = "Free",
1113
+ /** Basic */
1114
+ Basic = "Basic",
1115
+ /** Standard */
1116
+ Standard = "Standard"
1117
+ }
1118
+ /**
1119
+ * Defines values for SkuName. \
1120
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
1121
+ * this enum contains the known values that the service supports.
1122
+ * ### Known values supported by the service
1123
+ * **Free** \
1124
+ * **Basic** \
1125
+ * **Standard**
1126
+ */
1127
+ export type SkuName = string;
1128
+ /** Known values of {@link CreatedByType} that the service accepts. */
1129
+ export declare enum KnownCreatedByType {
1130
+ /** User */
1131
+ User = "User",
1132
+ /** Application */
1133
+ Application = "Application",
1134
+ /** ManagedIdentity */
1135
+ ManagedIdentity = "ManagedIdentity",
1136
+ /** Key */
1137
+ Key = "Key"
1138
+ }
1139
+ /**
1140
+ * Defines values for CreatedByType. \
1141
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1142
+ * this enum contains the known values that the service supports.
1143
+ * ### Known values supported by the service
1144
+ * **User** \
1145
+ * **Application** \
1146
+ * **ManagedIdentity** \
1147
+ * **Key**
1148
+ */
1149
+ export type CreatedByType = string;
1150
+ /** Known values of {@link AccessRights} that the service accepts. */
1151
+ export declare enum KnownAccessRights {
1152
+ /** Manage */
1153
+ Manage = "Manage",
1154
+ /** Send */
1155
+ Send = "Send",
1156
+ /** Listen */
1157
+ Listen = "Listen"
1158
+ }
1159
+ /**
1160
+ * Defines values for AccessRights. \
1161
+ * {@link KnownAccessRights} can be used interchangeably with AccessRights,
1162
+ * this enum contains the known values that the service supports.
1163
+ * ### Known values supported by the service
1164
+ * **Manage** \
1165
+ * **Send** \
1166
+ * **Listen**
1167
+ */
1168
+ export type AccessRights = string;
1169
+ /** Known values of {@link PolicyKeyType} that the service accepts. */
1170
+ export declare enum KnownPolicyKeyType {
1171
+ /** PrimaryKey */
1172
+ PrimaryKey = "PrimaryKey",
1173
+ /** SecondaryKey */
1174
+ SecondaryKey = "SecondaryKey"
1175
+ }
1176
+ /**
1177
+ * Defines values for PolicyKeyType. \
1178
+ * {@link KnownPolicyKeyType} can be used interchangeably with PolicyKeyType,
1179
+ * this enum contains the known values that the service supports.
1180
+ * ### Known values supported by the service
1181
+ * **PrimaryKey** \
1182
+ * **SecondaryKey**
1183
+ */
1184
+ export type PolicyKeyType = string;
1185
+ /** Known values of {@link OperationProvisioningState} that the service accepts. */
1186
+ export declare enum KnownOperationProvisioningState {
1187
+ /** Unknown */
1188
+ Unknown = "Unknown",
1189
+ /** InProgress */
1190
+ InProgress = "InProgress",
1191
+ /** Succeeded */
1192
+ Succeeded = "Succeeded",
1193
+ /** Failed */
1194
+ Failed = "Failed",
1195
+ /** Canceled */
1196
+ Canceled = "Canceled",
1197
+ /** Pending */
1198
+ Pending = "Pending",
1199
+ /** Disabled */
1200
+ Disabled = "Disabled"
1201
+ }
1202
+ /**
1203
+ * Defines values for OperationProvisioningState. \
1204
+ * {@link KnownOperationProvisioningState} can be used interchangeably with OperationProvisioningState,
1205
+ * this enum contains the known values that the service supports.
1206
+ * ### Known values supported by the service
1207
+ * **Unknown** \
1208
+ * **InProgress** \
1209
+ * **Succeeded** \
1210
+ * **Failed** \
1211
+ * **Canceled** \
1212
+ * **Pending** \
1213
+ * **Disabled**
1214
+ */
1215
+ export type OperationProvisioningState = string;
1216
+ /** Known values of {@link NamespaceStatus} that the service accepts. */
1217
+ export declare enum KnownNamespaceStatus {
1218
+ /** Created */
1219
+ Created = "Created",
1220
+ /** Creating */
1221
+ Creating = "Creating",
1222
+ /** Suspended */
1223
+ Suspended = "Suspended",
1224
+ /** Deleting */
1225
+ Deleting = "Deleting"
1226
+ }
1227
+ /**
1228
+ * Defines values for NamespaceStatus. \
1229
+ * {@link KnownNamespaceStatus} can be used interchangeably with NamespaceStatus,
1230
+ * this enum contains the known values that the service supports.
1231
+ * ### Known values supported by the service
1232
+ * **Created** \
1233
+ * **Creating** \
1234
+ * **Suspended** \
1235
+ * **Deleting**
1236
+ */
1237
+ export type NamespaceStatus = string;
1238
+ /** Known values of {@link NamespaceType} that the service accepts. */
1239
+ export declare enum KnownNamespaceType {
1240
+ /** Messaging */
1241
+ Messaging = "Messaging",
1242
+ /** NotificationHub */
1243
+ NotificationHub = "NotificationHub"
1244
+ }
1245
+ /**
1246
+ * Defines values for NamespaceType. \
1247
+ * {@link KnownNamespaceType} can be used interchangeably with NamespaceType,
1248
+ * this enum contains the known values that the service supports.
1249
+ * ### Known values supported by the service
1250
+ * **Messaging** \
1251
+ * **NotificationHub**
1252
+ */
1253
+ export type NamespaceType = string;
1254
+ /** Known values of {@link ReplicationRegion} that the service accepts. */
1255
+ export declare enum KnownReplicationRegion {
1256
+ /** Default */
1257
+ Default = "Default",
1258
+ /** WestUs2 */
1259
+ WestUs2 = "WestUs2",
1260
+ /** NorthEurope */
1261
+ NorthEurope = "NorthEurope",
1262
+ /** AustraliaEast */
1263
+ AustraliaEast = "AustraliaEast",
1264
+ /** BrazilSouth */
1265
+ BrazilSouth = "BrazilSouth",
1266
+ /** SouthEastAsia */
1267
+ SouthEastAsia = "SouthEastAsia",
1268
+ /** SouthAfricaNorth */
1269
+ SouthAfricaNorth = "SouthAfricaNorth",
1270
+ /** None */
1271
+ None = "None"
1272
+ }
1273
+ /**
1274
+ * Defines values for ReplicationRegion. \
1275
+ * {@link KnownReplicationRegion} can be used interchangeably with ReplicationRegion,
1276
+ * this enum contains the known values that the service supports.
1277
+ * ### Known values supported by the service
1278
+ * **Default** \
1279
+ * **WestUs2** \
1280
+ * **NorthEurope** \
1281
+ * **AustraliaEast** \
1282
+ * **BrazilSouth** \
1283
+ * **SouthEastAsia** \
1284
+ * **SouthAfricaNorth** \
1285
+ * **None**
1286
+ */
1287
+ export type ReplicationRegion = string;
1288
+ /** Known values of {@link ZoneRedundancyPreference} that the service accepts. */
1289
+ export declare enum KnownZoneRedundancyPreference {
1290
+ /** Disabled */
1291
+ Disabled = "Disabled",
1292
+ /** Enabled */
1293
+ Enabled = "Enabled"
1294
+ }
1295
+ /**
1296
+ * Defines values for ZoneRedundancyPreference. \
1297
+ * {@link KnownZoneRedundancyPreference} can be used interchangeably with ZoneRedundancyPreference,
1298
+ * this enum contains the known values that the service supports.
1299
+ * ### Known values supported by the service
1300
+ * **Disabled** \
1301
+ * **Enabled**
1302
+ */
1303
+ export type ZoneRedundancyPreference = string;
1304
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1305
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
1306
+ /** Unknown */
1307
+ Unknown = "Unknown",
1308
+ /** Succeeded */
1309
+ Succeeded = "Succeeded",
1310
+ /** Creating */
1311
+ Creating = "Creating",
1312
+ /** Updating */
1313
+ Updating = "Updating",
1314
+ /** UpdatingByProxy */
1315
+ UpdatingByProxy = "UpdatingByProxy",
1316
+ /** Deleting */
1317
+ Deleting = "Deleting",
1318
+ /** DeletingByProxy */
1319
+ DeletingByProxy = "DeletingByProxy",
1320
+ /** Deleted */
1321
+ Deleted = "Deleted"
1322
+ }
1323
+ /**
1324
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
1325
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1326
+ * this enum contains the known values that the service supports.
1327
+ * ### Known values supported by the service
1328
+ * **Unknown** \
1329
+ * **Succeeded** \
1330
+ * **Creating** \
1331
+ * **Updating** \
1332
+ * **UpdatingByProxy** \
1333
+ * **Deleting** \
1334
+ * **DeletingByProxy** \
1335
+ * **Deleted**
1336
+ */
1337
+ export type PrivateEndpointConnectionProvisioningState = string;
1338
+ /** Known values of {@link PrivateLinkConnectionStatus} that the service accepts. */
1339
+ export declare enum KnownPrivateLinkConnectionStatus {
1340
+ /** Disconnected */
1341
+ Disconnected = "Disconnected",
1342
+ /** Pending */
1343
+ Pending = "Pending",
1344
+ /** Approved */
1345
+ Approved = "Approved",
1346
+ /** Rejected */
1347
+ Rejected = "Rejected"
1348
+ }
1349
+ /**
1350
+ * Defines values for PrivateLinkConnectionStatus. \
1351
+ * {@link KnownPrivateLinkConnectionStatus} can be used interchangeably with PrivateLinkConnectionStatus,
1352
+ * this enum contains the known values that the service supports.
1353
+ * ### Known values supported by the service
1354
+ * **Disconnected** \
1355
+ * **Pending** \
1356
+ * **Approved** \
1357
+ * **Rejected**
1358
+ */
1359
+ export type PrivateLinkConnectionStatus = string;
1360
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1361
+ export declare enum KnownPublicNetworkAccess {
1362
+ /** Enabled */
1363
+ Enabled = "Enabled",
1364
+ /** Disabled */
1365
+ Disabled = "Disabled"
1366
+ }
1367
+ /**
1368
+ * Defines values for PublicNetworkAccess. \
1369
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1370
+ * this enum contains the known values that the service supports.
1371
+ * ### Known values supported by the service
1372
+ * **Enabled** \
1373
+ * **Disabled**
1374
+ */
1375
+ export type PublicNetworkAccess = string;
1376
+ /** Optional parameters. */
1377
+ export interface NotificationHubsCheckNotificationHubAvailabilityOptionalParams extends coreClient.OperationOptions {
1378
+ }
1379
+ /** Contains response data for the checkNotificationHubAvailability operation. */
1380
+ export type NotificationHubsCheckNotificationHubAvailabilityResponse = CheckAvailabilityResult;
1381
+ /** Optional parameters. */
1382
+ export interface NotificationHubsGetOptionalParams extends coreClient.OperationOptions {
1383
+ }
1384
+ /** Contains response data for the get operation. */
1385
+ export type NotificationHubsGetResponse = NotificationHubResource;
1386
+ /** Optional parameters. */
1387
+ export interface NotificationHubsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1388
+ }
1389
+ /** Contains response data for the createOrUpdate operation. */
1390
+ export type NotificationHubsCreateOrUpdateResponse = NotificationHubResource;
1391
+ /** Optional parameters. */
1392
+ export interface NotificationHubsUpdateOptionalParams extends coreClient.OperationOptions {
1393
+ }
1394
+ /** Contains response data for the update operation. */
1395
+ export type NotificationHubsUpdateResponse = NotificationHubResource;
1396
+ /** Optional parameters. */
1397
+ export interface NotificationHubsDeleteOptionalParams extends coreClient.OperationOptions {
1398
+ }
1399
+ /** Optional parameters. */
1400
+ export interface NotificationHubsListOptionalParams extends coreClient.OperationOptions {
1401
+ /** Continuation token. */
1402
+ skipToken?: string;
1403
+ /** Page size. */
1404
+ top?: number;
507
1405
  }
508
1406
  /** Contains response data for the list operation. */
509
- export type OperationsListResponse = OperationListResult;
1407
+ export type NotificationHubsListResponse = NotificationHubListResult;
510
1408
  /** Optional parameters. */
511
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1409
+ export interface NotificationHubsDebugSendOptionalParams extends coreClient.OperationOptions {
1410
+ }
1411
+ /** Contains response data for the debugSend operation. */
1412
+ export type NotificationHubsDebugSendResponse = DebugSendResponse;
1413
+ /** Optional parameters. */
1414
+ export interface NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1415
+ }
1416
+ /** Contains response data for the createOrUpdateAuthorizationRule operation. */
1417
+ export type NotificationHubsCreateOrUpdateAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
1418
+ /** Optional parameters. */
1419
+ export interface NotificationHubsDeleteAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1420
+ }
1421
+ /** Optional parameters. */
1422
+ export interface NotificationHubsGetAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
1423
+ }
1424
+ /** Contains response data for the getAuthorizationRule operation. */
1425
+ export type NotificationHubsGetAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
1426
+ /** Optional parameters. */
1427
+ export interface NotificationHubsListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
1428
+ }
1429
+ /** Contains response data for the listAuthorizationRules operation. */
1430
+ export type NotificationHubsListAuthorizationRulesResponse = SharedAccessAuthorizationRuleListResult;
1431
+ /** Optional parameters. */
1432
+ export interface NotificationHubsListKeysOptionalParams extends coreClient.OperationOptions {
1433
+ }
1434
+ /** Contains response data for the listKeys operation. */
1435
+ export type NotificationHubsListKeysResponse = ResourceListKeys;
1436
+ /** Optional parameters. */
1437
+ export interface NotificationHubsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
1438
+ }
1439
+ /** Contains response data for the regenerateKeys operation. */
1440
+ export type NotificationHubsRegenerateKeysResponse = ResourceListKeys;
1441
+ /** Optional parameters. */
1442
+ export interface NotificationHubsGetPnsCredentialsOptionalParams extends coreClient.OperationOptions {
1443
+ }
1444
+ /** Contains response data for the getPnsCredentials operation. */
1445
+ export type NotificationHubsGetPnsCredentialsResponse = PnsCredentialsResource;
1446
+ /** Optional parameters. */
1447
+ export interface NotificationHubsListNextOptionalParams extends coreClient.OperationOptions {
512
1448
  }
513
1449
  /** Contains response data for the listNext operation. */
514
- export type OperationsListNextResponse = OperationListResult;
1450
+ export type NotificationHubsListNextResponse = NotificationHubListResult;
1451
+ /** Optional parameters. */
1452
+ export interface NotificationHubsListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
1453
+ }
1454
+ /** Contains response data for the listAuthorizationRulesNext operation. */
1455
+ export type NotificationHubsListAuthorizationRulesNextResponse = SharedAccessAuthorizationRuleListResult;
515
1456
  /** Optional parameters. */
516
1457
  export interface NamespacesCheckAvailabilityOptionalParams extends coreClient.OperationOptions {
517
1458
  }
518
1459
  /** Contains response data for the checkAvailability operation. */
519
1460
  export type NamespacesCheckAvailabilityResponse = CheckAvailabilityResult;
520
1461
  /** Optional parameters. */
1462
+ export interface NamespacesGetOptionalParams extends coreClient.OperationOptions {
1463
+ }
1464
+ /** Contains response data for the get operation. */
1465
+ export type NamespacesGetResponse = NamespaceResource;
1466
+ /** Optional parameters. */
521
1467
  export interface NamespacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1468
+ /** Delay to wait until next poll, in milliseconds. */
1469
+ updateIntervalInMs?: number;
1470
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1471
+ resumeFrom?: string;
522
1472
  }
523
1473
  /** Contains response data for the createOrUpdate operation. */
524
1474
  export type NamespacesCreateOrUpdateResponse = NamespaceResource;
525
1475
  /** Optional parameters. */
526
- export interface NamespacesPatchOptionalParams extends coreClient.OperationOptions {
1476
+ export interface NamespacesUpdateOptionalParams extends coreClient.OperationOptions {
527
1477
  }
528
- /** Contains response data for the patch operation. */
529
- export type NamespacesPatchResponse = NamespaceResource;
1478
+ /** Contains response data for the update operation. */
1479
+ export type NamespacesUpdateResponse = NamespaceResource;
530
1480
  /** Optional parameters. */
531
1481
  export interface NamespacesDeleteOptionalParams extends coreClient.OperationOptions {
532
- /** Delay to wait until next poll, in milliseconds. */
533
- updateIntervalInMs?: number;
534
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
535
- resumeFrom?: string;
536
1482
  }
537
1483
  /** Optional parameters. */
538
- export interface NamespacesGetOptionalParams extends coreClient.OperationOptions {
1484
+ export interface NamespacesListAllOptionalParams extends coreClient.OperationOptions {
1485
+ /** Skip token for subsequent requests. */
1486
+ skipToken?: string;
1487
+ /** Maximum number of results to return. */
1488
+ top?: number;
539
1489
  }
540
- /** Contains response data for the get operation. */
541
- export type NamespacesGetResponse = NamespaceResource;
1490
+ /** Contains response data for the listAll operation. */
1491
+ export type NamespacesListAllResponse = NamespaceListResult;
1492
+ /** Optional parameters. */
1493
+ export interface NamespacesListOptionalParams extends coreClient.OperationOptions {
1494
+ /** Skip token for subsequent requests. */
1495
+ skipToken?: string;
1496
+ /** Maximum number of results to return. */
1497
+ top?: number;
1498
+ }
1499
+ /** Contains response data for the list operation. */
1500
+ export type NamespacesListResponse = NamespaceListResult;
542
1501
  /** Optional parameters. */
543
1502
  export interface NamespacesCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
544
1503
  }
@@ -553,16 +1512,6 @@ export interface NamespacesGetAuthorizationRuleOptionalParams extends coreClient
553
1512
  /** Contains response data for the getAuthorizationRule operation. */
554
1513
  export type NamespacesGetAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
555
1514
  /** Optional parameters. */
556
- export interface NamespacesListOptionalParams extends coreClient.OperationOptions {
557
- }
558
- /** Contains response data for the list operation. */
559
- export type NamespacesListResponse = NamespaceListResult;
560
- /** Optional parameters. */
561
- export interface NamespacesListAllOptionalParams extends coreClient.OperationOptions {
562
- }
563
- /** Contains response data for the listAll operation. */
564
- export type NamespacesListAllResponse = NamespaceListResult;
565
- /** Optional parameters. */
566
1515
  export interface NamespacesListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
567
1516
  }
568
1517
  /** Contains response data for the listAuthorizationRules operation. */
@@ -578,100 +1527,73 @@ export interface NamespacesRegenerateKeysOptionalParams extends coreClient.Opera
578
1527
  /** Contains response data for the regenerateKeys operation. */
579
1528
  export type NamespacesRegenerateKeysResponse = ResourceListKeys;
580
1529
  /** Optional parameters. */
581
- export interface NamespacesListNextOptionalParams extends coreClient.OperationOptions {
1530
+ export interface NamespacesGetPnsCredentialsOptionalParams extends coreClient.OperationOptions {
582
1531
  }
583
- /** Contains response data for the listNext operation. */
584
- export type NamespacesListNextResponse = NamespaceListResult;
1532
+ /** Contains response data for the getPnsCredentials operation. */
1533
+ export type NamespacesGetPnsCredentialsResponse = PnsCredentialsResource;
585
1534
  /** Optional parameters. */
586
1535
  export interface NamespacesListAllNextOptionalParams extends coreClient.OperationOptions {
587
1536
  }
588
1537
  /** Contains response data for the listAllNext operation. */
589
1538
  export type NamespacesListAllNextResponse = NamespaceListResult;
590
1539
  /** Optional parameters. */
1540
+ export interface NamespacesListNextOptionalParams extends coreClient.OperationOptions {
1541
+ }
1542
+ /** Contains response data for the listNext operation. */
1543
+ export type NamespacesListNextResponse = NamespaceListResult;
1544
+ /** Optional parameters. */
591
1545
  export interface NamespacesListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
592
1546
  }
593
1547
  /** Contains response data for the listAuthorizationRulesNext operation. */
594
1548
  export type NamespacesListAuthorizationRulesNextResponse = SharedAccessAuthorizationRuleListResult;
595
1549
  /** Optional parameters. */
596
- export interface NotificationHubsCheckNotificationHubAvailabilityOptionalParams extends coreClient.OperationOptions {
1550
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
597
1551
  }
598
- /** Contains response data for the checkNotificationHubAvailability operation. */
599
- export type NotificationHubsCheckNotificationHubAvailabilityResponse = CheckAvailabilityResult;
1552
+ /** Contains response data for the list operation. */
1553
+ export type OperationsListResponse = OperationListResult;
600
1554
  /** Optional parameters. */
601
- export interface NotificationHubsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1555
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
602
1556
  }
603
- /** Contains response data for the createOrUpdate operation. */
604
- export type NotificationHubsCreateOrUpdateResponse = NotificationHubResource;
1557
+ /** Contains response data for the listNext operation. */
1558
+ export type OperationsListNextResponse = OperationListResult;
605
1559
  /** Optional parameters. */
606
- export interface NotificationHubsPatchOptionalParams extends coreClient.OperationOptions {
607
- /** Parameters supplied to patch a NotificationHub Resource. */
608
- parameters?: NotificationHubPatchParameters;
1560
+ export interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
1561
+ /** Delay to wait until next poll, in milliseconds. */
1562
+ updateIntervalInMs?: number;
1563
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1564
+ resumeFrom?: string;
609
1565
  }
610
- /** Contains response data for the patch operation. */
611
- export type NotificationHubsPatchResponse = NotificationHubResource;
1566
+ /** Contains response data for the update operation. */
1567
+ export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnectionResource;
612
1568
  /** Optional parameters. */
613
- export interface NotificationHubsDeleteOptionalParams extends coreClient.OperationOptions {
1569
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1570
+ /** Delay to wait until next poll, in milliseconds. */
1571
+ updateIntervalInMs?: number;
1572
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1573
+ resumeFrom?: string;
614
1574
  }
1575
+ /** Contains response data for the delete operation. */
1576
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnectionsDeleteHeaders;
615
1577
  /** Optional parameters. */
616
- export interface NotificationHubsGetOptionalParams extends coreClient.OperationOptions {
1578
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
617
1579
  }
618
1580
  /** Contains response data for the get operation. */
619
- export type NotificationHubsGetResponse = NotificationHubResource;
620
- /** Optional parameters. */
621
- export interface NotificationHubsDebugSendOptionalParams extends coreClient.OperationOptions {
622
- /** Debug send parameters */
623
- parameters?: Record<string, unknown>;
624
- }
625
- /** Contains response data for the debugSend operation. */
626
- export type NotificationHubsDebugSendResponse = DebugSendResponse;
627
- /** Optional parameters. */
628
- export interface NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
629
- }
630
- /** Contains response data for the createOrUpdateAuthorizationRule operation. */
631
- export type NotificationHubsCreateOrUpdateAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
632
- /** Optional parameters. */
633
- export interface NotificationHubsDeleteAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
634
- }
635
- /** Optional parameters. */
636
- export interface NotificationHubsGetAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
637
- }
638
- /** Contains response data for the getAuthorizationRule operation. */
639
- export type NotificationHubsGetAuthorizationRuleResponse = SharedAccessAuthorizationRuleResource;
1581
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnectionResource;
640
1582
  /** Optional parameters. */
641
- export interface NotificationHubsListOptionalParams extends coreClient.OperationOptions {
1583
+ export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
642
1584
  }
643
1585
  /** Contains response data for the list operation. */
644
- export type NotificationHubsListResponse = NotificationHubListResult;
645
- /** Optional parameters. */
646
- export interface NotificationHubsListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
647
- }
648
- /** Contains response data for the listAuthorizationRules operation. */
649
- export type NotificationHubsListAuthorizationRulesResponse = SharedAccessAuthorizationRuleListResult;
650
- /** Optional parameters. */
651
- export interface NotificationHubsListKeysOptionalParams extends coreClient.OperationOptions {
652
- }
653
- /** Contains response data for the listKeys operation. */
654
- export type NotificationHubsListKeysResponse = ResourceListKeys;
1586
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionResourceListResult;
655
1587
  /** Optional parameters. */
656
- export interface NotificationHubsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
657
- }
658
- /** Contains response data for the regenerateKeys operation. */
659
- export type NotificationHubsRegenerateKeysResponse = ResourceListKeys;
660
- /** Optional parameters. */
661
- export interface NotificationHubsGetPnsCredentialsOptionalParams extends coreClient.OperationOptions {
662
- }
663
- /** Contains response data for the getPnsCredentials operation. */
664
- export type NotificationHubsGetPnsCredentialsResponse = PnsCredentialsResource;
665
- /** Optional parameters. */
666
- export interface NotificationHubsListNextOptionalParams extends coreClient.OperationOptions {
1588
+ export interface PrivateEndpointConnectionsGetGroupIdOptionalParams extends coreClient.OperationOptions {
667
1589
  }
668
- /** Contains response data for the listNext operation. */
669
- export type NotificationHubsListNextResponse = NotificationHubListResult;
1590
+ /** Contains response data for the getGroupId operation. */
1591
+ export type PrivateEndpointConnectionsGetGroupIdResponse = PrivateLinkResource;
670
1592
  /** Optional parameters. */
671
- export interface NotificationHubsListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
1593
+ export interface PrivateEndpointConnectionsListGroupIdsOptionalParams extends coreClient.OperationOptions {
672
1594
  }
673
- /** Contains response data for the listAuthorizationRulesNext operation. */
674
- export type NotificationHubsListAuthorizationRulesNextResponse = SharedAccessAuthorizationRuleListResult;
1595
+ /** Contains response data for the listGroupIds operation. */
1596
+ export type PrivateEndpointConnectionsListGroupIdsResponse = PrivateLinkResourceListResult;
675
1597
  /** Optional parameters. */
676
1598
  export interface NotificationHubsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
677
1599
  /** server parameter */