@azure/arm-monitor 8.0.0-beta.2 → 8.0.0-beta.4

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 (435) hide show
  1. package/CHANGELOG.md +88 -5
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +5622 -4012
  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/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js +11 -3
  9. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
  10. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js +11 -3
  11. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js.map +1 -1
  12. package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js +11 -3
  13. package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/actionGroupsDeleteSample.js +11 -3
  15. package/dist-esm/samples-dev/actionGroupsDeleteSample.js.map +1 -1
  16. package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js +11 -3
  17. package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js.map +1 -1
  18. package/dist-esm/samples-dev/actionGroupsGetSample.js +11 -3
  19. package/dist-esm/samples-dev/actionGroupsGetSample.js.map +1 -1
  20. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js +11 -3
  21. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
  22. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js +11 -3
  23. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js.map +1 -1
  24. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js +10 -2
  25. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js.map +1 -1
  26. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js +11 -3
  27. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js.map +1 -1
  28. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js +10 -2
  29. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js.map +1 -1
  30. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js +10 -2
  31. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js.map +1 -1
  32. package/dist-esm/samples-dev/actionGroupsUpdateSample.js +11 -3
  33. package/dist-esm/samples-dev/actionGroupsUpdateSample.js.map +1 -1
  34. package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js +19 -9
  35. package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js.map +1 -1
  36. package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js +11 -3
  37. package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js.map +1 -1
  38. package/dist-esm/samples-dev/activityLogAlertsGetSample.js +11 -3
  39. package/dist-esm/samples-dev/activityLogAlertsGetSample.js.map +1 -1
  40. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js +11 -3
  41. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js.map +1 -1
  42. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js +10 -2
  43. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js.map +1 -1
  44. package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js +11 -3
  45. package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/activityLogsListSample.js +13 -4
  47. package/dist-esm/samples-dev/activityLogsListSample.js.map +1 -1
  48. package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js +11 -3
  49. package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js.map +1 -1
  50. package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js +11 -3
  51. package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js.map +1 -1
  52. package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +11 -3
  53. package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js.map +1 -1
  54. package/dist-esm/samples-dev/alertRulesDeleteSample.js +11 -3
  55. package/dist-esm/samples-dev/alertRulesDeleteSample.js.map +1 -1
  56. package/dist-esm/samples-dev/alertRulesGetSample.js +11 -3
  57. package/dist-esm/samples-dev/alertRulesGetSample.js.map +1 -1
  58. package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js +11 -3
  59. package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js.map +1 -1
  60. package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js +10 -2
  61. package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js.map +1 -1
  62. package/dist-esm/samples-dev/alertRulesUpdateSample.js +11 -3
  63. package/dist-esm/samples-dev/alertRulesUpdateSample.js.map +1 -1
  64. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +11 -3
  65. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -1
  66. package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +11 -3
  67. package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js.map +1 -1
  68. package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +11 -3
  69. package/dist-esm/samples-dev/autoscaleSettingsGetSample.js.map +1 -1
  70. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +11 -3
  71. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js.map +1 -1
  72. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +10 -2
  73. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
  74. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +11 -3
  75. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
  76. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js +42 -0
  79. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js.map +1 -0
  80. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js +39 -0
  83. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js.map +1 -0
  84. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js +39 -0
  87. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js.map +1 -0
  88. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js +52 -0
  91. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js.map +1 -0
  92. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js +51 -0
  95. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js.map +1 -0
  96. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js +45 -0
  99. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js.map +1 -0
  100. package/dist-esm/samples-dev/baselinesListSample.js +10 -2
  101. package/dist-esm/samples-dev/baselinesListSample.js.map +1 -1
  102. package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js +11 -3
  103. package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js.map +1 -1
  104. package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js +11 -3
  105. package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js.map +1 -1
  106. package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js +11 -3
  107. package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js.map +1 -1
  108. package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js +11 -3
  109. package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js.map +1 -1
  110. package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js +10 -2
  111. package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js.map +1 -1
  112. package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js +11 -3
  113. package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js.map +1 -1
  114. package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js +10 -2
  115. package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js.map +1 -1
  116. package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js +10 -2
  117. package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js.map +1 -1
  118. package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js +10 -2
  119. package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js.map +1 -1
  120. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js +11 -3
  121. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js.map +1 -1
  122. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js +10 -2
  123. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js.map +1 -1
  124. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js +11 -3
  125. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js.map +1 -1
  126. package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js +16 -8
  127. package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js.map +1 -1
  128. package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js +11 -3
  129. package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js.map +1 -1
  130. package/dist-esm/samples-dev/dataCollectionRulesGetSample.js +11 -3
  131. package/dist-esm/samples-dev/dataCollectionRulesGetSample.js.map +1 -1
  132. package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js +11 -3
  133. package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js.map +1 -1
  134. package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js +10 -2
  135. package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js.map +1 -1
  136. package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js +11 -3
  137. package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js.map +1 -1
  138. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +10 -2
  139. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js.map +1 -1
  140. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +10 -2
  141. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
  142. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +13 -4
  143. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
  144. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +10 -2
  145. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js.map +1 -1
  146. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +13 -4
  147. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
  148. package/dist-esm/samples-dev/diagnosticSettingsListSample.js +13 -4
  149. package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
  150. package/dist-esm/samples-dev/eventCategoriesListSample.js +10 -2
  151. package/dist-esm/samples-dev/eventCategoriesListSample.js.map +1 -1
  152. package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js +10 -2
  153. package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js.map +1 -1
  154. package/dist-esm/samples-dev/logProfilesDeleteSample.js +10 -2
  155. package/dist-esm/samples-dev/logProfilesDeleteSample.js.map +1 -1
  156. package/dist-esm/samples-dev/logProfilesGetSample.js +10 -2
  157. package/dist-esm/samples-dev/logProfilesGetSample.js.map +1 -1
  158. package/dist-esm/samples-dev/logProfilesListSample.js +10 -2
  159. package/dist-esm/samples-dev/logProfilesListSample.js.map +1 -1
  160. package/dist-esm/samples-dev/logProfilesUpdateSample.js +10 -2
  161. package/dist-esm/samples-dev/logProfilesUpdateSample.js.map +1 -1
  162. package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js +40 -25
  163. package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js.map +1 -1
  164. package/dist-esm/samples-dev/metricAlertsDeleteSample.js +11 -3
  165. package/dist-esm/samples-dev/metricAlertsDeleteSample.js.map +1 -1
  166. package/dist-esm/samples-dev/metricAlertsGetSample.js +35 -21
  167. package/dist-esm/samples-dev/metricAlertsGetSample.js.map +1 -1
  168. package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js +11 -3
  169. package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js.map +1 -1
  170. package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js +10 -2
  171. package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js.map +1 -1
  172. package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js +11 -3
  173. package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js.map +1 -1
  174. package/dist-esm/samples-dev/metricAlertsStatusListSample.js +11 -3
  175. package/dist-esm/samples-dev/metricAlertsStatusListSample.js.map +1 -1
  176. package/dist-esm/samples-dev/metricAlertsUpdateSample.js +12 -4
  177. package/dist-esm/samples-dev/metricAlertsUpdateSample.js.map +1 -1
  178. package/dist-esm/samples-dev/metricDefinitionsListSample.js +16 -6
  179. package/dist-esm/samples-dev/metricDefinitionsListSample.js.map +1 -1
  180. package/dist-esm/samples-dev/metricNamespacesListSample.js +10 -2
  181. package/dist-esm/samples-dev/metricNamespacesListSample.js.map +1 -1
  182. package/dist-esm/samples-dev/metricsListSample.js +19 -9
  183. package/dist-esm/samples-dev/metricsListSample.js.map +1 -1
  184. package/dist-esm/samples-dev/monitorOperationsListSample.d.ts +2 -0
  185. package/dist-esm/samples-dev/monitorOperationsListSample.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/monitorOperationsListSample.js +51 -0
  187. package/dist-esm/samples-dev/monitorOperationsListSample.js.map +1 -0
  188. package/dist-esm/samples-dev/operationsListSample.js +10 -2
  189. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  190. package/dist-esm/samples-dev/predictiveMetricGetSample.js +11 -3
  191. package/dist-esm/samples-dev/predictiveMetricGetSample.js.map +1 -1
  192. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +11 -3
  193. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  194. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -3
  195. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  196. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -3
  197. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  198. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +11 -3
  199. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -1
  200. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +11 -3
  201. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
  202. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +11 -3
  203. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -1
  204. package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +11 -3
  205. package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js.map +1 -1
  206. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +11 -3
  207. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js.map +1 -1
  208. package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +11 -3
  209. package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js.map +1 -1
  210. package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +11 -3
  211. package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js.map +1 -1
  212. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +11 -3
  213. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js.map +1 -1
  214. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +15 -6
  215. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
  216. package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +11 -3
  217. package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js.map +1 -1
  218. package/dist-esm/samples-dev/privateLinkScopesGetSample.js +11 -3
  219. package/dist-esm/samples-dev/privateLinkScopesGetSample.js.map +1 -1
  220. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +11 -3
  221. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js.map +1 -1
  222. package/dist-esm/samples-dev/privateLinkScopesListSample.js +10 -2
  223. package/dist-esm/samples-dev/privateLinkScopesListSample.js.map +1 -1
  224. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +10 -3
  225. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js.map +1 -1
  226. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +148 -83
  227. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -1
  228. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +16 -8
  229. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js.map +1 -1
  230. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +16 -8
  231. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js.map +1 -1
  232. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +15 -7
  233. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -1
  234. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +14 -6
  235. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -1
  236. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +17 -9
  237. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -1
  238. package/dist-esm/samples-dev/tenantActivityLogsListSample.js +19 -8
  239. package/dist-esm/samples-dev/tenantActivityLogsListSample.js.map +1 -1
  240. package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js +22 -10
  241. package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js.map +1 -1
  242. package/dist-esm/src/index.d.ts +1 -0
  243. package/dist-esm/src/index.d.ts.map +1 -1
  244. package/dist-esm/src/index.js +1 -0
  245. package/dist-esm/src/index.js.map +1 -1
  246. package/dist-esm/src/lroImpl.d.ts +6 -11
  247. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  248. package/dist-esm/src/lroImpl.js +12 -20
  249. package/dist-esm/src/lroImpl.js.map +1 -1
  250. package/dist-esm/src/models/index.d.ts +715 -287
  251. package/dist-esm/src/models/index.d.ts.map +1 -1
  252. package/dist-esm/src/models/index.js +84 -64
  253. package/dist-esm/src/models/index.js.map +1 -1
  254. package/dist-esm/src/models/mappers.d.ts +29 -17
  255. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  256. package/dist-esm/src/models/mappers.js +1127 -445
  257. package/dist-esm/src/models/mappers.js.map +1 -1
  258. package/dist-esm/src/models/parameters.d.ts +5 -1
  259. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  260. package/dist-esm/src/models/parameters.js +39 -7
  261. package/dist-esm/src/models/parameters.js.map +1 -1
  262. package/dist-esm/src/monitorClient.d.ts +4 -2
  263. package/dist-esm/src/monitorClient.d.ts.map +1 -1
  264. package/dist-esm/src/monitorClient.js +8 -9
  265. package/dist-esm/src/monitorClient.js.map +1 -1
  266. package/dist-esm/src/operations/actionGroups.d.ts +4 -4
  267. package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
  268. package/dist-esm/src/operations/actionGroups.js +50 -25
  269. package/dist-esm/src/operations/actionGroups.js.map +1 -1
  270. package/dist-esm/src/operations/activityLogAlerts.d.ts.map +1 -1
  271. package/dist-esm/src/operations/activityLogAlerts.js +37 -16
  272. package/dist-esm/src/operations/activityLogAlerts.js.map +1 -1
  273. package/dist-esm/src/operations/activityLogs.d.ts +0 -13
  274. package/dist-esm/src/operations/activityLogs.d.ts.map +1 -1
  275. package/dist-esm/src/operations/activityLogs.js +22 -28
  276. package/dist-esm/src/operations/activityLogs.js.map +1 -1
  277. package/dist-esm/src/operations/alertRuleIncidents.d.ts.map +1 -1
  278. package/dist-esm/src/operations/alertRuleIncidents.js +8 -4
  279. package/dist-esm/src/operations/alertRuleIncidents.js.map +1 -1
  280. package/dist-esm/src/operations/alertRules.d.ts.map +1 -1
  281. package/dist-esm/src/operations/alertRules.js +16 -8
  282. package/dist-esm/src/operations/alertRules.js.map +1 -1
  283. package/dist-esm/src/operations/autoscaleSettings.d.ts.map +1 -1
  284. package/dist-esm/src/operations/autoscaleSettings.js +37 -16
  285. package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
  286. package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts +87 -0
  287. package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts.map +1 -0
  288. package/dist-esm/src/operations/azureMonitorWorkspaces.js +389 -0
  289. package/dist-esm/src/operations/azureMonitorWorkspaces.js.map +1 -0
  290. package/dist-esm/src/operations/baselines.d.ts.map +1 -1
  291. package/dist-esm/src/operations/baselines.js +8 -4
  292. package/dist-esm/src/operations/baselines.js.map +1 -1
  293. package/dist-esm/src/operations/dataCollectionEndpoints.d.ts.map +1 -1
  294. package/dist-esm/src/operations/dataCollectionEndpoints.js +37 -16
  295. package/dist-esm/src/operations/dataCollectionEndpoints.js.map +1 -1
  296. package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts.map +1 -1
  297. package/dist-esm/src/operations/dataCollectionRuleAssociations.js +55 -24
  298. package/dist-esm/src/operations/dataCollectionRuleAssociations.js.map +1 -1
  299. package/dist-esm/src/operations/dataCollectionRules.d.ts.map +1 -1
  300. package/dist-esm/src/operations/dataCollectionRules.js +37 -16
  301. package/dist-esm/src/operations/dataCollectionRules.js.map +1 -1
  302. package/dist-esm/src/operations/diagnosticSettings.d.ts.map +1 -1
  303. package/dist-esm/src/operations/diagnosticSettings.js +8 -4
  304. package/dist-esm/src/operations/diagnosticSettings.js.map +1 -1
  305. package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
  306. package/dist-esm/src/operations/diagnosticSettingsCategory.js +8 -4
  307. package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
  308. package/dist-esm/src/operations/eventCategories.d.ts.map +1 -1
  309. package/dist-esm/src/operations/eventCategories.js +8 -4
  310. package/dist-esm/src/operations/eventCategories.js.map +1 -1
  311. package/dist-esm/src/operations/index.d.ts +3 -1
  312. package/dist-esm/src/operations/index.d.ts.map +1 -1
  313. package/dist-esm/src/operations/index.js +3 -1
  314. package/dist-esm/src/operations/index.js.map +1 -1
  315. package/dist-esm/src/operations/logProfiles.d.ts.map +1 -1
  316. package/dist-esm/src/operations/logProfiles.js +8 -4
  317. package/dist-esm/src/operations/logProfiles.js.map +1 -1
  318. package/dist-esm/src/operations/metricAlerts.d.ts.map +1 -1
  319. package/dist-esm/src/operations/metricAlerts.js +16 -8
  320. package/dist-esm/src/operations/metricAlerts.js.map +1 -1
  321. package/dist-esm/src/operations/metricDefinitions.d.ts.map +1 -1
  322. package/dist-esm/src/operations/metricDefinitions.js +8 -4
  323. package/dist-esm/src/operations/metricDefinitions.js.map +1 -1
  324. package/dist-esm/src/operations/metricNamespaces.d.ts.map +1 -1
  325. package/dist-esm/src/operations/metricNamespaces.js +8 -4
  326. package/dist-esm/src/operations/metricNamespaces.js.map +1 -1
  327. package/dist-esm/src/operations/{metrics.d.ts → metricsOperations.d.ts} +5 -5
  328. package/dist-esm/src/operations/metricsOperations.d.ts.map +1 -0
  329. package/dist-esm/src/operations/{metrics.js → metricsOperations.js} +4 -4
  330. package/dist-esm/src/operations/metricsOperations.js.map +1 -0
  331. package/dist-esm/src/operations/monitorOperations.d.ts +32 -0
  332. package/dist-esm/src/operations/monitorOperations.d.ts.map +1 -0
  333. package/dist-esm/src/operations/monitorOperations.js +131 -0
  334. package/dist-esm/src/operations/monitorOperations.js.map +1 -0
  335. package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
  336. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  337. package/dist-esm/src/operations/privateEndpointConnections.js +29 -16
  338. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  339. package/dist-esm/src/operations/privateLinkScopedResources.d.ts +3 -3
  340. package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
  341. package/dist-esm/src/operations/privateLinkScopedResources.js +37 -18
  342. package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
  343. package/dist-esm/src/operations/privateLinkScopes.d.ts +2 -2
  344. package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -1
  345. package/dist-esm/src/operations/privateLinkScopes.js +47 -22
  346. package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
  347. package/dist-esm/src/operations/scheduledQueryRules.d.ts +30 -17
  348. package/dist-esm/src/operations/scheduledQueryRules.d.ts.map +1 -1
  349. package/dist-esm/src/operations/scheduledQueryRules.js +143 -52
  350. package/dist-esm/src/operations/scheduledQueryRules.js.map +1 -1
  351. package/dist-esm/src/operations/tenantActivityLogs.d.ts.map +1 -1
  352. package/dist-esm/src/operations/tenantActivityLogs.js +19 -12
  353. package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
  354. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +4 -4
  355. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
  356. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts +51 -0
  357. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts.map +1 -0
  358. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js +9 -0
  359. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js.map +1 -0
  360. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
  361. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  362. package/dist-esm/src/operationsInterfaces/index.js +3 -1
  363. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  364. package/dist-esm/src/operationsInterfaces/{metrics.d.ts → metricsOperations.d.ts} +3 -3
  365. package/dist-esm/src/operationsInterfaces/metricsOperations.d.ts.map +1 -0
  366. package/dist-esm/src/operationsInterfaces/{metrics.js → metricsOperations.js} +1 -1
  367. package/dist-esm/src/operationsInterfaces/metricsOperations.js.map +1 -0
  368. package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts +11 -0
  369. package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts.map +1 -0
  370. package/dist-esm/src/operationsInterfaces/monitorOperations.js +9 -0
  371. package/dist-esm/src/operationsInterfaces/monitorOperations.js.map +1 -0
  372. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  373. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  374. package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts +3 -3
  375. package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts.map +1 -1
  376. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts +2 -2
  377. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts.map +1 -1
  378. package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts +13 -13
  379. package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts.map +1 -1
  380. package/dist-esm/src/pagingHelper.d.ts +13 -0
  381. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  382. package/dist-esm/src/pagingHelper.js +32 -0
  383. package/dist-esm/src/pagingHelper.js.map +1 -0
  384. package/dist-esm/test/monitor_examples.js +60 -3
  385. package/dist-esm/test/monitor_examples.js.map +1 -1
  386. package/package.json +11 -9
  387. package/review/arm-monitor.api.md +422 -161
  388. package/src/index.ts +1 -0
  389. package/src/lroImpl.ts +31 -23
  390. package/src/models/index.ts +775 -317
  391. package/src/models/mappers.ts +1990 -1300
  392. package/src/models/parameters.ts +48 -10
  393. package/src/monitorClient.ts +19 -12
  394. package/src/operations/actionGroups.ts +82 -46
  395. package/src/operations/activityLogAlerts.ts +46 -19
  396. package/src/operations/activityLogs.ts +23 -29
  397. package/src/operations/alertRuleIncidents.ts +13 -11
  398. package/src/operations/alertRules.ts +26 -12
  399. package/src/operations/autoscaleSettings.ts +46 -19
  400. package/src/operations/azureMonitorWorkspaces.ts +483 -0
  401. package/src/operations/baselines.ts +10 -5
  402. package/src/operations/dataCollectionEndpoints.ts +45 -18
  403. package/src/operations/dataCollectionRuleAssociations.ts +71 -35
  404. package/src/operations/dataCollectionRules.ts +45 -18
  405. package/src/operations/diagnosticSettings.ts +12 -7
  406. package/src/operations/diagnosticSettingsCategory.ts +12 -7
  407. package/src/operations/eventCategories.ts +10 -5
  408. package/src/operations/index.ts +3 -1
  409. package/src/operations/logProfiles.ts +12 -7
  410. package/src/operations/metricAlerts.ts +24 -10
  411. package/src/operations/metricDefinitions.ts +10 -5
  412. package/src/operations/metricNamespaces.ts +10 -5
  413. package/src/operations/{metrics.ts → metricsOperations.ts} +4 -4
  414. package/src/operations/monitorOperations.ts +149 -0
  415. package/src/operations/privateEndpointConnections.ts +33 -21
  416. package/src/operations/privateLinkScopedResources.ts +55 -35
  417. package/src/operations/privateLinkScopes.ts +60 -29
  418. package/src/operations/scheduledQueryRules.ts +199 -79
  419. package/src/operations/tenantActivityLogs.ts +21 -13
  420. package/src/operationsInterfaces/actionGroups.ts +7 -7
  421. package/src/operationsInterfaces/azureMonitorWorkspaces.ts +93 -0
  422. package/src/operationsInterfaces/index.ts +3 -1
  423. package/src/operationsInterfaces/{metrics.ts → metricsOperations.ts} +2 -2
  424. package/src/operationsInterfaces/monitorOperations.ts +25 -0
  425. package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
  426. package/src/operationsInterfaces/privateLinkScopedResources.ts +4 -4
  427. package/src/operationsInterfaces/privateLinkScopes.ts +2 -2
  428. package/src/operationsInterfaces/scheduledQueryRules.ts +21 -21
  429. package/src/pagingHelper.ts +39 -0
  430. package/types/arm-monitor.d.ts +838 -299
  431. package/types/tsdoc-metadata.json +1 -1
  432. package/dist-esm/src/operations/metrics.d.ts.map +0 -1
  433. package/dist-esm/src/operations/metrics.js.map +0 -1
  434. package/dist-esm/src/operationsInterfaces/metrics.d.ts.map +0 -1
  435. package/dist-esm/src/operationsInterfaces/metrics.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
