@azure/arm-monitor 8.0.0-alpha.20240312.1 → 8.0.0-alpha.20240416.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/CHANGELOG.md +362 -1
  2. package/LICENSE +1 -1
  3. package/dist/index.js +11127 -9050
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js +26 -26
  8. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
  9. package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js +25 -25
  10. package/dist-esm/samples-dev/actionGroupsDeleteSample.js +1 -1
  11. package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js +1 -1
  12. package/dist-esm/samples-dev/actionGroupsGetSample.js +1 -1
  13. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js +1 -1
  14. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
  15. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js +2 -2
  16. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js.map +1 -1
  17. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js +2 -2
  18. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js.map +1 -1
  19. package/dist-esm/samples-dev/actionGroupsUpdateSample.js +2 -2
  20. package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js +21 -21
  21. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js +1 -1
  22. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js.map +1 -1
  23. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js +1 -1
  24. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js.map +1 -1
  25. package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js +1 -1
  26. package/dist-esm/samples-dev/activityLogsListSample.js +3 -3
  27. package/dist-esm/samples-dev/activityLogsListSample.js.map +1 -1
  28. package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js +1 -1
  29. package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js.map +1 -1
  30. package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +3 -3
  31. package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js +1 -1
  32. package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js.map +1 -1
  33. package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js +1 -1
  34. package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js.map +1 -1
  35. package/dist-esm/samples-dev/alertRulesUpdateSample.js +4 -4
  36. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +23 -23
  37. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +1 -1
  38. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js.map +1 -1
  39. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +1 -1
  40. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
  41. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +24 -24
  42. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
  43. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js +7 -7
  44. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js.map +1 -1
  45. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js +6 -6
  46. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js.map +1 -1
  47. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js +5 -5
  48. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js.map +1 -1
  49. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js +6 -6
  50. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js.map +1 -1
  51. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js +6 -6
  52. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js.map +1 -1
  53. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js +8 -10
  54. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js.map +1 -1
  55. package/dist-esm/samples-dev/baselinesListSample.js +3 -5
  56. package/dist-esm/samples-dev/baselinesListSample.js.map +1 -1
  57. package/dist-esm/samples-dev/createNotificationsAtTenantActionGroupResourceLevelSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/createNotificationsAtTenantActionGroupResourceLevelSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/createNotificationsAtTenantActionGroupResourceLevelSample.js +87 -0
  60. package/dist-esm/samples-dev/createNotificationsAtTenantActionGroupResourceLevelSample.js.map +1 -0
  61. package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js +3 -3
  62. package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js.map +1 -1
  63. package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js +1 -1
  64. package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js +1 -1
  65. package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js +2 -2
  66. package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js.map +1 -1
  67. package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js +2 -2
  68. package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js.map +1 -1
  69. package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js +2 -2
  70. package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js.map +1 -1
  71. package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js +4 -6
  72. package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js.map +1 -1
  73. package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js +2 -4
  74. package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js.map +1 -1
  75. package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js +2 -4
  76. package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js.map +1 -1
  77. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js +2 -2
  78. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js.map +1 -1
  79. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js +3 -5
  80. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js.map +1 -1
  81. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js +2 -2
  82. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js.map +1 -1
  83. package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js +21 -21
  84. package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js.map +1 -1
  85. package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js +1 -1
  86. package/dist-esm/samples-dev/dataCollectionRulesGetSample.js +1 -1
  87. package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js +2 -2
  88. package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js.map +1 -1
  89. package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js +2 -2
  90. package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js.map +1 -1
  91. package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js +2 -2
  92. package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js.map +1 -1
  93. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +1 -3
  94. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js.map +1 -1
  95. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +2 -4
  96. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
  97. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +12 -16
  98. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
  99. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +1 -3
  100. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js.map +1 -1
  101. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +2 -6
  102. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
  103. package/dist-esm/samples-dev/diagnosticSettingsListSample.js +4 -8
  104. package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
  105. package/dist-esm/samples-dev/eventCategoriesListSample.js +2 -4
  106. package/dist-esm/samples-dev/eventCategoriesListSample.js.map +1 -1
  107. package/dist-esm/samples-dev/getTestNotificationsAtTenantActionGroupResourceLevelSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/getTestNotificationsAtTenantActionGroupResourceLevelSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/{actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js → getTestNotificationsAtTenantActionGroupResourceLevelSample.js} +9 -9
  110. package/dist-esm/samples-dev/getTestNotificationsAtTenantActionGroupResourceLevelSample.js.map +1 -0
  111. package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js +1 -1
  112. package/dist-esm/samples-dev/logProfilesListSample.js +1 -1
  113. package/dist-esm/samples-dev/logProfilesListSample.js.map +1 -1
  114. package/dist-esm/samples-dev/logProfilesUpdateSample.js +1 -1
  115. package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js +55 -55
  116. package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js +1 -1
  117. package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js.map +1 -1
  118. package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js +1 -1
  119. package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js.map +1 -1
  120. package/dist-esm/samples-dev/metricAlertsUpdateSample.js +7 -7
  121. package/dist-esm/samples-dev/metricDefinitionsListAtSubscriptionScopeSample.d.ts +2 -0
  122. package/dist-esm/samples-dev/metricDefinitionsListAtSubscriptionScopeSample.d.ts.map +1 -0
  123. package/dist-esm/samples-dev/metricDefinitionsListAtSubscriptionScopeSample.js +58 -0
  124. package/dist-esm/samples-dev/metricDefinitionsListAtSubscriptionScopeSample.js.map +1 -0
  125. package/dist-esm/samples-dev/metricDefinitionsListSample.js +10 -16
  126. package/dist-esm/samples-dev/metricDefinitionsListSample.js.map +1 -1
  127. package/dist-esm/samples-dev/metricNamespacesListSample.js +4 -6
  128. package/dist-esm/samples-dev/metricNamespacesListSample.js.map +1 -1
  129. package/dist-esm/samples-dev/metricsListAtSubscriptionScopePostSample.d.ts +2 -0
  130. package/dist-esm/samples-dev/metricsListAtSubscriptionScopePostSample.d.ts.map +1 -0
  131. package/dist-esm/samples-dev/metricsListAtSubscriptionScopePostSample.js +120 -0
  132. package/dist-esm/samples-dev/metricsListAtSubscriptionScopePostSample.js.map +1 -0
  133. package/dist-esm/samples-dev/metricsListAtSubscriptionScopeSample.d.ts +2 -0
  134. package/dist-esm/samples-dev/metricsListAtSubscriptionScopeSample.d.ts.map +1 -0
  135. package/dist-esm/samples-dev/metricsListAtSubscriptionScopeSample.js +88 -0
  136. package/dist-esm/samples-dev/metricsListAtSubscriptionScopeSample.js.map +1 -0
  137. package/dist-esm/samples-dev/metricsListSample.js +28 -32
  138. package/dist-esm/samples-dev/metricsListSample.js.map +1 -1
  139. package/dist-esm/samples-dev/monitorOperationsListSample.js +3 -5
  140. package/dist-esm/samples-dev/monitorOperationsListSample.js.map +1 -1
  141. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +3 -3
  142. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  143. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +1 -1
  144. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js.map +1 -1
  145. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +1 -1
  146. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js.map +1 -1
  147. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +5 -5
  148. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
  149. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +1 -1
  150. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js.map +1 -1
  151. package/dist-esm/samples-dev/privateLinkScopesListSample.js +1 -1
  152. package/dist-esm/samples-dev/privateLinkScopesListSample.js.map +1 -1
  153. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +1 -1
  154. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +42 -30
  155. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -1
  156. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +1 -1
  157. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +1 -1
  158. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +2 -2
  159. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -1
  160. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +2 -2
  161. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -1
  162. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +2 -2
  163. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -1
  164. package/dist-esm/samples-dev/tenantActionGroupsCreateOrUpdateSample.d.ts +2 -0
  165. package/dist-esm/samples-dev/tenantActionGroupsCreateOrUpdateSample.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/tenantActionGroupsCreateOrUpdateSample.js +90 -0
  167. package/dist-esm/samples-dev/tenantActionGroupsCreateOrUpdateSample.js.map +1 -0
  168. package/dist-esm/samples-dev/tenantActionGroupsDeleteSample.d.ts +2 -0
  169. package/dist-esm/samples-dev/tenantActionGroupsDeleteSample.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/{actionGroupsGetTestNotificationsSample.js → tenantActionGroupsDeleteSample.js} +11 -11
  171. package/dist-esm/samples-dev/tenantActionGroupsDeleteSample.js.map +1 -0
  172. package/dist-esm/samples-dev/tenantActionGroupsGetSample.d.ts +2 -0
  173. package/dist-esm/samples-dev/tenantActionGroupsGetSample.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/tenantActionGroupsGetSample.js +38 -0
  175. package/dist-esm/samples-dev/tenantActionGroupsGetSample.js.map +1 -0
  176. package/dist-esm/samples-dev/tenantActionGroupsListByManagementGroupIdSample.d.ts +2 -0
  177. package/dist-esm/samples-dev/tenantActionGroupsListByManagementGroupIdSample.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/tenantActionGroupsListByManagementGroupIdSample.js +53 -0
  179. package/dist-esm/samples-dev/tenantActionGroupsListByManagementGroupIdSample.js.map +1 -0
  180. package/dist-esm/samples-dev/tenantActionGroupsUpdateSample.d.ts +2 -0
  181. package/dist-esm/samples-dev/tenantActionGroupsUpdateSample.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/tenantActionGroupsUpdateSample.js +42 -0
  183. package/dist-esm/samples-dev/tenantActionGroupsUpdateSample.js.map +1 -0
  184. package/dist-esm/samples-dev/tenantActivityLogsListSample.js +9 -17
  185. package/dist-esm/samples-dev/tenantActivityLogsListSample.js.map +1 -1
  186. package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js +5 -15
  187. package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js.map +1 -1
  188. package/dist-esm/src/lroImpl.js +1 -1
  189. package/dist-esm/src/models/index.d.ts +1902 -1116
  190. package/dist-esm/src/models/index.d.ts.map +1 -1
  191. package/dist-esm/src/models/index.js +189 -113
  192. package/dist-esm/src/models/index.js.map +1 -1
  193. package/dist-esm/src/models/mappers.d.ts +95 -53
  194. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  195. package/dist-esm/src/models/mappers.js +5055 -3582
  196. package/dist-esm/src/models/mappers.js.map +1 -1
  197. package/dist-esm/src/models/parameters.d.ts +48 -35
  198. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  199. package/dist-esm/src/models/parameters.js +441 -335
  200. package/dist-esm/src/models/parameters.js.map +1 -1
  201. package/dist-esm/src/monitorClient.d.ts +38 -8
  202. package/dist-esm/src/monitorClient.d.ts.map +1 -1
  203. package/dist-esm/src/monitorClient.js +170 -23
  204. package/dist-esm/src/monitorClient.js.map +1 -1
  205. package/dist-esm/src/operations/actionGroups.d.ts +1 -40
  206. package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
  207. package/dist-esm/src/operations/actionGroups.js +70 -296
  208. package/dist-esm/src/operations/actionGroups.js.map +1 -1
  209. package/dist-esm/src/operations/activityLogAlerts.js +54 -54
  210. package/dist-esm/src/operations/activityLogAlerts.js.map +1 -1
  211. package/dist-esm/src/operations/activityLogs.js +13 -13
  212. package/dist-esm/src/operations/activityLogs.js.map +1 -1
  213. package/dist-esm/src/operations/alertRuleIncidents.js +14 -14
  214. package/dist-esm/src/operations/alertRuleIncidents.js.map +1 -1
  215. package/dist-esm/src/operations/alertRules.js +42 -42
  216. package/dist-esm/src/operations/alertRules.js.map +1 -1
  217. package/dist-esm/src/operations/autoscaleSettings.js +53 -53
  218. package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
  219. package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts +25 -16
  220. package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts.map +1 -1
  221. package/dist-esm/src/operations/azureMonitorWorkspaces.js +132 -72
  222. package/dist-esm/src/operations/azureMonitorWorkspaces.js.map +1 -1
  223. package/dist-esm/src/operations/baselines.js +11 -11
  224. package/dist-esm/src/operations/baselines.js.map +1 -1
  225. package/dist-esm/src/operations/dataCollectionEndpoints.js +54 -54
  226. package/dist-esm/src/operations/dataCollectionEndpoints.js.map +1 -1
  227. package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts.map +1 -1
  228. package/dist-esm/src/operations/dataCollectionRuleAssociations.js +58 -58
  229. package/dist-esm/src/operations/dataCollectionRuleAssociations.js.map +1 -1
  230. package/dist-esm/src/operations/dataCollectionRules.js +54 -54
  231. package/dist-esm/src/operations/dataCollectionRules.js.map +1 -1
  232. package/dist-esm/src/operations/diagnosticSettings.js +20 -20
  233. package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
  234. package/dist-esm/src/operations/diagnosticSettingsCategory.js +11 -11
  235. package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
  236. package/dist-esm/src/operations/eventCategories.d.ts +2 -2
  237. package/dist-esm/src/operations/eventCategories.d.ts.map +1 -1
  238. package/dist-esm/src/operations/eventCategories.js +6 -6
  239. package/dist-esm/src/operations/index.d.ts +6 -5
  240. package/dist-esm/src/operations/index.d.ts.map +1 -1
  241. package/dist-esm/src/operations/index.js +6 -5
  242. package/dist-esm/src/operations/index.js.map +1 -1
  243. package/dist-esm/src/operations/logProfiles.js +25 -25
  244. package/dist-esm/src/operations/logProfiles.js.map +1 -1
  245. package/dist-esm/src/operations/metricAlerts.js +40 -40
  246. package/dist-esm/src/operations/metricAlerts.js.map +1 -1
  247. package/dist-esm/src/operations/metricAlertsStatus.js +14 -14
  248. package/dist-esm/src/operations/metricAlertsStatus.js.map +1 -1
  249. package/dist-esm/src/operations/metricDefinitions.d.ts +15 -1
  250. package/dist-esm/src/operations/metricDefinitions.d.ts.map +1 -1
  251. package/dist-esm/src/operations/metricDefinitions.js +86 -9
  252. package/dist-esm/src/operations/metricDefinitions.js.map +1 -1
  253. package/dist-esm/src/operations/metricNamespaces.js +6 -6
  254. package/dist-esm/src/operations/metricNamespaces.js.map +1 -1
  255. package/dist-esm/src/operations/metricsOperations.d.ts +14 -1
  256. package/dist-esm/src/operations/metricsOperations.d.ts.map +1 -1
  257. package/dist-esm/src/operations/metricsOperations.js +94 -10
  258. package/dist-esm/src/operations/metricsOperations.js.map +1 -1
  259. package/dist-esm/src/operations/monitorOperations.d.ts +2 -2
  260. package/dist-esm/src/operations/monitorOperations.d.ts.map +1 -1
  261. package/dist-esm/src/operations/monitorOperations.js +10 -10
  262. package/dist-esm/src/operations/monitorOperations.js.map +1 -1
  263. package/dist-esm/src/operations/operations.js +4 -4
  264. package/dist-esm/src/operations/operations.js.map +1 -1
  265. package/dist-esm/src/operations/predictiveMetric.js +11 -11
  266. package/dist-esm/src/operations/predictiveMetric.js.map +1 -1
  267. package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
  268. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  269. package/dist-esm/src/operations/privateEndpointConnections.js +41 -41
  270. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  271. package/dist-esm/src/operations/privateLinkResources.js +14 -14
  272. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  273. package/dist-esm/src/operations/privateLinkScopeOperationStatus.d.ts.map +1 -1
  274. package/dist-esm/src/operations/privateLinkScopeOperationStatus.js +7 -7
  275. package/dist-esm/src/operations/privateLinkScopeOperationStatus.js.map +1 -1
  276. package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
  277. package/dist-esm/src/operations/privateLinkScopedResources.js +46 -46
  278. package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
  279. package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -1
  280. package/dist-esm/src/operations/privateLinkScopes.js +58 -58
  281. package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
  282. package/dist-esm/src/operations/scheduledQueryRules.js +52 -52
  283. package/dist-esm/src/operations/scheduledQueryRules.js.map +1 -1
  284. package/dist-esm/src/operations/tenantActionGroups.d.ts +65 -0
  285. package/dist-esm/src/operations/tenantActionGroups.d.ts.map +1 -0
  286. package/dist-esm/src/operations/tenantActionGroups.js +249 -0
  287. package/dist-esm/src/operations/tenantActionGroups.js.map +1 -0
  288. package/dist-esm/src/operations/tenantActivityLogs.js +11 -11
  289. package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
  290. package/dist-esm/src/operations/vMInsights.js +5 -5
  291. package/dist-esm/src/operations/vMInsights.js.map +1 -1
  292. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +1 -40
  293. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
  294. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts +23 -14
  295. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts.map +1 -1
  296. package/dist-esm/src/operationsInterfaces/eventCategories.d.ts +2 -2
  297. package/dist-esm/src/operationsInterfaces/eventCategories.d.ts.map +1 -1
  298. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -5
  299. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  300. package/dist-esm/src/operationsInterfaces/index.js +6 -5
  301. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  302. package/dist-esm/src/operationsInterfaces/metricDefinitions.d.ts +7 -1
  303. package/dist-esm/src/operationsInterfaces/metricDefinitions.d.ts.map +1 -1
  304. package/dist-esm/src/operationsInterfaces/metricsOperations.d.ts +14 -1
  305. package/dist-esm/src/operationsInterfaces/metricsOperations.d.ts.map +1 -1
  306. package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts +2 -2
  307. package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts.map +1 -1
  308. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  309. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  310. package/dist-esm/src/operationsInterfaces/tenantActionGroups.d.ts +48 -0
  311. package/dist-esm/src/operationsInterfaces/tenantActionGroups.d.ts.map +1 -0
  312. package/dist-esm/src/operationsInterfaces/tenantActionGroups.js +9 -0
  313. package/dist-esm/src/operationsInterfaces/tenantActionGroups.js.map +1 -0
  314. package/dist-esm/test/monitor_examples.js +44 -21
  315. package/dist-esm/test/monitor_examples.js.map +1 -1
  316. package/package.json +11 -11
  317. package/review/arm-monitor.api.md +601 -128
  318. package/src/lroImpl.ts +3 -3
  319. package/src/models/index.ts +2098 -1196
  320. package/src/models/mappers.ts +5495 -3902
  321. package/src/models/parameters.ts +471 -348
  322. package/src/monitorClient.ts +268 -41
  323. package/src/operations/actionGroups.ts +159 -498
  324. package/src/operations/activityLogAlerts.ts +86 -92
  325. package/src/operations/activityLogs.ts +22 -23
  326. package/src/operations/alertRuleIncidents.ts +27 -29
  327. package/src/operations/alertRules.ts +69 -75
  328. package/src/operations/autoscaleSettings.ts +85 -91
  329. package/src/operations/azureMonitorWorkspaces.ts +195 -109
  330. package/src/operations/baselines.ts +17 -17
  331. package/src/operations/dataCollectionEndpoints.ts +86 -92
  332. package/src/operations/dataCollectionRuleAssociations.ts +127 -141
  333. package/src/operations/dataCollectionRules.ts +86 -92
  334. package/src/operations/diagnosticSettings.ts +32 -32
  335. package/src/operations/diagnosticSettingsCategory.ts +23 -24
  336. package/src/operations/eventCategories.ts +15 -15
  337. package/src/operations/index.ts +6 -5
  338. package/src/operations/logProfiles.ts +43 -48
  339. package/src/operations/metricAlerts.ts +67 -73
  340. package/src/operations/metricAlertsStatus.ts +21 -23
  341. package/src/operations/metricDefinitions.ts +102 -12
  342. package/src/operations/metricNamespaces.ts +12 -12
  343. package/src/operations/metricsOperations.ts +118 -13
  344. package/src/operations/monitorOperations.ts +21 -21
  345. package/src/operations/operations.ts +6 -6
  346. package/src/operations/predictiveMetric.ts +15 -16
  347. package/src/operations/privateEndpointConnections.ts +75 -80
  348. package/src/operations/privateLinkResources.ts +21 -23
  349. package/src/operations/privateLinkScopeOperationStatus.ts +13 -13
  350. package/src/operations/privateLinkScopedResources.ts +87 -92
  351. package/src/operations/privateLinkScopes.ts +97 -104
  352. package/src/operations/scheduledQueryRules.ts +84 -90
  353. package/src/operations/tenantActionGroups.ts +330 -0
  354. package/src/operations/tenantActivityLogs.ts +18 -18
  355. package/src/operations/vMInsights.ts +9 -10
  356. package/src/operationsInterfaces/actionGroups.ts +13 -97
  357. package/src/operationsInterfaces/activityLogAlerts.ts +7 -7
  358. package/src/operationsInterfaces/activityLogs.ts +1 -1
  359. package/src/operationsInterfaces/alertRuleIncidents.ts +3 -3
  360. package/src/operationsInterfaces/alertRules.ts +7 -7
  361. package/src/operationsInterfaces/autoscaleSettings.ts +7 -7
  362. package/src/operationsInterfaces/azureMonitorWorkspaces.ts +40 -21
  363. package/src/operationsInterfaces/baselines.ts +1 -1
  364. package/src/operationsInterfaces/dataCollectionEndpoints.ts +7 -7
  365. package/src/operationsInterfaces/dataCollectionRuleAssociations.ts +7 -7
  366. package/src/operationsInterfaces/dataCollectionRules.ts +7 -7
  367. package/src/operationsInterfaces/diagnosticSettings.ts +5 -5
  368. package/src/operationsInterfaces/diagnosticSettingsCategory.ts +3 -3
  369. package/src/operationsInterfaces/eventCategories.ts +4 -4
  370. package/src/operationsInterfaces/index.ts +6 -5
  371. package/src/operationsInterfaces/logProfiles.ts +6 -6
  372. package/src/operationsInterfaces/metricAlerts.ts +7 -7
  373. package/src/operationsInterfaces/metricAlertsStatus.ts +3 -3
  374. package/src/operationsInterfaces/metricDefinitions.ts +13 -2
  375. package/src/operationsInterfaces/metricNamespaces.ts +1 -1
  376. package/src/operationsInterfaces/metricsOperations.ts +28 -2
  377. package/src/operationsInterfaces/monitorOperations.ts +3 -6
  378. package/src/operationsInterfaces/operations.ts +1 -1
  379. package/src/operationsInterfaces/predictiveMetric.ts +2 -2
  380. package/src/operationsInterfaces/privateEndpointConnections.ts +10 -10
  381. package/src/operationsInterfaces/privateLinkResources.ts +3 -3
  382. package/src/operationsInterfaces/privateLinkScopeOperationStatus.ts +2 -2
  383. package/src/operationsInterfaces/privateLinkScopedResources.ts +7 -7
  384. package/src/operationsInterfaces/privateLinkScopes.ts +8 -8
  385. package/src/operationsInterfaces/scheduledQueryRules.ts +7 -7
  386. package/src/operationsInterfaces/tenantActionGroups.ts +94 -0
  387. package/src/operationsInterfaces/tenantActivityLogs.ts +1 -1
  388. package/src/operationsInterfaces/vMInsights.ts +2 -2
  389. package/src/pagingHelper.ts +1 -1
  390. package/types/arm-monitor.d.ts +1258 -345
  391. package/types/tsdoc-metadata.json +1 -1
  392. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts +0 -2
  393. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts.map +0 -1
  394. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js +0 -145
  395. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js.map +0 -1
  396. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts +0 -2
  397. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts.map +0 -1
  398. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js.map +0 -1
  399. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.d.ts +0 -2
  400. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.d.ts.map +0 -1
  401. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js.map +0 -1
  402. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.d.ts +0 -2
  403. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.d.ts.map +0 -1
  404. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js +0 -144
  405. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js.map +0 -1
@@ -50,6 +50,22 @@ export declare interface ActionDetail {
50
50
  detail?: string;
51
51
  }
52
52
 
53
+ /** The action detail */
54
+ export declare interface ActionDetailAutoGenerated {
55
+ /** The mechanism type */
56
+ mechanismType?: string;
57
+ /** The name of the action */
58
+ name?: string;
59
+ /** The status of the action */
60
+ status?: string;
61
+ /** The substatus of the action */
62
+ subState?: string;
63
+ /** The send time */
64
+ sendTime?: string;
65
+ /** The detail of the friendly error message */
66
+ message?: string;
67
+ }
68
+
53
69
  /** A pointer to an Azure Action Group. */
54
70
  export declare interface ActionGroup {
55
71
  /** The resource ID of the Action Group. This cannot be null or empty. */
@@ -78,6 +94,16 @@ export declare interface ActionGroupPatchBody {
78
94
  enabled?: boolean;
79
95
  }
80
96
 
97
+ /** A tenant action group object for the body of patch operations. */
98
+ export declare interface ActionGroupPatchBodyAutoGenerated {
99
+ /** Resource tags */
100
+ tags?: {
101
+ [propertyName: string]: string;
102
+ };
103
+ /** Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its actions will be activated. */
104
+ enabled?: boolean;
105
+ }
106
+
81
107
  /** An action group resource. */
82
108
  export declare interface ActionGroupResource extends AzureResource {
83
109
  /** The short name of the action group. This will be used in SMS messages. */
@@ -151,32 +177,6 @@ export declare interface ActionGroups {
151
177
  * @param options The options parameters.
152
178
  */
153
179
  update(resourceGroupName: string, actionGroupName: string, actionGroupPatch: ActionGroupPatchBody, options?: ActionGroupsUpdateOptionalParams): Promise<ActionGroupsUpdateResponse>;
154
- /**
155
- * Send test notifications to a set of provided receivers
156
- * @param notificationRequest The notification request body which includes the contact details
157
- * @param options The options parameters.
158
- */
159
- beginPostTestNotifications(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsPostTestNotificationsResponse>, ActionGroupsPostTestNotificationsResponse>>;
160
- /**
161
- * Send test notifications to a set of provided receivers
162
- * @param notificationRequest The notification request body which includes the contact details
163
- * @param options The options parameters.
164
- */
165
- beginPostTestNotificationsAndWait(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<ActionGroupsPostTestNotificationsResponse>;
166
- /**
167
- * Send test notifications to a set of provided receivers
168
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
169
- * @param notificationRequest The notification request body which includes the contact details
170
- * @param options The options parameters.
171
- */
172
- beginCreateNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>, ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>>;
173
- /**
174
- * Send test notifications to a set of provided receivers
175
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
176
- * @param notificationRequest The notification request body which includes the contact details
177
- * @param options The options parameters.
178
- */
179
- beginCreateNotificationsAtResourceGroupLevelAndWait(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>;
180
180
  /**
181
181
  * Send test notifications to a set of provided receivers
182
182
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -193,19 +193,6 @@ export declare interface ActionGroups {
193
193
  * @param options The options parameters.
194
194
  */
195
195
  beginCreateNotificationsAtActionGroupResourceLevelAndWait(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>;
196
- /**
197
- * Get the test notifications by the notification id
198
- * @param notificationId The notification id
199
- * @param options The options parameters.
200
- */
201
- getTestNotifications(notificationId: string, options?: ActionGroupsGetTestNotificationsOptionalParams): Promise<ActionGroupsGetTestNotificationsResponse>;
202
- /**
203
- * Get the test notifications by the notification id
204
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
205
- * @param notificationId The notification id
206
- * @param options The options parameters.
207
- */
208
- getTestNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationId: string, options?: ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams): Promise<ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse>;
209
196
  /**
210
197
  * Get the test notifications by the notification id
211
198
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -242,23 +229,6 @@ export declare interface ActionGroupsCreateNotificationsAtActionGroupResourceLev
242
229
  /** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
243
230
  export declare type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
244
231
 
245
- /** Defines headers for ActionGroups_createNotificationsAtResourceGroupLevel operation. */
246
- export declare interface ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders {
247
- /** The location header that has the polling uri. */
248
- location?: string;
249
- }
250
-
251
- /** Optional parameters. */
252
- export declare interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
253
- /** Delay to wait until next poll, in milliseconds. */
254
- updateIntervalInMs?: number;
255
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
256
- resumeFrom?: string;
257
- }
258
-
259
- /** Contains response data for the createNotificationsAtResourceGroupLevel operation. */
260
- export declare type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
261
-
262
232
  /** Optional parameters. */
263
233
  export declare interface ActionGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
264
234
  }
@@ -288,20 +258,6 @@ export declare interface ActionGroupsGetTestNotificationsAtActionGroupResourceLe
288
258
  /** Contains response data for the getTestNotificationsAtActionGroupResourceLevel operation. */
289
259
  export declare type ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
290
260
 
291
- /** Optional parameters. */
292
- export declare interface ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
293
- }
294
-
295
- /** Contains response data for the getTestNotificationsAtResourceGroupLevel operation. */
296
- export declare type ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
297
-
298
- /** Optional parameters. */
299
- export declare interface ActionGroupsGetTestNotificationsOptionalParams extends coreClient.OperationOptions {
300
- }
301
-
302
- /** Contains response data for the getTestNotifications operation. */
303
- export declare type ActionGroupsGetTestNotificationsResponse = TestNotificationDetailsResponse;
304
-
305
261
  /** Optional parameters. */
306
262
  export declare interface ActionGroupsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
307
263
  }
@@ -316,23 +272,6 @@ export declare interface ActionGroupsListBySubscriptionIdOptionalParams extends
316
272
  /** Contains response data for the listBySubscriptionId operation. */
317
273
  export declare type ActionGroupsListBySubscriptionIdResponse = ActionGroupList;
318
274
 
319
- /** Defines headers for ActionGroups_postTestNotifications operation. */
320
- export declare interface ActionGroupsPostTestNotificationsHeaders {
321
- /** The location header that has the polling uri. */
322
- location?: string;
323
- }
324
-
325
- /** Optional parameters. */
326
- export declare interface ActionGroupsPostTestNotificationsOptionalParams extends coreClient.OperationOptions {
327
- /** Delay to wait until next poll, in milliseconds. */
328
- updateIntervalInMs?: number;
329
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
330
- resumeFrom?: string;
331
- }
332
-
333
- /** Contains response data for the postTestNotifications operation. */
334
- export declare type ActionGroupsPostTestNotificationsResponse = TestNotificationDetailsResponse;
335
-
336
275
  /** Optional parameters. */
337
276
  export declare interface ActionGroupsUpdateOptionalParams extends coreClient.OperationOptions {
338
277
  }
@@ -354,6 +293,10 @@ export declare interface Actions {
354
293
  customProperties?: {
355
294
  [propertyName: string]: string;
356
295
  };
296
+ /** The properties of an action properties. */
297
+ actionProperties?: {
298
+ [propertyName: string]: string;
299
+ };
357
300
  }
358
301
 
359
302
  /**
@@ -622,7 +565,7 @@ export declare interface AlertRulePatchObject {
622
565
  }
623
566
 
624
567
  /** The alert rule resource. */
625
- export declare interface AlertRuleResource extends ResourceAutoGenerated {
568
+ export declare interface AlertRuleResource extends ResourceAutoGenerated3 {
626
569
  /** the name of the alert rule. */
627
570
  namePropertiesName: string;
628
571
  /** the description of the alert rule that will be included in the alert email. */
@@ -851,7 +794,7 @@ export declare interface AutoscaleProfile {
851
794
  }
852
795
 
853
796
  /** The autoscale setting resource. */
854
- export declare interface AutoscaleSettingResource extends Resource {
797
+ export declare interface AutoscaleSettingResource extends ResourceAutoGenerated2 {
855
798
  /** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
856
799
  profiles: AutoscaleProfile[];
857
800
  /** the collection of notifications. */
@@ -1004,6 +947,14 @@ export declare interface AzureAppPushReceiver {
1004
947
  emailAddress: string;
1005
948
  }
1006
949
 
950
+ /** The Azure mobile App push notification receiver. */
951
+ export declare interface AzureAppPushReceiverAutoGenerated {
952
+ /** The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group. */
953
+ name: string;
954
+ /** The email address registered for the Azure mobile app. */
955
+ emailAddress: string;
956
+ }
957
+
1007
958
  /** An azure function receiver. */
1008
959
  export declare interface AzureFunctionReceiver {
1009
960
  /** The name of the azure function receiver. Names must be unique across all receivers within an action group. */
@@ -1028,7 +979,7 @@ export declare interface AzureMonitorMetricsDestination {
1028
979
  }
1029
980
 
1030
981
  /** An Azure Monitor PrivateLinkScope definition. */
1031
- export declare interface AzureMonitorPrivateLinkScope extends TrackedResource {
982
+ export declare interface AzureMonitorPrivateLinkScope extends TrackedResourceAutoGenerated {
1032
983
  /**
1033
984
  * System data
1034
985
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1043,7 +994,7 @@ export declare interface AzureMonitorPrivateLinkScope extends TrackedResource {
1043
994
  * List of private endpoint connections.
1044
995
  * NOTE: This property will not be serialized. It can only be populated by the server.
1045
996
  */
1046
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
997
+ readonly privateEndpointConnections?: PrivateEndpointConnectionAutoGenerated[];
1047
998
  /** Access mode settings */
1048
999
  accessModeSettings: AccessModeSettings;
1049
1000
  }
@@ -1056,20 +1007,20 @@ export declare interface AzureMonitorPrivateLinkScopeListResult {
1056
1007
  nextLink?: string;
1057
1008
  }
1058
1009
 
1059
- /** Properties of an Azure Monitor workspace */
1010
+ /** Properties of an Azure Monitor Workspace */
1060
1011
  export declare interface AzureMonitorWorkspace {
1061
1012
  /**
1062
- * The immutable ID of the Azure Monitor workspace. This property is read-only.
1013
+ * The immutable Id of the Azure Monitor Workspace. This property is read-only.
1063
1014
  * NOTE: This property will not be serialized. It can only be populated by the server.
1064
1015
  */
1065
1016
  readonly accountId?: string;
1066
1017
  /**
1067
- * Information about metrics for the Azure Monitor workspace
1018
+ * Properties related to the metrics container in the Azure Monitor Workspace
1068
1019
  * NOTE: This property will not be serialized. It can only be populated by the server.
1069
1020
  */
1070
1021
  readonly metrics?: AzureMonitorWorkspaceMetrics;
1071
1022
  /**
1072
- * The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
1023
+ * The provisioning state of the Azure Monitor Workspace. Set to Succeeded if everything is healthy.
1073
1024
  * NOTE: This property will not be serialized. It can only be populated by the server.
1074
1025
  */
1075
1026
  readonly provisioningState?: ProvisioningState;
@@ -1078,35 +1029,45 @@ export declare interface AzureMonitorWorkspace {
1078
1029
  * NOTE: This property will not be serialized. It can only be populated by the server.
1079
1030
  */
1080
1031
  readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
1032
+ /**
1033
+ * List of private endpoint connections
1034
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1035
+ */
1036
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1037
+ /**
1038
+ * Gets or sets allow or disallow public network access to Azure Monitor Workspace
1039
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1040
+ */
1041
+ readonly publicNetworkAccess?: PublicNetworkAccess;
1081
1042
  }
1082
1043
 
1083
1044
  /** The Data Collection Rule and Endpoint used for ingestion by default. */
1084
1045
  export declare interface AzureMonitorWorkspaceDefaultIngestionSettings extends IngestionSettings {
1085
1046
  }
1086
1047
 
1087
- /** Information about metrics for the Azure Monitor workspace */
1048
+ /** Properties related to the metrics container in the Azure Monitor Workspace */
1088
1049
  export declare interface AzureMonitorWorkspaceMetrics extends Metrics {
1089
1050
  }
1090
1051
 
1091
1052
  /** An Azure Monitor Workspace definition */
1092
- export declare interface AzureMonitorWorkspaceResource extends TrackedResourceAutoGenerated {
1053
+ export declare interface AzureMonitorWorkspaceResource extends TrackedResource {
1093
1054
  /**
1094
1055
  * Resource entity tag (ETag)
1095
1056
  * NOTE: This property will not be serialized. It can only be populated by the server.
1096
1057
  */
1097
1058
  readonly etag?: string;
1098
1059
  /**
1099
- * The immutable ID of the Azure Monitor workspace. This property is read-only.
1060
+ * The immutable Id of the Azure Monitor Workspace. This property is read-only.
1100
1061
  * NOTE: This property will not be serialized. It can only be populated by the server.
1101
1062
  */
1102
1063
  readonly accountId?: string;
1103
1064
  /**
1104
- * Information about metrics for the Azure Monitor workspace
1065
+ * Properties related to the metrics container in the Azure Monitor Workspace
1105
1066
  * NOTE: This property will not be serialized. It can only be populated by the server.
1106
1067
  */
1107
1068
  readonly metrics?: AzureMonitorWorkspaceMetrics;
1108
1069
  /**
1109
- * The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
1070
+ * The provisioning state of the Azure Monitor Workspace. Set to Succeeded if everything is healthy.
1110
1071
  * NOTE: This property will not be serialized. It can only be populated by the server.
1111
1072
  */
1112
1073
  readonly provisioningState?: ProvisioningState;
@@ -1115,9 +1076,19 @@ export declare interface AzureMonitorWorkspaceResource extends TrackedResourceAu
1115
1076
  * NOTE: This property will not be serialized. It can only be populated by the server.
1116
1077
  */
1117
1078
  readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
1079
+ /**
1080
+ * List of private endpoint connections
1081
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1082
+ */
1083
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1084
+ /**
1085
+ * Gets or sets allow or disallow public network access to Azure Monitor Workspace
1086
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1087
+ */
1088
+ readonly publicNetworkAccess?: PublicNetworkAccess;
1118
1089
  }
1119
1090
 
1120
- /** Definition of ARM tracked top level resource properties for update operation */
1091
+ /** Definition of ARM tracked top level resource properties for the Update operation */
1121
1092
  export declare interface AzureMonitorWorkspaceResourceForUpdate {
1122
1093
  /** Resource tags */
1123
1094
  tags?: {
@@ -1140,50 +1111,58 @@ export declare interface AzureMonitorWorkspaceResourceProperties extends AzureMo
1140
1111
  /** Interface representing a AzureMonitorWorkspaces. */
1141
1112
  export declare interface AzureMonitorWorkspaces {
1142
1113
  /**
1143
- * Lists all workspaces in the specified resource group
1114
+ * Lists all Azure Monitor Workspaces in the specified resource group
1144
1115
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1145
1116
  * @param options The options parameters.
1146
1117
  */
1147
1118
  listByResourceGroup(resourceGroupName: string, options?: AzureMonitorWorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureMonitorWorkspaceResource>;
1148
1119
  /**
1149
- * Lists all workspaces in the specified subscription
1120
+ * Lists all Azure Monitor Workspaces in the specified subscription
1150
1121
  * @param options The options parameters.
1151
1122
  */
1152
1123
  listBySubscription(options?: AzureMonitorWorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureMonitorWorkspaceResource>;
1153
1124
  /**
1154
- * Returns the specific Azure Monitor workspace
1125
+ * Returns the specified Azure Monitor Workspace
1155
1126
  * @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
1127
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor Workspace. The name is case
1157
1128
  * insensitive
1158
1129
  * @param options The options parameters.
1159
1130
  */
1160
1131
  get(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesGetOptionalParams): Promise<AzureMonitorWorkspacesGetResponse>;
1161
1132
  /**
1162
- * Create or update a workspace
1133
+ * Creates or updates an Azure Monitor Workspace
1163
1134
  * @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
1135
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor Workspace. The name is case
1165
1136
  * insensitive
1166
- * @param azureMonitorWorkspaceProperties Properties that need to be specified to create a new
1167
- * workspace
1137
+ * @param azureMonitorWorkspaceProperties Properties that need to be specified to create a new Azure
1138
+ * Monitor Workspace
1168
1139
  * @param options The options parameters.
1169
1140
  */
1170
1141
  create(resourceGroupName: string, azureMonitorWorkspaceName: string, azureMonitorWorkspaceProperties: AzureMonitorWorkspaceResource, options?: AzureMonitorWorkspacesCreateOptionalParams): Promise<AzureMonitorWorkspacesCreateResponse>;
1171
1142
  /**
1172
- * Updates part of a workspace
1143
+ * Updates part of an Azure Monitor Workspace
1173
1144
  * @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
1145
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor Workspace. The name is case
1175
1146
  * insensitive
1176
1147
  * @param options The options parameters.
1177
1148
  */
1178
1149
  update(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesUpdateOptionalParams): Promise<AzureMonitorWorkspacesUpdateResponse>;
1179
1150
  /**
1180
- * Delete a workspace
1151
+ * Deletes an Azure Monitor Workspace
1152
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1153
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor Workspace. The name is case
1154
+ * insensitive
1155
+ * @param options The options parameters.
1156
+ */
1157
+ beginDelete(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AzureMonitorWorkspacesDeleteResponse>, AzureMonitorWorkspacesDeleteResponse>>;
1158
+ /**
1159
+ * Deletes an Azure Monitor Workspace
1181
1160
  * @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
1161
+ * @param azureMonitorWorkspaceName The name of the Azure Monitor Workspace. The name is case
1183
1162
  * insensitive
1184
1163
  * @param options The options parameters.
1185
1164
  */
1186
- delete(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesDeleteOptionalParams): Promise<void>;
1165
+ beginDeleteAndWait(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesDeleteOptionalParams): Promise<AzureMonitorWorkspacesDeleteResponse>;
1187
1166
  }
1188
1167
 
1189
1168
  /** Optional parameters. */
@@ -1193,10 +1172,23 @@ export declare interface AzureMonitorWorkspacesCreateOptionalParams extends core
1193
1172
  /** Contains response data for the create operation. */
1194
1173
  export declare type AzureMonitorWorkspacesCreateResponse = AzureMonitorWorkspaceResource;
1195
1174
 
1175
+ /** Defines headers for AzureMonitorWorkspaces_delete operation. */
1176
+ export declare interface AzureMonitorWorkspacesDeleteHeaders {
1177
+ azureAsyncOperation?: string;
1178
+ location?: string;
1179
+ }
1180
+
1196
1181
  /** Optional parameters. */
1197
1182
  export declare interface AzureMonitorWorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
1183
+ /** Delay to wait until next poll, in milliseconds. */
1184
+ updateIntervalInMs?: number;
1185
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1186
+ resumeFrom?: string;
1198
1187
  }
1199
1188
 
1189
+ /** Contains response data for the delete operation. */
1190
+ export declare type AzureMonitorWorkspacesDeleteResponse = AzureMonitorWorkspacesDeleteHeaders;
1191
+
1200
1192
  /** Optional parameters. */
1201
1193
  export declare interface AzureMonitorWorkspacesGetOptionalParams extends coreClient.OperationOptions {
1202
1194
  }
@@ -1283,7 +1275,7 @@ export declare interface AzureResourceAutoGenerated {
1283
1275
  * NOTE: This property will not be serialized. It can only be populated by the server.
1284
1276
  */
1285
1277
  readonly type?: string;
1286
- /** The location of the resource. Since Azure Activity Log Alerts is a global service, the location of the rules should always be 'global'. */
1278
+ /** The location of the resource. Azure Activity Log Alert rules are supported on Global, West Europe and North Europe regions. */
1287
1279
  location?: string;
1288
1280
  /** The tags of the resource. */
1289
1281
  tags?: {
@@ -1322,20 +1314,20 @@ export declare type BaselineSensitivity = string;
1322
1314
 
1323
1315
  /** Optional parameters. */
1324
1316
  export declare interface BaselinesListOptionalParams extends coreClient.OperationOptions {
1325
- /** The **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test) val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "** */
1326
- filter?: string;
1327
1317
  /** Metric namespace to query metric definitions for. */
1328
1318
  metricnamespace?: string;
1329
1319
  /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
1330
1320
  timespan?: string;
1331
- /** The interval (i.e. timegrain) of the query. */
1332
- interval?: string;
1333
1321
  /** The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'** */
1334
1322
  metricnames?: string;
1335
1323
  /** The list of aggregation types (comma separated) to retrieve. */
1336
1324
  aggregation?: string;
1325
+ /** The **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test) val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "** */
1326
+ filter?: string;
1337
1327
  /** Allows retrieving only metadata of the baseline. On data request all information is retrieved. */
1338
1328
  resultType?: ResultType;
1329
+ /** The interval (i.e. timegrain) of the query. */
1330
+ interval?: string;
1339
1331
  /** The list of sensitivities (comma separated) to retrieve. */
1340
1332
  sensitivities?: string;
1341
1333
  }
@@ -1426,6 +1418,17 @@ export declare interface Context {
1426
1418
  */
1427
1419
  export declare type CreatedByType = string;
1428
1420
 
1421
+ /** Optional parameters. */
1422
+ export declare interface CreateNotificationsAtTenantActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
1423
+ /** Delay to wait until next poll, in milliseconds. */
1424
+ updateIntervalInMs?: number;
1425
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1426
+ resumeFrom?: string;
1427
+ }
1428
+
1429
+ /** Contains response data for the createNotificationsAtTenantActionGroupResourceLevel operation. */
1430
+ export declare type CreateNotificationsAtTenantActionGroupResourceLevelResponse = TestNotificationDetailsResponseAutoGenerated;
1431
+
1429
1432
  /**
1430
1433
  * Defines values for CriterionType. \
1431
1434
  * {@link KnownCriterionType} can be used interchangeably with CriterionType,
@@ -1446,6 +1449,8 @@ export declare interface DataCollectionEndpoint {
1446
1449
  configurationAccess?: DataCollectionEndpointConfigurationAccess;
1447
1450
  /** The endpoint used by clients to ingest logs. */
1448
1451
  logsIngestion?: DataCollectionEndpointLogsIngestion;
1452
+ /** The endpoint used by clients to ingest metrics. */
1453
+ metricsIngestion?: DataCollectionEndpointMetricsIngestion;
1449
1454
  /** Network access control rules for the endpoints. */
1450
1455
  networkAcls?: DataCollectionEndpointNetworkAcls;
1451
1456
  /**
@@ -1453,16 +1458,43 @@ export declare interface DataCollectionEndpoint {
1453
1458
  * NOTE: This property will not be serialized. It can only be populated by the server.
1454
1459
  */
1455
1460
  readonly provisioningState?: KnownDataCollectionEndpointProvisioningState;
1461
+ /**
1462
+ * List of Azure Monitor Private Link Scope Resources to which this data collection endpoint resource is associated. This property is READ-ONLY.
1463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1464
+ */
1465
+ readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
1466
+ /**
1467
+ * Failover configuration on this endpoint. This property is READ-ONLY.
1468
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1469
+ */
1470
+ readonly failoverConfiguration?: DataCollectionEndpointFailoverConfiguration;
1471
+ /**
1472
+ * Metadata for the resource. This property is READ-ONLY.
1473
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1474
+ */
1475
+ readonly metadata?: DataCollectionEndpointMetadata;
1456
1476
  }
1457
1477
 
1458
1478
  /** The endpoint used by clients to access their configuration. */
1459
1479
  export declare interface DataCollectionEndpointConfigurationAccess extends ConfigurationAccessEndpointSpec {
1460
1480
  }
1461
1481
 
1482
+ /** Failover configuration on this endpoint. This property is READ-ONLY. */
1483
+ export declare interface DataCollectionEndpointFailoverConfiguration extends FailoverConfigurationSpec {
1484
+ }
1485
+
1462
1486
  /** The endpoint used by clients to ingest logs. */
1463
1487
  export declare interface DataCollectionEndpointLogsIngestion extends LogsIngestionEndpointSpec {
1464
1488
  }
1465
1489
 
1490
+ /** Metadata for the resource. This property is READ-ONLY. */
1491
+ export declare interface DataCollectionEndpointMetadata extends Metadata {
1492
+ }
1493
+
1494
+ /** The endpoint used by clients to ingest metrics. */
1495
+ export declare interface DataCollectionEndpointMetricsIngestion extends MetricsIngestionEndpointSpec {
1496
+ }
1497
+
1466
1498
  /** Network access control rules for the endpoints. */
1467
1499
  export declare interface DataCollectionEndpointNetworkAcls extends NetworkRuleSet {
1468
1500
  }
@@ -1477,6 +1509,8 @@ export declare interface DataCollectionEndpointResource {
1477
1509
  };
1478
1510
  /** The kind of the resource. */
1479
1511
  kind?: KnownDataCollectionEndpointResourceKind;
1512
+ /** Managed service identity of the resource. */
1513
+ identity?: DataCollectionEndpointResourceIdentity;
1480
1514
  /**
1481
1515
  * Fully qualified ID of the resource.
1482
1516
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1510,6 +1544,8 @@ export declare interface DataCollectionEndpointResource {
1510
1544
  configurationAccess?: DataCollectionEndpointConfigurationAccess;
1511
1545
  /** The endpoint used by clients to ingest logs. */
1512
1546
  logsIngestion?: DataCollectionEndpointLogsIngestion;
1547
+ /** The endpoint used by clients to ingest metrics. */
1548
+ metricsIngestion?: DataCollectionEndpointMetricsIngestion;
1513
1549
  /** Network access control rules for the endpoints. */
1514
1550
  networkAcls?: DataCollectionEndpointNetworkAcls;
1515
1551
  /**
@@ -1517,6 +1553,25 @@ export declare interface DataCollectionEndpointResource {
1517
1553
  * NOTE: This property will not be serialized. It can only be populated by the server.
1518
1554
  */
1519
1555
  readonly provisioningState?: KnownDataCollectionEndpointProvisioningState;
1556
+ /**
1557
+ * List of Azure Monitor Private Link Scope Resources to which this data collection endpoint resource is associated. This property is READ-ONLY.
1558
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1559
+ */
1560
+ readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
1561
+ /**
1562
+ * Failover configuration on this endpoint. This property is READ-ONLY.
1563
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1564
+ */
1565
+ readonly failoverConfiguration?: DataCollectionEndpointFailoverConfiguration;
1566
+ /**
1567
+ * Metadata for the resource. This property is READ-ONLY.
1568
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1569
+ */
1570
+ readonly metadata?: DataCollectionEndpointMetadata;
1571
+ }
1572
+
1573
+ /** Managed service identity of the resource. */
1574
+ export declare interface DataCollectionEndpointResourceIdentity extends ManagedServiceIdentity {
1520
1575
  }
1521
1576
 
1522
1577
  /** A pageable list of resources. */
@@ -1893,6 +1948,8 @@ export declare interface DataCollectionRuleResource {
1893
1948
  };
1894
1949
  /** The kind of the resource. */
1895
1950
  kind?: KnownDataCollectionRuleResourceKind;
1951
+ /** Managed service identity of the resource. */
1952
+ identity?: DataCollectionRuleResourceIdentity;
1896
1953
  /**
1897
1954
  * Fully qualified ID of the resource.
1898
1955
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1952,6 +2009,10 @@ export declare interface DataCollectionRuleResource {
1952
2009
  readonly provisioningState?: KnownDataCollectionRuleProvisioningState;
1953
2010
  }
1954
2011
 
2012
+ /** Managed service identity of the resource. */
2013
+ export declare interface DataCollectionRuleResourceIdentity extends ManagedServiceIdentity {
2014
+ }
2015
+
1955
2016
  /** A pageable list of resources. */
1956
2017
  export declare interface DataCollectionRuleResourceListResult {
1957
2018
  /** A list of resources. */
@@ -2084,6 +2145,17 @@ export declare interface DataFlow {
2084
2145
  transformKql?: string;
2085
2146
  /** The output stream of the transform. Only required if the transform changes data to a different stream. */
2086
2147
  outputStream?: string;
2148
+ /** The builtIn transform to transform stream data */
2149
+ builtInTransform?: string;
2150
+ }
2151
+
2152
+ export declare interface DataImportSources {
2153
+ /** Definition of Event Hub configuration. */
2154
+ eventHub?: DataImportSourcesEventHub;
2155
+ }
2156
+
2157
+ /** Definition of Event Hub configuration. */
2158
+ export declare interface DataImportSourcesEventHub extends EventHubDataSource {
2087
2159
  }
2088
2160
 
2089
2161
  /** Specification of data sources that will be collected. */
@@ -2100,6 +2172,18 @@ export declare interface DataSourcesSpec {
2100
2172
  logFiles?: LogFilesDataSource[];
2101
2173
  /** The list of IIS logs source configurations. */
2102
2174
  iisLogs?: IisLogsDataSource[];
2175
+ /** The list of Windows Firewall logs source configurations. */
2176
+ windowsFirewallLogs?: WindowsFirewallLogsDataSource[];
2177
+ /** The list of Prometheus forwarder data source configurations. */
2178
+ prometheusForwarder?: PrometheusForwarderDataSource[];
2179
+ /** The list of platform telemetry configurations */
2180
+ platformTelemetry?: PlatformTelemetryDataSource[];
2181
+ /** Specifications of pull based data sources */
2182
+ dataImports?: DataSourcesSpecDataImports;
2183
+ }
2184
+
2185
+ /** Specifications of pull based data sources */
2186
+ export declare interface DataSourcesSpecDataImports extends DataImportSources {
2103
2187
  }
2104
2188
 
2105
2189
  /**
@@ -2115,15 +2199,27 @@ export declare type DataStatus = string;
2115
2199
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
2116
2200
  export declare interface DefaultErrorResponse {
2117
2201
  /** The error object. */
2118
- error?: ErrorDetail;
2202
+ error?: ErrorDetailAutoGenerated;
2119
2203
  }
2120
2204
 
2121
2205
  /** Specification of destinations that can be used in data flows. */
2122
2206
  export declare interface DestinationsSpec {
2123
2207
  /** List of Log Analytics destinations. */
2124
2208
  logAnalytics?: LogAnalyticsDestination[];
2209
+ /** List of monitoring account destinations. */
2210
+ monitoringAccounts?: MonitoringAccountDestination[];
2125
2211
  /** Azure Monitor Metrics destination. */
2126
2212
  azureMonitorMetrics?: DestinationsSpecAzureMonitorMetrics;
2213
+ /** List of Event Hubs destinations. */
2214
+ eventHubs?: EventHubDestination[];
2215
+ /** List of Event Hubs Direct destinations. */
2216
+ eventHubsDirect?: EventHubDirectDestination[];
2217
+ /** List of Storage Blob Direct destinations. To be used only for sending data directly to store from the agent. */
2218
+ storageBlobsDirect?: StorageBlobDestination[];
2219
+ /** List of Storage Table Direct destinations. */
2220
+ storageTablesDirect?: StorageTableDestination[];
2221
+ /** List of storage accounts destinations. */
2222
+ storageAccounts?: StorageBlobDestination[];
2127
2223
  }
2128
2224
 
2129
2225
  /** Azure Monitor Metrics destination. */
@@ -2194,7 +2290,7 @@ export declare interface DiagnosticSettingsCategoryListOptionalParams extends co
2194
2290
  export declare type DiagnosticSettingsCategoryListResponse = DiagnosticSettingsCategoryResourceCollection;
2195
2291
 
2196
2292
  /** The diagnostic settings category resource. */
2197
- export declare interface DiagnosticSettingsCategoryResource extends ResourceAutoGenerated3 {
2293
+ export declare interface DiagnosticSettingsCategoryResource extends ResourceAutoGenerated5 {
2198
2294
  /**
2199
2295
  * The system metadata related to this resource.
2200
2296
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2238,7 +2334,7 @@ export declare interface DiagnosticSettingsListOptionalParams extends coreClient
2238
2334
  export declare type DiagnosticSettingsListResponse = DiagnosticSettingsResourceCollection;
2239
2335
 
2240
2336
  /** The diagnostic setting resource. */
2241
- export declare interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
2337
+ export declare interface DiagnosticSettingsResource extends ResourceAutoGenerated5 {
2242
2338
  /**
2243
2339
  * The system metadata related to this resource.
2244
2340
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2359,6 +2455,21 @@ export declare interface EmailReceiver {
2359
2455
  readonly status?: ReceiverStatus;
2360
2456
  }
2361
2457
 
2458
+ /** An email receiver. */
2459
+ export declare interface EmailReceiverAutoGenerated {
2460
+ /** The name of the email receiver. Names must be unique across all receivers within a tenant action group. */
2461
+ name: string;
2462
+ /** The email address of this receiver. */
2463
+ emailAddress: string;
2464
+ /** Indicates whether to use common alert schema. */
2465
+ useCommonAlertSchema?: boolean;
2466
+ /**
2467
+ * The receiver status of the e-mail.
2468
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2469
+ */
2470
+ readonly status?: ReceiverStatus;
2471
+ }
2472
+
2362
2473
  /** Describes a receiver that should be resubscribed. */
2363
2474
  export declare interface EnableRequest {
2364
2475
  /** The name of the receiver to resubscribe. */
@@ -2379,10 +2490,10 @@ export declare interface ErrorAdditionalInfo {
2379
2490
  readonly info?: Record<string, unknown>;
2380
2491
  }
2381
2492
 
2382
- /** Describes the format of Error response. */
2493
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
2383
2494
  export declare interface ErrorContract {
2384
- /** The error details. */
2385
- error?: ErrorResponseDetails;
2495
+ /** The error object. */
2496
+ error?: ErrorResponseAutoGenerated;
2386
2497
  }
2387
2498
 
2388
2499
  /** The error detail. */
@@ -2459,73 +2570,65 @@ export declare interface ErrorResponse {
2459
2570
  message?: string;
2460
2571
  }
2461
2572
 
2462
- /** The resource management error additional info. */
2463
- export declare interface ErrorResponseAdditionalInfo {
2573
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
2574
+ export declare interface ErrorResponseAutoGenerated {
2464
2575
  /**
2465
- * The additional info type.
2576
+ * The error code.
2466
2577
  * NOTE: This property will not be serialized. It can only be populated by the server.
2467
2578
  */
2468
- readonly type?: string;
2579
+ readonly code?: string;
2469
2580
  /**
2470
- * The additional info.
2581
+ * The error message.
2471
2582
  * NOTE: This property will not be serialized. It can only be populated by the server.
2472
2583
  */
2473
- readonly info?: Record<string, unknown>;
2474
- }
2475
-
2476
- /** The error response. */
2477
- export declare interface ErrorResponseAutoGenerated {
2584
+ readonly message?: string;
2478
2585
  /**
2479
- * The error code.
2586
+ * The error target.
2480
2587
  * NOTE: This property will not be serialized. It can only be populated by the server.
2481
2588
  */
2482
- readonly code?: string;
2589
+ readonly target?: string;
2483
2590
  /**
2484
- * The error message indicating why the operation failed.
2591
+ * The error details.
2485
2592
  * NOTE: This property will not be serialized. It can only be populated by the server.
2486
2593
  */
2487
- readonly message?: string;
2594
+ readonly details?: ErrorResponseAutoGenerated[];
2595
+ /**
2596
+ * The error additional info.
2597
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2598
+ */
2599
+ readonly additionalInfo?: ErrorAdditionalInfo[];
2488
2600
  }
2489
2601
 
2490
2602
  /** 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
2603
  export declare interface ErrorResponseAutoGenerated2 {
2492
2604
  /** The error object. */
2493
- error?: ErrorDetailAutoGenerated;
2605
+ error?: ErrorDetail;
2494
2606
  }
2495
2607
 
2496
2608
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
2497
- export declare interface ErrorResponseCommonV2 {
2609
+ export declare interface ErrorResponseAutoGenerated3 {
2498
2610
  /** The error object. */
2499
- error?: ErrorDetail;
2611
+ error?: ErrorDetailAutoGenerated;
2500
2612
  }
2501
2613
 
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 {
2614
+ /** The error response. */
2615
+ export declare interface ErrorResponseAutoGenerated4 {
2504
2616
  /**
2505
2617
  * The error code.
2506
2618
  * NOTE: This property will not be serialized. It can only be populated by the server.
2507
2619
  */
2508
2620
  readonly code?: string;
2509
2621
  /**
2510
- * The error message.
2622
+ * The error message indicating why the operation failed.
2511
2623
  * NOTE: This property will not be serialized. It can only be populated by the server.
2512
2624
  */
2513
2625
  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[];
2626
+ }
2627
+
2628
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
2629
+ export declare interface ErrorResponseCommonV2 {
2630
+ /** The error object. */
2631
+ error?: ErrorDetailAutoGenerated;
2529
2632
  }
2530
2633
 
2531
2634
  /** Interface representing a EventCategories. */
@@ -2535,7 +2638,7 @@ export declare interface EventCategories {
2535
2638
  * list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
2536
2639
  * @param options The options parameters.
2537
2640
  */
2538
- list(options?: EventCategoriesListOptionalParams): PagedAsyncIterableIterator<LocalizableString>;
2641
+ list(options?: EventCategoriesListOptionalParams): PagedAsyncIterableIterator<LocalizableStringAutoGenerated>;
2539
2642
  }
2540
2643
 
2541
2644
  /** Optional parameters. */
@@ -2548,7 +2651,7 @@ export declare type EventCategoriesListResponse = EventCategoryCollection;
2548
2651
  /** A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy. */
2549
2652
  export declare interface EventCategoryCollection {
2550
2653
  /** the list that includes the Azure event categories. */
2551
- value: LocalizableString[];
2654
+ value: LocalizableStringAutoGenerated[];
2552
2655
  }
2553
2656
 
2554
2657
  /** The Azure event log entries are of type EventData */
@@ -2594,12 +2697,12 @@ export declare interface EventData {
2594
2697
  * the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.
2595
2698
  * NOTE: This property will not be serialized. It can only be populated by the server.
2596
2699
  */
2597
- readonly eventName?: LocalizableString;
2700
+ readonly eventName?: LocalizableStringAutoGenerated;
2598
2701
  /**
2599
2702
  * the event category.
2600
2703
  * NOTE: This property will not be serialized. It can only be populated by the server.
2601
2704
  */
2602
- readonly category?: LocalizableString;
2705
+ readonly category?: LocalizableStringAutoGenerated;
2603
2706
  /**
2604
2707
  * the HTTP request info. Usually includes the 'clientRequestId', 'clientIpAddress' (IP address of the user who initiated the event) and 'method' (HTTP method e.g. PUT).
2605
2708
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2619,7 +2722,7 @@ export declare interface EventData {
2619
2722
  * the resource provider name of the impacted resource.
2620
2723
  * NOTE: This property will not be serialized. It can only be populated by the server.
2621
2724
  */
2622
- readonly resourceProviderName?: LocalizableString;
2725
+ readonly resourceProviderName?: LocalizableStringAutoGenerated;
2623
2726
  /**
2624
2727
  * the resource uri that uniquely identifies the resource that caused this event.
2625
2728
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2629,7 +2732,7 @@ export declare interface EventData {
2629
2732
  * the resource type
2630
2733
  * NOTE: This property will not be serialized. It can only be populated by the server.
2631
2734
  */
2632
- readonly resourceType?: LocalizableString;
2735
+ readonly resourceType?: LocalizableStringAutoGenerated;
2633
2736
  /**
2634
2737
  * It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.
2635
2738
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2639,7 +2742,7 @@ export declare interface EventData {
2639
2742
  * the operation name.
2640
2743
  * NOTE: This property will not be serialized. It can only be populated by the server.
2641
2744
  */
2642
- readonly operationName?: LocalizableString;
2745
+ readonly operationName?: LocalizableStringAutoGenerated;
2643
2746
  /**
2644
2747
  * the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
2645
2748
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2651,12 +2754,12 @@ export declare interface EventData {
2651
2754
  * a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
2652
2755
  * NOTE: This property will not be serialized. It can only be populated by the server.
2653
2756
  */
2654
- readonly status?: LocalizableString;
2757
+ readonly status?: LocalizableStringAutoGenerated;
2655
2758
  /**
2656
2759
  * the event sub status. Most of the time, when included, this captures the HTTP status code of the REST call. Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: 201), Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: 204), Bad Request(HTTP Status Code: 400), Not Found (HTTP Status Code: 404), Conflict (HTTP Status Code: 409), Internal Server Error (HTTP Status Code: 500), Service Unavailable (HTTP Status Code:503), Gateway Timeout (HTTP Status Code: 504)
2657
2760
  * NOTE: This property will not be serialized. It can only be populated by the server.
2658
2761
  */
2659
- readonly subStatus?: LocalizableString;
2762
+ readonly subStatus?: LocalizableStringAutoGenerated;
2660
2763
  /**
2661
2764
  * the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.
2662
2765
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2687,16 +2790,48 @@ export declare interface EventDataCollection {
2687
2790
  nextLink?: string;
2688
2791
  }
2689
2792
 
2690
- /** An Event hub receiver. */
2691
- export declare interface EventHubReceiver {
2692
- /** The name of the Event hub receiver. Names must be unique across all receivers within an action group. */
2693
- name: string;
2694
- /** The Event Hub namespace */
2695
- eventHubNameSpace: string;
2696
- /** The name of the specific Event Hub queue */
2697
- eventHubName: string;
2698
- /** Indicates whether to use common alert schema. */
2699
- useCommonAlertSchema?: boolean;
2793
+ export declare interface EventHubDataSource {
2794
+ /**
2795
+ * A friendly name for the data source.
2796
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
2797
+ */
2798
+ name?: string;
2799
+ /** Event Hub consumer group name */
2800
+ consumerGroup?: string;
2801
+ /** The stream to collect from EventHub */
2802
+ stream?: string;
2803
+ }
2804
+
2805
+ export declare interface EventHubDestination {
2806
+ /** The resource ID of the event hub. */
2807
+ eventHubResourceId?: string;
2808
+ /**
2809
+ * A friendly name for the destination.
2810
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
2811
+ */
2812
+ name?: string;
2813
+ }
2814
+
2815
+ export declare interface EventHubDirectDestination {
2816
+ /** The resource ID of the event hub. */
2817
+ eventHubResourceId?: string;
2818
+ /**
2819
+ * A friendly name for the destination.
2820
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
2821
+ */
2822
+ name?: string;
2823
+ }
2824
+
2825
+ /** An Event hub receiver. */
2826
+ export declare interface EventHubReceiver {
2827
+ /** The name of the Event hub receiver. Names must be unique across all receivers within an action group. */
2828
+ name: string;
2829
+ /** The Event Hub namespace */
2830
+ eventHubNameSpace: string;
2831
+ /** The name of the specific Event Hub queue */
2832
+ eventHubName: string;
2833
+ /** Indicates whether to use common alert schema. */
2834
+ useCommonAlertSchema?: boolean;
2700
2835
  /** The tenant Id for the subscription containing this event hub */
2701
2836
  tenantId?: string;
2702
2837
  /** The Id for the subscription containing this event hub */
@@ -2729,6 +2864,13 @@ export declare interface ExtensionDataSource {
2729
2864
  name?: string;
2730
2865
  }
2731
2866
 
2867
+ export declare interface FailoverConfigurationSpec {
2868
+ /** Active location where data flow will occur. */
2869
+ activeLocation?: string;
2870
+ /** Locations that are configured for failover. */
2871
+ locations?: LocationSpec[];
2872
+ }
2873
+
2732
2874
  /**
2733
2875
  * Given the last `.value` produced by the `byPage` iterator,
2734
2876
  * returns a continuation token that can be used to begin paging from
@@ -2738,6 +2880,13 @@ export declare interface ExtensionDataSource {
2738
2880
  */
2739
2881
  export declare function getContinuationToken(page: unknown): string | undefined;
2740
2882
 
2883
+ /** Optional parameters. */
2884
+ export declare interface GetTestNotificationsAtTenantActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
2885
+ }
2886
+
2887
+ /** Contains response data for the getTestNotificationsAtTenantActionGroupResourceLevel operation. */
2888
+ export declare type GetTestNotificationsAtTenantActionGroupResourceLevelResponse = TestNotificationDetailsResponseAutoGenerated;
2889
+
2741
2890
  /** The Http request info. */
2742
2891
  export declare interface HttpRequestInfo {
2743
2892
  /** the client request id. */
@@ -2824,12 +2973,12 @@ export declare interface IncidentListResult {
2824
2973
  /** Settings for data ingestion */
2825
2974
  export declare interface IngestionSettings {
2826
2975
  /**
2827
- * The Azure resource Id of the default data collection rule for this workspace.
2976
+ * The Azure resource Id of the default data collection rule for this Azure Monitor Workspace.
2828
2977
  * NOTE: This property will not be serialized. It can only be populated by the server.
2829
2978
  */
2830
2979
  readonly dataCollectionRuleResourceId?: string;
2831
2980
  /**
2832
- * The Azure resource Id of the default data collection endpoint for this workspace.
2981
+ * The Azure resource Id of the default data collection endpoint for this Azure Monitor Workspace.
2833
2982
  * NOTE: This property will not be serialized. It can only be populated by the server.
2834
2983
  */
2835
2984
  readonly dataCollectionEndpointResourceId?: string;
@@ -2963,6 +3112,7 @@ export declare enum KnownCriterionType {
2963
3112
  * **Updating** \
2964
3113
  * **Deleting** \
2965
3114
  * **Succeeded** \
3115
+ * **Canceled** \
2966
3116
  * **Failed**
2967
3117
  */
2968
3118
  export declare type KnownDataCollectionEndpointProvisioningState = string;
@@ -2986,6 +3136,7 @@ export declare type KnownDataCollectionEndpointResourceKind = string;
2986
3136
  * **Updating** \
2987
3137
  * **Deleting** \
2988
3138
  * **Succeeded** \
3139
+ * **Canceled** \
2989
3140
  * **Failed**
2990
3141
  */
2991
3142
  export declare type KnownDataCollectionRuleAssociationProvisioningState = string;
@@ -2999,6 +3150,7 @@ export declare type KnownDataCollectionRuleAssociationProvisioningState = string
2999
3150
  * **Updating** \
3000
3151
  * **Deleting** \
3001
3152
  * **Succeeded** \
3153
+ * **Canceled** \
3002
3154
  * **Failed**
3003
3155
  */
3004
3156
  export declare type KnownDataCollectionRuleProvisioningState = string;
@@ -3111,6 +3263,8 @@ export declare enum KnownKnownDataCollectionEndpointProvisioningState {
3111
3263
  Deleting = "Deleting",
3112
3264
  /** Succeeded */
3113
3265
  Succeeded = "Succeeded",
3266
+ /** Canceled */
3267
+ Canceled = "Canceled",
3114
3268
  /** Failed */
3115
3269
  Failed = "Failed"
3116
3270
  }
@@ -3133,6 +3287,8 @@ export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
3133
3287
  Deleting = "Deleting",
3134
3288
  /** Succeeded */
3135
3289
  Succeeded = "Succeeded",
3290
+ /** Canceled */
3291
+ Canceled = "Canceled",
3136
3292
  /** Failed */
3137
3293
  Failed = "Failed"
3138
3294
  }
@@ -3147,6 +3303,8 @@ export declare enum KnownKnownDataCollectionRuleProvisioningState {
3147
3303
  Deleting = "Deleting",
3148
3304
  /** Succeeded */
3149
3305
  Succeeded = "Succeeded",
3306
+ /** Canceled */
3307
+ Canceled = "Canceled",
3150
3308
  /** Failed */
3151
3309
  Failed = "Failed"
3152
3310
  }
@@ -3187,6 +3345,22 @@ export declare enum KnownKnownExtensionDataSourceStreams {
3187
3345
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
3188
3346
  }
3189
3347
 
3348
+ /** Known values of {@link KnownLocationSpecProvisioningStatus} that the service accepts. */
3349
+ export declare enum KnownKnownLocationSpecProvisioningStatus {
3350
+ /** Creating */
3351
+ Creating = "Creating",
3352
+ /** Updating */
3353
+ Updating = "Updating",
3354
+ /** Deleting */
3355
+ Deleting = "Deleting",
3356
+ /** Succeeded */
3357
+ Succeeded = "Succeeded",
3358
+ /** Canceled */
3359
+ Canceled = "Canceled",
3360
+ /** Failed */
3361
+ Failed = "Failed"
3362
+ }
3363
+
3190
3364
  /** Known values of {@link KnownLogFilesDataSourceFormat} that the service accepts. */
3191
3365
  export declare enum KnownKnownLogFilesDataSourceFormat {
3192
3366
  /** Text */
@@ -3223,24 +3397,40 @@ export declare enum KnownKnownPerfCounterDataSourceStreams {
3223
3397
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics"
3224
3398
  }
3225
3399
 
3400
+ /** Known values of {@link KnownPrometheusForwarderDataSourceStreams} that the service accepts. */
3401
+ export declare enum KnownKnownPrometheusForwarderDataSourceStreams {
3402
+ /** MicrosoftPrometheusMetrics */
3403
+ MicrosoftPrometheusMetrics = "Microsoft-PrometheusMetrics"
3404
+ }
3405
+
3226
3406
  /** Known values of {@link KnownPublicNetworkAccessOptions} that the service accepts. */
3227
3407
  export declare enum KnownKnownPublicNetworkAccessOptions {
3228
3408
  /** Enabled */
3229
3409
  Enabled = "Enabled",
3230
3410
  /** Disabled */
3231
- Disabled = "Disabled"
3411
+ Disabled = "Disabled",
3412
+ /** SecuredByPerimeter */
3413
+ SecuredByPerimeter = "SecuredByPerimeter"
3232
3414
  }
3233
3415
 
3234
3416
  /** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
3235
3417
  export declare enum KnownKnownSyslogDataSourceFacilityNames {
3418
+ /** Alert */
3419
+ Alert = "alert",
3420
+ /** Audit */
3421
+ Audit = "audit",
3236
3422
  /** Auth */
3237
3423
  Auth = "auth",
3238
3424
  /** Authpriv */
3239
3425
  Authpriv = "authpriv",
3426
+ /** Clock */
3427
+ Clock = "clock",
3240
3428
  /** Cron */
3241
3429
  Cron = "cron",
3242
3430
  /** Daemon */
3243
3431
  Daemon = "daemon",
3432
+ /** Ftp */
3433
+ Ftp = "ftp",
3244
3434
  /** Kern */
3245
3435
  Kern = "kern",
3246
3436
  /** Lpr */
@@ -3251,6 +3441,10 @@ export declare enum KnownKnownSyslogDataSourceFacilityNames {
3251
3441
  Mark = "mark",
3252
3442
  /** News */
3253
3443
  News = "news",
3444
+ /** Nopri */
3445
+ Nopri = "nopri",
3446
+ /** Ntp */
3447
+ Ntp = "ntp",
3254
3448
  /** Syslog */
3255
3449
  Syslog = "syslog",
3256
3450
  /** User */
@@ -3313,6 +3507,20 @@ export declare enum KnownKnownWindowsEventLogDataSourceStreams {
3313
3507
  MicrosoftEvent = "Microsoft-Event"
3314
3508
  }
3315
3509
 
3510
+ /**
3511
+ * Defines values for KnownLocationSpecProvisioningStatus. \
3512
+ * {@link KnownKnownLocationSpecProvisioningStatus} can be used interchangeably with KnownLocationSpecProvisioningStatus,
3513
+ * this enum contains the known values that the service supports.
3514
+ * ### Known values supported by the service
3515
+ * **Creating** \
3516
+ * **Updating** \
3517
+ * **Deleting** \
3518
+ * **Succeeded** \
3519
+ * **Canceled** \
3520
+ * **Failed**
3521
+ */
3522
+ export declare type KnownLocationSpecProvisioningStatus = string;
3523
+
3316
3524
  /**
3317
3525
  * Defines values for KnownLogFilesDataSourceFormat. \
3318
3526
  * {@link KnownKnownLogFilesDataSourceFormat} can be used interchangeably with KnownLogFilesDataSourceFormat,
@@ -3339,6 +3547,34 @@ export declare type KnownLogFilesDataSourceFormat = string;
3339
3547
  */
3340
3548
  export declare type KnownLogFileTextSettingsRecordStartTimestampFormat = string;
3341
3549
 
3550
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
3551
+ export declare enum KnownManagedServiceIdentityType {
3552
+ /** None */
3553
+ None = "None",
3554
+ /** SystemAssigned */
3555
+ SystemAssigned = "SystemAssigned",
3556
+ /** UserAssigned */
3557
+ UserAssigned = "UserAssigned",
3558
+ /** SystemAssignedUserAssigned */
3559
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
3560
+ }
3561
+
3562
+ /** Known values of {@link MetricAggregationType} that the service accepts. */
3563
+ export declare enum KnownMetricAggregationType {
3564
+ /** None */
3565
+ None = "None",
3566
+ /** Average */
3567
+ Average = "Average",
3568
+ /** Count */
3569
+ Count = "Count",
3570
+ /** Minimum */
3571
+ Minimum = "Minimum",
3572
+ /** Maximum */
3573
+ Maximum = "Maximum",
3574
+ /** Total */
3575
+ Total = "Total"
3576
+ }
3577
+
3342
3578
  /** Known values of {@link MetricClass} that the service accepts. */
3343
3579
  export declare enum KnownMetricClass {
3344
3580
  /** Availability */
@@ -3353,33 +3589,41 @@ export declare enum KnownMetricClass {
3353
3589
  Saturation = "Saturation"
3354
3590
  }
3355
3591
 
3592
+ /** Known values of {@link MetricResultType} that the service accepts. */
3593
+ export declare enum KnownMetricResultType {
3594
+ /** Data */
3595
+ Data = "Data",
3596
+ /** Metadata */
3597
+ Metadata = "Metadata"
3598
+ }
3599
+
3356
3600
  /** Known values of {@link MetricUnit} that the service accepts. */
3357
3601
  export declare enum KnownMetricUnit {
3358
- /** Count */
3602
+ /** Unit of raw quantity. */
3359
3603
  Count = "Count",
3360
- /** Bytes */
3604
+ /** Unit of memory in bytes. */
3361
3605
  Bytes = "Bytes",
3362
- /** Seconds */
3606
+ /** Unit of time in seconds. */
3363
3607
  Seconds = "Seconds",
3364
- /** CountPerSecond */
3608
+ /** Rate unit of raw quantity per second. */
3365
3609
  CountPerSecond = "CountPerSecond",
3366
- /** BytesPerSecond */
3610
+ /** Rate unit of memory in bytes per second. */
3367
3611
  BytesPerSecond = "BytesPerSecond",
3368
- /** Percent */
3612
+ /** Percentage unit. */
3369
3613
  Percent = "Percent",
3370
- /** MilliSeconds */
3614
+ /** Unit of time in 1\/1000th of a second. */
3371
3615
  MilliSeconds = "MilliSeconds",
3372
- /** ByteSeconds */
3616
+ /** Unit of data transfer or storage. It is the size of the data in bytes multiplied by the time it takes to transfer or store the data in seconds. */
3373
3617
  ByteSeconds = "ByteSeconds",
3374
- /** Unspecified */
3618
+ /** No specified unit. */
3375
3619
  Unspecified = "Unspecified",
3376
- /** Cores */
3620
+ /** Unit of processing power. */
3377
3621
  Cores = "Cores",
3378
- /** MilliCores */
3622
+ /** Unit of processing power in 1\/1000th of a CPU core. */
3379
3623
  MilliCores = "MilliCores",
3380
- /** NanoCores */
3624
+ /** Unit of processing power in one billionth of a CPU core. */
3381
3625
  NanoCores = "NanoCores",
3382
- /** BitsPerSecond */
3626
+ /** Rate unit of binary digits per second. */
3383
3627
  BitsPerSecond = "BitsPerSecond"
3384
3628
  }
3385
3629
 
@@ -3469,6 +3713,15 @@ export declare enum KnownPrivateEndpointServiceConnectionStatus {
3469
3713
  Rejected = "Rejected"
3470
3714
  }
3471
3715
 
3716
+ /**
3717
+ * Defines values for KnownPrometheusForwarderDataSourceStreams. \
3718
+ * {@link KnownKnownPrometheusForwarderDataSourceStreams} can be used interchangeably with KnownPrometheusForwarderDataSourceStreams,
3719
+ * this enum contains the known values that the service supports.
3720
+ * ### Known values supported by the service
3721
+ * **Microsoft-PrometheusMetrics**
3722
+ */
3723
+ export declare type KnownPrometheusForwarderDataSourceStreams = string;
3724
+
3472
3725
  /** Known values of {@link ProvisioningState} that the service accepts. */
3473
3726
  export declare enum KnownProvisioningState {
3474
3727
  /** Creating */
@@ -3488,9 +3741,7 @@ export declare enum KnownPublicNetworkAccess {
3488
3741
  /** Enabled */
3489
3742
  Enabled = "Enabled",
3490
3743
  /** Disabled */
3491
- Disabled = "Disabled",
3492
- /** SecuredByPerimeter */
3493
- SecuredByPerimeter = "SecuredByPerimeter"
3744
+ Disabled = "Disabled"
3494
3745
  }
3495
3746
 
3496
3747
  /**
@@ -3499,7 +3750,8 @@ export declare enum KnownPublicNetworkAccess {
3499
3750
  * this enum contains the known values that the service supports.
3500
3751
  * ### Known values supported by the service
3501
3752
  * **Enabled** \
3502
- * **Disabled**
3753
+ * **Disabled** \
3754
+ * **SecuredByPerimeter**
3503
3755
  */
3504
3756
  export declare type KnownPublicNetworkAccessOptions = string;
3505
3757
 
@@ -3516,15 +3768,21 @@ export declare enum KnownScaleRuleMetricDimensionOperationType {
3516
3768
  * {@link KnownKnownSyslogDataSourceFacilityNames} can be used interchangeably with KnownSyslogDataSourceFacilityNames,
3517
3769
  * this enum contains the known values that the service supports.
3518
3770
  * ### Known values supported by the service
3771
+ * **alert** \
3772
+ * **audit** \
3519
3773
  * **auth** \
3520
3774
  * **authpriv** \
3775
+ * **clock** \
3521
3776
  * **cron** \
3522
3777
  * **daemon** \
3778
+ * **ftp** \
3523
3779
  * **kern** \
3524
3780
  * **lpr** \
3525
3781
  * **mail** \
3526
3782
  * **mark** \
3527
3783
  * **news** \
3784
+ * **nopri** \
3785
+ * **ntp** \
3528
3786
  * **syslog** \
3529
3787
  * **user** \
3530
3788
  * **uucp** \
@@ -3592,12 +3850,27 @@ export declare type KnownWindowsEventLogDataSourceStreams = string;
3592
3850
 
3593
3851
  /** The localizable string class. */
3594
3852
  export declare interface LocalizableString {
3853
+ /** The invariant value. */
3854
+ value: string;
3855
+ /** The display name. */
3856
+ localizedValue?: string;
3857
+ }
3858
+
3859
+ /** The localizable string class. */
3860
+ export declare interface LocalizableStringAutoGenerated {
3595
3861
  /** the invariant value. */
3596
3862
  value: string;
3597
3863
  /** the locale specific value. */
3598
3864
  localizedValue?: string;
3599
3865
  }
3600
3866
 
3867
+ export declare interface LocationSpec {
3868
+ /** Name of location. */
3869
+ location?: string;
3870
+ /** The resource provisioning state in this location. */
3871
+ provisioningStatus?: KnownLocationSpecProvisioningStatus;
3872
+ }
3873
+
3601
3874
  /** A rule condition based on a certain number of locations failing. */
3602
3875
  export declare interface LocationThresholdRuleCondition extends RuleCondition {
3603
3876
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -3683,7 +3956,7 @@ export declare interface LogProfileCollection {
3683
3956
  }
3684
3957
 
3685
3958
  /** The log profile resource. */
3686
- export declare interface LogProfileResource extends ResourceAutoGenerated2 {
3959
+ export declare interface LogProfileResource extends ResourceAutoGenerated4 {
3687
3960
  /** the resource id of the storage account to which you would like to send the Activity Log. */
3688
3961
  storageAccountId?: string;
3689
3962
  /** The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'. */
@@ -3802,6 +4075,38 @@ export declare interface LogsIngestionEndpointSpec {
3802
4075
  readonly endpoint?: string;
3803
4076
  }
3804
4077
 
4078
+ /** Managed service identity (system assigned and/or user assigned identities) */
4079
+ export declare interface ManagedServiceIdentity {
4080
+ /**
4081
+ * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
4082
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4083
+ */
4084
+ readonly principalId?: string;
4085
+ /**
4086
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
4087
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4088
+ */
4089
+ readonly tenantId?: string;
4090
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
4091
+ type: ManagedServiceIdentityType;
4092
+ /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
4093
+ userAssignedIdentities?: {
4094
+ [propertyName: string]: UserAssignedIdentity | null;
4095
+ };
4096
+ }
4097
+
4098
+ /**
4099
+ * Defines values for ManagedServiceIdentityType. \
4100
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
4101
+ * this enum contains the known values that the service supports.
4102
+ * ### Known values supported by the service
4103
+ * **None** \
4104
+ * **SystemAssigned** \
4105
+ * **UserAssigned** \
4106
+ * **SystemAssigned,UserAssigned**
4107
+ */
4108
+ export declare type ManagedServiceIdentityType = string;
4109
+
3805
4110
  /** How the data that is collected should be combined over time. */
3806
4111
  export declare interface ManagementEventAggregationCondition {
3807
4112
  /** the condition operator. */
@@ -3827,23 +4132,28 @@ export declare interface Metadata {
3827
4132
  * NOTE: This property will not be serialized. It can only be populated by the server.
3828
4133
  */
3829
4134
  readonly provisionedBy?: string;
4135
+ /**
4136
+ * Resource Id of azure offering managing this resource on-behalf-of customer.
4137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4138
+ */
4139
+ readonly provisionedByResourceId?: string;
3830
4140
  }
3831
4141
 
3832
4142
  /** Represents a metric metadata value. */
3833
4143
  export declare interface MetadataValue {
3834
- /** the name of the metadata. */
4144
+ /** The name of the metadata. */
3835
4145
  name?: LocalizableString;
3836
- /** the value of the metadata. */
4146
+ /** The value of the metadata. */
3837
4147
  value?: string;
3838
4148
  }
3839
4149
 
3840
4150
  /** The result data of a query. */
3841
4151
  export declare interface Metric {
3842
- /** the metric Id. */
4152
+ /** The metric Id. */
3843
4153
  id: string;
3844
- /** the resource type of the metric resource. */
4154
+ /** The resource type of the metric resource. */
3845
4155
  type: string;
3846
- /** the name and the display name of the metric, i.e. it is localizable string. */
4156
+ /** The name and the display name of the metric, i.e. it is localizable string. */
3847
4157
  name: LocalizableString;
3848
4158
  /** Detailed description of this metric. */
3849
4159
  displayDescription?: string;
@@ -3853,10 +4163,24 @@ export declare interface Metric {
3853
4163
  errorMessage?: string;
3854
4164
  /** The unit of the metric. */
3855
4165
  unit: MetricUnit;
3856
- /** the time series returned when a data query is performed. */
4166
+ /** The time series returned when a data query is performed. */
3857
4167
  timeseries: TimeSeriesElement[];
3858
4168
  }
3859
4169
 
4170
+ /**
4171
+ * Defines values for MetricAggregationType. \
4172
+ * {@link KnownMetricAggregationType} can be used interchangeably with MetricAggregationType,
4173
+ * this enum contains the known values that the service supports.
4174
+ * ### Known values supported by the service
4175
+ * **None** \
4176
+ * **Average** \
4177
+ * **Count** \
4178
+ * **Minimum** \
4179
+ * **Maximum** \
4180
+ * **Total**
4181
+ */
4182
+ export declare type MetricAggregationType = string;
4183
+
3860
4184
  /** An alert action. */
3861
4185
  export declare interface MetricAlertAction {
3862
4186
  /** the id of the action group to use. */
@@ -3886,7 +4210,7 @@ export declare interface MetricAlertMultipleResourceMultipleMetricCriteria exten
3886
4210
  }
3887
4211
 
3888
4212
  /** The metric alert resource. */
3889
- export declare interface MetricAlertResource extends ResourceAutoGenerated4 {
4213
+ export declare interface MetricAlertResource extends ResourceAutoGenerated6 {
3890
4214
  /** the description of the metric alert that will be included in the alert email. */
3891
4215
  description?: string;
3892
4216
  /** Alert severity {0, 1, 2, 3, 4} */
@@ -4124,9 +4448,9 @@ export declare type MetricAlertsUpdateResponse = MetricAlertResource;
4124
4448
 
4125
4449
  /** Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. */
4126
4450
  export declare interface MetricAvailability {
4127
- /** the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */
4451
+ /** The time grain specifies a supported aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */
4128
4452
  timeGrain?: string;
4129
- /** the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */
4453
+ /** The retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */
4130
4454
  retention?: string;
4131
4455
  }
4132
4456
 
@@ -4163,11 +4487,11 @@ export declare interface MetricCriteria extends MultiMetricCriteria {
4163
4487
  export declare interface MetricDefinition {
4164
4488
  /** Flag to indicate whether the dimension is required. */
4165
4489
  isDimensionRequired?: boolean;
4166
- /** the resource identifier of the resource that emitted the metric. */
4490
+ /** The resource identifier of the resource that emitted the metric. */
4167
4491
  resourceId?: string;
4168
- /** the namespace the metric belongs to. */
4492
+ /** The namespace the metric belongs to. */
4169
4493
  namespace?: string;
4170
- /** the name and the display name of the metric, i.e. it is a localizable string. */
4494
+ /** The name and the display name of the metric, i.e. it is a localizable string. */
4171
4495
  name?: LocalizableString;
4172
4496
  /** Detailed description of this metric. */
4173
4497
  displayDescription?: string;
@@ -4177,26 +4501,32 @@ export declare interface MetricDefinition {
4177
4501
  metricClass?: MetricClass;
4178
4502
  /** The unit of the metric. */
4179
4503
  unit?: MetricUnit;
4180
- /** the primary aggregation type value defining how to use the values for display. */
4504
+ /** The primary aggregation type value defining how to use the values for display. */
4181
4505
  primaryAggregationType?: AggregationType;
4182
- /** the collection of what aggregation types are supported. */
4506
+ /** The collection of what aggregation types are supported. */
4183
4507
  supportedAggregationTypes?: AggregationType[];
4184
- /** the collection of what aggregation intervals are available to be queried. */
4508
+ /** The collection of what aggregation intervals are available to be queried. */
4185
4509
  metricAvailabilities?: MetricAvailability[];
4186
- /** the resource identifier of the metric definition. */
4510
+ /** The resource identifier of the metric definition. */
4187
4511
  id?: string;
4188
- /** the name and the display name of the dimension, i.e. it is a localizable string. */
4512
+ /** The name and the display name of the dimension, i.e. it is a localizable string. */
4189
4513
  dimensions?: LocalizableString[];
4190
4514
  }
4191
4515
 
4192
4516
  /** Represents collection of metric definitions. */
4193
4517
  export declare interface MetricDefinitionCollection {
4194
- /** the values for the metric definitions. */
4518
+ /** The values for the metric definitions. */
4195
4519
  value: MetricDefinition[];
4196
4520
  }
4197
4521
 
4198
4522
  /** Interface representing a MetricDefinitions. */
4199
4523
  export declare interface MetricDefinitions {
4524
+ /**
4525
+ * Lists the metric definitions for the subscription.
4526
+ * @param region The region where the metrics you want reside.
4527
+ * @param options The options parameters.
4528
+ */
4529
+ listAtSubscriptionScope(region: string, options?: MetricDefinitionsListAtSubscriptionScopeOptionalParams): PagedAsyncIterableIterator<SubscriptionScopeMetricDefinition>;
4200
4530
  /**
4201
4531
  * Lists the metric definitions for the resource.
4202
4532
  * @param resourceUri The identifier of the resource.
@@ -4205,9 +4535,18 @@ export declare interface MetricDefinitions {
4205
4535
  list(resourceUri: string, options?: MetricDefinitionsListOptionalParams): PagedAsyncIterableIterator<MetricDefinition>;
4206
4536
  }
4207
4537
 
4538
+ /** Optional parameters. */
4539
+ export declare interface MetricDefinitionsListAtSubscriptionScopeOptionalParams extends coreClient.OperationOptions {
4540
+ /** Metric namespace where the metrics you want reside. */
4541
+ metricnamespace?: string;
4542
+ }
4543
+
4544
+ /** Contains response data for the listAtSubscriptionScope operation. */
4545
+ export declare type MetricDefinitionsListAtSubscriptionScopeResponse = SubscriptionScopeMetricDefinitionCollection;
4546
+
4208
4547
  /** Optional parameters. */
4209
4548
  export declare interface MetricDefinitionsListOptionalParams extends coreClient.OperationOptions {
4210
- /** Metric namespace to query metric definitions for. */
4549
+ /** Metric namespace where the metrics you want reside. */
4211
4550
  metricnamespace?: string;
4212
4551
  }
4213
4552
 
@@ -4269,10 +4608,20 @@ export declare interface MetricNamespacesListOptionalParams extends coreClient.O
4269
4608
  /** Contains response data for the list operation. */
4270
4609
  export declare type MetricNamespacesListResponse = MetricNamespaceCollection;
4271
4610
 
4272
- /** Information about metrics for the workspace */
4611
+ /**
4612
+ * Defines values for MetricResultType. \
4613
+ * {@link KnownMetricResultType} can be used interchangeably with MetricResultType,
4614
+ * this enum contains the known values that the service supports.
4615
+ * ### Known values supported by the service
4616
+ * **Data** \
4617
+ * **Metadata**
4618
+ */
4619
+ export declare type MetricResultType = string;
4620
+
4621
+ /** Properties related to the metrics container in the Azure Monitor Workspace */
4273
4622
  export declare interface Metrics {
4274
4623
  /**
4275
- * The Prometheus query endpoint for the workspace
4624
+ * The Prometheus query endpoint for the Azure Monitor Workspace
4276
4625
  * NOTE: This property will not be serialized. It can only be populated by the server.
4277
4626
  */
4278
4627
  readonly prometheusQueryEndpoint?: string;
@@ -4295,6 +4644,15 @@ export declare interface MetricSettings {
4295
4644
  retentionPolicy?: RetentionPolicy;
4296
4645
  }
4297
4646
 
4647
+ /** Definition of the endpoint used for ingesting metrics. */
4648
+ export declare interface MetricsIngestionEndpointSpec {
4649
+ /**
4650
+ * The endpoint. This property is READ-ONLY.
4651
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4652
+ */
4653
+ readonly endpoint?: string;
4654
+ }
4655
+
4298
4656
  /** The metric dimension name and value. */
4299
4657
  export declare interface MetricSingleDimension {
4300
4658
  /** Name of the dimension. */
@@ -4304,31 +4662,135 @@ export declare interface MetricSingleDimension {
4304
4662
  }
4305
4663
 
4306
4664
  /** Optional parameters. */
4307
- export declare interface MetricsListOptionalParams extends coreClient.OperationOptions {
4308
- /** The **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test) val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "** */
4665
+ export declare interface MetricsListAtSubscriptionScopeOptionalParams extends coreClient.OperationOptions {
4666
+ /** Metric namespace where the metrics you want reside. */
4667
+ metricnamespace?: string;
4668
+ /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
4669
+ timespan?: string;
4670
+ /**
4671
+ * The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.
4672
+ * *Examples: PT15M, PT1H, P1D, FULL*
4673
+ */
4674
+ interval?: string;
4675
+ /** The names of the metrics (comma separated) to retrieve. */
4676
+ metricnames?: string;
4677
+ /**
4678
+ * The list of aggregation types (comma separated) to retrieve.
4679
+ * *Examples: average, minimum, maximum*
4680
+ */
4681
+ aggregation?: string;
4682
+ /**
4683
+ * The maximum number of records to retrieve per resource ID in the request.
4684
+ * Valid only if filter is specified.
4685
+ * Defaults to 10.
4686
+ */
4687
+ top?: number;
4688
+ /**
4689
+ * The aggregation to use for sorting results and the direction of the sort.
4690
+ * Only one order can be specified.
4691
+ * *Examples: sum asc*
4692
+ */
4693
+ orderby?: string;
4694
+ /** The **$filter** is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**. */
4309
4695
  filter?: string;
4310
- /** Metric namespace to query metric definitions for. */
4696
+ /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
4697
+ resultType?: MetricResultType;
4698
+ /** When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false. */
4699
+ autoAdjustTimegrain?: boolean;
4700
+ /** When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true. */
4701
+ validateDimensions?: boolean;
4702
+ /** Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. */
4703
+ rollupby?: string;
4704
+ }
4705
+
4706
+ /** Optional parameters. */
4707
+ export declare interface MetricsListAtSubscriptionScopePostOptionalParams extends coreClient.OperationOptions {
4708
+ /** Metric namespace where the metrics you want reside. */
4311
4709
  metricnamespace?: string;
4312
4710
  /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
4313
4711
  timespan?: string;
4314
- /** The interval (i.e. timegrain) of the query. */
4712
+ /**
4713
+ * The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.
4714
+ * *Examples: PT15M, PT1H, P1D, FULL*
4715
+ */
4315
4716
  interval?: string;
4316
- /** The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'** */
4717
+ /** The names of the metrics (comma separated) to retrieve. */
4317
4718
  metricnames?: string;
4318
- /** The list of aggregation types (comma separated) to retrieve. */
4719
+ /**
4720
+ * The list of aggregation types (comma separated) to retrieve.
4721
+ * *Examples: average, minimum, maximum*
4722
+ */
4319
4723
  aggregation?: string;
4320
4724
  /**
4321
- * The maximum number of records to retrieve.
4322
- * Valid only if $filter is specified.
4725
+ * The maximum number of records to retrieve per resource ID in the request.
4726
+ * Valid only if filter is specified.
4323
4727
  * Defaults to 10.
4324
4728
  */
4325
4729
  top?: number;
4326
4730
  /**
4327
4731
  * The aggregation to use for sorting results and the direction of the sort.
4328
4732
  * Only one order can be specified.
4329
- * Examples: sum asc.
4733
+ * *Examples: sum asc*
4330
4734
  */
4331
4735
  orderby?: string;
4736
+ /** The **$filter** is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**. */
4737
+ filter?: string;
4738
+ /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
4739
+ resultType?: MetricResultType;
4740
+ /** When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false. */
4741
+ autoAdjustTimegrain?: boolean;
4742
+ /** When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true. */
4743
+ validateDimensions?: boolean;
4744
+ /** Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. */
4745
+ rollupby?: string;
4746
+ /** Parameters serialized in the body */
4747
+ body?: SubscriptionScopeMetricsRequestBodyParameters;
4748
+ }
4749
+
4750
+ /** Contains response data for the listAtSubscriptionScopePost operation. */
4751
+ export declare type MetricsListAtSubscriptionScopePostResponse = Response_2;
4752
+
4753
+ /** Contains response data for the listAtSubscriptionScope operation. */
4754
+ export declare type MetricsListAtSubscriptionScopeResponse = Response_2;
4755
+
4756
+ /** Optional parameters. */
4757
+ export declare interface MetricsListOptionalParams extends coreClient.OperationOptions {
4758
+ /** Metric namespace where the metrics you want reside. */
4759
+ metricnamespace?: string;
4760
+ /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
4761
+ timespan?: string;
4762
+ /**
4763
+ * The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.
4764
+ * *Examples: PT15M, PT1H, P1D, FULL*
4765
+ */
4766
+ interval?: string;
4767
+ /** The names of the metrics (comma separated) to retrieve. */
4768
+ metricnames?: string;
4769
+ /**
4770
+ * The list of aggregation types (comma separated) to retrieve.
4771
+ * *Examples: average, minimum, maximum*
4772
+ */
4773
+ aggregation?: string;
4774
+ /**
4775
+ * The maximum number of records to retrieve per resource ID in the request.
4776
+ * Valid only if filter is specified.
4777
+ * Defaults to 10.
4778
+ */
4779
+ top?: number;
4780
+ /**
4781
+ * The aggregation to use for sorting results and the direction of the sort.
4782
+ * Only one order can be specified.
4783
+ * *Examples: sum asc*
4784
+ */
4785
+ orderby?: string;
4786
+ /** The **$filter** is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**. */
4787
+ filter?: string;
4788
+ /** When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false. */
4789
+ autoAdjustTimegrain?: boolean;
4790
+ /** When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true. */
4791
+ validateDimensions?: boolean;
4792
+ /** Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. */
4793
+ rollupby?: string;
4332
4794
  /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
4333
4795
  resultType?: ResultType;
4334
4796
  }
@@ -4338,6 +4800,19 @@ export declare type MetricsListResponse = Response_2;
4338
4800
 
4339
4801
  /** Interface representing a MetricsOperations. */
4340
4802
  export declare interface MetricsOperations {
4803
+ /**
4804
+ * **Lists the metric data for a subscription**.
4805
+ * @param region The region where the metrics you want reside.
4806
+ * @param options The options parameters.
4807
+ */
4808
+ listAtSubscriptionScope(region: string, options?: MetricsListAtSubscriptionScopeOptionalParams): Promise<MetricsListAtSubscriptionScopeResponse>;
4809
+ /**
4810
+ * **Lists the metric data for a subscription**. Parameters can be specified on either query params or
4811
+ * the body.
4812
+ * @param region The region where the metrics you want reside.
4813
+ * @param options The options parameters.
4814
+ */
4815
+ listAtSubscriptionScopePost(region: string, options?: MetricsListAtSubscriptionScopePostOptionalParams): Promise<MetricsListAtSubscriptionScopePostResponse>;
4341
4816
  /**
4342
4817
  * **Lists the metric values for a resource**.
4343
4818
  * @param resourceUri The identifier of the resource.
@@ -4382,41 +4857,41 @@ export declare interface MetricTrigger {
4382
4857
  * {@link KnownMetricUnit} can be used interchangeably with MetricUnit,
4383
4858
  * this enum contains the known values that the service supports.
4384
4859
  * ### Known values supported by the service
4385
- * **Count** \
4386
- * **Bytes** \
4387
- * **Seconds** \
4388
- * **CountPerSecond** \
4389
- * **BytesPerSecond** \
4390
- * **Percent** \
4391
- * **MilliSeconds** \
4392
- * **ByteSeconds** \
4393
- * **Unspecified** \
4394
- * **Cores** \
4395
- * **MilliCores** \
4396
- * **NanoCores** \
4397
- * **BitsPerSecond**
4860
+ * **Count**: Unit of raw quantity. \
4861
+ * **Bytes**: Unit of memory in bytes. \
4862
+ * **Seconds**: Unit of time in seconds. \
4863
+ * **CountPerSecond**: Rate unit of raw quantity per second. \
4864
+ * **BytesPerSecond**: Rate unit of memory in bytes per second. \
4865
+ * **Percent**: Percentage unit. \
4866
+ * **MilliSeconds**: Unit of time in 1\/1000th of a second. \
4867
+ * **ByteSeconds**: Unit of data transfer or storage. It is the size of the data in bytes multiplied by the time it takes to transfer or store the data in seconds. \
4868
+ * **Unspecified**: No specified unit. \
4869
+ * **Cores**: Unit of processing power. \
4870
+ * **MilliCores**: Unit of processing power in 1\/1000th of a CPU core. \
4871
+ * **NanoCores**: Unit of processing power in one billionth of a CPU core. \
4872
+ * **BitsPerSecond**: Rate unit of binary digits per second.
4398
4873
  */
4399
4874
  export declare type MetricUnit = string;
4400
4875
 
4401
4876
  /** Represents a metric value. */
4402
4877
  export declare interface MetricValue {
4403
- /** the timestamp for the metric value in ISO 8601 format. */
4878
+ /** The timestamp for the metric value in ISO 8601 format. */
4404
4879
  timeStamp: Date;
4405
- /** the average value in the time range. */
4880
+ /** The average value in the time range. */
4406
4881
  average?: number;
4407
- /** the least value in the time range. */
4882
+ /** The least value in the time range. */
4408
4883
  minimum?: number;
4409
- /** the greatest value in the time range. */
4884
+ /** The greatest value in the time range. */
4410
4885
  maximum?: number;
4411
- /** the sum of all of the values in the time range. */
4886
+ /** The sum of all of the values in the time range. */
4412
4887
  total?: number;
4413
- /** the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. */
4888
+ /** The number of samples in the time range. Can be used to determine the number of values that contributed to the average value. */
4414
4889
  count?: number;
4415
4890
  }
4416
4891
 
4417
4892
  export declare class MonitorClient extends coreClient.ServiceClient {
4418
4893
  $host: string;
4419
- subscriptionId: string;
4894
+ subscriptionId?: string;
4420
4895
  /**
4421
4896
  * Initializes a new instance of the MonitorClient class.
4422
4897
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -4424,6 +4899,39 @@ export declare class MonitorClient extends coreClient.ServiceClient {
4424
4899
  * @param options The parameter options
4425
4900
  */
4426
4901
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MonitorClientOptionalParams);
4902
+ constructor(credentials: coreAuth.TokenCredential, options?: MonitorClientOptionalParams);
4903
+ /**
4904
+ * Send test notifications to a set of provided receivers
4905
+ * @param managementGroupId The management group id.
4906
+ * @param tenantActionGroupName The name of the action group.
4907
+ * @param xMsClientTenantId The tenant ID of the client making the request.
4908
+ * @param notificationRequest The notification request body which includes the contact details
4909
+ * @param options The options parameters.
4910
+ */
4911
+ beginCreateNotificationsAtTenantActionGroupResourceLevel(managementGroupId: string, tenantActionGroupName: string, xMsClientTenantId: string, notificationRequest: TenantNotificationRequestBody, options?: CreateNotificationsAtTenantActionGroupResourceLevelOptionalParams): Promise<SimplePollerLike<OperationState<CreateNotificationsAtTenantActionGroupResourceLevelResponse>, CreateNotificationsAtTenantActionGroupResourceLevelResponse>>;
4912
+ /**
4913
+ * Send test notifications to a set of provided receivers
4914
+ * @param managementGroupId The management group id.
4915
+ * @param tenantActionGroupName The name of the action group.
4916
+ * @param xMsClientTenantId The tenant ID of the client making the request.
4917
+ * @param notificationRequest The notification request body which includes the contact details
4918
+ * @param options The options parameters.
4919
+ */
4920
+ beginCreateNotificationsAtTenantActionGroupResourceLevelAndWait(managementGroupId: string, tenantActionGroupName: string, xMsClientTenantId: string, notificationRequest: TenantNotificationRequestBody, options?: CreateNotificationsAtTenantActionGroupResourceLevelOptionalParams): Promise<CreateNotificationsAtTenantActionGroupResourceLevelResponse>;
4921
+ /**
4922
+ * Get the test notifications by the notification id
4923
+ * @param managementGroupId The management group id.
4924
+ * @param tenantActionGroupName The name of the action group.
4925
+ * @param xMsClientTenantId The tenant ID of the client making the request.
4926
+ * @param notificationId The notification id
4927
+ * @param options The options parameters.
4928
+ */
4929
+ getTestNotificationsAtTenantActionGroupResourceLevel(managementGroupId: string, tenantActionGroupName: string, xMsClientTenantId: string, notificationId: string, options?: GetTestNotificationsAtTenantActionGroupResourceLevelOptionalParams): Promise<GetTestNotificationsAtTenantActionGroupResourceLevelResponse>;
4930
+ metricNamespaces: MetricNamespaces;
4931
+ metricDefinitions: MetricDefinitions;
4932
+ metricsOperations: MetricsOperations;
4933
+ azureMonitorWorkspaces: AzureMonitorWorkspaces;
4934
+ monitorOperations: MonitorOperations;
4427
4935
  autoscaleSettings: AutoscaleSettings;
4428
4936
  predictiveMetric: PredictiveMetric;
4429
4937
  operations: Operations;
@@ -4433,16 +4941,14 @@ export declare class MonitorClient extends coreClient.ServiceClient {
4433
4941
  diagnosticSettings: DiagnosticSettings;
4434
4942
  diagnosticSettingsCategory: DiagnosticSettingsCategory;
4435
4943
  actionGroups: ActionGroups;
4944
+ tenantActionGroups: TenantActionGroups;
4436
4945
  activityLogs: ActivityLogs;
4437
4946
  eventCategories: EventCategories;
4438
4947
  tenantActivityLogs: TenantActivityLogs;
4439
- metricDefinitions: MetricDefinitions;
4440
- metricsOperations: MetricsOperations;
4441
4948
  baselines: Baselines;
4442
4949
  metricAlerts: MetricAlerts;
4443
4950
  metricAlertsStatus: MetricAlertsStatus;
4444
4951
  scheduledQueryRules: ScheduledQueryRules;
4445
- metricNamespaces: MetricNamespaces;
4446
4952
  vMInsights: VMInsights;
4447
4953
  privateLinkScopes: PrivateLinkScopes;
4448
4954
  privateLinkScopeOperationStatus: PrivateLinkScopeOperationStatus;
@@ -4453,25 +4959,45 @@ export declare class MonitorClient extends coreClient.ServiceClient {
4453
4959
  dataCollectionEndpoints: DataCollectionEndpoints;
4454
4960
  dataCollectionRuleAssociations: DataCollectionRuleAssociations;
4455
4961
  dataCollectionRules: DataCollectionRules;
4456
- azureMonitorWorkspaces: AzureMonitorWorkspaces;
4457
- monitorOperations: MonitorOperations;
4458
4962
  }
4459
4963
 
4460
- /** Optional parameters. */
4461
- export declare interface MonitorClientOptionalParams extends coreClient.ServiceClientOptions {
4964
+ /** Defines headers for MonitorClient_createNotificationsAtTenantActionGroupResourceLevel operation. */
4965
+ export declare interface MonitorClientCreateNotificationsAtTenantActionGroupResourceLevelHeaders {
4966
+ /** The location header that has the polling uri. */
4967
+ location?: string;
4968
+ }
4969
+
4970
+ /** Optional parameters. */
4971
+ export declare interface MonitorClientOptionalParams extends coreClient.ServiceClientOptions {
4462
4972
  /** server parameter */
4463
4973
  $host?: string;
4464
4974
  /** Overrides client endpoint. */
4465
4975
  endpoint?: string;
4466
4976
  }
4467
4977
 
4978
+ /** Monitoring account destination. */
4979
+ export declare interface MonitoringAccountDestination {
4980
+ /** The resource ID of the monitoring account. */
4981
+ accountResourceId?: string;
4982
+ /**
4983
+ * The immutable ID of the account.
4984
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4985
+ */
4986
+ readonly accountId?: string;
4987
+ /**
4988
+ * A friendly name for the destination.
4989
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
4990
+ */
4991
+ name?: string;
4992
+ }
4993
+
4468
4994
  /** Interface representing a MonitorOperations. */
4469
4995
  export declare interface MonitorOperations {
4470
4996
  /**
4471
4997
  * Lists available Operations for this Resource Provider
4472
4998
  * @param options The options parameters.
4473
4999
  */
4474
- list(options?: MonitorOperationsListOptionalParams): PagedAsyncIterableIterator<OperationAutoGenerated>;
5000
+ list(options?: MonitorOperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
4475
5001
  }
4476
5002
 
4477
5003
  /** Optional parameters. */
@@ -4479,14 +5005,14 @@ export declare interface MonitorOperationsListNextOptionalParams extends coreCli
4479
5005
  }
4480
5006
 
4481
5007
  /** Contains response data for the listNext operation. */
4482
- export declare type MonitorOperationsListNextResponse = OperationListResultAutoGenerated;
5008
+ export declare type MonitorOperationsListNextResponse = OperationListResult;
4483
5009
 
4484
5010
  /** Optional parameters. */
4485
5011
  export declare interface MonitorOperationsListOptionalParams extends coreClient.OperationOptions {
4486
5012
  }
4487
5013
 
4488
5014
  /** Contains response data for the list operation. */
4489
- export declare type MonitorOperationsListResponse = OperationListResultAutoGenerated;
5015
+ export declare type MonitorOperationsListResponse = OperationListResult;
4490
5016
 
4491
5017
  /** The types of conditions for a multi resource alert. */
4492
5018
  export declare interface MultiMetricCriteria {
@@ -4577,16 +5103,8 @@ export declare type Odatatype = string;
4577
5103
  */
4578
5104
  export declare type OnboardingStatus = string;
4579
5105
 
4580
- /** Microsoft Insights API operation definition. */
4581
- export declare interface Operation {
4582
- /** Operation name: {provider}/{resource}/{operation} */
4583
- name?: string;
4584
- /** Display metadata associated with the operation. */
4585
- display?: OperationDisplay;
4586
- }
4587
-
4588
5106
  /** Details of a REST API operation, returned from the Resource Provider Operations API */
4589
- export declare interface OperationAutoGenerated {
5107
+ export declare interface Operation {
4590
5108
  /**
4591
5109
  * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
4592
5110
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4598,7 +5116,7 @@ export declare interface OperationAutoGenerated {
4598
5116
  */
4599
5117
  readonly isDataAction?: boolean;
4600
5118
  /** Localized display information for this particular operation. */
4601
- display?: OperationDisplayAutoGenerated;
5119
+ display?: OperationDisplay;
4602
5120
  /**
4603
5121
  * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
4604
5122
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4611,18 +5129,16 @@ export declare interface OperationAutoGenerated {
4611
5129
  readonly actionType?: ActionType;
4612
5130
  }
4613
5131
 
4614
- /** Display metadata associated with the operation. */
4615
- export declare interface OperationDisplay {
4616
- /** Service provider: Microsoft.Insights */
4617
- provider?: string;
4618
- /** Resource on which the operation is performed: AlertRules, Autoscale, etc. */
4619
- resource?: string;
4620
- /** Operation type: Read, write, delete, etc. */
4621
- operation?: string;
5132
+ /** Microsoft Insights API operation definition. */
5133
+ export declare interface OperationAutoGenerated {
5134
+ /** Operation name: {provider}/{resource}/{operation} */
5135
+ name?: string;
5136
+ /** Display metadata associated with the operation. */
5137
+ display?: OperationDisplayAutoGenerated;
4622
5138
  }
4623
5139
 
4624
5140
  /** Localized display information for this particular operation. */
4625
- export declare interface OperationDisplayAutoGenerated {
5141
+ export declare interface OperationDisplay {
4626
5142
  /**
4627
5143
  * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
4628
5144
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4645,21 +5161,23 @@ export declare interface OperationDisplayAutoGenerated {
4645
5161
  readonly description?: string;
4646
5162
  }
4647
5163
 
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. */
4649
- export declare interface OperationListResult {
4650
- /** List of operations supported by the Microsoft.Insights provider. */
4651
- value?: Operation[];
4652
- /** URL to get the next set of operation list results if there are any. */
4653
- nextLink?: string;
5164
+ /** Display metadata associated with the operation. */
5165
+ export declare interface OperationDisplayAutoGenerated {
5166
+ /** Service provider: Microsoft.Insights */
5167
+ provider?: string;
5168
+ /** Resource on which the operation is performed: AlertRules, Autoscale, etc. */
5169
+ resource?: string;
5170
+ /** Operation type: Read, write, delete, etc. */
5171
+ operation?: string;
4654
5172
  }
4655
5173
 
4656
5174
  /** 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 {
5175
+ export declare interface OperationListResult {
4658
5176
  /**
4659
5177
  * List of operations supported by the resource provider
4660
5178
  * NOTE: This property will not be serialized. It can only be populated by the server.
4661
5179
  */
4662
- readonly value?: OperationAutoGenerated[];
5180
+ readonly value?: Operation[];
4663
5181
  /**
4664
5182
  * URL to get the next set of operation list results (if there are any).
4665
5183
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4667,6 +5185,14 @@ export declare interface OperationListResultAutoGenerated {
4667
5185
  readonly nextLink?: string;
4668
5186
  }
4669
5187
 
5188
+ /** 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. */
5189
+ export declare interface OperationListResultAutoGenerated {
5190
+ /** List of operations supported by the Microsoft.Insights provider. */
5191
+ value?: OperationAutoGenerated[];
5192
+ /** URL to get the next set of operation list results if there are any. */
5193
+ nextLink?: string;
5194
+ }
5195
+
4670
5196
  /** Interface representing a Operations. */
4671
5197
  export declare interface Operations {
4672
5198
  /**
@@ -4681,7 +5207,7 @@ export declare interface OperationsListOptionalParams extends coreClient.Operati
4681
5207
  }
4682
5208
 
4683
5209
  /** Contains response data for the list operation. */
4684
- export declare type OperationsListResponse = OperationListResult;
5210
+ export declare type OperationsListResponse = OperationListResultAutoGenerated;
4685
5211
 
4686
5212
  /** The status of operation. */
4687
5213
  export declare interface OperationStatus {
@@ -4696,7 +5222,7 @@ export declare interface OperationStatus {
4696
5222
  /** The status of the operation. */
4697
5223
  status?: string;
4698
5224
  /** The error detail of the operation if any. */
4699
- error?: ErrorDetail;
5225
+ error?: ErrorDetailAutoGenerated;
4700
5226
  }
4701
5227
 
4702
5228
  /**
@@ -4748,6 +5274,17 @@ export declare interface PerfCounterDataSource {
4748
5274
  name?: string;
4749
5275
  }
4750
5276
 
5277
+ /** Definition of platform telemetry data source configuration */
5278
+ export declare interface PlatformTelemetryDataSource {
5279
+ /** List of platform telemetry streams to collect */
5280
+ streams: string[];
5281
+ /**
5282
+ * A friendly name for the data source.
5283
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
5284
+ */
5285
+ name?: string;
5286
+ }
5287
+
4751
5288
  /** The parameters for enabling predictive autoscale. */
4752
5289
  export declare interface PredictiveAutoscalePolicy {
4753
5290
  /** the predictive autoscale mode */
@@ -4807,8 +5344,17 @@ export declare interface PredictiveValue {
4807
5344
  value: number;
4808
5345
  }
4809
5346
 
4810
- /** The Private Endpoint resource. */
5347
+ /** The private endpoint resource. */
4811
5348
  export declare interface PrivateEndpoint {
5349
+ /**
5350
+ * The ARM identifier for private endpoint.
5351
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5352
+ */
5353
+ readonly id?: string;
5354
+ }
5355
+
5356
+ /** The Private Endpoint resource. */
5357
+ export declare interface PrivateEndpointAutoGenerated {
4812
5358
  /**
4813
5359
  * The ARM identifier for Private Endpoint
4814
5360
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4816,23 +5362,35 @@ export declare interface PrivateEndpoint {
4816
5362
  readonly id?: string;
4817
5363
  }
4818
5364
 
5365
+ /** The private endpoint connection resource. */
5366
+ export declare interface PrivateEndpointConnection extends Resource {
5367
+ /**
5368
+ * The group ids for the private endpoint resource.
5369
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5370
+ */
5371
+ readonly groupIds?: string[];
5372
+ /** The private endpoint resource. */
5373
+ privateEndpoint?: PrivateEndpoint;
5374
+ /** A collection of information about the state of the connection between service consumer and provider. */
5375
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
5376
+ /** The provisioning state of the private endpoint connection resource. */
5377
+ provisioningState?: PrivateEndpointConnectionProvisioningState;
5378
+ }
5379
+
4819
5380
  /** The Private Endpoint Connection resource. */
4820
- export declare interface PrivateEndpointConnection extends ResourceAutoGenerated3 {
5381
+ export declare interface PrivateEndpointConnectionAutoGenerated extends ResourceAutoGenerated5 {
4821
5382
  /** The resource of private end point. */
4822
- privateEndpoint?: PrivateEndpoint;
5383
+ privateEndpoint?: PrivateEndpointAutoGenerated;
4823
5384
  /** A collection of information about the state of the connection between service consumer and provider. */
4824
5385
  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
4825
- /**
4826
- * The provisioning state of the private endpoint connection resource.
4827
- * NOTE: This property will not be serialized. It can only be populated by the server.
4828
- */
4829
- readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
5386
+ /** The provisioning state of the private endpoint connection resource. */
5387
+ provisioningState?: PrivateEndpointConnectionProvisioningState;
4830
5388
  }
4831
5389
 
4832
5390
  /** List of private endpoint connection associated with the specified storage account */
4833
5391
  export declare interface PrivateEndpointConnectionListResult {
4834
5392
  /** Array of private endpoint connections */
4835
- value?: PrivateEndpointConnection[];
5393
+ value?: PrivateEndpointConnectionAutoGenerated[];
4836
5394
  }
4837
5395
 
4838
5396
  /**
@@ -4865,7 +5423,7 @@ export declare interface PrivateEndpointConnections {
4865
5423
  * @param parameters The Private Endpoint Connection resource.
4866
5424
  * @param options The options parameters.
4867
5425
  */
4868
- beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
5426
+ beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionAutoGenerated, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
4869
5427
  /**
4870
5428
  * Approve or reject a private endpoint connection with a given name.
4871
5429
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -4874,7 +5432,7 @@ export declare interface PrivateEndpointConnections {
4874
5432
  * @param parameters The Private Endpoint Connection resource.
4875
5433
  * @param options The options parameters.
4876
5434
  */
4877
- beginCreateOrUpdateAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
5435
+ beginCreateOrUpdateAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnectionAutoGenerated, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
4878
5436
  /**
4879
5437
  * Deletes a private endpoint connection with a given name.
4880
5438
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -4909,7 +5467,7 @@ export declare interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
4909
5467
  }
4910
5468
 
4911
5469
  /** Contains response data for the createOrUpdate operation. */
4912
- export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
5470
+ export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnectionAutoGenerated;
4913
5471
 
4914
5472
  /** Optional parameters. */
4915
5473
  export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
@@ -4924,7 +5482,7 @@ export declare interface PrivateEndpointConnectionsGetOptionalParams extends cor
4924
5482
  }
4925
5483
 
4926
5484
  /** Contains response data for the get operation. */
4927
- export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
5485
+ export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnectionAutoGenerated;
4928
5486
 
4929
5487
  /** Optional parameters. */
4930
5488
  export declare interface PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams extends coreClient.OperationOptions {
@@ -4945,7 +5503,7 @@ export declare type PrivateEndpointConnectionsListByPrivateLinkScopeResponse = P
4945
5503
  export declare type PrivateEndpointServiceConnectionStatus = string;
4946
5504
 
4947
5505
  /** A private link resource */
4948
- export declare interface PrivateLinkResource extends ResourceAutoGenerated3 {
5506
+ export declare interface PrivateLinkResource extends ResourceAutoGenerated5 {
4949
5507
  /**
4950
5508
  * The private link resource group id.
4951
5509
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4999,6 +5557,13 @@ export declare interface PrivateLinkResourcesListByPrivateLinkScopeOptionalParam
4999
5557
  /** Contains response data for the listByPrivateLinkScope operation. */
5000
5558
  export declare type PrivateLinkResourcesListByPrivateLinkScopeResponse = PrivateLinkResourceListResult;
5001
5559
 
5560
+ export declare interface PrivateLinkScopedResource {
5561
+ /** The resourceId of the Azure Monitor Private Link Scope Scoped Resource through which this DCE is associated with a Azure Monitor Private Link Scope. */
5562
+ resourceId?: string;
5563
+ /** The immutableId of the Azure Monitor Private Link Scope Resource to which the association is. */
5564
+ scopeId?: string;
5565
+ }
5566
+
5002
5567
  /** Interface representing a PrivateLinkScopedResources. */
5003
5568
  export declare interface PrivateLinkScopedResources {
5004
5569
  /**
@@ -5231,6 +5796,25 @@ export declare interface PrivateLinkServiceConnectionState {
5231
5796
  actionsRequired?: string;
5232
5797
  }
5233
5798
 
5799
+ /** Definition of Prometheus metrics forwarding configuration. */
5800
+ export declare interface PrometheusForwarderDataSource {
5801
+ /** List of streams that this data source will be sent to. */
5802
+ streams?: KnownPrometheusForwarderDataSourceStreams[];
5803
+ /**
5804
+ * The list of label inclusion filters in the form of label "name-value" pairs.
5805
+ * Currently only one label is supported: 'microsoft_metrics_include_label'.
5806
+ * Label values are matched case-insensitively.
5807
+ */
5808
+ labelIncludeFilter?: {
5809
+ [propertyName: string]: string;
5810
+ };
5811
+ /**
5812
+ * A friendly name for the data source.
5813
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
5814
+ */
5815
+ name?: string;
5816
+ }
5817
+
5234
5818
  /**
5235
5819
  * Defines values for ProvisioningState. \
5236
5820
  * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
@@ -5264,7 +5848,7 @@ export declare interface ProxyResource {
5264
5848
  }
5265
5849
 
5266
5850
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
5267
- export declare interface ProxyResourceAutoGenerated extends ResourceAutoGenerated3 {
5851
+ export declare interface ProxyResourceAutoGenerated extends ResourceAutoGenerated5 {
5268
5852
  }
5269
5853
 
5270
5854
  /**
@@ -5273,8 +5857,7 @@ export declare interface ProxyResourceAutoGenerated extends ResourceAutoGenerate
5273
5857
  * this enum contains the known values that the service supports.
5274
5858
  * ### Known values supported by the service
5275
5859
  * **Enabled** \
5276
- * **Disabled** \
5277
- * **SecuredByPerimeter**
5860
+ * **Disabled**
5278
5861
  */
5279
5862
  export declare type PublicNetworkAccess = string;
5280
5863
 
@@ -5304,62 +5887,55 @@ export declare interface RecurrentSchedule {
5304
5887
  minutes: number[];
5305
5888
  }
5306
5889
 
5307
- /** The autoscale setting resource. */
5890
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
5308
5891
  export declare interface Resource {
5309
5892
  /**
5310
- * Azure resource Id
5893
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
5311
5894
  * NOTE: This property will not be serialized. It can only be populated by the server.
5312
5895
  */
5313
5896
  readonly id?: string;
5314
5897
  /**
5315
- * Azure resource name
5898
+ * The name of the resource
5316
5899
  * NOTE: This property will not be serialized. It can only be populated by the server.
5317
5900
  */
5318
5901
  readonly name?: string;
5319
5902
  /**
5320
- * Azure resource type
5903
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
5321
5904
  * NOTE: This property will not be serialized. It can only be populated by the server.
5322
5905
  */
5323
5906
  readonly type?: string;
5324
- /** Resource location */
5325
- location: string;
5326
- /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */
5327
- tags?: {
5328
- [propertyName: string]: string;
5329
- };
5330
5907
  /**
5331
- * The system metadata related to the response.
5908
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
5332
5909
  * NOTE: This property will not be serialized. It can only be populated by the server.
5333
5910
  */
5334
5911
  readonly systemData?: SystemData;
5335
5912
  }
5336
5913
 
5337
- /** An azure resource object */
5914
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
5338
5915
  export declare interface ResourceAutoGenerated {
5339
5916
  /**
5340
- * Azure resource Id
5917
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
5341
5918
  * NOTE: This property will not be serialized. It can only be populated by the server.
5342
5919
  */
5343
5920
  readonly id?: string;
5344
5921
  /**
5345
- * Azure resource name
5922
+ * The name of the resource
5346
5923
  * NOTE: This property will not be serialized. It can only be populated by the server.
5347
5924
  */
5348
5925
  readonly name?: string;
5349
5926
  /**
5350
- * Azure resource type
5927
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
5351
5928
  * NOTE: This property will not be serialized. It can only be populated by the server.
5352
5929
  */
5353
5930
  readonly type?: string;
5354
- /** Resource location */
5355
- location: string;
5356
- /** Resource tags */
5357
- tags?: {
5358
- [propertyName: string]: string;
5359
- };
5931
+ /**
5932
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
5933
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5934
+ */
5935
+ readonly systemData?: SystemData;
5360
5936
  }
5361
5937
 
5362
- /** An azure resource object */
5938
+ /** The autoscale setting resource. */
5363
5939
  export declare interface ResourceAutoGenerated2 {
5364
5940
  /**
5365
5941
  * Azure resource Id
@@ -5378,29 +5954,40 @@ export declare interface ResourceAutoGenerated2 {
5378
5954
  readonly type?: string;
5379
5955
  /** Resource location */
5380
5956
  location: string;
5381
- /** Resource tags */
5957
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */
5382
5958
  tags?: {
5383
5959
  [propertyName: string]: string;
5384
5960
  };
5961
+ /**
5962
+ * The system metadata related to the response.
5963
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5964
+ */
5965
+ readonly systemData?: SystemData;
5385
5966
  }
5386
5967
 
5387
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
5968
+ /** An azure resource object */
5388
5969
  export declare interface ResourceAutoGenerated3 {
5389
5970
  /**
5390
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
5971
+ * Azure resource Id
5391
5972
  * NOTE: This property will not be serialized. It can only be populated by the server.
5392
5973
  */
5393
5974
  readonly id?: string;
5394
5975
  /**
5395
- * The name of the resource
5976
+ * Azure resource name
5396
5977
  * NOTE: This property will not be serialized. It can only be populated by the server.
5397
5978
  */
5398
5979
  readonly name?: string;
5399
5980
  /**
5400
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
5981
+ * Azure resource type
5401
5982
  * NOTE: This property will not be serialized. It can only be populated by the server.
5402
5983
  */
5403
5984
  readonly type?: string;
5985
+ /** Resource location */
5986
+ location: string;
5987
+ /** Resource tags */
5988
+ tags?: {
5989
+ [propertyName: string]: string;
5990
+ };
5404
5991
  }
5405
5992
 
5406
5993
  /** An azure resource object */
@@ -5445,11 +6032,31 @@ export declare interface ResourceAutoGenerated5 {
5445
6032
  * NOTE: This property will not be serialized. It can only be populated by the server.
5446
6033
  */
5447
6034
  readonly type?: string;
6035
+ }
6036
+
6037
+ /** An azure resource object */
6038
+ export declare interface ResourceAutoGenerated6 {
5448
6039
  /**
5449
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
6040
+ * Azure resource Id
5450
6041
  * NOTE: This property will not be serialized. It can only be populated by the server.
5451
6042
  */
5452
- readonly systemData?: SystemData;
6043
+ readonly id?: string;
6044
+ /**
6045
+ * Azure resource name
6046
+ * NOTE: This property will not be serialized. It can only be populated by the server.
6047
+ */
6048
+ readonly name?: string;
6049
+ /**
6050
+ * Azure resource type
6051
+ * NOTE: This property will not be serialized. It can only be populated by the server.
6052
+ */
6053
+ readonly type?: string;
6054
+ /** Resource location */
6055
+ location: string;
6056
+ /** Resource tags */
6057
+ tags?: {
6058
+ [propertyName: string]: string;
6059
+ };
5453
6060
  }
5454
6061
 
5455
6062
  /** Definition of ARM tracked top level resource properties for update operation. */
@@ -5458,6 +6065,12 @@ export declare interface ResourceForUpdate {
5458
6065
  tags?: {
5459
6066
  [propertyName: string]: string;
5460
6067
  };
6068
+ /** Managed Service Identity. */
6069
+ identity?: ResourceForUpdateIdentity;
6070
+ }
6071
+
6072
+ /** Managed Service Identity. */
6073
+ export declare interface ResourceForUpdateIdentity extends ManagedServiceIdentity {
5461
6074
  }
5462
6075
 
5463
6076
  /** The response to a metrics query. */
@@ -5466,13 +6079,16 @@ declare interface Response_2 {
5466
6079
  cost?: number;
5467
6080
  /** The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. */
5468
6081
  timespan: string;
5469
- /** The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. */
6082
+ /**
6083
+ * The interval (window size) for which the metric data was returned in ISO 8601 duration format with a special case for 'FULL' value that returns single datapoint for entire time span requested (*Examples: PT15M, PT1H, P1D, FULL*).
6084
+ * This may be adjusted and different from what was originally requested if AutoAdjustTimegrain=true is specified. This is not present if a metadata request was made.
6085
+ */
5470
6086
  interval?: string;
5471
6087
  /** The namespace of the metrics being queried */
5472
6088
  namespace?: string;
5473
6089
  /** The region of the resource being queried for metrics. */
5474
6090
  resourceregion?: string;
5475
- /** the value of the collection. */
6091
+ /** The value of the collection. */
5476
6092
  value: Metric[];
5477
6093
  }
5478
6094
  export { Response_2 as Response }
@@ -5713,8 +6329,6 @@ export declare interface ScheduledQueryRuleResource {
5713
6329
  severity?: AlertSeverity;
5714
6330
  /** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
5715
6331
  enabled?: boolean;
5716
- /** This determines if traffic is allowed over public network. By default it is enabled. */
5717
- publicNetworkAccess?: PublicNetworkAccess;
5718
6332
  /** The list of resource id's that this scheduled query rule is scoped to. */
5719
6333
  scopes?: string[];
5720
6334
  /** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
@@ -5783,8 +6397,6 @@ export declare interface ScheduledQueryRuleResourcePatch {
5783
6397
  severity?: AlertSeverity;
5784
6398
  /** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
5785
6399
  enabled?: boolean;
5786
- /** This determines if traffic is allowed over public network. By default it is enabled. */
5787
- publicNetworkAccess?: PublicNetworkAccess;
5788
6400
  /** The list of resource id's that this scheduled query rule is scoped to. */
5789
6401
  scopes?: string[];
5790
6402
  /** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
@@ -5997,12 +6609,126 @@ export declare interface SmsReceiver {
5997
6609
  readonly status?: ReceiverStatus;
5998
6610
  }
5999
6611
 
6612
+ /** An SMS receiver. */
6613
+ export declare interface SmsReceiverAutoGenerated {
6614
+ /** The name of the SMS receiver. Names must be unique across all receivers within a tenant action group. */
6615
+ name: string;
6616
+ /** The country code of the SMS receiver. */
6617
+ countryCode: string;
6618
+ /** The phone number of the SMS receiver. */
6619
+ phoneNumber: string;
6620
+ /**
6621
+ * The status of the receiver.
6622
+ * NOTE: This property will not be serialized. It can only be populated by the server.
6623
+ */
6624
+ readonly status?: ReceiverStatus;
6625
+ }
6626
+
6627
+ export declare interface StorageBlobDestination {
6628
+ /** The container name of the Storage Blob. */
6629
+ containerName?: string;
6630
+ /** The resource ID of the storage account. */
6631
+ storageAccountResourceId?: string;
6632
+ /**
6633
+ * A friendly name for the destination.
6634
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
6635
+ */
6636
+ name?: string;
6637
+ }
6638
+
6639
+ export declare interface StorageTableDestination {
6640
+ /** The name of the Storage Table. */
6641
+ tableName?: string;
6642
+ /** The resource ID of the storage account. */
6643
+ storageAccountResourceId?: string;
6644
+ /**
6645
+ * A friendly name for the destination.
6646
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
6647
+ */
6648
+ name?: string;
6649
+ }
6650
+
6000
6651
  /** Declaration of a custom stream. */
6001
6652
  export declare interface StreamDeclaration {
6002
6653
  /** List of columns used by data in this stream. */
6003
6654
  columns?: ColumnDefinition[];
6004
6655
  }
6005
6656
 
6657
+ /** Metric definition class specifies the metadata for a metric. */
6658
+ export declare interface SubscriptionScopeMetricDefinition {
6659
+ /** Flag to indicate whether the dimension is required. */
6660
+ isDimensionRequired?: boolean;
6661
+ /** The resource identifier of the resource that emitted the metric. */
6662
+ resourceId?: string;
6663
+ /** The namespace the metric belongs to. */
6664
+ namespace?: string;
6665
+ /** The name and the display name of the metric, i.e. it is a localizable string. */
6666
+ name?: LocalizableString;
6667
+ /** Detailed description of this metric. */
6668
+ displayDescription?: string;
6669
+ /** Custom category name for this metric. */
6670
+ category?: string;
6671
+ /** The class of the metric. */
6672
+ metricClass?: MetricClass;
6673
+ /** The unit of the metric. */
6674
+ unit?: MetricUnit;
6675
+ /** The primary aggregation type value defining how to use the values for display. */
6676
+ primaryAggregationType?: MetricAggregationType;
6677
+ /** The collection of what aggregation types are supported. */
6678
+ supportedAggregationTypes?: MetricAggregationType[];
6679
+ /** The collection of what aggregation intervals are available to be queried. */
6680
+ metricAvailabilities?: MetricAvailability[];
6681
+ /** The resource identifier of the metric definition. */
6682
+ id?: string;
6683
+ /** The name and the display name of the dimension, i.e. it is a localizable string. */
6684
+ dimensions?: LocalizableString[];
6685
+ }
6686
+
6687
+ /** Represents collection of metric definitions. */
6688
+ export declare interface SubscriptionScopeMetricDefinitionCollection {
6689
+ /** The values for the metric definitions. */
6690
+ value: SubscriptionScopeMetricDefinition[];
6691
+ }
6692
+
6693
+ /** Query parameters can also be specified in the body, specifying the same parameter in both the body and query parameters will result in an error. */
6694
+ export declare interface SubscriptionScopeMetricsRequestBodyParameters {
6695
+ /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
6696
+ timespan?: string;
6697
+ /**
6698
+ * The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.
6699
+ * *Examples: PT15M, PT1H, P1D, FULL*
6700
+ */
6701
+ interval?: string;
6702
+ /** The names of the metrics (comma separated) to retrieve. */
6703
+ metricNames?: string;
6704
+ /** The list of aggregation types (comma separated) to retrieve. */
6705
+ aggregation?: string;
6706
+ /** The **$filter** is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**. */
6707
+ filter?: string;
6708
+ /**
6709
+ * The maximum number of records to retrieve.
6710
+ * Valid only if $filter is specified.
6711
+ * Defaults to 10.
6712
+ */
6713
+ top?: number;
6714
+ /**
6715
+ * The aggregation to use for sorting results and the direction of the sort.
6716
+ * Only one order can be specified.
6717
+ * Examples: sum asc.
6718
+ */
6719
+ orderBy?: string;
6720
+ /** Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. */
6721
+ rollUpBy?: string;
6722
+ /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
6723
+ resultType?: MetricResultType;
6724
+ /** Metric namespace where the metrics you want reside. */
6725
+ metricNamespace?: string;
6726
+ /** When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false. */
6727
+ autoAdjustTimegrain?: boolean;
6728
+ /** When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true. */
6729
+ validateDimensions?: boolean;
6730
+ }
6731
+
6006
6732
  /**
6007
6733
  * Definition of which syslog data will be collected and how it will be collected.
6008
6734
  * Only collected from Linux machines.
@@ -6048,6 +6774,110 @@ export declare interface TagsResource {
6048
6774
  };
6049
6775
  }
6050
6776
 
6777
+ /** A list of tenant action groups. */
6778
+ export declare interface TenantActionGroupList {
6779
+ /** The list of tenant action groups. */
6780
+ value?: TenantActionGroupResource[];
6781
+ /** Provides the link to retrieve the next set of elements. */
6782
+ nextLink?: string;
6783
+ }
6784
+
6785
+ /** A tenant action group resource. */
6786
+ export declare interface TenantActionGroupResource extends AzureResource {
6787
+ /** The short name of the action group. This will be used in SMS messages. */
6788
+ groupShortName?: string;
6789
+ /** Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its receivers will receive communications. */
6790
+ enabled?: boolean;
6791
+ /** The list of email receivers that are part of this tenant action group. */
6792
+ emailReceivers?: EmailReceiverAutoGenerated[];
6793
+ /** The list of SMS receivers that are part of this tenant action group. */
6794
+ smsReceivers?: SmsReceiverAutoGenerated[];
6795
+ /** The list of webhook receivers that are part of this tenant action group. */
6796
+ webhookReceivers?: WebhookReceiverAutoGenerated[];
6797
+ /** The list of AzureAppPush receivers that are part of this tenant action group. */
6798
+ azureAppPushReceivers?: AzureAppPushReceiverAutoGenerated[];
6799
+ /** The list of voice receivers that are part of this tenant action group. */
6800
+ voiceReceivers?: VoiceReceiverAutoGenerated[];
6801
+ }
6802
+
6803
+ /** Interface representing a TenantActionGroups. */
6804
+ export declare interface TenantActionGroups {
6805
+ /**
6806
+ * Get a list of all tenant action groups in a management group.
6807
+ * @param managementGroupId The management group id.
6808
+ * @param xMsClientTenantId The tenant ID of the client making the request.
6809
+ * @param options The options parameters.
6810
+ */
6811
+ listByManagementGroupId(managementGroupId: string, xMsClientTenantId: string, options?: TenantActionGroupsListByManagementGroupIdOptionalParams): PagedAsyncIterableIterator<TenantActionGroupResource>;
6812
+ /**
6813
+ * Create a new tenant action group or update an existing one.
6814
+ * @param managementGroupId The management group id.
6815
+ * @param tenantActionGroupName The name of the action group.
6816
+ * @param xMsClientTenantId The tenant ID of the client making the request.
6817
+ * @param actionGroup The tenant action group to create or use for the update.
6818
+ * @param options The options parameters.
6819
+ */
6820
+ createOrUpdate(managementGroupId: string, tenantActionGroupName: string, xMsClientTenantId: string, actionGroup: TenantActionGroupResource, options?: TenantActionGroupsCreateOrUpdateOptionalParams): Promise<TenantActionGroupsCreateOrUpdateResponse>;
6821
+ /**
6822
+ * Get a tenant action group.
6823
+ * @param managementGroupId The management group id.
6824
+ * @param tenantActionGroupName The name of the action group.
6825
+ * @param xMsClientTenantId The tenant ID of the client making the request.
6826
+ * @param options The options parameters.
6827
+ */
6828
+ get(managementGroupId: string, tenantActionGroupName: string, xMsClientTenantId: string, options?: TenantActionGroupsGetOptionalParams): Promise<TenantActionGroupsGetResponse>;
6829
+ /**
6830
+ * Delete a tenant action group.
6831
+ * @param managementGroupId The management group id.
6832
+ * @param tenantActionGroupName The name of the action group.
6833
+ * @param xMsClientTenantId The tenant ID of the client making the request.
6834
+ * @param options The options parameters.
6835
+ */
6836
+ delete(managementGroupId: string, tenantActionGroupName: string, xMsClientTenantId: string, options?: TenantActionGroupsDeleteOptionalParams): Promise<void>;
6837
+ /**
6838
+ * Updates an existing tenant action group's tags. To update other fields use the CreateOrUpdate
6839
+ * method.
6840
+ * @param managementGroupId The management group id.
6841
+ * @param tenantActionGroupName The name of the action group.
6842
+ * @param xMsClientTenantId The tenant ID of the client making the request.
6843
+ * @param tenantActionGroupPatch Parameters supplied to the operation.
6844
+ * @param options The options parameters.
6845
+ */
6846
+ update(managementGroupId: string, tenantActionGroupName: string, xMsClientTenantId: string, tenantActionGroupPatch: ActionGroupPatchBodyAutoGenerated, options?: TenantActionGroupsUpdateOptionalParams): Promise<TenantActionGroupsUpdateResponse>;
6847
+ }
6848
+
6849
+ /** Optional parameters. */
6850
+ export declare interface TenantActionGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
6851
+ }
6852
+
6853
+ /** Contains response data for the createOrUpdate operation. */
6854
+ export declare type TenantActionGroupsCreateOrUpdateResponse = TenantActionGroupResource;
6855
+
6856
+ /** Optional parameters. */
6857
+ export declare interface TenantActionGroupsDeleteOptionalParams extends coreClient.OperationOptions {
6858
+ }
6859
+
6860
+ /** Optional parameters. */
6861
+ export declare interface TenantActionGroupsGetOptionalParams extends coreClient.OperationOptions {
6862
+ }
6863
+
6864
+ /** Contains response data for the get operation. */
6865
+ export declare type TenantActionGroupsGetResponse = TenantActionGroupResource;
6866
+
6867
+ /** Optional parameters. */
6868
+ export declare interface TenantActionGroupsListByManagementGroupIdOptionalParams extends coreClient.OperationOptions {
6869
+ }
6870
+
6871
+ /** Contains response data for the listByManagementGroupId operation. */
6872
+ export declare type TenantActionGroupsListByManagementGroupIdResponse = TenantActionGroupList;
6873
+
6874
+ /** Optional parameters. */
6875
+ export declare interface TenantActionGroupsUpdateOptionalParams extends coreClient.OperationOptions {
6876
+ }
6877
+
6878
+ /** Contains response data for the update operation. */
6879
+ export declare type TenantActionGroupsUpdateResponse = TenantActionGroupResource;
6880
+
6051
6881
  /** Interface representing a TenantActivityLogs. */
6052
6882
  export declare interface TenantActivityLogs {
6053
6883
  /**
@@ -6069,15 +6899,31 @@ export declare type TenantActivityLogsListNextResponse = EventDataCollection;
6069
6899
 
6070
6900
  /** Optional parameters. */
6071
6901
  export declare interface TenantActivityLogsListOptionalParams extends coreClient.OperationOptions {
6072
- /** 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* */
6073
- select?: string;
6074
6902
  /** 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. */
6075
6903
  filter?: string;
6904
+ /** 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* */
6905
+ select?: string;
6076
6906
  }
6077
6907
 
6078
6908
  /** Contains response data for the list operation. */
6079
6909
  export declare type TenantActivityLogsListResponse = EventDataCollection;
6080
6910
 
6911
+ /** The request body which contain contact detail metadata */
6912
+ export declare interface TenantNotificationRequestBody {
6913
+ /** The value of the supported alert type. Supported alert type value is: servicehealth */
6914
+ alertType: string;
6915
+ /** The list of email receivers that are part of this action group. */
6916
+ emailReceivers?: EmailReceiverAutoGenerated[];
6917
+ /** The list of SMS receivers that are part of this action group. */
6918
+ smsReceivers?: SmsReceiverAutoGenerated[];
6919
+ /** The list of webhook receivers that are part of this action group. */
6920
+ webhookReceivers?: WebhookReceiverAutoGenerated[];
6921
+ /** The list of AzureAppPush receivers that are part of this action group. */
6922
+ azureAppPushReceivers?: AzureAppPushReceiverAutoGenerated[];
6923
+ /** The list of voice receivers that are part of this action group. */
6924
+ voiceReceivers?: VoiceReceiverAutoGenerated[];
6925
+ }
6926
+
6081
6927
  /** The details of the test notification results. */
6082
6928
  export declare interface TestNotificationDetailsResponse {
6083
6929
  /** The context info */
@@ -6092,6 +6938,20 @@ export declare interface TestNotificationDetailsResponse {
6092
6938
  actionDetails?: ActionDetail[];
6093
6939
  }
6094
6940
 
6941
+ /** The details of the test notification results. */
6942
+ export declare interface TestNotificationDetailsResponseAutoGenerated {
6943
+ /** The context info */
6944
+ context?: Context;
6945
+ /** The overall state */
6946
+ state: string;
6947
+ /** The completed time */
6948
+ completedTime?: string;
6949
+ /** The created time */
6950
+ createdTime?: string;
6951
+ /** The list of action detail */
6952
+ actionDetails?: ActionDetailAutoGenerated[];
6953
+ }
6954
+
6095
6955
  /** A rule condition based on a metric crossing a threshold. */
6096
6956
  export declare interface ThresholdRuleCondition extends RuleCondition {
6097
6957
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -6141,7 +7001,7 @@ export declare interface TimeSeriesBaseline {
6141
7001
 
6142
7002
  /** A time series result type. The discriminator value is always TimeSeries in this case. */
6143
7003
  export declare interface TimeSeriesElement {
6144
- /** the metadata values returned if $filter was specified in the call. */
7004
+ /** The metadata values returned if $filter was specified in the call. */
6145
7005
  metadatavalues?: MetadataValue[];
6146
7006
  /** An array of data points representing the metric values. This is only returned if a result type of data is specified. */
6147
7007
  data?: MetricValue[];
@@ -6158,7 +7018,7 @@ export declare interface TimeWindow {
6158
7018
  }
6159
7019
 
6160
7020
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
6161
- export declare interface TrackedResource extends ResourceAutoGenerated3 {
7021
+ export declare interface TrackedResource extends ResourceAutoGenerated {
6162
7022
  /** Resource tags. */
6163
7023
  tags?: {
6164
7024
  [propertyName: string]: string;
@@ -6177,6 +7037,20 @@ export declare interface TrackedResourceAutoGenerated extends ResourceAutoGenera
6177
7037
  location: string;
6178
7038
  }
6179
7039
 
7040
+ /** User assigned identity properties */
7041
+ export declare interface UserAssignedIdentity {
7042
+ /**
7043
+ * The principal ID of the assigned identity.
7044
+ * NOTE: This property will not be serialized. It can only be populated by the server.
7045
+ */
7046
+ readonly principalId?: string;
7047
+ /**
7048
+ * The client ID of the assigned identity.
7049
+ * NOTE: This property will not be serialized. It can only be populated by the server.
7050
+ */
7051
+ readonly clientId?: string;
7052
+ }
7053
+
6180
7054
  /** User assigned identity properties. */
6181
7055
  export declare interface UserIdentityProperties {
6182
7056
  /**
@@ -6231,6 +7105,16 @@ export declare interface VoiceReceiver {
6231
7105
  phoneNumber: string;
6232
7106
  }
6233
7107
 
7108
+ /** A voice receiver. */
7109
+ export declare interface VoiceReceiverAutoGenerated {
7110
+ /** The name of the voice receiver. Names must be unique across all receivers within a tenant action group. */
7111
+ name: string;
7112
+ /** The country code of the voice receiver. */
7113
+ countryCode: string;
7114
+ /** The phone number of the voice receiver. */
7115
+ phoneNumber: string;
7116
+ }
7117
+
6234
7118
  /** Webhook notification of an autoscale event. */
6235
7119
  export declare interface WebhookNotification {
6236
7120
  /** the service address to receive the notification. */
@@ -6259,6 +7143,24 @@ export declare interface WebhookReceiver {
6259
7143
  tenantId?: string;
6260
7144
  }
6261
7145
 
7146
+ /** A webhook receiver. */
7147
+ export declare interface WebhookReceiverAutoGenerated {
7148
+ /** The name of the webhook receiver. Names must be unique across all receivers within a tenant action group. */
7149
+ name: string;
7150
+ /** The URI where webhooks should be sent. */
7151
+ serviceUri: string;
7152
+ /** Indicates whether to use common alert schema. */
7153
+ useCommonAlertSchema?: boolean;
7154
+ /** Indicates whether or not use AAD authentication. */
7155
+ useAadAuth?: boolean;
7156
+ /** Indicates the webhook app object Id for aad auth. */
7157
+ objectId?: string;
7158
+ /** Indicates the identifier uri for aad auth. */
7159
+ identifierUri?: string;
7160
+ /** Indicates the tenant id for aad auth. */
7161
+ tenantId?: string;
7162
+ }
7163
+
6262
7164
  /** Specifies the metric alert rule criteria for a web test resource. */
6263
7165
  export declare interface WebtestLocationAvailabilityCriteria extends MetricAlertCriteria {
6264
7166
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -6290,6 +7192,17 @@ export declare interface WindowsEventLogDataSource {
6290
7192
  name?: string;
6291
7193
  }
6292
7194
 
7195
+ /** Enables Firewall logs to be collected by this data collection rule. */
7196
+ export declare interface WindowsFirewallLogsDataSource {
7197
+ /** Firewall logs streams */
7198
+ streams: string[];
7199
+ /**
7200
+ * A friendly name for the data source.
7201
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
7202
+ */
7203
+ name?: string;
7204
+ }
7205
+
6293
7206
  /** Information about a Log Analytics Workspace. */
6294
7207
  export declare interface WorkspaceInfo {
6295
7208
  /** Azure Resource Manager identifier of the Log Analytics Workspace. */