6
 
7
7
  /**
8
8
  * Defines values for AccessMode. \
@@ -34,12 +34,6 @@ export declare interface AccessModeSettingsExclusion {
34
34
  ingestionAccessMode?: AccessMode;
35
35
  }
36
36
 
37
- /** Action descriptor. */
38
- export declare interface Action {
39
- /** Polymorphic discriminator, which specifies the different types this object can be */
40
- odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction" | "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
41
- }
42
-
43
37
  /** The action detail */
44
38
  export declare interface ActionDetail {
45
39
  /** The mechanism type */
@@ -162,7 +156,7 @@ export declare interface ActionGroups {
162
156
  * @param notificationRequest The notification request body which includes the contact details
163
157
  * @param options The options parameters.
164
158
  */
165
- beginPostTestNotifications(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<PollerLike<PollOperationState<ActionGroupsPostTestNotificationsResponse>, ActionGroupsPostTestNotificationsResponse>>;
159
+ beginPostTestNotifications(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsPostTestNotificationsResponse>, ActionGroupsPostTestNotificationsResponse>>;
166
160
  /**
167
161
  * Send test notifications to a set of provided receivers
168
162
  * @param notificationRequest The notification request body which includes the contact details
@@ -175,7 +169,7 @@ export declare interface ActionGroups {
175
169
  * @param notificationRequest The notification request body which includes the contact details
176
170
  * @param options The options parameters.
177
171
  */
178
- beginCreateNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<PollerLike<PollOperationState<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>, ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>>;
172
+ beginCreateNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>, ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>>;
179
173
  /**
180
174
  * Send test notifications to a set of provided receivers
181
175
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -190,7 +184,7 @@ export declare interface ActionGroups {
190
184
  * @param notificationRequest The notification request body which includes the contact details
191
185
  * @param options The options parameters.
192
186
  */
193
- beginCreateNotificationsAtActionGroupResourceLevel(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<PollerLike<PollOperationState<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>, ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>>;
187
+ beginCreateNotificationsAtActionGroupResourceLevel(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>, ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>>;
194
188
  /**
195
189
  * Send test notifications to a set of provided receivers
196
190
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -352,7 +346,24 @@ export declare interface ActionList {
352
346
  actionGroups?: ActionGroup[];
353
347
  }
354
348
 
355
- export declare type ActionUnion = Action | AlertingAction | LogToMetricAction;
349
+ /** Actions to invoke when the alert fires. */
350
+ export declare interface Actions {
351
+ /** Action Group resource Ids to invoke when the alert fires. */
352
+ actionGroups?: string[];
353
+ /** The properties of an alert payload. */
354
+ customProperties?: {
355
+ [propertyName: string]: string;
356
+ };
357
+ }
358
+
359
+ /**
360
+ * Defines values for ActionType. \
361
+ * {@link KnownActionType} can be used interchangeably with ActionType,
362
+ * this enum contains the known values that the service supports.
363
+ * ### Known values supported by the service
364
+ * **Internal**
365
+ */
366
+ export declare type ActionType = string;
356
367
 
357
368
  /** An Activity Log Alert rule resource. */
358
369
  export declare interface ActivityLogAlertResource extends AzureResourceAutoGenerated {
@@ -492,8 +503,6 @@ export declare interface ActivityLogs {
492
503
 
493
504
  /** Optional parameters. */
494
505
  export declare interface ActivityLogsListNextOptionalParams extends coreClient.OperationOptions {
495
- /** Used to fetch events with only the given properties.<br>The **$select** argument is a comma separated list of property names to be returned. Possible values are: *authorization*, *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*, *operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*, *status*, *submissionTimestamp*, *subStatus*, *subscriptionId* */
496
- select?: string;
497
506
  }
498
507
 
499
508
  /** Contains response data for the listNext operation. */
@@ -524,20 +533,6 @@ export declare type AggregationType = "None" | "Average" | "Count" | "Minimum" |
524
533
  */
525
534
  export declare type AggregationTypeEnum = string;
526
535
 
527
- /** Specify action need to be taken when rule type is Alert */
528
- export declare interface AlertingAction extends Action {
529
- /** Polymorphic discriminator, which specifies the different types this object can be */
530
- odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
531
- /** Severity of the alert */
532
- severity: AlertSeverity;
533
- /** Azure action group reference. */
534
- aznsAction?: AzNsActionGroup;
535
- /** time (in minutes) for which Alerts should be throttled or suppressed. */
536
- throttlingInMin?: number;
537
- /** The trigger condition that results in the alert rule being. */
538
- trigger: TriggerCondition;
539
- }
540
-
541
536
  /** An Activity Log Alert rule condition that is met when all its member conditions are met. */
542
537
  export declare interface AlertRuleAllOfCondition {
543
538
  /** The list of Activity Log Alert rule conditions. */
@@ -778,7 +773,7 @@ export declare type AlertRulesUpdateResponse = AlertRuleResource;
778
773
  * **3** \
779
774
  * **4**
780
775
  */
781
- export declare type AlertSeverity = string;
776
+ export declare type AlertSeverity = number;
782
777
 
783
778
  /** An arm role receiver. */
784
779
  export declare interface ArmRoleReceiver {
@@ -1001,16 +996,6 @@ export declare interface AutoscaleSettingsUpdateOptionalParams extends coreClien
1001
996
  /** Contains response data for the update operation. */
1002
997
  export declare type AutoscaleSettingsUpdateResponse = AutoscaleSettingResource;
1003
998
 
1004
- /** Azure action group */
1005
- export declare interface AzNsActionGroup {
1006
- /** Azure Action Group reference. */
1007
- actionGroup?: string[];
1008
- /** Custom subject override for all email ids in Azure action group */
1009
- emailSubject?: string;
1010
- /** Custom payload to be sent for all webhook URI in Azure action group */
1011
- customWebhookPayload?: string;
1012
- }
1013
-
1014
999
  /** The Azure mobile App push notification receiver. */
1015
1000
  export declare interface AzureAppPushReceiver {
1016
1001
  /** The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group. */
@@ -1071,6 +1056,191 @@ export declare interface AzureMonitorPrivateLinkScopeListResult {
1071
1056
  nextLink?: string;
1072
1057
  }
1073
1058
 
1059
+ /** Properties of an Azure Monitor workspace */
1060
+ export declare interface AzureMonitorWorkspace {
1061
+ /**
1062
+ * The immutable ID of the Azure Monitor workspace. This property is read-only.
1063
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1064
+ */
1065
+ readonly accountId?: string;
1066
+ /**
1067
+ * Information about metrics for the Azure Monitor workspace
1068
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1069
+ */
1070
+ readonly metrics?: AzureMonitorWorkspaceMetrics;
1071
+ /**
1072
+ * The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
1073
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1074
+ */
1075
+ readonly provisioningState?: ProvisioningState;
1076
+ /**
1077
+ * The Data Collection Rule and Endpoint used for ingestion by default.
1078
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1079
+ */
1080
+ readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
1081
+ }
1082
+
1083
+ /** The Data Collection Rule and Endpoint used for ingestion by default. */
1084
+ export declare interface AzureMonitorWorkspaceDefaultIngestionSettings extends IngestionSettings {
1085
+ }
1086
+
1087
+ /** Information about metrics for the Azure Monitor workspace */
1088
+ export declare interface AzureMonitorWorkspaceMetrics extends Metrics {
1089
+ }
1090
+
1091
+ /** An Azure Monitor Workspace definition */
1092
+ export declare interface AzureMonitorWorkspaceResource extends TrackedResourceAutoGenerated {
1093
+ /**
1094
+ * Resource entity tag (ETag)
1095
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1096
+ */
1097
+ readonly etag?: string;
1098
+ /**
1099
+ * The immutable ID of the Azure Monitor workspace. This property is read-only.
1100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1101
+ */
1102
+ readonly accountId?: string;
1103
+ /**
1104
+ * Information about metrics for the Azure Monitor workspace
1105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1106
+ */
1107
+ readonly metrics?: AzureMonitorWorkspaceMetrics;
1108
+ /**
1109
+ * The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
1110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1111
+ */
1112
+ readonly provisioningState?: ProvisioningState;
1113
+ /**
1114
+ * The Data Collection Rule and Endpoint used for ingestion by default.
1115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1116
+ */
1117
+ readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
1118
+ }
1119
+
1120
+ /** Definition of ARM tracked top level resource properties for update operation */
1121
+ export declare interface AzureMonitorWorkspaceResourceForUpdate {
1122
+ /** Resource tags */
1123
+ tags?: {
1124
+ [propertyName: string]: string;
1125
+ };
1126
+ }
1127
+
1128
+ /** A pageable list of resources */
1129
+ export declare interface AzureMonitorWorkspaceResourceListResult {
1130
+ /** A list of resources */
1131
+ value: AzureMonitorWorkspaceResource[];
1132
+ /** The URL to use for getting the next set of results */
1133
+ nextLink?: string;
1134
+ }
1135
+
1136
+ /** Resource properties */
1137
+ export declare interface AzureMonitorWorkspaceResourceProperties extends AzureMonitorWorkspace {
1138
+ }
1139
+
1140
+ /** Interface representing a AzureMonitorWorkspaces. */
1141
+ export declare interface AzureMonitorWorkspaces {
1142
+ /**
1143
+ * Lists all workspaces in the specified resource group
1144
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1145
+ * @param options The options parameters.
1146
+ */
1147
+ listByResourceGroup(resourceGroupName: string, options?: AzureMonitorWorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureMonitorWorkspaceResource>;
1148
+ /**
1149
+ * Lists all workspaces in the specified subscription
1150
+ * @param options The options parameters.
1151
+ */
1152
+ listBySubscription(options?: AzureMonitorWorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureMonitorWorkspaceResource>;
1153
+ /**
1154
+ * Returns the specific Azure Monitor workspace
1155
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1156
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case
1157
+ * insensitive
1158
+ * @param options The options parameters.
1159
+ */
1160
+ get(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesGetOptionalParams): Promise<AzureMonitorWorkspacesGetResponse>;
1161
+ /**
1162
+ * Create or update a workspace
1163
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1164
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case
1165
+ * insensitive
1166
+ * @param azureMonitorWorkspaceProperties Properties that need to be specified to create a new
1167
+ * workspace
1168
+ * @param options The options parameters.
1169
+ */
1170
+ create(resourceGroupName: string, azureMonitorWorkspaceName: string, azureMonitorWorkspaceProperties: AzureMonitorWorkspaceResource, options?: AzureMonitorWorkspacesCreateOptionalParams): Promise<AzureMonitorWorkspacesCreateResponse>;
1171
+ /**
1172
+ * Updates part of a workspace
1173
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1174
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case
1175
+ * insensitive
1176
+ * @param options The options parameters.
1177
+ */
1178
+ update(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesUpdateOptionalParams): Promise<AzureMonitorWorkspacesUpdateResponse>;
1179
+ /**
1180
+ * Delete a workspace
1181
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1182
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case
1183
+ * insensitive
1184
+ * @param options The options parameters.
1185
+ */
1186
+ delete(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesDeleteOptionalParams): Promise<void>;
1187
+ }
1188
+
1189
+ /** Optional parameters. */
1190
+ export declare interface AzureMonitorWorkspacesCreateOptionalParams extends coreClient.OperationOptions {
1191
+ }
1192
+
1193
+ /** Contains response data for the create operation. */
1194
+ export declare type AzureMonitorWorkspacesCreateResponse = AzureMonitorWorkspaceResource;
1195
+
1196
+ /** Optional parameters. */
1197
+ export declare interface AzureMonitorWorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
1198
+ }
1199
+
1200
+ /** Optional parameters. */
1201
+ export declare interface AzureMonitorWorkspacesGetOptionalParams extends coreClient.OperationOptions {
1202
+ }
1203
+
1204
+ /** Contains response data for the get operation. */
1205
+ export declare type AzureMonitorWorkspacesGetResponse = AzureMonitorWorkspaceResource;
1206
+
1207
+ /** Optional parameters. */
1208
+ export declare interface AzureMonitorWorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1209
+ }
1210
+
1211
+ /** Contains response data for the listByResourceGroupNext operation. */
1212
+ export declare type AzureMonitorWorkspacesListByResourceGroupNextResponse = AzureMonitorWorkspaceResourceListResult;
1213
+
1214
+ /** Optional parameters. */
1215
+ export declare interface AzureMonitorWorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1216
+ }
1217
+
1218
+ /** Contains response data for the listByResourceGroup operation. */
1219
+ export declare type AzureMonitorWorkspacesListByResourceGroupResponse = AzureMonitorWorkspaceResourceListResult;
1220
+
1221
+ /** Optional parameters. */
1222
+ export declare interface AzureMonitorWorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1223
+ }
1224
+
1225
+ /** Contains response data for the listBySubscriptionNext operation. */
1226
+ export declare type AzureMonitorWorkspacesListBySubscriptionNextResponse = AzureMonitorWorkspaceResourceListResult;
1227
+
1228
+ /** Optional parameters. */
1229
+ export declare interface AzureMonitorWorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1230
+ }
1231
+
1232
+ /** Contains response data for the listBySubscription operation. */
1233
+ export declare type AzureMonitorWorkspacesListBySubscriptionResponse = AzureMonitorWorkspaceResourceListResult;
1234
+
1235
+ /** Optional parameters. */
1236
+ export declare interface AzureMonitorWorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
1237
+ /** The payload */
1238
+ azureMonitorWorkspaceProperties?: AzureMonitorWorkspaceResourceForUpdate;
1239
+ }
1240
+
1241
+ /** Contains response data for the update operation. */
1242
+ export declare type AzureMonitorWorkspacesUpdateResponse = AzureMonitorWorkspaceResource;
1243
+
1074
1244
  /** An azure resource object */
1075
1245
  export declare interface AzureResource {
1076
1246
  /**
@@ -1194,21 +1364,38 @@ export declare interface ColumnDefinition {
1194
1364
  /** Defines values for ComparisonOperationType. */
1195
1365
  export declare type ComparisonOperationType = "Equals" | "NotEquals" | "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual";
1196
1366
 
1197
- /**
1198
- * Defines values for ConditionalOperator. \
1199
- * {@link KnownConditionalOperator} can be used interchangeably with ConditionalOperator,
1200
- * this enum contains the known values that the service supports.
1201
- * ### Known values supported by the service
1202
- * **GreaterThanOrEqual** \
1203
- * **LessThanOrEqual** \
1204
- * **GreaterThan** \
1205
- * **LessThan** \
1206
- * **Equal**
1207
- */
1208
- export declare type ConditionalOperator = string;
1367
+ /** A condition of the scheduled query rule. */
1368
+ export declare interface Condition {
1369
+ /** Log query alert */
1370
+ query?: string;
1371
+ /** Aggregation type. Relevant and required only for rules of the kind LogAlert. */
1372
+ timeAggregation?: TimeAggregation;
1373
+ /** The column containing the metric measure number. Relevant only for rules of the kind LogAlert. */
1374
+ metricMeasureColumn?: string;
1375
+ /** The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert. */
1376
+ resourceIdColumn?: string;
1377
+ /** List of Dimensions conditions */
1378
+ dimensions?: Dimension[];
1379
+ /** The criteria operator. Relevant and required only for rules of the kind LogAlert. */
1380
+ operator?: ConditionOperator;
1381
+ /** the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert. */
1382
+ threshold?: number;
1383
+ /** The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert. */
1384
+ failingPeriods?: ConditionFailingPeriods;
1385
+ /** The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric. */
1386
+ metricName?: string;
1387
+ }
1388
+
1389
+ /** The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert. */
1390
+ export declare interface ConditionFailingPeriods {
1391
+ /** The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1 */
1392
+ numberOfEvaluationPeriods?: number;
1393
+ /** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1 */
1394
+ minFailingPeriodsToAlert?: number;
1395
+ }
1209
1396
 
1210
1397
  /** Defines values for ConditionOperator. */
1211
- export declare type ConditionOperator = "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual";
1398
+ export declare type ConditionOperator = "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual" | "Equals";
1212
1399
 
1213
1400
  /** Definition of the endpoint used for accessing configuration. */
1214
1401
  export declare interface ConfigurationAccessEndpointSpec {
@@ -1239,14 +1426,6 @@ export declare interface Context {
1239
1426
  */
1240
1427
  export declare type CreatedByType = string;
1241
1428
 
1242
- /** Specifies the criteria for converting log to metric. */
1243
- export declare interface Criteria {
1244
- /** Name of the metric */
1245
- metricName: string;
1246
- /** List of Dimensions for creating metric */
1247
- dimensions?: Dimension[];
1248
- }
1249
-
1250
1429
  /**
1251
1430
  * Defines values for CriterionType. \
1252
1431
  * {@link KnownCriterionType} can be used interchangeably with CriterionType,
@@ -2091,16 +2270,26 @@ export declare interface DiagnosticSettingsResourceCollection {
2091
2270
  value?: DiagnosticSettingsResource[];
2092
2271
  }
2093
2272
 
2094
- /** Specifies the criteria for converting log to metric. */
2273
+ /** Dimension splitting and filtering definition */
2095
2274
  export declare interface Dimension {
2096
2275
  /** Name of the dimension */
2097
2276
  name: string;
2098
2277
  /** Operator for dimension values */
2099
- operator: Operator;
2278
+ operator: DimensionOperator;
2100
2279
  /** List of dimension values */
2101
2280
  values: string[];
2102
2281
  }
2103
2282
 
2283
+ /**
2284
+ * Defines values for DimensionOperator. \
2285
+ * {@link KnownDimensionOperator} can be used interchangeably with DimensionOperator,
2286
+ * this enum contains the known values that the service supports.
2287
+ * ### Known values supported by the service
2288
+ * **Include** \
2289
+ * **Exclude**
2290
+ */
2291
+ export declare type DimensionOperator = string;
2292
+
2104
2293
  /** Criterion for dynamic threshold. */
2105
2294
  export declare interface DynamicMetricCriteria extends MultiMetricCriteria {
2106
2295
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -2170,16 +2359,6 @@ export declare interface EmailReceiver {
2170
2359
  readonly status?: ReceiverStatus;
2171
2360
  }
2172
2361
 
2173
- /**
2174
- * Defines values for Enabled. \
2175
- * {@link KnownEnabled} can be used interchangeably with Enabled,
2176
- * this enum contains the known values that the service supports.
2177
- * ### Known values supported by the service
2178
- * **true** \
2179
- * **false**
2180
- */
2181
- export declare type Enabled = string;
2182
-
2183
2362
  /** Describes a receiver that should be resubscribed. */
2184
2363
  export declare interface EnableRequest {
2185
2364
  /** The name of the receiver to resubscribe. */
@@ -2203,7 +2382,7 @@ export declare interface ErrorAdditionalInfo {
2203
2382
  /** Describes the format of Error response. */
2204
2383
  export declare interface ErrorContract {
2205
2384
  /** The error details. */
2206
- error?: ErrorResponse;
2385
+ error?: ErrorResponseDetails;
2207
2386
  }
2208
2387
 
2209
2388
  /** The error detail. */
@@ -2235,6 +2414,35 @@ export declare interface ErrorDetail {
2235
2414
  readonly additionalInfo?: ErrorAdditionalInfo[];
2236
2415
  }
2237
2416
 
2417
+ /** The error detail. */
2418
+ export declare interface ErrorDetailAutoGenerated {
2419
+ /**
2420
+ * The error code.
2421
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2422
+ */
2423
+ readonly code?: string;
2424
+ /**
2425
+ * The error message.
2426
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2427
+ */
2428
+ readonly message?: string;
2429
+ /**
2430
+ * The error target.
2431
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2432
+ */
2433
+ readonly target?: string;
2434
+ /**
2435
+ * The error details.
2436
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2437
+ */
2438
+ readonly details?: ErrorDetailAutoGenerated[];
2439
+ /**
2440
+ * The error additional info.
2441
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2442
+ */
2443
+ readonly additionalInfo?: ErrorAdditionalInfo[];
2444
+ }
2445
+
2238
2446
  /** Error details. */
2239
2447
  export declare interface ErrorModel {
2240
2448
  /** Error code identifying the specific error. */
@@ -2251,6 +2459,20 @@ export declare interface ErrorResponse {
2251
2459
  message?: string;
2252
2460
  }
2253
2461
 
2462
+ /** The resource management error additional info. */
2463
+ export declare interface ErrorResponseAdditionalInfo {
2464
+ /**
2465
+ * The additional info type.
2466
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2467
+ */
2468
+ readonly type?: string;
2469
+ /**
2470
+ * The additional info.
2471
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2472
+ */
2473
+ readonly info?: Record<string, unknown>;
2474
+ }
2475
+
2254
2476
  /** The error response. */
2255
2477
  export declare interface ErrorResponseAutoGenerated {
2256
2478
  /**
@@ -2265,12 +2487,47 @@ export declare interface ErrorResponseAutoGenerated {
2265
2487
  readonly message?: string;
2266
2488
  }
2267
2489
 
2490
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
2491
+ export declare interface ErrorResponseAutoGenerated2 {
2492
+ /** The error object. */
2493
+ error?: ErrorDetailAutoGenerated;
2494
+ }
2495
+
2268
2496
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
2269
2497
  export declare interface ErrorResponseCommonV2 {
2270
2498
  /** The error object. */
2271
2499
  error?: ErrorDetail;
2272
2500
  }
2273
2501
 
2502
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
2503
+ export declare interface ErrorResponseDetails {
2504
+ /**
2505
+ * The error code.
2506
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2507
+ */
2508
+ readonly code?: string;
2509
+ /**
2510
+ * The error message.
2511
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2512
+ */
2513
+ readonly message?: string;
2514
+ /**
2515
+ * The error target.
2516
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2517
+ */
2518
+ readonly target?: string;
2519
+ /**
2520
+ * The error details.
2521
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2522
+ */
2523
+ readonly details?: ErrorResponseDetails[];
2524
+ /**
2525
+ * The error additional info.
2526
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2527
+ */
2528
+ readonly additionalInfo?: ErrorResponseAdditionalInfo[];
2529
+ }
2530
+
2274
2531
  /** Interface representing a EventCategories. */
2275
2532
  export declare interface EventCategories {
2276
2533
  /**
@@ -2472,6 +2729,15 @@ export declare interface ExtensionDataSource {
2472
2729
  name?: string;
2473
2730
  }
2474
2731
 
2732
+ /**
2733
+ * Given the last `.value` produced by the `byPage` iterator,
2734
+ * returns a continuation token that can be used to begin paging from
2735
+ * that point later.
2736
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
2737
+ * @returns The continuation token that can be passed into byPage() during future calls.
2738
+ */
2739
+ export declare function getContinuationToken(page: unknown): string | undefined;
2740
+
2475
2741
  /** The Http request info. */
2476
2742
  export declare interface HttpRequestInfo {
2477
2743
  /** the client request id. */
@@ -2484,6 +2750,29 @@ export declare interface HttpRequestInfo {
2484
2750
  uri?: string;
2485
2751
  }
2486
2752
 
2753
+ /** Identity for the resource. */
2754
+ export declare interface Identity {
2755
+ /**
2756
+ * The principal ID of resource identity.
2757
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2758
+ */
2759
+ readonly principalId?: string;
2760
+ /**
2761
+ * The tenant ID of resource.
2762
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2763
+ */
2764
+ readonly tenantId?: string;
2765
+ /** Type of managed service identity. */
2766
+ type: IdentityType;
2767
+ /** The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */
2768
+ userAssignedIdentities?: {
2769
+ [propertyName: string]: UserIdentityProperties;
2770
+ };
2771
+ }
2772
+
2773
+ /** Defines values for IdentityType. */
2774
+ export declare type IdentityType = "SystemAssigned" | "UserAssigned" | "None";
2775
+
2487
2776
  /** Enables IIS logs to be collected by this data collection rule. */
2488
2777
  export declare interface IisLogsDataSource {
2489
2778
  /** IIS streams */
@@ -2532,6 +2821,20 @@ export declare interface IncidentListResult {
2532
2821
  value?: Incident[];
2533
2822
  }
2534
2823
 
2824
+ /** Settings for data ingestion */
2825
+ export declare interface IngestionSettings {
2826
+ /**
2827
+ * The Azure resource Id of the default data collection rule for this workspace.
2828
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2829
+ */
2830
+ readonly dataCollectionRuleResourceId?: string;
2831
+ /**
2832
+ * The Azure resource Id of the default data collection endpoint for this workspace.
2833
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2834
+ */
2835
+ readonly dataCollectionEndpointResourceId?: string;
2836
+ }
2837
+
2535
2838
  /** An Itsm receiver. */
2536
2839
  export declare interface ItsmReceiver {
2537
2840
  /** The name of the Itsm receiver. Names must be unique across all receivers within an action group. */
@@ -2546,14 +2849,30 @@ export declare interface ItsmReceiver {
2546
2849
  region: string;
2547
2850
  }
2548
2851
 
2549
- /** Known values of {@link AccessMode} that the service accepts. */
2550
- export declare enum KnownAccessMode {
2551
- /** Open */
2552
- Open = "Open",
2852
+ /**
2853
+ * Defines values for Kind. \
2854
+ * {@link KnownKind} can be used interchangeably with Kind,
2855
+ * this enum contains the known values that the service supports.
2856
+ * ### Known values supported by the service
2857
+ * **LogAlert** \
2858
+ * **LogToMetric**
2859
+ */
2860
+ export declare type Kind = string;
2861
+
2862
+ /** Known values of {@link AccessMode} that the service accepts. */
2863
+ export declare enum KnownAccessMode {
2864
+ /** Open */
2865
+ Open = "Open",
2553
2866
  /** PrivateOnly */
2554
2867
  PrivateOnly = "PrivateOnly"
2555
2868
  }
2556
2869
 
2870
+ /** Known values of {@link ActionType} that the service accepts. */
2871
+ export declare enum KnownActionType {
2872
+ /** Internal */
2873
+ Internal = "Internal"
2874
+ }
2875
+
2557
2876
  /** Known values of {@link AggregationTypeEnum} that the service accepts. */
2558
2877
  export declare enum KnownAggregationTypeEnum {
2559
2878
  /** Average */
@@ -2571,15 +2890,15 @@ export declare enum KnownAggregationTypeEnum {
2571
2890
  /** Known values of {@link AlertSeverity} that the service accepts. */
2572
2891
  export declare enum KnownAlertSeverity {
2573
2892
  /** Zero */
2574
- Zero = "0",
2893
+ Zero = 0,
2575
2894
  /** One */
2576
- One = "1",
2895
+ One = 1,
2577
2896
  /** Two */
2578
- Two = "2",
2897
+ Two = 2,
2579
2898
  /** Three */
2580
- Three = "3",
2899
+ Three = 3,
2581
2900
  /** Four */
2582
- Four = "4"
2901
+ Four = 4
2583
2902
  }
2584
2903
 
2585
2904
  /** Known values of {@link BaselineSensitivity} that the service accepts. */
@@ -2615,20 +2934,6 @@ export declare enum KnownCategoryType {
2615
2934
  */
2616
2935
  export declare type KnownColumnDefinitionType = string;
2617
2936
 
2618
- /** Known values of {@link ConditionalOperator} that the service accepts. */
2619
- export declare enum KnownConditionalOperator {
2620
- /** GreaterThanOrEqual */
2621
- GreaterThanOrEqual = "GreaterThanOrEqual",
2622
- /** LessThanOrEqual */
2623
- LessThanOrEqual = "LessThanOrEqual",
2624
- /** GreaterThan */
2625
- GreaterThan = "GreaterThan",
2626
- /** LessThan */
2627
- LessThan = "LessThan",
2628
- /** Equal */
2629
- Equal = "Equal"
2630
- }
2631
-
2632
2937
  /** Known values of {@link CreatedByType} that the service accepts. */
2633
2938
  export declare enum KnownCreatedByType {
2634
2939
  /** User */
@@ -2729,6 +3034,14 @@ export declare enum KnownDataStatus {
2729
3034
  NotPresent = "notPresent"
2730
3035
  }
2731
3036
 
3037
+ /** Known values of {@link DimensionOperator} that the service accepts. */
3038
+ export declare enum KnownDimensionOperator {
3039
+ /** Include */
3040
+ Include = "Include",
3041
+ /** Exclude */
3042
+ Exclude = "Exclude"
3043
+ }
3044
+
2732
3045
  /** Known values of {@link DynamicThresholdOperator} that the service accepts. */
2733
3046
  export declare enum KnownDynamicThresholdOperator {
2734
3047
  /** GreaterThan */
@@ -2749,14 +3062,6 @@ export declare enum KnownDynamicThresholdSensitivity {
2749
3062
  High = "High"
2750
3063
  }
2751
3064
 
2752
- /** Known values of {@link Enabled} that the service accepts. */
2753
- export declare enum KnownEnabled {
2754
- /** True */
2755
- True = "true",
2756
- /** False */
2757
- False = "false"
2758
- }
2759
-
2760
3065
  /**
2761
3066
  * Defines values for KnownExtensionDataSourceStreams. \
2762
3067
  * {@link KnownKnownExtensionDataSourceStreams} can be used interchangeably with KnownExtensionDataSourceStreams,
@@ -2770,6 +3075,14 @@ export declare enum KnownEnabled {
2770
3075
  */
2771
3076
  export declare type KnownExtensionDataSourceStreams = string;
2772
3077
 
3078
+ /** Known values of {@link Kind} that the service accepts. */
3079
+ export declare enum KnownKind {
3080
+ /** LogAlert */
3081
+ LogAlert = "LogAlert",
3082
+ /** LogToMetric */
3083
+ LogToMetric = "LogToMetric"
3084
+ }
3085
+
2773
3086
  /** Known values of {@link KnownColumnDefinitionType} that the service accepts. */
2774
3087
  export declare enum KnownKnownColumnDefinitionType {
2775
3088
  /** String */
@@ -3040,14 +3353,6 @@ export declare enum KnownMetricClass {
3040
3353
  Saturation = "Saturation"
3041
3354
  }
3042
3355
 
3043
- /** Known values of {@link MetricTriggerType} that the service accepts. */
3044
- export declare enum KnownMetricTriggerType {
3045
- /** Consecutive */
3046
- Consecutive = "Consecutive",
3047
- /** Total */
3048
- Total = "Total"
3049
- }
3050
-
3051
3356
  /** Known values of {@link MetricUnit} that the service accepts. */
3052
3357
  export declare enum KnownMetricUnit {
3053
3358
  /** Count */
@@ -3119,9 +3424,17 @@ export declare enum KnownOperator {
3119
3424
  /** LessThan */
3120
3425
  LessThan = "LessThan",
3121
3426
  /** LessThanOrEqual */
3122
- LessThanOrEqual = "LessThanOrEqual",
3123
- /** Include */
3124
- Include = "Include"
3427
+ LessThanOrEqual = "LessThanOrEqual"
3428
+ }
3429
+
3430
+ /** Known values of {@link Origin} that the service accepts. */
3431
+ export declare enum KnownOrigin {
3432
+ /** User */
3433
+ User = "user",
3434
+ /** System */
3435
+ System = "system",
3436
+ /** UserSystem */
3437
+ UserSystem = "user,system"
3125
3438
  }
3126
3439
 
3127
3440
  /**
@@ -3158,14 +3471,26 @@ export declare enum KnownPrivateEndpointServiceConnectionStatus {
3158
3471
 
3159
3472
  /** Known values of {@link ProvisioningState} that the service accepts. */
3160
3473
  export declare enum KnownProvisioningState {
3474
+ /** Creating */
3475
+ Creating = "Creating",
3161
3476
  /** Succeeded */
3162
3477
  Succeeded = "Succeeded",
3163
- /** Deploying */
3164
- Deploying = "Deploying",
3165
- /** Canceled */
3166
- Canceled = "Canceled",
3478
+ /** Deleting */
3479
+ Deleting = "Deleting",
3167
3480
  /** Failed */
3168
- Failed = "Failed"
3481
+ Failed = "Failed",
3482
+ /** Canceled */
3483
+ Canceled = "Canceled"
3484
+ }
3485
+
3486
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
3487
+ export declare enum KnownPublicNetworkAccess {
3488
+ /** Enabled */
3489
+ Enabled = "Enabled",
3490
+ /** Disabled */
3491
+ Disabled = "Disabled",
3492
+ /** SecuredByPerimeter */
3493
+ SecuredByPerimeter = "SecuredByPerimeter"
3169
3494
  }
3170
3495
 
3171
3496
  /**
@@ -3178,12 +3503,6 @@ export declare enum KnownProvisioningState {
3178
3503
  */
3179
3504
  export declare type KnownPublicNetworkAccessOptions = string;
3180
3505
 
3181
- /** Known values of {@link QueryType} that the service accepts. */
3182
- export declare enum KnownQueryType {
3183
- /** ResultCount */
3184
- ResultCount = "ResultCount"
3185
- }
3186
-
3187
3506
  /** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
3188
3507
  export declare enum KnownScaleRuleMetricDimensionOperationType {
3189
3508
  /** Equals */
@@ -3247,6 +3566,20 @@ export declare type KnownSyslogDataSourceLogLevels = string;
3247
3566
  */
3248
3567
  export declare type KnownSyslogDataSourceStreams = string;
3249
3568
 
3569
+ /** Known values of {@link TimeAggregation} that the service accepts. */
3570
+ export declare enum KnownTimeAggregation {
3571
+ /** Count */
3572
+ Count = "Count",
3573
+ /** Average */
3574
+ Average = "Average",
3575
+ /** Minimum */
3576
+ Minimum = "Minimum",
3577
+ /** Maximum */
3578
+ Maximum = "Maximum",
3579
+ /** Total */
3580
+ Total = "Total"
3581
+ }
3582
+
3250
3583
  /**
3251
3584
  * Defines values for KnownWindowsEventLogDataSourceStreams. \
3252
3585
  * {@link KnownKnownWindowsEventLogDataSourceStreams} can be used interchangeably with KnownWindowsEventLogDataSourceStreams,
@@ -3343,18 +3676,6 @@ export declare interface LogicAppReceiver {
3343
3676
  useCommonAlertSchema?: boolean;
3344
3677
  }
3345
3678
 
3346
- /** A log metrics trigger descriptor. */
3347
- export declare interface LogMetricTrigger {
3348
- /** Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. */
3349
- thresholdOperator?: ConditionalOperator;
3350
- /** The threshold of the metric trigger. */
3351
- threshold?: number;
3352
- /** Metric Trigger Type - 'Consecutive' or 'Total' */
3353
- metricTriggerType?: MetricTriggerType;
3354
- /** Evaluation of metric on a particular column */
3355
- metricColumn?: string;
3356
- }
3357
-
3358
3679
  /** Represents a collection of log profiles. */
3359
3680
  export declare interface LogProfileCollection {
3360
3681
  /** the values of the log profiles. */
@@ -3460,60 +3781,6 @@ export declare interface LogProfilesUpdateOptionalParams extends coreClient.Oper
3460
3781
  /** Contains response data for the update operation. */
3461
3782
  export declare type LogProfilesUpdateResponse = LogProfileResource;
3462
3783
 
3463
- /** The Log Search Rule resource. */
3464
- export declare interface LogSearchRuleResource extends ResourceAutoGenerated5 {
3465
- /**
3466
- * The api-version used when creating this alert rule
3467
- * NOTE: This property will not be serialized. It can only be populated by the server.
3468
- */
3469
- readonly createdWithApiVersion?: string;
3470
- /**
3471
- * True if alert rule is legacy Log Analytic rule
3472
- * NOTE: This property will not be serialized. It can only be populated by the server.
3473
- */
3474
- readonly isLegacyLogAnalyticsRule?: boolean;
3475
- /** The description of the Log Search rule. */
3476
- description?: string;
3477
- /** The display name of the alert rule */
3478
- displayName?: string;
3479
- /** The flag that indicates whether the alert should be automatically resolved or not. The default is false. */
3480
- autoMitigate?: boolean;
3481
- /** The flag which indicates whether the Log Search rule is enabled. Value should be true or false */
3482
- enabled?: Enabled;
3483
- /**
3484
- * Last time the rule was updated in IS08601 format.
3485
- * NOTE: This property will not be serialized. It can only be populated by the server.
3486
- */
3487
- readonly lastUpdatedTime?: Date;
3488
- /**
3489
- * Provisioning state of the scheduled query rule
3490
- * NOTE: This property will not be serialized. It can only be populated by the server.
3491
- */
3492
- readonly provisioningState?: ProvisioningState;
3493
- /** Data Source against which rule will Query Data */
3494
- source: Source;
3495
- /** Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction */
3496
- schedule?: Schedule;
3497
- /** Action needs to be taken on rule execution. */
3498
- action: ActionUnion;
3499
- }
3500
-
3501
- /** Represents a collection of Log Search rule resources. */
3502
- export declare interface LogSearchRuleResourceCollection {
3503
- /** The values for the Log Search Rule resources. */
3504
- value?: LogSearchRuleResource[];
3505
- }
3506
-
3507
- /** The log search rule resource for patch operations. */
3508
- export declare interface LogSearchRuleResourcePatch {
3509
- /** Resource tags */
3510
- tags?: {
3511
- [propertyName: string]: string;
3512
- };
3513
- /** The flag which indicates whether the Log Search rule is enabled. Value should be true or false */
3514
- enabled?: Enabled;
3515
- }
3516
-
3517
3784
  /** Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. */
3518
3785
  export declare interface LogSettings {
3519
3786
  /** Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. */
@@ -3535,14 +3802,6 @@ export declare interface LogsIngestionEndpointSpec {
3535
3802
  readonly endpoint?: string;
3536
3803
  }
3537
3804
 
3538
- /** Specify action need to be taken when rule type is converting log to metric */
3539
- export declare interface LogToMetricAction extends Action {
3540
- /** Polymorphic discriminator, which specifies the different types this object can be */
3541
- odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
3542
- /** Criteria of Metric */
3543
- criteria: Criteria[];
3544
- }
3545
-
3546
3805
  /** How the data that is collected should be combined over time. */
3547
3806
  export declare interface ManagementEventAggregationCondition {
3548
3807
  /** the condition operator. */
@@ -4010,14 +4269,18 @@ export declare interface MetricNamespacesListOptionalParams extends coreClient.O
4010
4269
  /** Contains response data for the list operation. */
4011
4270
  export declare type MetricNamespacesListResponse = MetricNamespaceCollection;
4012
4271
 
4013
- /** Interface representing a Metrics. */
4272
+ /** Information about metrics for the workspace */
4014
4273
  export declare interface Metrics {
4015
4274
  /**
4016
- * **Lists the metric values for a resource**.
4017
- * @param resourceUri The identifier of the resource.
4018
- * @param options The options parameters.
4275
+ * The Prometheus query endpoint for the workspace
4276
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4019
4277
  */
4020
- list(resourceUri: string, options?: MetricsListOptionalParams): Promise<MetricsListResponse>;
4278
+ readonly prometheusQueryEndpoint?: string;
4279
+ /**
4280
+ * An internal identifier for the metrics container. Only to be used by the system
4281
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4282
+ */
4283
+ readonly internalId?: string;
4021
4284
  }
4022
4285
 
4023
4286
  /** Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. */
@@ -4073,6 +4336,16 @@ export declare interface MetricsListOptionalParams extends coreClient.OperationO
4073
4336
  /** Contains response data for the list operation. */
4074
4337
  export declare type MetricsListResponse = Response_2;
4075
4338
 
4339
+ /** Interface representing a MetricsOperations. */
4340
+ export declare interface MetricsOperations {
4341
+ /**
4342
+ * **Lists the metric values for a resource**.
4343
+ * @param resourceUri The identifier of the resource.
4344
+ * @param options The options parameters.
4345
+ */
4346
+ list(resourceUri: string, options?: MetricsListOptionalParams): Promise<MetricsListResponse>;
4347
+ }
4348
+
4076
4349
  /** Defines values for MetricStatisticType. */
4077
4350
  export declare type MetricStatisticType = "Average" | "Min" | "Max" | "Sum" | "Count";
4078
4351
 
@@ -4104,16 +4377,6 @@ export declare interface MetricTrigger {
4104
4377
  dividePerInstance?: boolean;
4105
4378
  }
4106
4379
 
4107
- /**
4108
- * Defines values for MetricTriggerType. \
4109
- * {@link KnownMetricTriggerType} can be used interchangeably with MetricTriggerType,
4110
- * this enum contains the known values that the service supports.
4111
- * ### Known values supported by the service
4112
- * **Consecutive** \
4113
- * **Total**
4114
- */
4115
- export declare type MetricTriggerType = string;
4116
-
4117
4380
  /**
4118
4381
  * Defines values for MetricUnit. \
4119
4382
  * {@link KnownMetricUnit} can be used interchangeably with MetricUnit,
@@ -4174,7 +4437,7 @@ export declare class MonitorClient extends coreClient.ServiceClient {
4174
4437
  eventCategories: EventCategories;
4175
4438
  tenantActivityLogs: TenantActivityLogs;
4176
4439
  metricDefinitions: MetricDefinitions;
4177
- metrics: Metrics;
4440
+ metricsOperations: MetricsOperations;
4178
4441
  baselines: Baselines;
4179
4442
  metricAlerts: MetricAlerts;
4180
4443
  metricAlertsStatus: MetricAlertsStatus;
@@ -4190,6 +4453,8 @@ export declare class MonitorClient extends coreClient.ServiceClient {
4190
4453
  dataCollectionEndpoints: DataCollectionEndpoints;
4191
4454
  dataCollectionRuleAssociations: DataCollectionRuleAssociations;
4192
4455
  dataCollectionRules: DataCollectionRules;
4456
+ azureMonitorWorkspaces: AzureMonitorWorkspaces;
4457
+ monitorOperations: MonitorOperations;
4193
4458
  }
4194
4459
 
4195
4460
  /** Optional parameters. */
@@ -4200,6 +4465,29 @@ export declare interface MonitorClientOptionalParams extends coreClient.ServiceC
4200
4465
  endpoint?: string;
4201
4466
  }
4202
4467
 
4468
+ /** Interface representing a MonitorOperations. */
4469
+ export declare interface MonitorOperations {
4470
+ /**
4471
+ * Lists available Operations for this Resource Provider
4472
+ * @param options The options parameters.
4473
+ */
4474
+ list(options?: MonitorOperationsListOptionalParams): PagedAsyncIterableIterator<OperationAutoGenerated>;
4475
+ }
4476
+
4477
+ /** Optional parameters. */
4478
+ export declare interface MonitorOperationsListNextOptionalParams extends coreClient.OperationOptions {
4479
+ }
4480
+
4481
+ /** Contains response data for the listNext operation. */
4482
+ export declare type MonitorOperationsListNextResponse = OperationListResultAutoGenerated;
4483
+
4484
+ /** Optional parameters. */
4485
+ export declare interface MonitorOperationsListOptionalParams extends coreClient.OperationOptions {
4486
+ }
4487
+
4488
+ /** Contains response data for the list operation. */
4489
+ export declare type MonitorOperationsListResponse = OperationListResultAutoGenerated;
4490
+
4203
4491
  /** The types of conditions for a multi resource alert. */
4204
4492
  export declare interface MultiMetricCriteria {
4205
4493
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -4241,7 +4529,7 @@ export declare interface NetworkRuleSet {
4241
4529
 
4242
4530
  /** The request body which contain contact detail metadata */
4243
4531
  export declare interface NotificationRequestBody {
4244
- /** The name of the supported alert type. */
4532
+ /** The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget */
4245
4533
  alertType: string;
4246
4534
  /** The list of email receivers that are part of this action group. */
4247
4535
  emailReceivers?: EmailReceiver[];
@@ -4297,6 +4585,32 @@ export declare interface Operation {
4297
4585
  display?: OperationDisplay;
4298
4586
  }
4299
4587
 
4588
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
4589
+ export declare interface OperationAutoGenerated {
4590
+ /**
4591
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
4592
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4593
+ */
4594
+ readonly name?: string;
4595
+ /**
4596
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
4597
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4598
+ */
4599
+ readonly isDataAction?: boolean;
4600
+ /** Localized display information for this particular operation. */
4601
+ display?: OperationDisplayAutoGenerated;
4602
+ /**
4603
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
4604
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4605
+ */
4606
+ readonly origin?: Origin;
4607
+ /**
4608
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
4609
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4610
+ */
4611
+ readonly actionType?: ActionType;
4612
+ }
4613
+
4300
4614
  /** Display metadata associated with the operation. */
4301
4615
  export declare interface OperationDisplay {
4302
4616
  /** Service provider: Microsoft.Insights */
@@ -4307,6 +4621,30 @@ export declare interface OperationDisplay {
4307
4621
  operation?: string;
4308
4622
  }
4309
4623
 
4624
+ /** Localized display information for this particular operation. */
4625
+ export declare interface OperationDisplayAutoGenerated {
4626
+ /**
4627
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
4628
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4629
+ */
4630
+ readonly provider?: string;
4631
+ /**
4632
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
4633
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4634
+ */
4635
+ readonly resource?: string;
4636
+ /**
4637
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
4638
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4639
+ */
4640
+ readonly operation?: string;
4641
+ /**
4642
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
4643
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4644
+ */
4645
+ readonly description?: string;
4646
+ }
4647
+
4310
4648
  /** Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results. */
4311
4649
  export declare interface OperationListResult {
4312
4650
  /** List of operations supported by the Microsoft.Insights provider. */
@@ -4315,6 +4653,20 @@ export declare interface OperationListResult {
4315
4653
  nextLink?: string;
4316
4654
  }
4317
4655
 
4656
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
4657
+ export declare interface OperationListResultAutoGenerated {
4658
+ /**
4659
+ * List of operations supported by the resource provider
4660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4661
+ */
4662
+ readonly value?: OperationAutoGenerated[];
4663
+ /**
4664
+ * URL to get the next set of operation list results (if there are any).
4665
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4666
+ */
4667
+ readonly nextLink?: string;
4668
+ }
4669
+
4318
4670
  /** Interface representing a Operations. */
4319
4671
  export declare interface Operations {
4320
4672
  /**
@@ -4356,11 +4708,21 @@ export declare interface OperationStatus {
4356
4708
  * **GreaterThan** \
4357
4709
  * **GreaterThanOrEqual** \
4358
4710
  * **LessThan** \
4359
- * **LessThanOrEqual** \
4360
- * **Include**
4711
+ * **LessThanOrEqual**
4361
4712
  */
4362
4713
  export declare type Operator = string;
4363
4714
 
4715
+ /**
4716
+ * Defines values for Origin. \
4717
+ * {@link KnownOrigin} can be used interchangeably with Origin,
4718
+ * this enum contains the known values that the service supports.
4719
+ * ### Known values supported by the service
4720
+ * **user** \
4721
+ * **system** \
4722
+ * **user,system**
4723
+ */
4724
+ export declare type Origin = string;
4725
+
4364
4726
  /**
4365
4727
  * Definition of which performance counters will be collected and how they will be collected by this data collection rule.
4366
4728
  * Collected from both Windows and Linux machines where the counter is present.
@@ -4503,7 +4865,7 @@ export declare interface PrivateEndpointConnections {
4503
4865
  * @param parameters The Private Endpoint Connection resource.
4504
4866
  * @param options The options parameters.
4505
4867
  */
4506
- beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
4868
+ beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
4507
4869
  /**
4508
4870
  * Approve or reject a private endpoint connection with a given name.
4509
4871
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -4520,7 +4882,7 @@ export declare interface PrivateEndpointConnections {
4520
4882
  * @param privateEndpointConnectionName The name of the private endpoint connection.
4521
4883
  * @param options The options parameters.
4522
4884
  */
4523
- beginDelete(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
4885
+ beginDelete(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
4524
4886
  /**
4525
4887
  * Deletes a private endpoint connection with a given name.
4526
4888
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -4662,7 +5024,7 @@ export declare interface PrivateLinkScopedResources {
4662
5024
  * @param parameters A private link scoped resource
4663
5025
  * @param options The options parameters.
4664
5026
  */
4665
- beginCreateOrUpdate(resourceGroupName: string, scopeName: string, name: string, parameters: ScopedResource, options?: PrivateLinkScopedResourcesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateLinkScopedResourcesCreateOrUpdateResponse>, PrivateLinkScopedResourcesCreateOrUpdateResponse>>;
5027
+ beginCreateOrUpdate(resourceGroupName: string, scopeName: string, name: string, parameters: ScopedResource, options?: PrivateLinkScopedResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateLinkScopedResourcesCreateOrUpdateResponse>, PrivateLinkScopedResourcesCreateOrUpdateResponse>>;
4666
5028
  /**
4667
5029
  * Approve or reject a private endpoint connection with a given name.
4668
5030
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -4679,7 +5041,7 @@ export declare interface PrivateLinkScopedResources {
4679
5041
  * @param name The name of the scoped resource object.
4680
5042
  * @param options The options parameters.
4681
5043
  */
4682
- beginDelete(resourceGroupName: string, scopeName: string, name: string, options?: PrivateLinkScopedResourcesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
5044
+ beginDelete(resourceGroupName: string, scopeName: string, name: string, options?: PrivateLinkScopedResourcesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
4683
5045
  /**
4684
5046
  * Deletes a private endpoint connection with a given name.
4685
5047
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -4767,7 +5129,7 @@ export declare interface PrivateLinkScopes {
4767
5129
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
4768
5130
  * @param options The options parameters.
4769
5131
  */
4770
- beginDelete(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
5132
+ beginDelete(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
4771
5133
  /**
4772
5134
  * Deletes a Azure Monitor PrivateLinkScope.
4773
5135
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -4874,10 +5236,11 @@ export declare interface PrivateLinkServiceConnectionState {
4874
5236
  * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
4875
5237
  * this enum contains the known values that the service supports.
4876
5238
  * ### Known values supported by the service
5239
+ * **Creating** \
4877
5240
  * **Succeeded** \
4878
- * **Deploying** \
4879
- * **Canceled** \
4880
- * **Failed**
5241
+ * **Deleting** \
5242
+ * **Failed** \
5243
+ * **Canceled**
4881
5244
  */
4882
5245
  export declare type ProvisioningState = string;
4883
5246
 
@@ -4905,13 +5268,15 @@ export declare interface ProxyResourceAutoGenerated extends ResourceAutoGenerate
4905
5268
  }
4906
5269
 
4907
5270
  /**
4908
- * Defines values for QueryType. \
4909
- * {@link KnownQueryType} can be used interchangeably with QueryType,
5271
+ * Defines values for PublicNetworkAccess. \
5272
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
4910
5273
  * this enum contains the known values that the service supports.
4911
5274
  * ### Known values supported by the service
4912
- * **ResultCount**
5275
+ * **Enabled** \
5276
+ * **Disabled** \
5277
+ * **SecuredByPerimeter**
4913
5278
  */
4914
- export declare type QueryType = string;
5279
+ export declare type PublicNetworkAccess = string;
4915
5280
 
4916
5281
  /** Defines values for ReceiverStatus. */
4917
5282
  export declare type ReceiverStatus = "NotSpecified" | "Enabled" | "Disabled";
@@ -5063,39 +5428,28 @@ export declare interface ResourceAutoGenerated4 {
5063
5428
  };
5064
5429
  }
5065
5430
 
5066
- /** An azure resource object */
5431
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
5067
5432
  export declare interface ResourceAutoGenerated5 {
5068
5433
  /**
5069
- * Azure resource Id
5434
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
5070
5435
  * NOTE: This property will not be serialized. It can only be populated by the server.
5071
5436
  */
5072
5437
  readonly id?: string;
5073
5438
  /**
5074
- * Azure resource name
5439
+ * The name of the resource
5075
5440
  * NOTE: This property will not be serialized. It can only be populated by the server.
5076
5441
  */
5077
5442
  readonly name?: string;
5078
5443
  /**
5079
- * Azure resource type
5444
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
5080
5445
  * NOTE: This property will not be serialized. It can only be populated by the server.
5081
5446
  */
5082
5447
  readonly type?: string;
5083
- /** Resource location */
5084
- location: string;
5085
- /** Resource tags */
5086
- tags?: {
5087
- [propertyName: string]: string;
5088
- };
5089
5448
  /**
5090
- * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
5091
- * NOTE: This property will not be serialized. It can only be populated by the server.
5092
- */
5093
- readonly kind?: string;
5094
- /**
5095
- * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
5449
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
5096
5450
  * NOTE: This property will not be serialized. It can only be populated by the server.
5097
5451
  */
5098
- readonly etag?: string;
5452
+ readonly systemData?: SystemData;
5099
5453
  }
5100
5454
 
5101
5455
  /** Definition of ARM tracked top level resource properties for update operation. */
@@ -5222,6 +5576,14 @@ export declare interface RuleMetricDataSource extends RuleDataSource {
5222
5576
  metricName?: string;
5223
5577
  }
5224
5578
 
5579
+ /** TBD. Relevant only for rules of the kind LogAlert. */
5580
+ export declare interface RuleResolveConfiguration {
5581
+ /** The flag that indicates whether or not to auto resolve a fired alert. */
5582
+ autoResolved?: boolean;
5583
+ /** The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format. */
5584
+ timeToResolve?: string;
5585
+ }
5586
+
5225
5587
  /** Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case. */
5226
5588
  export declare interface RuleWebhookAction extends RuleAction {
5227
5589
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -5290,52 +5652,208 @@ export declare type ScaleRuleMetricDimensionOperationType = string;
5290
5652
  /** Defines values for ScaleType. */
5291
5653
  export declare type ScaleType = "ChangeCount" | "PercentChangeCount" | "ExactCount" | "ServiceAllowedNextValue";
5292
5654
 
5293
- /** Defines how often to run the search and the time interval. */
5294
- export declare interface Schedule {
5295
- /** frequency (in minutes) at which rule condition should be evaluated. */
5296
- frequencyInMinutes: number;
5297
- /** Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes). */
5298
- timeWindowInMinutes: number;
5655
+ /** The rule criteria that defines the conditions of the scheduled query rule. */
5656
+ export declare interface ScheduledQueryRuleCriteria {
5657
+ /** A list of conditions to evaluate against the specified scopes */
5658
+ allOf?: Condition[];
5659
+ }
5660
+
5661
+ /** The scheduled query rule resource. */
5662
+ export declare interface ScheduledQueryRuleResource {
5663
+ /**
5664
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
5665
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5666
+ */
5667
+ readonly id?: string;
5668
+ /**
5669
+ * The name of the resource
5670
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5671
+ */
5672
+ readonly name?: string;
5673
+ /**
5674
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
5675
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5676
+ */
5677
+ readonly type?: string;
5678
+ /** The identity of the resource. */
5679
+ identity?: Identity;
5680
+ /** Resource tags. */
5681
+ tags?: {
5682
+ [propertyName: string]: string;
5683
+ };
5684
+ /** The geo-location where the resource lives */
5685
+ location: string;
5686
+ /** Indicates the type of scheduled query rule. The default is LogAlert. */
5687
+ kind?: Kind;
5688
+ /**
5689
+ * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
5690
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5691
+ */
5692
+ readonly etag?: string;
5693
+ /**
5694
+ * SystemData of ScheduledQueryRule.
5695
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5696
+ */
5697
+ readonly systemData?: SystemData;
5698
+ /**
5699
+ * The api-version used when creating this alert rule
5700
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5701
+ */
5702
+ readonly createdWithApiVersion?: string;
5703
+ /**
5704
+ * True if alert rule is legacy Log Analytic rule
5705
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5706
+ */
5707
+ readonly isLegacyLogAnalyticsRule?: boolean;
5708
+ /** The description of the scheduled query rule. */
5709
+ description?: string;
5710
+ /** The display name of the alert rule */
5711
+ displayName?: string;
5712
+ /** Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert. */
5713
+ severity?: AlertSeverity;
5714
+ /** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
5715
+ enabled?: boolean;
5716
+ /** This determines if traffic is allowed over public network. By default it is enabled. */
5717
+ publicNetworkAccess?: PublicNetworkAccess;
5718
+ /** The list of resource id's that this scheduled query rule is scoped to. */
5719
+ scopes?: string[];
5720
+ /** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
5721
+ evaluationFrequency?: string;
5722
+ /** The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert. */
5723
+ windowSize?: string;
5724
+ /** If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. */
5725
+ overrideQueryTimeRange?: string;
5726
+ /** List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert */
5727
+ targetResourceTypes?: string[];
5728
+ /** The rule criteria that defines the conditions of the scheduled query rule. */
5729
+ criteria?: ScheduledQueryRuleCriteria;
5730
+ /** Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert. */
5731
+ muteActionsDuration?: string;
5732
+ /** Actions to invoke when the alert fires. */
5733
+ actions?: Actions;
5734
+ /**
5735
+ * The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
5736
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5737
+ */
5738
+ readonly isWorkspaceAlertsStorageConfigured?: boolean;
5739
+ /** The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert. */
5740
+ checkWorkspaceAlertsStorageConfigured?: boolean;
5741
+ /** The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert. */
5742
+ skipQueryValidation?: boolean;
5743
+ /** The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert. */
5744
+ autoMitigate?: boolean;
5745
+ /** Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert. */
5746
+ ruleResolveConfiguration?: RuleResolveConfiguration;
5747
+ }
5748
+
5749
+ /** Represents a collection of scheduled query rule resources. */
5750
+ export declare interface ScheduledQueryRuleResourceCollection {
5751
+ /** The values for the scheduled query rule resources. */
5752
+ value?: ScheduledQueryRuleResource[];
5753
+ /**
5754
+ * Provides the link to retrieve the next set of elements.
5755
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5756
+ */
5757
+ readonly nextLink?: string;
5758
+ }
5759
+
5760
+ /** The scheduled query rule resource for patch operations. */
5761
+ export declare interface ScheduledQueryRuleResourcePatch {
5762
+ /** The identity of the resource. */
5763
+ identity?: Identity;
5764
+ /** Resource tags */
5765
+ tags?: {
5766
+ [propertyName: string]: string;
5767
+ };
5768
+ /**
5769
+ * The api-version used when creating this alert rule
5770
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5771
+ */
5772
+ readonly createdWithApiVersion?: string;
5773
+ /**
5774
+ * True if alert rule is legacy Log Analytic rule
5775
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5776
+ */
5777
+ readonly isLegacyLogAnalyticsRule?: boolean;
5778
+ /** The description of the scheduled query rule. */
5779
+ description?: string;
5780
+ /** The display name of the alert rule */
5781
+ displayName?: string;
5782
+ /** Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert. */
5783
+ severity?: AlertSeverity;
5784
+ /** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
5785
+ enabled?: boolean;
5786
+ /** This determines if traffic is allowed over public network. By default it is enabled. */
5787
+ publicNetworkAccess?: PublicNetworkAccess;
5788
+ /** The list of resource id's that this scheduled query rule is scoped to. */
5789
+ scopes?: string[];
5790
+ /** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
5791
+ evaluationFrequency?: string;
5792
+ /** The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert. */
5793
+ windowSize?: string;
5794
+ /** If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. */
5795
+ overrideQueryTimeRange?: string;
5796
+ /** List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert */
5797
+ targetResourceTypes?: string[];
5798
+ /** The rule criteria that defines the conditions of the scheduled query rule. */
5799
+ criteria?: ScheduledQueryRuleCriteria;
5800
+ /** Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert. */
5801
+ muteActionsDuration?: string;
5802
+ /** Actions to invoke when the alert fires. */
5803
+ actions?: Actions;
5804
+ /**
5805
+ * The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
5806
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5807
+ */
5808
+ readonly isWorkspaceAlertsStorageConfigured?: boolean;
5809
+ /** The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert. */
5810
+ checkWorkspaceAlertsStorageConfigured?: boolean;
5811
+ /** The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert. */
5812
+ skipQueryValidation?: boolean;
5813
+ /** The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert. */
5814
+ autoMitigate?: boolean;
5815
+ /** Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert. */
5816
+ ruleResolveConfiguration?: RuleResolveConfiguration;
5299
5817
  }
5300
5818
 
5301
5819
  /** Interface representing a ScheduledQueryRules. */
5302
5820
  export declare interface ScheduledQueryRules {
5303
5821
  /**
5304
- * List the Log Search rules within a subscription group.
5822
+ * Retrieve a scheduled query rule definitions in a subscription.
5305
5823
  * @param options The options parameters.
5306
5824
  */
5307
- listBySubscription(options?: ScheduledQueryRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LogSearchRuleResource>;
5825
+ listBySubscription(options?: ScheduledQueryRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ScheduledQueryRuleResource>;
5308
5826
  /**
5309
- * List the Log Search rules within a resource group.
5827
+ * Retrieve scheduled query rule definitions in a resource group.
5310
5828
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
5311
5829
  * @param options The options parameters.
5312
5830
  */
5313
- listByResourceGroup(resourceGroupName: string, options?: ScheduledQueryRulesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LogSearchRuleResource>;
5831
+ listByResourceGroup(resourceGroupName: string, options?: ScheduledQueryRulesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ScheduledQueryRuleResource>;
5314
5832
  /**
5315
- * Creates or updates an log search rule.
5833
+ * Retrieve an scheduled query rule definition.
5316
5834
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
5317
5835
  * @param ruleName The name of the rule.
5318
- * @param parameters The parameters of the rule to create or update.
5319
5836
  * @param options The options parameters.
5320
5837
  */
5321
- createOrUpdate(resourceGroupName: string, ruleName: string, parameters: LogSearchRuleResource, options?: ScheduledQueryRulesCreateOrUpdateOptionalParams): Promise<ScheduledQueryRulesCreateOrUpdateResponse>;
5838
+ get(resourceGroupName: string, ruleName: string, options?: ScheduledQueryRulesGetOptionalParams): Promise<ScheduledQueryRulesGetResponse>;
5322
5839
  /**
5323
- * Gets an Log Search rule
5840
+ * Creates or updates a scheduled query rule.
5324
5841
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
5325
5842
  * @param ruleName The name of the rule.
5843
+ * @param parameters The parameters of the rule to create or update.
5326
5844
  * @param options The options parameters.
5327
5845
  */
5328
- get(resourceGroupName: string, ruleName: string, options?: ScheduledQueryRulesGetOptionalParams): Promise<ScheduledQueryRulesGetResponse>;
5846
+ createOrUpdate(resourceGroupName: string, ruleName: string, parameters: ScheduledQueryRuleResource, options?: ScheduledQueryRulesCreateOrUpdateOptionalParams): Promise<ScheduledQueryRulesCreateOrUpdateResponse>;
5329
5847
  /**
5330
- * Update log search Rule.
5848
+ * Update a scheduled query rule.
5331
5849
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
5332
5850
  * @param ruleName The name of the rule.
5333
5851
  * @param parameters The parameters of the rule to update.
5334
5852
  * @param options The options parameters.
5335
5853
  */
5336
- update(resourceGroupName: string, ruleName: string, parameters: LogSearchRuleResourcePatch, options?: ScheduledQueryRulesUpdateOptionalParams): Promise<ScheduledQueryRulesUpdateResponse>;
5854
+ update(resourceGroupName: string, ruleName: string, parameters: ScheduledQueryRuleResourcePatch, options?: ScheduledQueryRulesUpdateOptionalParams): Promise<ScheduledQueryRulesUpdateResponse>;
5337
5855
  /**
5338
- * Deletes a Log Search rule
5856
+ * Deletes a scheduled query rule.
5339
5857
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
5340
5858
  * @param ruleName The name of the rule.
5341
5859
  * @param options The options parameters.
@@ -5348,7 +5866,7 @@ export declare interface ScheduledQueryRulesCreateOrUpdateOptionalParams extends
5348
5866
  }
5349
5867
 
5350
5868
  /** Contains response data for the createOrUpdate operation. */
5351
- export declare type ScheduledQueryRulesCreateOrUpdateResponse = LogSearchRuleResource;
5869
+ export declare type ScheduledQueryRulesCreateOrUpdateResponse = ScheduledQueryRuleResource;
5352
5870
 
5353
5871
  /** Optional parameters. */
5354
5872
  export declare interface ScheduledQueryRulesDeleteOptionalParams extends coreClient.OperationOptions {
@@ -5359,32 +5877,42 @@ export declare interface ScheduledQueryRulesGetOptionalParams extends coreClient
5359
5877
  }
5360
5878
 
5361
5879
  /** Contains response data for the get operation. */
5362
- export declare type ScheduledQueryRulesGetResponse = LogSearchRuleResource;
5880
+ export declare type ScheduledQueryRulesGetResponse = ScheduledQueryRuleResource;
5881
+
5882
+ /** Optional parameters. */
5883
+ export declare interface ScheduledQueryRulesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
5884
+ }
5885
+
5886
+ /** Contains response data for the listByResourceGroupNext operation. */
5887
+ export declare type ScheduledQueryRulesListByResourceGroupNextResponse = ScheduledQueryRuleResourceCollection;
5363
5888
 
5364
5889
  /** Optional parameters. */
5365
5890
  export declare interface ScheduledQueryRulesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
5366
- /** The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx */
5367
- filter?: string;
5368
5891
  }
5369
5892
 
5370
5893
  /** Contains response data for the listByResourceGroup operation. */
5371
- export declare type ScheduledQueryRulesListByResourceGroupResponse = LogSearchRuleResourceCollection;
5894
+ export declare type ScheduledQueryRulesListByResourceGroupResponse = ScheduledQueryRuleResourceCollection;
5895
+
5896
+ /** Optional parameters. */
5897
+ export declare interface ScheduledQueryRulesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
5898
+ }
5899
+
5900
+ /** Contains response data for the listBySubscriptionNext operation. */
5901
+ export declare type ScheduledQueryRulesListBySubscriptionNextResponse = ScheduledQueryRuleResourceCollection;
5372
5902
 
5373
5903
  /** Optional parameters. */
5374
5904
  export declare interface ScheduledQueryRulesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
5375
- /** The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx */
5376
- filter?: string;
5377
5905
  }
5378
5906
 
5379
5907
  /** Contains response data for the listBySubscription operation. */
5380
- export declare type ScheduledQueryRulesListBySubscriptionResponse = LogSearchRuleResourceCollection;
5908
+ export declare type ScheduledQueryRulesListBySubscriptionResponse = ScheduledQueryRuleResourceCollection;
5381
5909
 
5382
5910
  /** Optional parameters. */
5383
5911
  export declare interface ScheduledQueryRulesUpdateOptionalParams extends coreClient.OperationOptions {
5384
5912
  }
5385
5913
 
5386
5914
  /** Contains response data for the update operation. */
5387
- export declare type ScheduledQueryRulesUpdateResponse = LogSearchRuleResource;
5915
+ export declare type ScheduledQueryRulesUpdateResponse = ScheduledQueryRuleResource;
5388
5916
 
5389
5917
  /** A private link scoped resource */
5390
5918
  export declare interface ScopedResource extends ProxyResourceAutoGenerated {
@@ -5469,18 +5997,6 @@ export declare interface SmsReceiver {
5469
5997
  readonly status?: ReceiverStatus;
5470
5998
  }
5471
5999
 
5472
- /** Specifies the log search query. */
5473
- export declare interface Source {
5474
- /** Log search query. Required for action type - AlertingAction */
5475
- query?: string;
5476
- /** List of Resource referred into query */
5477
- authorizedResources?: string[];
5478
- /** The resource uri over which log search query is to be run. */
5479
- dataSourceId: string;
5480
- /** Set value to 'ResultCount' . */
5481
- queryType?: QueryType;
5482
- }
5483
-
5484
6000
  /** Declaration of a custom stream. */
5485
6001
  export declare interface StreamDeclaration {
5486
6002
  /** List of columns used by data in this stream. */
@@ -5546,10 +6062,6 @@ export declare interface TenantActivityLogs {
5546
6062
 
5547
6063
  /** Optional parameters. */
5548
6064
  export declare interface TenantActivityLogsListNextOptionalParams extends coreClient.OperationOptions {
5549
- /** Used to fetch events with only the given properties.<br>The **$select** argument is a comma separated list of property names to be returned. Possible values are: *authorization*, *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*, *operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*, *status*, *submissionTimestamp*, *subStatus*, *subscriptionId* */
5550
- select?: string;
5551
- /** Reduces the set of data collected. <br>The **$filter** is very restricted and allows only the following patterns.<br>- List events for a resource group: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceGroupName eq '<ResourceGroupName>'.<br>- List events for resource: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceUri eq '<ResourceURI>'.<br>- List events for a subscription: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation'.<br>- List events for a resource provider: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceProvider eq '<ResourceProviderName>'.<br>- List events for a correlation Id: api-version=2014-04-01&$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and eventChannels eq 'Admin, Operation' and correlationId eq '<CorrelationID>'.<br>**NOTE**: No other syntax is allowed. */
5552
- filter?: string;
5553
6065
  }
5554
6066
 
5555
6067
  /** Contains response data for the listNext operation. */
@@ -5594,6 +6106,19 @@ export declare interface ThresholdRuleCondition extends RuleCondition {
5594
6106
  timeAggregation?: TimeAggregationOperator;
5595
6107
  }
5596
6108
 
6109
+ /**
6110
+ * Defines values for TimeAggregation. \
6111
+ * {@link KnownTimeAggregation} can be used interchangeably with TimeAggregation,
6112
+ * this enum contains the known values that the service supports.
6113
+ * ### Known values supported by the service
6114
+ * **Count** \
6115
+ * **Average** \
6116
+ * **Minimum** \
6117
+ * **Maximum** \
6118
+ * **Total**
6119
+ */
6120
+ export declare type TimeAggregation = string;
6121
+
5597
6122
  /** Defines values for TimeAggregationOperator. */
5598
6123
  export declare type TimeAggregationOperator = "Average" | "Minimum" | "Maximum" | "Total" | "Last";
5599
6124
 
@@ -5642,14 +6167,28 @@ export declare interface TrackedResource extends ResourceAutoGenerated3 {
5642
6167
  location: string;
5643
6168
  }
5644
6169
 
5645
- /** The condition that results in the Log Search rule. */
5646
- export declare interface TriggerCondition {
5647
- /** Evaluation operation for rule - 'GreaterThan' or 'LessThan. */
5648
- thresholdOperator: ConditionalOperator;
5649
- /** Result or count threshold based on which rule should be triggered. */
5650
- threshold: number;
5651
- /** Trigger condition for metric query rule */
5652
- metricTrigger?: LogMetricTrigger;
6170
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
6171
+ export declare interface TrackedResourceAutoGenerated extends ResourceAutoGenerated5 {
6172
+ /** Resource tags. */
6173
+ tags?: {
6174
+ [propertyName: string]: string;
6175
+ };
6176
+ /** The geo-location where the resource lives */
6177
+ location: string;
6178
+ }
6179
+
6180
+ /** User assigned identity properties. */
6181
+ export declare interface UserIdentityProperties {
6182
+ /**
6183
+ * The principal id of user assigned identity.
6184
+ * NOTE: This property will not be serialized. It can only be populated by the server.
6185
+ */
6186
+ readonly principalId?: string;
6187
+ /**
6188
+ * The client id of user assigned identity.
6189
+ * NOTE: This property will not be serialized. It can only be populated by the server.
6190
+ */
6191
+ readonly clientId?: string;
5653
6192
  }
5654
6193
 
5655
6194
  /** Interface representing a VMInsights. */