@azure/arm-monitor 8.0.0-alpha.20240321.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
@@ -28,6 +28,545 @@ export type MultiMetricCriteriaUnion =
28
28
  | MetricCriteria
29
29
  | DynamicMetricCriteria;
30
30
 
31
+ /** Represents collection of metric namespaces. */
32
+ export interface MetricNamespaceCollection {
33
+ /** The values for the metric namespaces. */
34
+ value: MetricNamespace[];
35
+ }
36
+
37
+ /** Metric namespace class specifies the metadata for a metric namespace. */
38
+ export interface MetricNamespace {
39
+ /** The ID of the metric namespace. */
40
+ id?: string;
41
+ /** The type of the namespace. */
42
+ type?: string;
43
+ /** The escaped name of the namespace. */
44
+ name?: string;
45
+ /** Kind of namespace */
46
+ classification?: NamespaceClassification;
47
+ /** Properties which include the fully qualified namespace name. */
48
+ properties?: MetricNamespaceName;
49
+ }
50
+
51
+ /** The fully qualified metric namespace name. */
52
+ export interface MetricNamespaceName {
53
+ /** The metric namespace name. */
54
+ metricNamespaceName?: string;
55
+ }
56
+
57
+ /** Describes the format of Error response. */
58
+ export interface ErrorResponse {
59
+ /** Error code */
60
+ code?: string;
61
+ /** Error message indicating why the operation failed. */
62
+ message?: string;
63
+ }
64
+
65
+ /** Represents collection of metric definitions. */
66
+ export interface SubscriptionScopeMetricDefinitionCollection {
67
+ /** The values for the metric definitions. */
68
+ value: SubscriptionScopeMetricDefinition[];
69
+ }
70
+
71
+ /** Metric definition class specifies the metadata for a metric. */
72
+ export interface SubscriptionScopeMetricDefinition {
73
+ /** Flag to indicate whether the dimension is required. */
74
+ isDimensionRequired?: boolean;
75
+ /** The resource identifier of the resource that emitted the metric. */
76
+ resourceId?: string;
77
+ /** The namespace the metric belongs to. */
78
+ namespace?: string;
79
+ /** The name and the display name of the metric, i.e. it is a localizable string. */
80
+ name?: LocalizableString;
81
+ /** Detailed description of this metric. */
82
+ displayDescription?: string;
83
+ /** Custom category name for this metric. */
84
+ category?: string;
85
+ /** The class of the metric. */
86
+ metricClass?: MetricClass;
87
+ /** The unit of the metric. */
88
+ unit?: MetricUnit;
89
+ /** The primary aggregation type value defining how to use the values for display. */
90
+ primaryAggregationType?: MetricAggregationType;
91
+ /** The collection of what aggregation types are supported. */
92
+ supportedAggregationTypes?: MetricAggregationType[];
93
+ /** The collection of what aggregation intervals are available to be queried. */
94
+ metricAvailabilities?: MetricAvailability[];
95
+ /** The resource identifier of the metric definition. */
96
+ id?: string;
97
+ /** The name and the display name of the dimension, i.e. it is a localizable string. */
98
+ dimensions?: LocalizableString[];
99
+ }
100
+
101
+ /** The localizable string class. */
102
+ export interface LocalizableString {
103
+ /** The invariant value. */
104
+ value: string;
105
+ /** The display name. */
106
+ localizedValue?: string;
107
+ }
108
+
109
+ /** Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. */
110
+ export interface MetricAvailability {
111
+ /** The time grain specifies a supported aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */
112
+ timeGrain?: string;
113
+ /** The retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */
114
+ retention?: string;
115
+ }
116
+
117
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
118
+ export interface ErrorContract {
119
+ /** The error object. */
120
+ error?: ErrorResponseAutoGenerated;
121
+ }
122
+
123
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
124
+ export interface ErrorResponseAutoGenerated {
125
+ /**
126
+ * The error code.
127
+ * NOTE: This property will not be serialized. It can only be populated by the server.
128
+ */
129
+ readonly code?: string;
130
+ /**
131
+ * The error message.
132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
133
+ */
134
+ readonly message?: string;
135
+ /**
136
+ * The error target.
137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
138
+ */
139
+ readonly target?: string;
140
+ /**
141
+ * The error details.
142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
143
+ */
144
+ readonly details?: ErrorResponseAutoGenerated[];
145
+ /**
146
+ * The error additional info.
147
+ * NOTE: This property will not be serialized. It can only be populated by the server.
148
+ */
149
+ readonly additionalInfo?: ErrorAdditionalInfo[];
150
+ }
151
+
152
+ /** The resource management error additional info. */
153
+ export interface ErrorAdditionalInfo {
154
+ /**
155
+ * The additional info type.
156
+ * NOTE: This property will not be serialized. It can only be populated by the server.
157
+ */
158
+ readonly type?: string;
159
+ /**
160
+ * The additional info.
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
162
+ */
163
+ readonly info?: Record<string, unknown>;
164
+ }
165
+
166
+ /** Represents collection of metric definitions. */
167
+ export interface MetricDefinitionCollection {
168
+ /** The values for the metric definitions. */
169
+ value: MetricDefinition[];
170
+ }
171
+
172
+ /** Metric definition class specifies the metadata for a metric. */
173
+ export interface MetricDefinition {
174
+ /** Flag to indicate whether the dimension is required. */
175
+ isDimensionRequired?: boolean;
176
+ /** The resource identifier of the resource that emitted the metric. */
177
+ resourceId?: string;
178
+ /** The namespace the metric belongs to. */
179
+ namespace?: string;
180
+ /** The name and the display name of the metric, i.e. it is a localizable string. */
181
+ name?: LocalizableString;
182
+ /** Detailed description of this metric. */
183
+ displayDescription?: string;
184
+ /** Custom category name for this metric. */
185
+ category?: string;
186
+ /** The class of the metric. */
187
+ metricClass?: MetricClass;
188
+ /** The unit of the metric. */
189
+ unit?: MetricUnit;
190
+ /** The primary aggregation type value defining how to use the values for display. */
191
+ primaryAggregationType?: AggregationType;
192
+ /** The collection of what aggregation types are supported. */
193
+ supportedAggregationTypes?: AggregationType[];
194
+ /** The collection of what aggregation intervals are available to be queried. */
195
+ metricAvailabilities?: MetricAvailability[];
196
+ /** The resource identifier of the metric definition. */
197
+ id?: string;
198
+ /** The name and the display name of the dimension, i.e. it is a localizable string. */
199
+ dimensions?: LocalizableString[];
200
+ }
201
+
202
+ /** The response to a metrics query. */
203
+ export interface Response {
204
+ /** The integer value representing the relative cost of the query. */
205
+ cost?: number;
206
+ /** 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. */
207
+ timespan: string;
208
+ /**
209
+ * 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*).
210
+ * 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.
211
+ */
212
+ interval?: string;
213
+ /** The namespace of the metrics being queried */
214
+ namespace?: string;
215
+ /** The region of the resource being queried for metrics. */
216
+ resourceregion?: string;
217
+ /** The value of the collection. */
218
+ value: Metric[];
219
+ }
220
+
221
+ /** The result data of a query. */
222
+ export interface Metric {
223
+ /** The metric Id. */
224
+ id: string;
225
+ /** The resource type of the metric resource. */
226
+ type: string;
227
+ /** The name and the display name of the metric, i.e. it is localizable string. */
228
+ name: LocalizableString;
229
+ /** Detailed description of this metric. */
230
+ displayDescription?: string;
231
+ /** 'Success' or the error details on query failures for this metric. */
232
+ errorCode?: string;
233
+ /** Error message encountered querying this specific metric. */
234
+ errorMessage?: string;
235
+ /** The unit of the metric. */
236
+ unit: MetricUnit;
237
+ /** The time series returned when a data query is performed. */
238
+ timeseries: TimeSeriesElement[];
239
+ }
240
+
241
+ /** A time series result type. The discriminator value is always TimeSeries in this case. */
242
+ export interface TimeSeriesElement {
243
+ /** The metadata values returned if $filter was specified in the call. */
244
+ metadatavalues?: MetadataValue[];
245
+ /** An array of data points representing the metric values. This is only returned if a result type of data is specified. */
246
+ data?: MetricValue[];
247
+ }
248
+
249
+ /** Represents a metric metadata value. */
250
+ export interface MetadataValue {
251
+ /** The name of the metadata. */
252
+ name?: LocalizableString;
253
+ /** The value of the metadata. */
254
+ value?: string;
255
+ }
256
+
257
+ /** Represents a metric value. */
258
+ export interface MetricValue {
259
+ /** The timestamp for the metric value in ISO 8601 format. */
260
+ timeStamp: Date;
261
+ /** The average value in the time range. */
262
+ average?: number;
263
+ /** The least value in the time range. */
264
+ minimum?: number;
265
+ /** The greatest value in the time range. */
266
+ maximum?: number;
267
+ /** The sum of all of the values in the time range. */
268
+ total?: number;
269
+ /** The number of samples in the time range. Can be used to determine the number of values that contributed to the average value. */
270
+ count?: number;
271
+ }
272
+
273
+ /** 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. */
274
+ export interface SubscriptionScopeMetricsRequestBodyParameters {
275
+ /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
276
+ timespan?: string;
277
+ /**
278
+ * 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.
279
+ * *Examples: PT15M, PT1H, P1D, FULL*
280
+ */
281
+ interval?: string;
282
+ /** The names of the metrics (comma separated) to retrieve. */
283
+ metricNames?: string;
284
+ /** The list of aggregation types (comma separated) to retrieve. */
285
+ aggregation?: string;
286
+ /** 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 ‘*’**. */
287
+ filter?: string;
288
+ /**
289
+ * The maximum number of records to retrieve.
290
+ * Valid only if $filter is specified.
291
+ * Defaults to 10.
292
+ */
293
+ top?: number;
294
+ /**
295
+ * The aggregation to use for sorting results and the direction of the sort.
296
+ * Only one order can be specified.
297
+ * Examples: sum asc.
298
+ */
299
+ orderBy?: string;
300
+ /** 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. */
301
+ rollUpBy?: string;
302
+ /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
303
+ resultType?: MetricResultType;
304
+ /** Metric namespace where the metrics you want reside. */
305
+ metricNamespace?: string;
306
+ /** 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. */
307
+ autoAdjustTimegrain?: boolean;
308
+ /** 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. */
309
+ validateDimensions?: boolean;
310
+ }
311
+
312
+ /** A pageable list of resources */
313
+ export interface AzureMonitorWorkspaceResourceListResult {
314
+ /** A list of resources */
315
+ value: AzureMonitorWorkspaceResource[];
316
+ /** The URL to use for getting the next set of results */
317
+ nextLink?: string;
318
+ }
319
+
320
+ /** Properties of an Azure Monitor Workspace */
321
+ export interface AzureMonitorWorkspace {
322
+ /**
323
+ * The immutable Id of the Azure Monitor Workspace. This property is read-only.
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
325
+ */
326
+ readonly accountId?: string;
327
+ /**
328
+ * Properties related to the metrics container in the Azure Monitor Workspace
329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
330
+ */
331
+ readonly metrics?: AzureMonitorWorkspaceMetrics;
332
+ /**
333
+ * The provisioning state of the Azure Monitor Workspace. Set to Succeeded if everything is healthy.
334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
335
+ */
336
+ readonly provisioningState?: ProvisioningState;
337
+ /**
338
+ * The Data Collection Rule and Endpoint used for ingestion by default.
339
+ * NOTE: This property will not be serialized. It can only be populated by the server.
340
+ */
341
+ readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
342
+ /**
343
+ * List of private endpoint connections
344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
345
+ */
346
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
347
+ /**
348
+ * Gets or sets allow or disallow public network access to Azure Monitor Workspace
349
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
+ */
351
+ readonly publicNetworkAccess?: PublicNetworkAccess;
352
+ }
353
+
354
+ /** Properties related to the metrics container in the Azure Monitor Workspace */
355
+ export interface Metrics {
356
+ /**
357
+ * The Prometheus query endpoint for the Azure Monitor Workspace
358
+ * NOTE: This property will not be serialized. It can only be populated by the server.
359
+ */
360
+ readonly prometheusQueryEndpoint?: string;
361
+ /**
362
+ * An internal identifier for the metrics container. Only to be used by the system
363
+ * NOTE: This property will not be serialized. It can only be populated by the server.
364
+ */
365
+ readonly internalId?: string;
366
+ }
367
+
368
+ /** Settings for data ingestion */
369
+ export interface IngestionSettings {
370
+ /**
371
+ * The Azure resource Id of the default data collection rule for this Azure Monitor Workspace.
372
+ * NOTE: This property will not be serialized. It can only be populated by the server.
373
+ */
374
+ readonly dataCollectionRuleResourceId?: string;
375
+ /**
376
+ * The Azure resource Id of the default data collection endpoint for this Azure Monitor Workspace.
377
+ * NOTE: This property will not be serialized. It can only be populated by the server.
378
+ */
379
+ readonly dataCollectionEndpointResourceId?: string;
380
+ }
381
+
382
+ /** The private endpoint resource. */
383
+ export interface PrivateEndpoint {
384
+ /**
385
+ * The ARM identifier for private endpoint.
386
+ * NOTE: This property will not be serialized. It can only be populated by the server.
387
+ */
388
+ readonly id?: string;
389
+ }
390
+
391
+ /** A collection of information about the state of the connection between service consumer and provider. */
392
+ export interface PrivateLinkServiceConnectionState {
393
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
394
+ status?: PrivateEndpointServiceConnectionStatus;
395
+ /** The reason for approval/rejection of the connection. */
396
+ description?: string;
397
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
398
+ actionsRequired?: string;
399
+ }
400
+
401
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
402
+ export interface Resource {
403
+ /**
404
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
405
+ * NOTE: This property will not be serialized. It can only be populated by the server.
406
+ */
407
+ readonly id?: string;
408
+ /**
409
+ * The name of the resource
410
+ * NOTE: This property will not be serialized. It can only be populated by the server.
411
+ */
412
+ readonly name?: string;
413
+ /**
414
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
415
+ * NOTE: This property will not be serialized. It can only be populated by the server.
416
+ */
417
+ readonly type?: string;
418
+ /**
419
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
420
+ * NOTE: This property will not be serialized. It can only be populated by the server.
421
+ */
422
+ readonly systemData?: SystemData;
423
+ }
424
+
425
+ /** Metadata pertaining to creation and last modification of the resource. */
426
+ export interface SystemData {
427
+ /** The identity that created the resource. */
428
+ createdBy?: string;
429
+ /** The type of identity that created the resource. */
430
+ createdByType?: CreatedByType;
431
+ /** The timestamp of resource creation (UTC). */
432
+ createdAt?: Date;
433
+ /** The identity that last modified the resource. */
434
+ lastModifiedBy?: string;
435
+ /** The type of identity that last modified the resource. */
436
+ lastModifiedByType?: CreatedByType;
437
+ /** The timestamp of resource last modification (UTC) */
438
+ lastModifiedAt?: Date;
439
+ }
440
+
441
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
442
+ export interface ResourceAutoGenerated {
443
+ /**
444
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
445
+ * NOTE: This property will not be serialized. It can only be populated by the server.
446
+ */
447
+ readonly id?: string;
448
+ /**
449
+ * The name of the resource
450
+ * NOTE: This property will not be serialized. It can only be populated by the server.
451
+ */
452
+ readonly name?: string;
453
+ /**
454
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
455
+ * NOTE: This property will not be serialized. It can only be populated by the server.
456
+ */
457
+ readonly type?: string;
458
+ /**
459
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
460
+ * NOTE: This property will not be serialized. It can only be populated by the server.
461
+ */
462
+ readonly systemData?: SystemData;
463
+ }
464
+
465
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
466
+ export interface ErrorResponseAutoGenerated2 {
467
+ /** The error object. */
468
+ error?: ErrorDetail;
469
+ }
470
+
471
+ /** The error detail. */
472
+ export interface ErrorDetail {
473
+ /**
474
+ * The error code.
475
+ * NOTE: This property will not be serialized. It can only be populated by the server.
476
+ */
477
+ readonly code?: string;
478
+ /**
479
+ * The error message.
480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
+ */
482
+ readonly message?: string;
483
+ /**
484
+ * The error target.
485
+ * NOTE: This property will not be serialized. It can only be populated by the server.
486
+ */
487
+ readonly target?: string;
488
+ /**
489
+ * The error details.
490
+ * NOTE: This property will not be serialized. It can only be populated by the server.
491
+ */
492
+ readonly details?: ErrorDetail[];
493
+ /**
494
+ * The error additional info.
495
+ * NOTE: This property will not be serialized. It can only be populated by the server.
496
+ */
497
+ readonly additionalInfo?: ErrorAdditionalInfo[];
498
+ }
499
+
500
+ /** Definition of ARM tracked top level resource properties for the Update operation */
501
+ export interface AzureMonitorWorkspaceResourceForUpdate {
502
+ /** Resource tags */
503
+ tags?: { [propertyName: string]: string };
504
+ }
505
+
506
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
507
+ export interface OperationListResult {
508
+ /**
509
+ * List of operations supported by the resource provider
510
+ * NOTE: This property will not be serialized. It can only be populated by the server.
511
+ */
512
+ readonly value?: Operation[];
513
+ /**
514
+ * URL to get the next set of operation list results (if there are any).
515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
516
+ */
517
+ readonly nextLink?: string;
518
+ }
519
+
520
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
521
+ export interface Operation {
522
+ /**
523
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
524
+ * NOTE: This property will not be serialized. It can only be populated by the server.
525
+ */
526
+ readonly name?: string;
527
+ /**
528
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
529
+ * NOTE: This property will not be serialized. It can only be populated by the server.
530
+ */
531
+ readonly isDataAction?: boolean;
532
+ /** Localized display information for this particular operation. */
533
+ display?: OperationDisplay;
534
+ /**
535
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
536
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
+ */
538
+ readonly origin?: Origin;
539
+ /**
540
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
541
+ * NOTE: This property will not be serialized. It can only be populated by the server.
542
+ */
543
+ readonly actionType?: ActionType;
544
+ }
545
+
546
+ /** Localized display information for this particular operation. */
547
+ export interface OperationDisplay {
548
+ /**
549
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
550
+ * NOTE: This property will not be serialized. It can only be populated by the server.
551
+ */
552
+ readonly provider?: string;
553
+ /**
554
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
555
+ * NOTE: This property will not be serialized. It can only be populated by the server.
556
+ */
557
+ readonly resource?: string;
558
+ /**
559
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
560
+ * NOTE: This property will not be serialized. It can only be populated by the server.
561
+ */
562
+ readonly operation?: string;
563
+ /**
564
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
565
+ * NOTE: This property will not be serialized. It can only be populated by the server.
566
+ */
567
+ readonly description?: string;
568
+ }
569
+
31
570
  /** Represents a collection of autoscale setting resources. */
32
571
  export interface AutoscaleSettingResourceCollection {
33
572
  /** the values for the autoscale setting resources. */
@@ -185,7 +724,7 @@ export interface PredictiveAutoscalePolicy {
185
724
  }
186
725
 
187
726
  /** The autoscale setting resource. */
188
- export interface Resource {
727
+ export interface ResourceAutoGenerated2 {
189
728
  /**
190
729
  * Azure resource Id
191
730
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -212,22 +751,6 @@ export interface Resource {
212
751
  readonly systemData?: SystemData;
213
752
  }
214
753
 
215
- /** Metadata pertaining to creation and last modification of the resource. */
216
- export interface SystemData {
217
- /** The identity that created the resource. */
218
- createdBy?: string;
219
- /** The type of identity that created the resource. */
220
- createdByType?: CreatedByType;
221
- /** The timestamp of resource creation (UTC). */
222
- createdAt?: Date;
223
- /** The identity that last modified the resource. */
224
- lastModifiedBy?: string;
225
- /** The type of identity that last modified the resource. */
226
- lastModifiedByType?: CreatedByType;
227
- /** The timestamp of resource last modification (UTC) */
228
- lastModifiedAt?: Date;
229
- }
230
-
231
754
  /** Describes the format of Error response. */
232
755
  export interface AutoscaleErrorResponse {
233
756
  /** The error object. */
@@ -294,23 +817,23 @@ export interface PredictiveValue {
294
817
  }
295
818
 
296
819
  /** 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. */
297
- export interface OperationListResult {
820
+ export interface OperationListResultAutoGenerated {
298
821
  /** List of operations supported by the Microsoft.Insights provider. */
299
- value?: Operation[];
822
+ value?: OperationAutoGenerated[];
300
823
  /** URL to get the next set of operation list results if there are any. */
301
824
  nextLink?: string;
302
825
  }
303
826
 
304
827
  /** Microsoft Insights API operation definition. */
305
- export interface Operation {
828
+ export interface OperationAutoGenerated {
306
829
  /** Operation name: {provider}/{resource}/{operation} */
307
830
  name?: string;
308
831
  /** Display metadata associated with the operation. */
309
- display?: OperationDisplay;
832
+ display?: OperationDisplayAutoGenerated;
310
833
  }
311
834
 
312
835
  /** Display metadata associated with the operation. */
313
- export interface OperationDisplay {
836
+ export interface OperationDisplayAutoGenerated {
314
837
  /** Service provider: Microsoft.Insights */
315
838
  provider?: string;
316
839
  /** Resource on which the operation is performed: AlertRules, Autoscale, etc. */
@@ -348,14 +871,6 @@ export interface Incident {
348
871
  readonly resolvedTime?: Date;
349
872
  }
350
873
 
351
- /** Describes the format of Error response. */
352
- export interface ErrorResponse {
353
- /** Error code */
354
- code?: string;
355
- /** Error message indicating why the operation failed. */
356
- message?: string;
357
- }
358
-
359
874
  /** The List incidents operation response. */
360
875
  export interface IncidentListResult {
361
876
  /** the incident collection. */
@@ -398,7 +913,7 @@ export interface RuleAction {
398
913
  }
399
914
 
400
915
  /** An azure resource object */
401
- export interface ResourceAutoGenerated {
916
+ export interface ResourceAutoGenerated3 {
402
917
  /**
403
918
  * Azure resource Id
404
919
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -460,7 +975,7 @@ export interface RetentionPolicy {
460
975
  }
461
976
 
462
977
  /** An azure resource object */
463
- export interface ResourceAutoGenerated2 {
978
+ export interface ResourceAutoGenerated4 {
464
979
  /**
465
980
  * Azure resource Id
466
981
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -529,7 +1044,7 @@ export interface LogSettings {
529
1044
  }
530
1045
 
531
1046
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
532
- export interface ResourceAutoGenerated3 {
1047
+ export interface ResourceAutoGenerated5 {
533
1048
  /**
534
1049
  * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
535
1050
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -709,67 +1224,217 @@ export interface EventHubReceiver {
709
1224
  subscriptionId: string;
710
1225
  }
711
1226
 
712
- /** An azure resource object */
713
- export interface AzureResource {
714
- /**
715
- * Azure resource Id
716
- * NOTE: This property will not be serialized. It can only be populated by the server.
717
- */
718
- readonly id?: string;
719
- /**
720
- * Azure resource name
721
- * NOTE: This property will not be serialized. It can only be populated by the server.
722
- */
723
- readonly name?: string;
724
- /**
725
- * Azure resource type
726
- * NOTE: This property will not be serialized. It can only be populated by the server.
727
- */
728
- readonly type?: string;
729
- /** Resource location */
730
- location: string;
731
- /** Resource tags */
732
- tags?: { [propertyName: string]: string };
1227
+ /** An azure resource object */
1228
+ export interface AzureResource {
1229
+ /**
1230
+ * Azure resource Id
1231
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1232
+ */
1233
+ readonly id?: string;
1234
+ /**
1235
+ * Azure resource name
1236
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1237
+ */
1238
+ readonly name?: string;
1239
+ /**
1240
+ * Azure resource type
1241
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1242
+ */
1243
+ readonly type?: string;
1244
+ /** Resource location */
1245
+ location: string;
1246
+ /** Resource tags */
1247
+ tags?: { [propertyName: string]: string };
1248
+ }
1249
+
1250
+ /** An action group object for the body of patch operations. */
1251
+ export interface ActionGroupPatchBody {
1252
+ /** Resource tags */
1253
+ tags?: { [propertyName: string]: string };
1254
+ /** Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated. */
1255
+ enabled?: boolean;
1256
+ }
1257
+
1258
+ /** The request body which contain contact detail metadata */
1259
+ export interface NotificationRequestBody {
1260
+ /** The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget */
1261
+ alertType: string;
1262
+ /** The list of email receivers that are part of this action group. */
1263
+ emailReceivers?: EmailReceiver[];
1264
+ /** The list of SMS receivers that are part of this action group. */
1265
+ smsReceivers?: SmsReceiver[];
1266
+ /** The list of webhook receivers that are part of this action group. */
1267
+ webhookReceivers?: WebhookReceiver[];
1268
+ /** The list of ITSM receivers that are part of this action group. */
1269
+ itsmReceivers?: ItsmReceiver[];
1270
+ /** The list of AzureAppPush receivers that are part of this action group. */
1271
+ azureAppPushReceivers?: AzureAppPushReceiver[];
1272
+ /** The list of AutomationRunbook receivers that are part of this action group. */
1273
+ automationRunbookReceivers?: AutomationRunbookReceiver[];
1274
+ /** The list of voice receivers that are part of this action group. */
1275
+ voiceReceivers?: VoiceReceiver[];
1276
+ /** The list of logic app receivers that are part of this action group. */
1277
+ logicAppReceivers?: LogicAppReceiver[];
1278
+ /** The list of azure function receivers that are part of this action group. */
1279
+ azureFunctionReceivers?: AzureFunctionReceiver[];
1280
+ /** The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported. */
1281
+ armRoleReceivers?: ArmRoleReceiver[];
1282
+ /** The list of event hub receivers that are part of this action group. */
1283
+ eventHubReceivers?: EventHubReceiver[];
1284
+ }
1285
+
1286
+ /** The details of the test notification results. */
1287
+ export interface TestNotificationDetailsResponse {
1288
+ /** The context info */
1289
+ context?: Context;
1290
+ /** The overall state */
1291
+ state: string;
1292
+ /** The completed time */
1293
+ completedTime?: string;
1294
+ /** The created time */
1295
+ createdTime?: string;
1296
+ /** The list of action detail */
1297
+ actionDetails?: ActionDetail[];
1298
+ }
1299
+
1300
+ /** The context info */
1301
+ export interface Context {
1302
+ /** The source of the notification request */
1303
+ notificationSource?: string;
1304
+ /** The context id type */
1305
+ contextType?: string;
1306
+ }
1307
+
1308
+ /** The action detail */
1309
+ export interface ActionDetail {
1310
+ /** The mechanism type */
1311
+ mechanismType?: string;
1312
+ /** The name of the action */
1313
+ name?: string;
1314
+ /** The status of the action */
1315
+ status?: string;
1316
+ /** The substatus of the action */
1317
+ subState?: string;
1318
+ /** The send time */
1319
+ sendTime?: string;
1320
+ /** The detail of the friendly error message */
1321
+ detail?: string;
1322
+ }
1323
+
1324
+ /** A list of action groups. */
1325
+ export interface ActionGroupList {
1326
+ /** The list of action groups. */
1327
+ value?: ActionGroupResource[];
1328
+ /** Provides the link to retrieve the next set of elements. */
1329
+ nextLink?: string;
1330
+ }
1331
+
1332
+ /** Describes a receiver that should be resubscribed. */
1333
+ export interface EnableRequest {
1334
+ /** The name of the receiver to resubscribe. */
1335
+ receiverName: string;
1336
+ }
1337
+
1338
+ /** An email receiver. */
1339
+ export interface EmailReceiverAutoGenerated {
1340
+ /** The name of the email receiver. Names must be unique across all receivers within a tenant action group. */
1341
+ name: string;
1342
+ /** The email address of this receiver. */
1343
+ emailAddress: string;
1344
+ /** Indicates whether to use common alert schema. */
1345
+ useCommonAlertSchema?: boolean;
1346
+ /**
1347
+ * The receiver status of the e-mail.
1348
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1349
+ */
1350
+ readonly status?: ReceiverStatus;
1351
+ }
1352
+
1353
+ /** An SMS receiver. */
1354
+ export interface SmsReceiverAutoGenerated {
1355
+ /** The name of the SMS receiver. Names must be unique across all receivers within a tenant action group. */
1356
+ name: string;
1357
+ /** The country code of the SMS receiver. */
1358
+ countryCode: string;
1359
+ /** The phone number of the SMS receiver. */
1360
+ phoneNumber: string;
1361
+ /**
1362
+ * The status of the receiver.
1363
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1364
+ */
1365
+ readonly status?: ReceiverStatus;
1366
+ }
1367
+
1368
+ /** A webhook receiver. */
1369
+ export interface WebhookReceiverAutoGenerated {
1370
+ /** The name of the webhook receiver. Names must be unique across all receivers within a tenant action group. */
1371
+ name: string;
1372
+ /** The URI where webhooks should be sent. */
1373
+ serviceUri: string;
1374
+ /** Indicates whether to use common alert schema. */
1375
+ useCommonAlertSchema?: boolean;
1376
+ /** Indicates whether or not use AAD authentication. */
1377
+ useAadAuth?: boolean;
1378
+ /** Indicates the webhook app object Id for aad auth. */
1379
+ objectId?: string;
1380
+ /** Indicates the identifier uri for aad auth. */
1381
+ identifierUri?: string;
1382
+ /** Indicates the tenant id for aad auth. */
1383
+ tenantId?: string;
1384
+ }
1385
+
1386
+ /** The Azure mobile App push notification receiver. */
1387
+ export interface AzureAppPushReceiverAutoGenerated {
1388
+ /** The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group. */
1389
+ name: string;
1390
+ /** The email address registered for the Azure mobile app. */
1391
+ emailAddress: string;
1392
+ }
1393
+
1394
+ /** A voice receiver. */
1395
+ export interface VoiceReceiverAutoGenerated {
1396
+ /** The name of the voice receiver. Names must be unique across all receivers within a tenant action group. */
1397
+ name: string;
1398
+ /** The country code of the voice receiver. */
1399
+ countryCode: string;
1400
+ /** The phone number of the voice receiver. */
1401
+ phoneNumber: string;
733
1402
  }
734
1403
 
735
- /** An action group object for the body of patch operations. */
736
- export interface ActionGroupPatchBody {
1404
+ /** A tenant action group object for the body of patch operations. */
1405
+ export interface ActionGroupPatchBodyAutoGenerated {
737
1406
  /** Resource tags */
738
1407
  tags?: { [propertyName: string]: string };
739
- /** Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated. */
1408
+ /** Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its actions will be activated. */
740
1409
  enabled?: boolean;
741
1410
  }
742
1411
 
1412
+ /** A list of tenant action groups. */
1413
+ export interface TenantActionGroupList {
1414
+ /** The list of tenant action groups. */
1415
+ value?: TenantActionGroupResource[];
1416
+ /** Provides the link to retrieve the next set of elements. */
1417
+ nextLink?: string;
1418
+ }
1419
+
743
1420
  /** The request body which contain contact detail metadata */
744
- export interface NotificationRequestBody {
745
- /** The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget */
1421
+ export interface TenantNotificationRequestBody {
1422
+ /** The value of the supported alert type. Supported alert type value is: servicehealth */
746
1423
  alertType: string;
747
1424
  /** The list of email receivers that are part of this action group. */
748
- emailReceivers?: EmailReceiver[];
1425
+ emailReceivers?: EmailReceiverAutoGenerated[];
749
1426
  /** The list of SMS receivers that are part of this action group. */
750
- smsReceivers?: SmsReceiver[];
1427
+ smsReceivers?: SmsReceiverAutoGenerated[];
751
1428
  /** The list of webhook receivers that are part of this action group. */
752
- webhookReceivers?: WebhookReceiver[];
753
- /** The list of ITSM receivers that are part of this action group. */
754
- itsmReceivers?: ItsmReceiver[];
1429
+ webhookReceivers?: WebhookReceiverAutoGenerated[];
755
1430
  /** The list of AzureAppPush receivers that are part of this action group. */
756
- azureAppPushReceivers?: AzureAppPushReceiver[];
757
- /** The list of AutomationRunbook receivers that are part of this action group. */
758
- automationRunbookReceivers?: AutomationRunbookReceiver[];
1431
+ azureAppPushReceivers?: AzureAppPushReceiverAutoGenerated[];
759
1432
  /** The list of voice receivers that are part of this action group. */
760
- voiceReceivers?: VoiceReceiver[];
761
- /** The list of logic app receivers that are part of this action group. */
762
- logicAppReceivers?: LogicAppReceiver[];
763
- /** The list of azure function receivers that are part of this action group. */
764
- azureFunctionReceivers?: AzureFunctionReceiver[];
765
- /** The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported. */
766
- armRoleReceivers?: ArmRoleReceiver[];
767
- /** The list of event hub receivers that are part of this action group. */
768
- eventHubReceivers?: EventHubReceiver[];
1433
+ voiceReceivers?: VoiceReceiverAutoGenerated[];
769
1434
  }
770
1435
 
771
1436
  /** The details of the test notification results. */
772
- export interface TestNotificationDetailsResponse {
1437
+ export interface TestNotificationDetailsResponseAutoGenerated {
773
1438
  /** The context info */
774
1439
  context?: Context;
775
1440
  /** The overall state */
@@ -779,19 +1444,11 @@ export interface TestNotificationDetailsResponse {
779
1444
  /** The created time */
780
1445
  createdTime?: string;
781
1446
  /** The list of action detail */
782
- actionDetails?: ActionDetail[];
783
- }
784
-
785
- /** The context info */
786
- export interface Context {
787
- /** The source of the notification request */
788
- notificationSource?: string;
789
- /** The context id type */
790
- contextType?: string;
1447
+ actionDetails?: ActionDetailAutoGenerated[];
791
1448
  }
792
1449
 
793
1450
  /** The action detail */
794
- export interface ActionDetail {
1451
+ export interface ActionDetailAutoGenerated {
795
1452
  /** The mechanism type */
796
1453
  mechanismType?: string;
797
1454
  /** The name of the action */
@@ -803,21 +1460,42 @@ export interface ActionDetail {
803
1460
  /** The send time */
804
1461
  sendTime?: string;
805
1462
  /** The detail of the friendly error message */
806
- detail?: string;
1463
+ message?: string;
807
1464
  }
808
1465
 
809
- /** A list of action groups. */
810
- export interface ActionGroupList {
811
- /** The list of action groups. */
812
- value?: ActionGroupResource[];
813
- /** Provides the link to retrieve the next set of elements. */
814
- nextLink?: string;
1466
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1467
+ export interface ErrorResponseAutoGenerated3 {
1468
+ /** The error object. */
1469
+ error?: ErrorDetailAutoGenerated;
815
1470
  }
816
1471
 
817
- /** Describes a receiver that should be resubscribed. */
818
- export interface EnableRequest {
819
- /** The name of the receiver to resubscribe. */
820
- receiverName: string;
1472
+ /** The error detail. */
1473
+ export interface ErrorDetailAutoGenerated {
1474
+ /**
1475
+ * The error code.
1476
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1477
+ */
1478
+ readonly code?: string;
1479
+ /**
1480
+ * The error message.
1481
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1482
+ */
1483
+ readonly message?: string;
1484
+ /**
1485
+ * The error target.
1486
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1487
+ */
1488
+ readonly target?: string;
1489
+ /**
1490
+ * The error details.
1491
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1492
+ */
1493
+ readonly details?: ErrorDetailAutoGenerated[];
1494
+ /**
1495
+ * The error additional info.
1496
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1497
+ */
1498
+ readonly additionalInfo?: ErrorAdditionalInfo[];
821
1499
  }
822
1500
 
823
1501
  /** Represents collection of events. */
@@ -869,12 +1547,12 @@ export interface EventData {
869
1547
  * the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.
870
1548
  * NOTE: This property will not be serialized. It can only be populated by the server.
871
1549
  */
872
- readonly eventName?: LocalizableString;
1550
+ readonly eventName?: LocalizableStringAutoGenerated;
873
1551
  /**
874
1552
  * the event category.
875
1553
  * NOTE: This property will not be serialized. It can only be populated by the server.
876
1554
  */
877
- readonly category?: LocalizableString;
1555
+ readonly category?: LocalizableStringAutoGenerated;
878
1556
  /**
879
1557
  * 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).
880
1558
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -894,7 +1572,7 @@ export interface EventData {
894
1572
  * the resource provider name of the impacted resource.
895
1573
  * NOTE: This property will not be serialized. It can only be populated by the server.
896
1574
  */
897
- readonly resourceProviderName?: LocalizableString;
1575
+ readonly resourceProviderName?: LocalizableStringAutoGenerated;
898
1576
  /**
899
1577
  * the resource uri that uniquely identifies the resource that caused this event.
900
1578
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -904,7 +1582,7 @@ export interface EventData {
904
1582
  * the resource type
905
1583
  * NOTE: This property will not be serialized. It can only be populated by the server.
906
1584
  */
907
- readonly resourceType?: LocalizableString;
1585
+ readonly resourceType?: LocalizableStringAutoGenerated;
908
1586
  /**
909
1587
  * It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.
910
1588
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -914,7 +1592,7 @@ export interface EventData {
914
1592
  * the operation name.
915
1593
  * NOTE: This property will not be serialized. It can only be populated by the server.
916
1594
  */
917
- readonly operationName?: LocalizableString;
1595
+ readonly operationName?: LocalizableStringAutoGenerated;
918
1596
  /**
919
1597
  * the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
920
1598
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -924,12 +1602,12 @@ export interface EventData {
924
1602
  * a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
925
1603
  * NOTE: This property will not be serialized. It can only be populated by the server.
926
1604
  */
927
- readonly status?: LocalizableString;
1605
+ readonly status?: LocalizableStringAutoGenerated;
928
1606
  /**
929
1607
  * 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)
930
1608
  * NOTE: This property will not be serialized. It can only be populated by the server.
931
1609
  */
932
- readonly subStatus?: LocalizableString;
1610
+ readonly subStatus?: LocalizableStringAutoGenerated;
933
1611
  /**
934
1612
  * the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.
935
1613
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -963,7 +1641,7 @@ export interface SenderAuthorization {
963
1641
  }
964
1642
 
965
1643
  /** The localizable string class. */
966
- export interface LocalizableString {
1644
+ export interface LocalizableStringAutoGenerated {
967
1645
  /** the invariant value. */
968
1646
  value: string;
969
1647
  /** the locale specific value. */
@@ -985,119 +1663,7 @@ export interface HttpRequestInfo {
985
1663
  /** A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy. */
986
1664
  export interface EventCategoryCollection {
987
1665
  /** the list that includes the Azure event categories. */
988
- value: LocalizableString[];
989
- }
990
-
991
- /** Represents collection of metric definitions. */
992
- export interface MetricDefinitionCollection {
993
- /** the values for the metric definitions. */
994
- value: MetricDefinition[];
995
- }
996
-
997
- /** Metric definition class specifies the metadata for a metric. */
998
- export interface MetricDefinition {
999
- /** Flag to indicate whether the dimension is required. */
1000
- isDimensionRequired?: boolean;
1001
- /** the resource identifier of the resource that emitted the metric. */
1002
- resourceId?: string;
1003
- /** the namespace the metric belongs to. */
1004
- namespace?: string;
1005
- /** the name and the display name of the metric, i.e. it is a localizable string. */
1006
- name?: LocalizableString;
1007
- /** Detailed description of this metric. */
1008
- displayDescription?: string;
1009
- /** Custom category name for this metric. */
1010
- category?: string;
1011
- /** The class of the metric. */
1012
- metricClass?: MetricClass;
1013
- /** The unit of the metric. */
1014
- unit?: MetricUnit;
1015
- /** the primary aggregation type value defining how to use the values for display. */
1016
- primaryAggregationType?: AggregationType;
1017
- /** the collection of what aggregation types are supported. */
1018
- supportedAggregationTypes?: AggregationType[];
1019
- /** the collection of what aggregation intervals are available to be queried. */
1020
- metricAvailabilities?: MetricAvailability[];
1021
- /** the resource identifier of the metric definition. */
1022
- id?: string;
1023
- /** the name and the display name of the dimension, i.e. it is a localizable string. */
1024
- dimensions?: LocalizableString[];
1025
- }
1026
-
1027
- /** Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. */
1028
- export interface MetricAvailability {
1029
- /** the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */
1030
- timeGrain?: string;
1031
- /** the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */
1032
- retention?: string;
1033
- }
1034
-
1035
- /** The response to a metrics query. */
1036
- export interface Response {
1037
- /** The integer value representing the relative cost of the query. */
1038
- cost?: number;
1039
- /** 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. */
1040
- timespan: string;
1041
- /** 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. */
1042
- interval?: string;
1043
- /** The namespace of the metrics being queried */
1044
- namespace?: string;
1045
- /** The region of the resource being queried for metrics. */
1046
- resourceregion?: string;
1047
- /** the value of the collection. */
1048
- value: Metric[];
1049
- }
1050
-
1051
- /** The result data of a query. */
1052
- export interface Metric {
1053
- /** the metric Id. */
1054
- id: string;
1055
- /** the resource type of the metric resource. */
1056
- type: string;
1057
- /** the name and the display name of the metric, i.e. it is localizable string. */
1058
- name: LocalizableString;
1059
- /** Detailed description of this metric. */
1060
- displayDescription?: string;
1061
- /** 'Success' or the error details on query failures for this metric. */
1062
- errorCode?: string;
1063
- /** Error message encountered querying this specific metric. */
1064
- errorMessage?: string;
1065
- /** The unit of the metric. */
1066
- unit: MetricUnit;
1067
- /** the time series returned when a data query is performed. */
1068
- timeseries: TimeSeriesElement[];
1069
- }
1070
-
1071
- /** A time series result type. The discriminator value is always TimeSeries in this case. */
1072
- export interface TimeSeriesElement {
1073
- /** the metadata values returned if $filter was specified in the call. */
1074
- metadatavalues?: MetadataValue[];
1075
- /** An array of data points representing the metric values. This is only returned if a result type of data is specified. */
1076
- data?: MetricValue[];
1077
- }
1078
-
1079
- /** Represents a metric metadata value. */
1080
- export interface MetadataValue {
1081
- /** the name of the metadata. */
1082
- name?: LocalizableString;
1083
- /** the value of the metadata. */
1084
- value?: string;
1085
- }
1086
-
1087
- /** Represents a metric value. */
1088
- export interface MetricValue {
1089
- /** the timestamp for the metric value in ISO 8601 format. */
1090
- timeStamp: Date;
1091
- /** the average value in the time range. */
1092
- average?: number;
1093
- /** the least value in the time range. */
1094
- minimum?: number;
1095
- /** the greatest value in the time range. */
1096
- maximum?: number;
1097
- /** the sum of all of the values in the time range. */
1098
- total?: number;
1099
- /** the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. */
1100
- count?: number;
1666
+ value: LocalizableStringAutoGenerated[];
1101
1667
  }
1102
1668
 
1103
1669
  /** A list of metric baselines. */
@@ -1190,7 +1756,7 @@ export interface MetricAlertAction {
1190
1756
  }
1191
1757
 
1192
1758
  /** An azure resource object */
1193
- export interface ResourceAutoGenerated4 {
1759
+ export interface ResourceAutoGenerated6 {
1194
1760
  /**
1195
1761
  * Azure resource Id
1196
1762
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1342,8 +1908,6 @@ export interface ScheduledQueryRuleResource {
1342
1908
  severity?: AlertSeverity;
1343
1909
  /** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
1344
1910
  enabled?: boolean;
1345
- /** This determines if traffic is allowed over public network. By default it is enabled. */
1346
- publicNetworkAccess?: PublicNetworkAccess;
1347
1911
  /** The list of resource id's that this scheduled query rule is scoped to. */
1348
1912
  scopes?: string[];
1349
1913
  /** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
@@ -1442,80 +2006,33 @@ export interface Dimension {
1442
2006
  /** Operator for dimension values */
1443
2007
  operator: DimensionOperator;
1444
2008
  /** List of dimension values */
1445
- values: string[];
1446
- }
1447
-
1448
- /** The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert. */
1449
- export interface ConditionFailingPeriods {
1450
- /** The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1 */
1451
- numberOfEvaluationPeriods?: number;
1452
- /** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1 */
1453
- minFailingPeriodsToAlert?: number;
1454
- }
1455
-
1456
- /** Actions to invoke when the alert fires. */
1457
- export interface Actions {
1458
- /** Action Group resource Ids to invoke when the alert fires. */
1459
- actionGroups?: string[];
1460
- /** The properties of an alert payload. */
1461
- customProperties?: { [propertyName: string]: string };
1462
- }
1463
-
1464
- /** TBD. Relevant only for rules of the kind LogAlert. */
1465
- export interface RuleResolveConfiguration {
1466
- /** The flag that indicates whether or not to auto resolve a fired alert. */
1467
- autoResolved?: boolean;
1468
- /** The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format. */
1469
- timeToResolve?: string;
1470
- }
1471
-
1472
- /** Describes the format of Error response. */
1473
- export interface ErrorContract {
1474
- /** The error details. */
1475
- error?: ErrorResponseDetails;
1476
- }
1477
-
1478
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
1479
- export interface ErrorResponseDetails {
1480
- /**
1481
- * The error code.
1482
- * NOTE: This property will not be serialized. It can only be populated by the server.
1483
- */
1484
- readonly code?: string;
1485
- /**
1486
- * The error message.
1487
- * NOTE: This property will not be serialized. It can only be populated by the server.
1488
- */
1489
- readonly message?: string;
1490
- /**
1491
- * The error target.
1492
- * NOTE: This property will not be serialized. It can only be populated by the server.
1493
- */
1494
- readonly target?: string;
1495
- /**
1496
- * The error details.
1497
- * NOTE: This property will not be serialized. It can only be populated by the server.
1498
- */
1499
- readonly details?: ErrorResponseDetails[];
1500
- /**
1501
- * The error additional info.
1502
- * NOTE: This property will not be serialized. It can only be populated by the server.
1503
- */
1504
- readonly additionalInfo?: ErrorResponseAdditionalInfo[];
2009
+ values: string[];
1505
2010
  }
1506
2011
 
1507
- /** The resource management error additional info. */
1508
- export interface ErrorResponseAdditionalInfo {
1509
- /**
1510
- * The additional info type.
1511
- * NOTE: This property will not be serialized. It can only be populated by the server.
1512
- */
1513
- readonly type?: string;
1514
- /**
1515
- * The additional info.
1516
- * NOTE: This property will not be serialized. It can only be populated by the server.
1517
- */
1518
- readonly info?: Record<string, unknown>;
2012
+ /** The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert. */
2013
+ export interface ConditionFailingPeriods {
2014
+ /** The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1 */
2015
+ numberOfEvaluationPeriods?: number;
2016
+ /** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1 */
2017
+ minFailingPeriodsToAlert?: number;
2018
+ }
2019
+
2020
+ /** Actions to invoke when the alert fires. */
2021
+ export interface Actions {
2022
+ /** Action Group resource Ids to invoke when the alert fires. */
2023
+ actionGroups?: string[];
2024
+ /** The properties of an alert payload. */
2025
+ customProperties?: { [propertyName: string]: string };
2026
+ /** The properties of an action properties. */
2027
+ actionProperties?: { [propertyName: string]: string };
2028
+ }
2029
+
2030
+ /** TBD. Relevant only for rules of the kind LogAlert. */
2031
+ export interface RuleResolveConfiguration {
2032
+ /** The flag that indicates whether or not to auto resolve a fired alert. */
2033
+ autoResolved?: boolean;
2034
+ /** The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format. */
2035
+ timeToResolve?: string;
1519
2036
  }
1520
2037
 
1521
2038
  /** The scheduled query rule resource for patch operations. */
@@ -1542,8 +2059,6 @@ export interface ScheduledQueryRuleResourcePatch {
1542
2059
  severity?: AlertSeverity;
1543
2060
  /** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
1544
2061
  enabled?: boolean;
1545
- /** This determines if traffic is allowed over public network. By default it is enabled. */
1546
- publicNetworkAccess?: PublicNetworkAccess;
1547
2062
  /** The list of resource id's that this scheduled query rule is scoped to. */
1548
2063
  scopes?: string[];
1549
2064
  /** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
@@ -1575,32 +2090,6 @@ export interface ScheduledQueryRuleResourcePatch {
1575
2090
  ruleResolveConfiguration?: RuleResolveConfiguration;
1576
2091
  }
1577
2092
 
1578
- /** Represents collection of metric namespaces. */
1579
- export interface MetricNamespaceCollection {
1580
- /** The values for the metric namespaces. */
1581
- value: MetricNamespace[];
1582
- }
1583
-
1584
- /** Metric namespace class specifies the metadata for a metric namespace. */
1585
- export interface MetricNamespace {
1586
- /** The ID of the metric namespace. */
1587
- id?: string;
1588
- /** The type of the namespace. */
1589
- type?: string;
1590
- /** The escaped name of the namespace. */
1591
- name?: string;
1592
- /** Kind of namespace */
1593
- classification?: NamespaceClassification;
1594
- /** Properties which include the fully qualified namespace name. */
1595
- properties?: MetricNamespaceName;
1596
- }
1597
-
1598
- /** The fully qualified metric namespace name. */
1599
- export interface MetricNamespaceName {
1600
- /** The metric namespace name. */
1601
- metricNamespaceName?: string;
1602
- }
1603
-
1604
2093
  /** Information about a container with data for a given resource. */
1605
2094
  export interface DataContainer {
1606
2095
  /** Log Analytics workspace information. */
@@ -1659,7 +2148,7 @@ export interface AzureMonitorPrivateLinkScopeListResult {
1659
2148
  }
1660
2149
 
1661
2150
  /** The Private Endpoint resource. */
1662
- export interface PrivateEndpoint {
2151
+ export interface PrivateEndpointAutoGenerated {
1663
2152
  /**
1664
2153
  * The ARM identifier for Private Endpoint
1665
2154
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1667,16 +2156,6 @@ export interface PrivateEndpoint {
1667
2156
  readonly id?: string;
1668
2157
  }
1669
2158
 
1670
- /** A collection of information about the state of the connection between service consumer and provider. */
1671
- export interface PrivateLinkServiceConnectionState {
1672
- /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
1673
- status?: PrivateEndpointServiceConnectionStatus;
1674
- /** The reason for approval/rejection of the connection. */
1675
- description?: string;
1676
- /** A message indicating if changes on the service provider require any updates on the consumer. */
1677
- actionsRequired?: string;
1678
- }
1679
-
1680
2159
  /** Properties that define the scope private link mode settings. */
1681
2160
  export interface AccessModeSettings {
1682
2161
  /** Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array. */
@@ -1700,50 +2179,7 @@ export interface AccessModeSettingsExclusion {
1700
2179
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1701
2180
  export interface DefaultErrorResponse {
1702
2181
  /** The error object. */
1703
- error?: ErrorDetail;
1704
- }
1705
-
1706
- /** The error detail. */
1707
- export interface ErrorDetail {
1708
- /**
1709
- * The error code.
1710
- * NOTE: This property will not be serialized. It can only be populated by the server.
1711
- */
1712
- readonly code?: string;
1713
- /**
1714
- * The error message.
1715
- * NOTE: This property will not be serialized. It can only be populated by the server.
1716
- */
1717
- readonly message?: string;
1718
- /**
1719
- * The error target.
1720
- * NOTE: This property will not be serialized. It can only be populated by the server.
1721
- */
1722
- readonly target?: string;
1723
- /**
1724
- * The error details.
1725
- * NOTE: This property will not be serialized. It can only be populated by the server.
1726
- */
1727
- readonly details?: ErrorDetail[];
1728
- /**
1729
- * The error additional info.
1730
- * NOTE: This property will not be serialized. It can only be populated by the server.
1731
- */
1732
- readonly additionalInfo?: ErrorAdditionalInfo[];
1733
- }
1734
-
1735
- /** The resource management error additional info. */
1736
- export interface ErrorAdditionalInfo {
1737
- /**
1738
- * The additional info type.
1739
- * NOTE: This property will not be serialized. It can only be populated by the server.
1740
- */
1741
- readonly type?: string;
1742
- /**
1743
- * The additional info.
1744
- * NOTE: This property will not be serialized. It can only be populated by the server.
1745
- */
1746
- readonly info?: Record<string, unknown>;
2182
+ error?: ErrorDetailAutoGenerated;
1747
2183
  }
1748
2184
 
1749
2185
  /** A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance. */
@@ -1765,7 +2201,7 @@ export interface OperationStatus {
1765
2201
  /** The status of the operation. */
1766
2202
  status?: string;
1767
2203
  /** The error detail of the operation if any. */
1768
- error?: ErrorDetail;
2204
+ error?: ErrorDetailAutoGenerated;
1769
2205
  }
1770
2206
 
1771
2207
  /** A list of private link resources */
@@ -1777,7 +2213,7 @@ export interface PrivateLinkResourceListResult {
1777
2213
  /** List of private endpoint connection associated with the specified storage account */
1778
2214
  export interface PrivateEndpointConnectionListResult {
1779
2215
  /** Array of private endpoint connections */
1780
- value?: PrivateEndpointConnection[];
2216
+ value?: PrivateEndpointConnectionAutoGenerated[];
1781
2217
  }
1782
2218
 
1783
2219
  /** A list of scoped resources in a private link scope. */
@@ -1847,14 +2283,14 @@ export interface AzureResourceAutoGenerated {
1847
2283
  * NOTE: This property will not be serialized. It can only be populated by the server.
1848
2284
  */
1849
2285
  readonly type?: string;
1850
- /** The location of the resource. Since Azure Activity Log Alerts is a global service, the location of the rules should always be 'global'. */
2286
+ /** The location of the resource. Azure Activity Log Alert rules are supported on Global, West Europe and North Europe regions. */
1851
2287
  location?: string;
1852
2288
  /** The tags of the resource. */
1853
2289
  tags?: { [propertyName: string]: string };
1854
2290
  }
1855
2291
 
1856
2292
  /** The error response. */
1857
- export interface ErrorResponseAutoGenerated {
2293
+ export interface ErrorResponseAutoGenerated4 {
1858
2294
  /**
1859
2295
  * The error code.
1860
2296
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1899,6 +2335,8 @@ export interface DataCollectionEndpointResource {
1899
2335
  tags?: { [propertyName: string]: string };
1900
2336
  /** The kind of the resource. */
1901
2337
  kind?: KnownDataCollectionEndpointResourceKind;
2338
+ /** Managed service identity of the resource. */
2339
+ identity?: DataCollectionEndpointResourceIdentity;
1902
2340
  /**
1903
2341
  * Fully qualified ID of the resource.
1904
2342
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1932,6 +2370,8 @@ export interface DataCollectionEndpointResource {
1932
2370
  configurationAccess?: DataCollectionEndpointConfigurationAccess;
1933
2371
  /** The endpoint used by clients to ingest logs. */
1934
2372
  logsIngestion?: DataCollectionEndpointLogsIngestion;
2373
+ /** The endpoint used by clients to ingest metrics. */
2374
+ metricsIngestion?: DataCollectionEndpointMetricsIngestion;
1935
2375
  /** Network access control rules for the endpoints. */
1936
2376
  networkAcls?: DataCollectionEndpointNetworkAcls;
1937
2377
  /**
@@ -1939,6 +2379,21 @@ export interface DataCollectionEndpointResource {
1939
2379
  * NOTE: This property will not be serialized. It can only be populated by the server.
1940
2380
  */
1941
2381
  readonly provisioningState?: KnownDataCollectionEndpointProvisioningState;
2382
+ /**
2383
+ * List of Azure Monitor Private Link Scope Resources to which this data collection endpoint resource is associated. This property is READ-ONLY.
2384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2385
+ */
2386
+ readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
2387
+ /**
2388
+ * Failover configuration on this endpoint. This property is READ-ONLY.
2389
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2390
+ */
2391
+ readonly failoverConfiguration?: DataCollectionEndpointFailoverConfiguration;
2392
+ /**
2393
+ * Metadata for the resource. This property is READ-ONLY.
2394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2395
+ */
2396
+ readonly metadata?: DataCollectionEndpointMetadata;
1942
2397
  }
1943
2398
 
1944
2399
  /** Definition of data collection endpoint. */
@@ -1951,6 +2406,8 @@ export interface DataCollectionEndpoint {
1951
2406
  configurationAccess?: DataCollectionEndpointConfigurationAccess;
1952
2407
  /** The endpoint used by clients to ingest logs. */
1953
2408
  logsIngestion?: DataCollectionEndpointLogsIngestion;
2409
+ /** The endpoint used by clients to ingest metrics. */
2410
+ metricsIngestion?: DataCollectionEndpointMetricsIngestion;
1954
2411
  /** Network access control rules for the endpoints. */
1955
2412
  networkAcls?: DataCollectionEndpointNetworkAcls;
1956
2413
  /**
@@ -1958,6 +2415,21 @@ export interface DataCollectionEndpoint {
1958
2415
  * NOTE: This property will not be serialized. It can only be populated by the server.
1959
2416
  */
1960
2417
  readonly provisioningState?: KnownDataCollectionEndpointProvisioningState;
2418
+ /**
2419
+ * List of Azure Monitor Private Link Scope Resources to which this data collection endpoint resource is associated. This property is READ-ONLY.
2420
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2421
+ */
2422
+ readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
2423
+ /**
2424
+ * Failover configuration on this endpoint. This property is READ-ONLY.
2425
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2426
+ */
2427
+ readonly failoverConfiguration?: DataCollectionEndpointFailoverConfiguration;
2428
+ /**
2429
+ * Metadata for the resource. This property is READ-ONLY.
2430
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2431
+ */
2432
+ readonly metadata?: DataCollectionEndpointMetadata;
1961
2433
  }
1962
2434
 
1963
2435
  /** Definition of the endpoint used for accessing configuration. */
@@ -1978,22 +2450,102 @@ export interface LogsIngestionEndpointSpec {
1978
2450
  readonly endpoint?: string;
1979
2451
  }
1980
2452
 
2453
+ /** Definition of the endpoint used for ingesting metrics. */
2454
+ export interface MetricsIngestionEndpointSpec {
2455
+ /**
2456
+ * The endpoint. This property is READ-ONLY.
2457
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2458
+ */
2459
+ readonly endpoint?: string;
2460
+ }
2461
+
1981
2462
  /** Definition of the network rules. */
1982
2463
  export interface NetworkRuleSet {
1983
2464
  /** The configuration to set whether network access from public internet to the endpoints are allowed. */
1984
2465
  publicNetworkAccess?: KnownPublicNetworkAccessOptions;
1985
2466
  }
1986
2467
 
2468
+ export interface PrivateLinkScopedResource {
2469
+ /** The resourceId of the Azure Monitor Private Link Scope Scoped Resource through which this DCE is associated with a Azure Monitor Private Link Scope. */
2470
+ resourceId?: string;
2471
+ /** The immutableId of the Azure Monitor Private Link Scope Resource to which the association is. */
2472
+ scopeId?: string;
2473
+ }
2474
+
2475
+ export interface FailoverConfigurationSpec {
2476
+ /** Active location where data flow will occur. */
2477
+ activeLocation?: string;
2478
+ /** Locations that are configured for failover. */
2479
+ locations?: LocationSpec[];
2480
+ }
2481
+
2482
+ export interface LocationSpec {
2483
+ /** Name of location. */
2484
+ location?: string;
2485
+ /** The resource provisioning state in this location. */
2486
+ provisioningStatus?: KnownLocationSpecProvisioningStatus;
2487
+ }
2488
+
2489
+ /** Metadata about the resource */
2490
+ export interface Metadata {
2491
+ /**
2492
+ * Azure offering managing this resource on-behalf-of customer.
2493
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2494
+ */
2495
+ readonly provisionedBy?: string;
2496
+ /**
2497
+ * Resource Id of azure offering managing this resource on-behalf-of customer.
2498
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2499
+ */
2500
+ readonly provisionedByResourceId?: string;
2501
+ }
2502
+
2503
+ /** Managed service identity (system assigned and/or user assigned identities) */
2504
+ export interface ManagedServiceIdentity {
2505
+ /**
2506
+ * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
2507
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2508
+ */
2509
+ readonly principalId?: string;
2510
+ /**
2511
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
2512
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2513
+ */
2514
+ readonly tenantId?: string;
2515
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
2516
+ type: ManagedServiceIdentityType;
2517
+ /** 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. */
2518
+ userAssignedIdentities?: {
2519
+ [propertyName: string]: UserAssignedIdentity | null;
2520
+ };
2521
+ }
2522
+
2523
+ /** User assigned identity properties */
2524
+ export interface UserAssignedIdentity {
2525
+ /**
2526
+ * The principal ID of the assigned identity.
2527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2528
+ */
2529
+ readonly principalId?: string;
2530
+ /**
2531
+ * The client ID of the assigned identity.
2532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2533
+ */
2534
+ readonly clientId?: string;
2535
+ }
2536
+
1987
2537
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1988
2538
  export interface ErrorResponseCommonV2 {
1989
2539
  /** The error object. */
1990
- error?: ErrorDetail;
2540
+ error?: ErrorDetailAutoGenerated;
1991
2541
  }
1992
2542
 
1993
2543
  /** Definition of ARM tracked top level resource properties for update operation. */
1994
2544
  export interface ResourceForUpdate {
1995
2545
  /** Resource tags. */
1996
2546
  tags?: { [propertyName: string]: string };
2547
+ /** Managed Service Identity. */
2548
+ identity?: ResourceForUpdateIdentity;
1997
2549
  }
1998
2550
 
1999
2551
  /** A pageable list of resources. */
@@ -2069,15 +2621,6 @@ export interface DataCollectionRuleAssociation {
2069
2621
  readonly metadata?: DataCollectionRuleAssociationMetadata;
2070
2622
  }
2071
2623
 
2072
- /** Metadata about the resource */
2073
- export interface Metadata {
2074
- /**
2075
- * Azure offering managing this resource on-behalf-of customer.
2076
- * NOTE: This property will not be serialized. It can only be populated by the server.
2077
- */
2078
- readonly provisionedBy?: string;
2079
- }
2080
-
2081
2624
  /** A pageable list of resources. */
2082
2625
  export interface DataCollectionRuleResourceListResult {
2083
2626
  /** A list of resources. */
@@ -2094,6 +2637,8 @@ export interface DataCollectionRuleResource {
2094
2637
  tags?: { [propertyName: string]: string };
2095
2638
  /** The kind of the resource. */
2096
2639
  kind?: KnownDataCollectionRuleResourceKind;
2640
+ /** Managed service identity of the resource. */
2641
+ identity?: DataCollectionRuleResourceIdentity;
2097
2642
  /**
2098
2643
  * Fully qualified ID of the resource.
2099
2644
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2213,6 +2758,14 @@ export interface DataSourcesSpec {
2213
2758
  logFiles?: LogFilesDataSource[];
2214
2759
  /** The list of IIS logs source configurations. */
2215
2760
  iisLogs?: IisLogsDataSource[];
2761
+ /** The list of Windows Firewall logs source configurations. */
2762
+ windowsFirewallLogs?: WindowsFirewallLogsDataSource[];
2763
+ /** The list of Prometheus forwarder data source configurations. */
2764
+ prometheusForwarder?: PrometheusForwarderDataSource[];
2765
+ /** The list of platform telemetry configurations */
2766
+ platformTelemetry?: PlatformTelemetryDataSource[];
2767
+ /** Specifications of pull based data sources */
2768
+ dataImports?: DataSourcesSpecDataImports;
2216
2769
  }
2217
2770
 
2218
2771
  /**
@@ -2303,19 +2856,83 @@ export interface ExtensionDataSource {
2303
2856
  name?: string;
2304
2857
  }
2305
2858
 
2306
- /** Definition of which custom log files will be collected by this data collection rule */
2307
- export interface LogFilesDataSource {
2308
- /**
2309
- * List of streams that this data source will be sent to.
2310
- * A stream indicates what schema will be used for this data source
2311
- */
2859
+ /** Definition of which custom log files will be collected by this data collection rule */
2860
+ export interface LogFilesDataSource {
2861
+ /**
2862
+ * List of streams that this data source will be sent to.
2863
+ * A stream indicates what schema will be used for this data source
2864
+ */
2865
+ streams: string[];
2866
+ /** File Patterns where the log files are located */
2867
+ filePatterns: string[];
2868
+ /** The data format of the log files */
2869
+ format: KnownLogFilesDataSourceFormat;
2870
+ /** The log files specific settings. */
2871
+ settings?: LogFilesDataSourceSettings;
2872
+ /**
2873
+ * A friendly name for the data source.
2874
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
2875
+ */
2876
+ name?: string;
2877
+ }
2878
+
2879
+ /** Settings for different log file formats */
2880
+ export interface LogFileSettings {
2881
+ /** Text settings */
2882
+ text?: LogFileSettingsText;
2883
+ }
2884
+
2885
+ /** Settings for text log files */
2886
+ export interface LogFileTextSettings {
2887
+ /** One of the supported timestamp formats */
2888
+ recordStartTimestampFormat: KnownLogFileTextSettingsRecordStartTimestampFormat;
2889
+ }
2890
+
2891
+ /** Enables IIS logs to be collected by this data collection rule. */
2892
+ export interface IisLogsDataSource {
2893
+ /** IIS streams */
2894
+ streams: string[];
2895
+ /** Absolute paths file location */
2896
+ logDirectories?: string[];
2897
+ /**
2898
+ * A friendly name for the data source.
2899
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
2900
+ */
2901
+ name?: string;
2902
+ }
2903
+
2904
+ /** Enables Firewall logs to be collected by this data collection rule. */
2905
+ export interface WindowsFirewallLogsDataSource {
2906
+ /** Firewall logs streams */
2907
+ streams: string[];
2908
+ /**
2909
+ * A friendly name for the data source.
2910
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
2911
+ */
2912
+ name?: string;
2913
+ }
2914
+
2915
+ /** Definition of Prometheus metrics forwarding configuration. */
2916
+ export interface PrometheusForwarderDataSource {
2917
+ /** List of streams that this data source will be sent to. */
2918
+ streams?: KnownPrometheusForwarderDataSourceStreams[];
2919
+ /**
2920
+ * The list of label inclusion filters in the form of label "name-value" pairs.
2921
+ * Currently only one label is supported: 'microsoft_metrics_include_label'.
2922
+ * Label values are matched case-insensitively.
2923
+ */
2924
+ labelIncludeFilter?: { [propertyName: string]: string };
2925
+ /**
2926
+ * A friendly name for the data source.
2927
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
2928
+ */
2929
+ name?: string;
2930
+ }
2931
+
2932
+ /** Definition of platform telemetry data source configuration */
2933
+ export interface PlatformTelemetryDataSource {
2934
+ /** List of platform telemetry streams to collect */
2312
2935
  streams: string[];
2313
- /** File Patterns where the log files are located */
2314
- filePatterns: string[];
2315
- /** The data format of the log files */
2316
- format: KnownLogFilesDataSourceFormat;
2317
- /** The log files specific settings. */
2318
- settings?: LogFilesDataSourceSettings;
2319
2936
  /**
2320
2937
  * A friendly name for the data source.
2321
2938
  * This name should be unique across all data sources (regardless of type) within the data collection rule.
@@ -2323,37 +2940,41 @@ export interface LogFilesDataSource {
2323
2940
  name?: string;
2324
2941
  }
2325
2942
 
2326
- /** Settings for different log file formats */
2327
- export interface LogFileSettings {
2328
- /** Text settings */
2329
- text?: LogFileSettingsText;
2330
- }
2331
-
2332
- /** Settings for text log files */
2333
- export interface LogFileTextSettings {
2334
- /** One of the supported timestamp formats */
2335
- recordStartTimestampFormat: KnownLogFileTextSettingsRecordStartTimestampFormat;
2943
+ export interface DataImportSources {
2944
+ /** Definition of Event Hub configuration. */
2945
+ eventHub?: DataImportSourcesEventHub;
2336
2946
  }
2337
2947
 
2338
- /** Enables IIS logs to be collected by this data collection rule. */
2339
- export interface IisLogsDataSource {
2340
- /** IIS streams */
2341
- streams: string[];
2342
- /** Absolute paths file location */
2343
- logDirectories?: string[];
2948
+ export interface EventHubDataSource {
2344
2949
  /**
2345
2950
  * A friendly name for the data source.
2346
2951
  * This name should be unique across all data sources (regardless of type) within the data collection rule.
2347
2952
  */
2348
2953
  name?: string;
2954
+ /** Event Hub consumer group name */
2955
+ consumerGroup?: string;
2956
+ /** The stream to collect from EventHub */
2957
+ stream?: string;
2349
2958
  }
2350
2959
 
2351
2960
  /** Specification of destinations that can be used in data flows. */
2352
2961
  export interface DestinationsSpec {
2353
2962
  /** List of Log Analytics destinations. */
2354
2963
  logAnalytics?: LogAnalyticsDestination[];
2964
+ /** List of monitoring account destinations. */
2965
+ monitoringAccounts?: MonitoringAccountDestination[];
2355
2966
  /** Azure Monitor Metrics destination. */
2356
2967
  azureMonitorMetrics?: DestinationsSpecAzureMonitorMetrics;
2968
+ /** List of Event Hubs destinations. */
2969
+ eventHubs?: EventHubDestination[];
2970
+ /** List of Event Hubs Direct destinations. */
2971
+ eventHubsDirect?: EventHubDirectDestination[];
2972
+ /** List of Storage Blob Direct destinations. To be used only for sending data directly to store from the agent. */
2973
+ storageBlobsDirect?: StorageBlobDestination[];
2974
+ /** List of Storage Table Direct destinations. */
2975
+ storageTablesDirect?: StorageTableDestination[];
2976
+ /** List of storage accounts destinations. */
2977
+ storageAccounts?: StorageBlobDestination[];
2357
2978
  }
2358
2979
 
2359
2980
  /** Log Analytics destination. */
@@ -2372,214 +2993,87 @@ export interface LogAnalyticsDestination {
2372
2993
  name?: string;
2373
2994
  }
2374
2995
 
2375
- /** Azure Monitor Metrics destination. */
2376
- export interface AzureMonitorMetricsDestination {
2377
- /**
2378
- * A friendly name for the destination.
2379
- * This name should be unique across all destinations (regardless of type) within the data collection rule.
2380
- */
2381
- name?: string;
2382
- }
2383
-
2384
- /** Definition of which streams are sent to which destinations. */
2385
- export interface DataFlow {
2386
- /** List of streams for this data flow. */
2387
- streams?: KnownDataFlowStreams[];
2388
- /** List of destinations for this data flow. */
2389
- destinations?: string[];
2390
- /** The KQL query to transform stream data. */
2391
- transformKql?: string;
2392
- /** The output stream of the transform. Only required if the transform changes data to a different stream. */
2393
- outputStream?: string;
2394
- }
2395
-
2396
- /** A pageable list of resources */
2397
- export interface AzureMonitorWorkspaceResourceListResult {
2398
- /** A list of resources */
2399
- value: AzureMonitorWorkspaceResource[];
2400
- /** The URL to use for getting the next set of results */
2401
- nextLink?: string;
2402
- }
2403
-
2404
- /** Properties of an Azure Monitor workspace */
2405
- export interface AzureMonitorWorkspace {
2996
+ /** Monitoring account destination. */
2997
+ export interface MonitoringAccountDestination {
2998
+ /** The resource ID of the monitoring account. */
2999
+ accountResourceId?: string;
2406
3000
  /**
2407
- * The immutable ID of the Azure Monitor workspace. This property is read-only.
3001
+ * The immutable ID of the account.
2408
3002
  * NOTE: This property will not be serialized. It can only be populated by the server.
2409
3003
  */
2410
3004
  readonly accountId?: string;
2411
3005
  /**
2412
- * Information about metrics for the Azure Monitor workspace
2413
- * NOTE: This property will not be serialized. It can only be populated by the server.
2414
- */
2415
- readonly metrics?: AzureMonitorWorkspaceMetrics;
2416
- /**
2417
- * The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
2418
- * NOTE: This property will not be serialized. It can only be populated by the server.
2419
- */
2420
- readonly provisioningState?: ProvisioningState;
2421
- /**
2422
- * The Data Collection Rule and Endpoint used for ingestion by default.
2423
- * NOTE: This property will not be serialized. It can only be populated by the server.
2424
- */
2425
- readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
2426
- }
2427
-
2428
- /** Information about metrics for the workspace */
2429
- export interface Metrics {
2430
- /**
2431
- * The Prometheus query endpoint for the workspace
2432
- * NOTE: This property will not be serialized. It can only be populated by the server.
2433
- */
2434
- readonly prometheusQueryEndpoint?: string;
2435
- /**
2436
- * An internal identifier for the metrics container. Only to be used by the system
2437
- * NOTE: This property will not be serialized. It can only be populated by the server.
3006
+ * A friendly name for the destination.
3007
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
2438
3008
  */
2439
- readonly internalId?: string;
3009
+ name?: string;
2440
3010
  }
2441
3011
 
2442
- /** Settings for data ingestion */
2443
- export interface IngestionSettings {
2444
- /**
2445
- * The Azure resource Id of the default data collection rule for this workspace.
2446
- * NOTE: This property will not be serialized. It can only be populated by the server.
2447
- */
2448
- readonly dataCollectionRuleResourceId?: string;
3012
+ /** Azure Monitor Metrics destination. */
3013
+ export interface AzureMonitorMetricsDestination {
2449
3014
  /**
2450
- * The Azure resource Id of the default data collection endpoint for this workspace.
2451
- * NOTE: This property will not be serialized. It can only be populated by the server.
3015
+ * A friendly name for the destination.
3016
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
2452
3017
  */
2453
- readonly dataCollectionEndpointResourceId?: string;
3018
+ name?: string;
2454
3019
  }
2455
3020
 
2456
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
2457
- export interface ResourceAutoGenerated5 {
2458
- /**
2459
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
2460
- * NOTE: This property will not be serialized. It can only be populated by the server.
2461
- */
2462
- readonly id?: string;
2463
- /**
2464
- * The name of the resource
2465
- * NOTE: This property will not be serialized. It can only be populated by the server.
2466
- */
2467
- readonly name?: string;
2468
- /**
2469
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
2470
- * NOTE: This property will not be serialized. It can only be populated by the server.
2471
- */
2472
- readonly type?: string;
3021
+ export interface EventHubDestination {
3022
+ /** The resource ID of the event hub. */
3023
+ eventHubResourceId?: string;
2473
3024
  /**
2474
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
2475
- * NOTE: This property will not be serialized. It can only be populated by the server.
3025
+ * A friendly name for the destination.
3026
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
2476
3027
  */
2477
- readonly systemData?: SystemData;
2478
- }
2479
-
2480
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
2481
- export interface ErrorResponseAutoGenerated2 {
2482
- /** The error object. */
2483
- error?: ErrorDetailAutoGenerated;
3028
+ name?: string;
2484
3029
  }
2485
3030
 
2486
- /** The error detail. */
2487
- export interface ErrorDetailAutoGenerated {
2488
- /**
2489
- * The error code.
2490
- * NOTE: This property will not be serialized. It can only be populated by the server.
2491
- */
2492
- readonly code?: string;
2493
- /**
2494
- * The error message.
2495
- * NOTE: This property will not be serialized. It can only be populated by the server.
2496
- */
2497
- readonly message?: string;
2498
- /**
2499
- * The error target.
2500
- * NOTE: This property will not be serialized. It can only be populated by the server.
2501
- */
2502
- readonly target?: string;
3031
+ export interface EventHubDirectDestination {
3032
+ /** The resource ID of the event hub. */
3033
+ eventHubResourceId?: string;
2503
3034
  /**
2504
- * The error details.
2505
- * NOTE: This property will not be serialized. It can only be populated by the server.
2506
- */
2507
- readonly details?: ErrorDetailAutoGenerated[];
2508
- /**
2509
- * The error additional info.
2510
- * NOTE: This property will not be serialized. It can only be populated by the server.
3035
+ * A friendly name for the destination.
3036
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
2511
3037
  */
2512
- readonly additionalInfo?: ErrorAdditionalInfo[];
2513
- }
2514
-
2515
- /** Definition of ARM tracked top level resource properties for update operation */
2516
- export interface AzureMonitorWorkspaceResourceForUpdate {
2517
- /** Resource tags */
2518
- tags?: { [propertyName: string]: string };
3038
+ name?: string;
2519
3039
  }
2520
3040
 
2521
- /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
2522
- export interface OperationListResultAutoGenerated {
2523
- /**
2524
- * List of operations supported by the resource provider
2525
- * NOTE: This property will not be serialized. It can only be populated by the server.
2526
- */
2527
- readonly value?: OperationAutoGenerated[];
3041
+ export interface StorageBlobDestination {
3042
+ /** The container name of the Storage Blob. */
3043
+ containerName?: string;
3044
+ /** The resource ID of the storage account. */
3045
+ storageAccountResourceId?: string;
2528
3046
  /**
2529
- * URL to get the next set of operation list results (if there are any).
2530
- * NOTE: This property will not be serialized. It can only be populated by the server.
3047
+ * A friendly name for the destination.
3048
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
2531
3049
  */
2532
- readonly nextLink?: string;
3050
+ name?: string;
2533
3051
  }
2534
3052
 
2535
- /** Details of a REST API operation, returned from the Resource Provider Operations API */
2536
- export interface OperationAutoGenerated {
2537
- /**
2538
- * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
2539
- * NOTE: This property will not be serialized. It can only be populated by the server.
2540
- */
2541
- readonly name?: string;
2542
- /**
2543
- * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
2544
- * NOTE: This property will not be serialized. It can only be populated by the server.
2545
- */
2546
- readonly isDataAction?: boolean;
2547
- /** Localized display information for this particular operation. */
2548
- display?: OperationDisplayAutoGenerated;
2549
- /**
2550
- * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
2551
- * NOTE: This property will not be serialized. It can only be populated by the server.
2552
- */
2553
- readonly origin?: Origin;
3053
+ export interface StorageTableDestination {
3054
+ /** The name of the Storage Table. */
3055
+ tableName?: string;
3056
+ /** The resource ID of the storage account. */
3057
+ storageAccountResourceId?: string;
2554
3058
  /**
2555
- * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
2556
- * NOTE: This property will not be serialized. It can only be populated by the server.
3059
+ * A friendly name for the destination.
3060
+ * This name should be unique across all destinations (regardless of type) within the data collection rule.
2557
3061
  */
2558
- readonly actionType?: ActionType;
3062
+ name?: string;
2559
3063
  }
2560
3064
 
2561
- /** Localized display information for this particular operation. */
2562
- export interface OperationDisplayAutoGenerated {
2563
- /**
2564
- * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
2565
- * NOTE: This property will not be serialized. It can only be populated by the server.
2566
- */
2567
- readonly provider?: string;
2568
- /**
2569
- * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
2570
- * NOTE: This property will not be serialized. It can only be populated by the server.
2571
- */
2572
- readonly resource?: string;
2573
- /**
2574
- * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
2575
- * NOTE: This property will not be serialized. It can only be populated by the server.
2576
- */
2577
- readonly operation?: string;
2578
- /**
2579
- * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
2580
- * NOTE: This property will not be serialized. It can only be populated by the server.
2581
- */
2582
- readonly description?: string;
3065
+ /** Definition of which streams are sent to which destinations. */
3066
+ export interface DataFlow {
3067
+ /** List of streams for this data flow. */
3068
+ streams?: KnownDataFlowStreams[];
3069
+ /** List of destinations for this data flow. */
3070
+ destinations?: string[];
3071
+ /** The KQL query to transform stream data. */
3072
+ transformKql?: string;
3073
+ /** The output stream of the transform. Only required if the transform changes data to a different stream. */
3074
+ outputStream?: string;
3075
+ /** The builtIn transform to transform stream data */
3076
+ builtInTransform?: string;
2583
3077
  }
2584
3078
 
2585
3079
  /** The claims for a rule management event data source. */
@@ -2628,16 +3122,60 @@ export interface MetricDimension {
2628
3122
  values: string[];
2629
3123
  }
2630
3124
 
2631
- /** The minimum number of violations required within the selected lookback time window required to raise an alert. */
2632
- export interface DynamicThresholdFailingPeriods {
2633
- /** The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. */
2634
- numberOfEvaluationPeriods: number;
2635
- /** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. */
2636
- minFailingPeriodsToAlert: number;
3125
+ /** The minimum number of violations required within the selected lookback time window required to raise an alert. */
3126
+ export interface DynamicThresholdFailingPeriods {
3127
+ /** The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. */
3128
+ numberOfEvaluationPeriods: number;
3129
+ /** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. */
3130
+ minFailingPeriodsToAlert: number;
3131
+ }
3132
+
3133
+ /** Resource properties */
3134
+ export interface AzureMonitorWorkspaceResourceProperties
3135
+ extends AzureMonitorWorkspace {}
3136
+
3137
+ /** Properties related to the metrics container in the Azure Monitor Workspace */
3138
+ export interface AzureMonitorWorkspaceMetrics extends Metrics {}
3139
+
3140
+ /** The Data Collection Rule and Endpoint used for ingestion by default. */
3141
+ export interface AzureMonitorWorkspaceDefaultIngestionSettings
3142
+ extends IngestionSettings {}
3143
+
3144
+ /** The private endpoint connection resource. */
3145
+ export interface PrivateEndpointConnection extends Resource {
3146
+ /**
3147
+ * The group ids for the private endpoint resource.
3148
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3149
+ */
3150
+ readonly groupIds?: string[];
3151
+ /** The private endpoint resource. */
3152
+ privateEndpoint?: PrivateEndpoint;
3153
+ /** A collection of information about the state of the connection between service consumer and provider. */
3154
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
3155
+ /** The provisioning state of the private endpoint connection resource. */
3156
+ provisioningState?: PrivateEndpointConnectionProvisioningState;
3157
+ }
3158
+
3159
+ /** Metadata pertaining to creation and last modification of the resource. */
3160
+ export interface DataCollectionEndpointResourceSystemData extends SystemData {}
3161
+
3162
+ /** Metadata pertaining to creation and last modification of the resource. */
3163
+ export interface DataCollectionRuleAssociationProxyOnlyResourceSystemData
3164
+ extends SystemData {}
3165
+
3166
+ /** Metadata pertaining to creation and last modification of the resource. */
3167
+ export interface DataCollectionRuleResourceSystemData extends SystemData {}
3168
+
3169
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
3170
+ export interface TrackedResource extends ResourceAutoGenerated {
3171
+ /** Resource tags. */
3172
+ tags?: { [propertyName: string]: string };
3173
+ /** The geo-location where the resource lives */
3174
+ location: string;
2637
3175
  }
2638
3176
 
2639
3177
  /** The autoscale setting resource. */
2640
- export interface AutoscaleSettingResource extends Resource {
3178
+ export interface AutoscaleSettingResource extends ResourceAutoGenerated2 {
2641
3179
  /** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
2642
3180
  profiles: AutoscaleProfile[];
2643
3181
  /** the collection of notifications. */
@@ -2654,16 +3192,6 @@ export interface AutoscaleSettingResource extends Resource {
2654
3192
  targetResourceLocation?: string;
2655
3193
  }
2656
3194
 
2657
- /** Metadata pertaining to creation and last modification of the resource. */
2658
- export interface DataCollectionEndpointResourceSystemData extends SystemData {}
2659
-
2660
- /** Metadata pertaining to creation and last modification of the resource. */
2661
- export interface DataCollectionRuleAssociationProxyOnlyResourceSystemData
2662
- extends SystemData {}
2663
-
2664
- /** Metadata pertaining to creation and last modification of the resource. */
2665
- export interface DataCollectionRuleResourceSystemData extends SystemData {}
2666
-
2667
3195
  /** A rule condition based on a metric crossing a threshold. */
2668
3196
  export interface ThresholdRuleCondition extends RuleCondition {
2669
3197
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -2749,7 +3277,7 @@ export interface RuleWebhookAction extends RuleAction {
2749
3277
  }
2750
3278
 
2751
3279
  /** The alert rule resource. */
2752
- export interface AlertRuleResource extends ResourceAutoGenerated {
3280
+ export interface AlertRuleResource extends ResourceAutoGenerated3 {
2753
3281
  /** the name of the alert rule. */
2754
3282
  namePropertiesName: string;
2755
3283
  /** the description of the alert rule that will be included in the alert email. */
@@ -2772,7 +3300,7 @@ export interface AlertRuleResource extends ResourceAutoGenerated {
2772
3300
  }
2773
3301
 
2774
3302
  /** The log profile resource. */
2775
- export interface LogProfileResource extends ResourceAutoGenerated2 {
3303
+ export interface LogProfileResource extends ResourceAutoGenerated4 {
2776
3304
  /** the resource id of the storage account to which you would like to send the Activity Log. */
2777
3305
  storageAccountId?: string;
2778
3306
  /** 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}'. */
@@ -2786,7 +3314,7 @@ export interface LogProfileResource extends ResourceAutoGenerated2 {
2786
3314
  }
2787
3315
 
2788
3316
  /** The diagnostic setting resource. */
2789
- export interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
3317
+ export interface DiagnosticSettingsResource extends ResourceAutoGenerated5 {
2790
3318
  /**
2791
3319
  * The system metadata related to this resource.
2792
3320
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2814,7 +3342,7 @@ export interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
2814
3342
 
2815
3343
  /** The diagnostic settings category resource. */
2816
3344
  export interface DiagnosticSettingsCategoryResource
2817
- extends ResourceAutoGenerated3 {
3345
+ extends ResourceAutoGenerated5 {
2818
3346
  /**
2819
3347
  * The system metadata related to this resource.
2820
3348
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2827,20 +3355,18 @@ export interface DiagnosticSettingsCategoryResource
2827
3355
  }
2828
3356
 
2829
3357
  /** The Private Endpoint Connection resource. */
2830
- export interface PrivateEndpointConnection extends ResourceAutoGenerated3 {
3358
+ export interface PrivateEndpointConnectionAutoGenerated
3359
+ extends ResourceAutoGenerated5 {
2831
3360
  /** The resource of private end point. */
2832
- privateEndpoint?: PrivateEndpoint;
3361
+ privateEndpoint?: PrivateEndpointAutoGenerated;
2833
3362
  /** A collection of information about the state of the connection between service consumer and provider. */
2834
3363
  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
2835
- /**
2836
- * The provisioning state of the private endpoint connection resource.
2837
- * NOTE: This property will not be serialized. It can only be populated by the server.
2838
- */
2839
- readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
3364
+ /** The provisioning state of the private endpoint connection resource. */
3365
+ provisioningState?: PrivateEndpointConnectionProvisioningState;
2840
3366
  }
2841
3367
 
2842
3368
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
2843
- export interface TrackedResource extends ResourceAutoGenerated3 {
3369
+ export interface TrackedResourceAutoGenerated extends ResourceAutoGenerated5 {
2844
3370
  /** Resource tags. */
2845
3371
  tags?: { [propertyName: string]: string };
2846
3372
  /** The geo-location where the resource lives */
@@ -2848,7 +3374,7 @@ export interface TrackedResource extends ResourceAutoGenerated3 {
2848
3374
  }
2849
3375
 
2850
3376
  /** A private link resource */
2851
- export interface PrivateLinkResource extends ResourceAutoGenerated3 {
3377
+ export interface PrivateLinkResource extends ResourceAutoGenerated5 {
2852
3378
  /**
2853
3379
  * The private link resource group id.
2854
3380
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2864,7 +3390,7 @@ export interface PrivateLinkResource extends ResourceAutoGenerated3 {
2864
3390
  }
2865
3391
 
2866
3392
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
2867
- export interface ProxyResourceAutoGenerated extends ResourceAutoGenerated3 {}
3393
+ export interface ProxyResourceAutoGenerated extends ResourceAutoGenerated5 {}
2868
3394
 
2869
3395
  /** An action group resource. */
2870
3396
  export interface ActionGroupResource extends AzureResource {
@@ -2896,6 +3422,24 @@ export interface ActionGroupResource extends AzureResource {
2896
3422
  eventHubReceivers?: EventHubReceiver[];
2897
3423
  }
2898
3424
 
3425
+ /** A tenant action group resource. */
3426
+ export interface TenantActionGroupResource extends AzureResource {
3427
+ /** The short name of the action group. This will be used in SMS messages. */
3428
+ groupShortName?: string;
3429
+ /** Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its receivers will receive communications. */
3430
+ enabled?: boolean;
3431
+ /** The list of email receivers that are part of this tenant action group. */
3432
+ emailReceivers?: EmailReceiverAutoGenerated[];
3433
+ /** The list of SMS receivers that are part of this tenant action group. */
3434
+ smsReceivers?: SmsReceiverAutoGenerated[];
3435
+ /** The list of webhook receivers that are part of this tenant action group. */
3436
+ webhookReceivers?: WebhookReceiverAutoGenerated[];
3437
+ /** The list of AzureAppPush receivers that are part of this tenant action group. */
3438
+ azureAppPushReceivers?: AzureAppPushReceiverAutoGenerated[];
3439
+ /** The list of voice receivers that are part of this tenant action group. */
3440
+ voiceReceivers?: VoiceReceiverAutoGenerated[];
3441
+ }
3442
+
2899
3443
  /** Specifies the metric alert criteria for a single resource that has multiple metric criteria. */
2900
3444
  export interface MetricAlertSingleResourceMultipleMetricCriteria
2901
3445
  extends MetricAlertCriteria {
@@ -2928,7 +3472,7 @@ export interface MetricAlertMultipleResourceMultipleMetricCriteria
2928
3472
  }
2929
3473
 
2930
3474
  /** The metric alert resource. */
2931
- export interface MetricAlertResource extends ResourceAutoGenerated4 {
3475
+ export interface MetricAlertResource extends ResourceAutoGenerated6 {
2932
3476
  /** the description of the metric alert that will be included in the alert email. */
2933
3477
  description?: string;
2934
3478
  /** Alert severity {0, 1, 2, 3, 4} */
@@ -3016,12 +3560,19 @@ export interface DataCollectionEndpointConfigurationAccess
3016
3560
  export interface DataCollectionEndpointLogsIngestion
3017
3561
  extends LogsIngestionEndpointSpec {}
3018
3562
 
3563
+ /** The endpoint used by clients to ingest metrics. */
3564
+ export interface DataCollectionEndpointMetricsIngestion
3565
+ extends MetricsIngestionEndpointSpec {}
3566
+
3019
3567
  /** Network access control rules for the endpoints. */
3020
3568
  export interface DataCollectionEndpointNetworkAcls extends NetworkRuleSet {}
3021
3569
 
3022
- /** Resource properties. */
3023
- export interface DataCollectionRuleAssociationProxyOnlyResourceProperties
3024
- extends DataCollectionRuleAssociation {}
3570
+ /** Failover configuration on this endpoint. This property is READ-ONLY. */
3571
+ export interface DataCollectionEndpointFailoverConfiguration
3572
+ extends FailoverConfigurationSpec {}
3573
+
3574
+ /** Metadata for the resource. This property is READ-ONLY. */
3575
+ export interface DataCollectionEndpointMetadata extends Metadata {}
3025
3576
 
3026
3577
  /** Metadata about the resource */
3027
3578
  export interface DataCollectionRuleAssociationMetadata extends Metadata {}
@@ -3029,6 +3580,21 @@ export interface DataCollectionRuleAssociationMetadata extends Metadata {}
3029
3580
  /** Metadata about the resource */
3030
3581
  export interface DataCollectionRuleMetadata extends Metadata {}
3031
3582
 
3583
+ /** Managed service identity of the resource. */
3584
+ export interface DataCollectionEndpointResourceIdentity
3585
+ extends ManagedServiceIdentity {}
3586
+
3587
+ /** Managed Service Identity. */
3588
+ export interface ResourceForUpdateIdentity extends ManagedServiceIdentity {}
3589
+
3590
+ /** Managed service identity of the resource. */
3591
+ export interface DataCollectionRuleResourceIdentity
3592
+ extends ManagedServiceIdentity {}
3593
+
3594
+ /** Resource properties. */
3595
+ export interface DataCollectionRuleAssociationProxyOnlyResourceProperties
3596
+ extends DataCollectionRuleAssociation {}
3597
+
3032
3598
  /** Resource properties. */
3033
3599
  export interface DataCollectionRuleResourceProperties
3034
3600
  extends DataCollectionRule {}
@@ -3045,6 +3611,12 @@ export interface LogFilesDataSourceSettings extends LogFileSettings {}
3045
3611
  /** Text settings */
3046
3612
  export interface LogFileSettingsText extends LogFileTextSettings {}
3047
3613
 
3614
+ /** Specifications of pull based data sources */
3615
+ export interface DataSourcesSpecDataImports extends DataImportSources {}
3616
+
3617
+ /** Definition of Event Hub configuration. */
3618
+ export interface DataImportSourcesEventHub extends EventHubDataSource {}
3619
+
3048
3620
  /** The specification of destinations. */
3049
3621
  export interface DataCollectionRuleDestinations extends DestinationsSpec {}
3050
3622
 
@@ -3052,25 +3624,6 @@ export interface DataCollectionRuleDestinations extends DestinationsSpec {}
3052
3624
  export interface DestinationsSpecAzureMonitorMetrics
3053
3625
  extends AzureMonitorMetricsDestination {}
3054
3626
 
3055
- /** Resource properties */
3056
- export interface AzureMonitorWorkspaceResourceProperties
3057
- extends AzureMonitorWorkspace {}
3058
-
3059
- /** Information about metrics for the Azure Monitor workspace */
3060
- export interface AzureMonitorWorkspaceMetrics extends Metrics {}
3061
-
3062
- /** The Data Collection Rule and Endpoint used for ingestion by default. */
3063
- export interface AzureMonitorWorkspaceDefaultIngestionSettings
3064
- extends IngestionSettings {}
3065
-
3066
- /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
3067
- export interface TrackedResourceAutoGenerated extends ResourceAutoGenerated5 {
3068
- /** Resource tags. */
3069
- tags?: { [propertyName: string]: string };
3070
- /** The geo-location where the resource lives */
3071
- location: string;
3072
- }
3073
-
3074
3627
  /** Criterion to filter metrics. */
3075
3628
  export interface MetricCriteria extends MultiMetricCriteria {
3076
3629
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -3095,8 +3648,48 @@ export interface DynamicMetricCriteria extends MultiMetricCriteria {
3095
3648
  ignoreDataBefore?: Date;
3096
3649
  }
3097
3650
 
3651
+ /** An Azure Monitor Workspace definition */
3652
+ export interface AzureMonitorWorkspaceResource extends TrackedResource {
3653
+ /**
3654
+ * Resource entity tag (ETag)
3655
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3656
+ */
3657
+ readonly etag?: string;
3658
+ /**
3659
+ * The immutable Id of the Azure Monitor Workspace. This property is read-only.
3660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3661
+ */
3662
+ readonly accountId?: string;
3663
+ /**
3664
+ * Properties related to the metrics container in the Azure Monitor Workspace
3665
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3666
+ */
3667
+ readonly metrics?: AzureMonitorWorkspaceMetrics;
3668
+ /**
3669
+ * The provisioning state of the Azure Monitor Workspace. Set to Succeeded if everything is healthy.
3670
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3671
+ */
3672
+ readonly provisioningState?: ProvisioningState;
3673
+ /**
3674
+ * The Data Collection Rule and Endpoint used for ingestion by default.
3675
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3676
+ */
3677
+ readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
3678
+ /**
3679
+ * List of private endpoint connections
3680
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3681
+ */
3682
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
3683
+ /**
3684
+ * Gets or sets allow or disallow public network access to Azure Monitor Workspace
3685
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3686
+ */
3687
+ readonly publicNetworkAccess?: PublicNetworkAccess;
3688
+ }
3689
+
3098
3690
  /** An Azure Monitor PrivateLinkScope definition. */
3099
- export interface AzureMonitorPrivateLinkScope extends TrackedResource {
3691
+ export interface AzureMonitorPrivateLinkScope
3692
+ extends TrackedResourceAutoGenerated {
3100
3693
  /**
3101
3694
  * System data
3102
3695
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -3111,7 +3704,7 @@ export interface AzureMonitorPrivateLinkScope extends TrackedResource {
3111
3704
  * List of private endpoint connections.
3112
3705
  * NOTE: This property will not be serialized. It can only be populated by the server.
3113
3706
  */
3114
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
3707
+ readonly privateEndpointConnections?: PrivateEndpointConnectionAutoGenerated[];
3115
3708
  /** Access mode settings */
3116
3709
  accessModeSettings: AccessModeSettings;
3117
3710
  }
@@ -3132,71 +3725,242 @@ export interface ScopedResource extends ProxyResourceAutoGenerated {
3132
3725
  readonly provisioningState?: string;
3133
3726
  }
3134
3727
 
3135
- /** An Azure Monitor Workspace definition */
3136
- export interface AzureMonitorWorkspaceResource
3137
- extends TrackedResourceAutoGenerated {
3138
- /**
3139
- * Resource entity tag (ETag)
3140
- * NOTE: This property will not be serialized. It can only be populated by the server.
3141
- */
3142
- readonly etag?: string;
3143
- /**
3144
- * The immutable ID of the Azure Monitor workspace. This property is read-only.
3145
- * NOTE: This property will not be serialized. It can only be populated by the server.
3146
- */
3147
- readonly accountId?: string;
3148
- /**
3149
- * Information about metrics for the Azure Monitor workspace
3150
- * NOTE: This property will not be serialized. It can only be populated by the server.
3151
- */
3152
- readonly metrics?: AzureMonitorWorkspaceMetrics;
3153
- /**
3154
- * The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
3155
- * NOTE: This property will not be serialized. It can only be populated by the server.
3156
- */
3157
- readonly provisioningState?: ProvisioningState;
3158
- /**
3159
- * The Data Collection Rule and Endpoint used for ingestion by default.
3160
- * NOTE: This property will not be serialized. It can only be populated by the server.
3161
- */
3162
- readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
3728
+ /** Defines headers for AzureMonitorWorkspaces_delete operation. */
3729
+ export interface AzureMonitorWorkspacesDeleteHeaders {
3730
+ azureAsyncOperation?: string;
3731
+ location?: string;
3163
3732
  }
3164
3733
 
3165
- /** Defines headers for ActionGroups_postTestNotifications operation. */
3166
- export interface ActionGroupsPostTestNotificationsHeaders {
3734
+ /** Defines headers for ActionGroups_createNotificationsAtActionGroupResourceLevel operation. */
3735
+ export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders {
3167
3736
  /** The location header that has the polling uri. */
3168
3737
  location?: string;
3169
3738
  }
3170
3739
 
3171
- /** Defines headers for ActionGroups_createNotificationsAtResourceGroupLevel operation. */
3172
- export interface ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders {
3740
+ /** Defines headers for MonitorClient_createNotificationsAtTenantActionGroupResourceLevel operation. */
3741
+ export interface MonitorClientCreateNotificationsAtTenantActionGroupResourceLevelHeaders {
3173
3742
  /** The location header that has the polling uri. */
3174
3743
  location?: string;
3175
3744
  }
3176
3745
 
3177
- /** Defines headers for ActionGroups_createNotificationsAtActionGroupResourceLevel operation. */
3178
- export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders {
3179
- /** The location header that has the polling uri. */
3180
- location?: string;
3746
+ /** Known values of {@link NamespaceClassification} that the service accepts. */
3747
+ export enum KnownNamespaceClassification {
3748
+ /** Platform */
3749
+ Platform = "Platform",
3750
+ /** Custom */
3751
+ Custom = "Custom",
3752
+ /** Qos */
3753
+ Qos = "Qos",
3754
+ }
3755
+
3756
+ /**
3757
+ * Defines values for NamespaceClassification. \
3758
+ * {@link KnownNamespaceClassification} can be used interchangeably with NamespaceClassification,
3759
+ * this enum contains the known values that the service supports.
3760
+ * ### Known values supported by the service
3761
+ * **Platform** \
3762
+ * **Custom** \
3763
+ * **Qos**
3764
+ */
3765
+ export type NamespaceClassification = string;
3766
+
3767
+ /** Known values of {@link MetricClass} that the service accepts. */
3768
+ export enum KnownMetricClass {
3769
+ /** Availability */
3770
+ Availability = "Availability",
3771
+ /** Transactions */
3772
+ Transactions = "Transactions",
3773
+ /** Errors */
3774
+ Errors = "Errors",
3775
+ /** Latency */
3776
+ Latency = "Latency",
3777
+ /** Saturation */
3778
+ Saturation = "Saturation",
3779
+ }
3780
+
3781
+ /**
3782
+ * Defines values for MetricClass. \
3783
+ * {@link KnownMetricClass} can be used interchangeably with MetricClass,
3784
+ * this enum contains the known values that the service supports.
3785
+ * ### Known values supported by the service
3786
+ * **Availability** \
3787
+ * **Transactions** \
3788
+ * **Errors** \
3789
+ * **Latency** \
3790
+ * **Saturation**
3791
+ */
3792
+ export type MetricClass = string;
3793
+
3794
+ /** Known values of {@link MetricUnit} that the service accepts. */
3795
+ export enum KnownMetricUnit {
3796
+ /** Unit of raw quantity. */
3797
+ Count = "Count",
3798
+ /** Unit of memory in bytes. */
3799
+ Bytes = "Bytes",
3800
+ /** Unit of time in seconds. */
3801
+ Seconds = "Seconds",
3802
+ /** Rate unit of raw quantity per second. */
3803
+ CountPerSecond = "CountPerSecond",
3804
+ /** Rate unit of memory in bytes per second. */
3805
+ BytesPerSecond = "BytesPerSecond",
3806
+ /** Percentage unit. */
3807
+ Percent = "Percent",
3808
+ /** Unit of time in 1\/1000th of a second. */
3809
+ MilliSeconds = "MilliSeconds",
3810
+ /** 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. */
3811
+ ByteSeconds = "ByteSeconds",
3812
+ /** No specified unit. */
3813
+ Unspecified = "Unspecified",
3814
+ /** Unit of processing power. */
3815
+ Cores = "Cores",
3816
+ /** Unit of processing power in 1\/1000th of a CPU core. */
3817
+ MilliCores = "MilliCores",
3818
+ /** Unit of processing power in one billionth of a CPU core. */
3819
+ NanoCores = "NanoCores",
3820
+ /** Rate unit of binary digits per second. */
3821
+ BitsPerSecond = "BitsPerSecond",
3822
+ }
3823
+
3824
+ /**
3825
+ * Defines values for MetricUnit. \
3826
+ * {@link KnownMetricUnit} can be used interchangeably with MetricUnit,
3827
+ * this enum contains the known values that the service supports.
3828
+ * ### Known values supported by the service
3829
+ * **Count**: Unit of raw quantity. \
3830
+ * **Bytes**: Unit of memory in bytes. \
3831
+ * **Seconds**: Unit of time in seconds. \
3832
+ * **CountPerSecond**: Rate unit of raw quantity per second. \
3833
+ * **BytesPerSecond**: Rate unit of memory in bytes per second. \
3834
+ * **Percent**: Percentage unit. \
3835
+ * **MilliSeconds**: Unit of time in 1\/1000th of a second. \
3836
+ * **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. \
3837
+ * **Unspecified**: No specified unit. \
3838
+ * **Cores**: Unit of processing power. \
3839
+ * **MilliCores**: Unit of processing power in 1\/1000th of a CPU core. \
3840
+ * **NanoCores**: Unit of processing power in one billionth of a CPU core. \
3841
+ * **BitsPerSecond**: Rate unit of binary digits per second.
3842
+ */
3843
+ export type MetricUnit = string;
3844
+
3845
+ /** Known values of {@link MetricAggregationType} that the service accepts. */
3846
+ export enum KnownMetricAggregationType {
3847
+ /** None */
3848
+ None = "None",
3849
+ /** Average */
3850
+ Average = "Average",
3851
+ /** Count */
3852
+ Count = "Count",
3853
+ /** Minimum */
3854
+ Minimum = "Minimum",
3855
+ /** Maximum */
3856
+ Maximum = "Maximum",
3857
+ /** Total */
3858
+ Total = "Total",
3859
+ }
3860
+
3861
+ /**
3862
+ * Defines values for MetricAggregationType. \
3863
+ * {@link KnownMetricAggregationType} can be used interchangeably with MetricAggregationType,
3864
+ * this enum contains the known values that the service supports.
3865
+ * ### Known values supported by the service
3866
+ * **None** \
3867
+ * **Average** \
3868
+ * **Count** \
3869
+ * **Minimum** \
3870
+ * **Maximum** \
3871
+ * **Total**
3872
+ */
3873
+ export type MetricAggregationType = string;
3874
+
3875
+ /** Known values of {@link MetricResultType} that the service accepts. */
3876
+ export enum KnownMetricResultType {
3877
+ /** Data */
3878
+ Data = "Data",
3879
+ /** Metadata */
3880
+ Metadata = "Metadata",
3881
+ }
3882
+
3883
+ /**
3884
+ * Defines values for MetricResultType. \
3885
+ * {@link KnownMetricResultType} can be used interchangeably with MetricResultType,
3886
+ * this enum contains the known values that the service supports.
3887
+ * ### Known values supported by the service
3888
+ * **Data** \
3889
+ * **Metadata**
3890
+ */
3891
+ export type MetricResultType = string;
3892
+
3893
+ /** Known values of {@link ProvisioningState} that the service accepts. */
3894
+ export enum KnownProvisioningState {
3895
+ /** Creating */
3896
+ Creating = "Creating",
3897
+ /** Succeeded */
3898
+ Succeeded = "Succeeded",
3899
+ /** Deleting */
3900
+ Deleting = "Deleting",
3901
+ /** Failed */
3902
+ Failed = "Failed",
3903
+ /** Canceled */
3904
+ Canceled = "Canceled",
3905
+ }
3906
+
3907
+ /**
3908
+ * Defines values for ProvisioningState. \
3909
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
3910
+ * this enum contains the known values that the service supports.
3911
+ * ### Known values supported by the service
3912
+ * **Creating** \
3913
+ * **Succeeded** \
3914
+ * **Deleting** \
3915
+ * **Failed** \
3916
+ * **Canceled**
3917
+ */
3918
+ export type ProvisioningState = string;
3919
+
3920
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
3921
+ export enum KnownPrivateEndpointServiceConnectionStatus {
3922
+ /** Pending */
3923
+ Pending = "Pending",
3924
+ /** Approved */
3925
+ Approved = "Approved",
3926
+ /** Rejected */
3927
+ Rejected = "Rejected",
3181
3928
  }
3182
3929
 
3183
- /** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
3184
- export enum KnownScaleRuleMetricDimensionOperationType {
3185
- /** Equals */
3186
- Equals = "Equals",
3187
- /** NotEquals */
3188
- NotEquals = "NotEquals"
3930
+ /**
3931
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
3932
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
3933
+ * this enum contains the known values that the service supports.
3934
+ * ### Known values supported by the service
3935
+ * **Pending** \
3936
+ * **Approved** \
3937
+ * **Rejected**
3938
+ */
3939
+ export type PrivateEndpointServiceConnectionStatus = string;
3940
+
3941
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
3942
+ export enum KnownPrivateEndpointConnectionProvisioningState {
3943
+ /** Succeeded */
3944
+ Succeeded = "Succeeded",
3945
+ /** Creating */
3946
+ Creating = "Creating",
3947
+ /** Deleting */
3948
+ Deleting = "Deleting",
3949
+ /** Failed */
3950
+ Failed = "Failed",
3189
3951
  }
3190
3952
 
3191
3953
  /**
3192
- * Defines values for ScaleRuleMetricDimensionOperationType. \
3193
- * {@link KnownScaleRuleMetricDimensionOperationType} can be used interchangeably with ScaleRuleMetricDimensionOperationType,
3954
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
3955
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
3194
3956
  * this enum contains the known values that the service supports.
3195
3957
  * ### Known values supported by the service
3196
- * **Equals** \
3197
- * **NotEquals**
3958
+ * **Succeeded** \
3959
+ * **Creating** \
3960
+ * **Deleting** \
3961
+ * **Failed**
3198
3962
  */
3199
- export type ScaleRuleMetricDimensionOperationType = string;
3963
+ export type PrivateEndpointConnectionProvisioningState = string;
3200
3964
 
3201
3965
  /** Known values of {@link CreatedByType} that the service accepts. */
3202
3966
  export enum KnownCreatedByType {
@@ -3207,7 +3971,7 @@ export enum KnownCreatedByType {
3207
3971
  /** ManagedIdentity */
3208
3972
  ManagedIdentity = "ManagedIdentity",
3209
3973
  /** Key */
3210
- Key = "Key"
3974
+ Key = "Key",
3211
3975
  }
3212
3976
 
3213
3977
  /**
@@ -3222,101 +3986,95 @@ export enum KnownCreatedByType {
3222
3986
  */
3223
3987
  export type CreatedByType = string;
3224
3988
 
3225
- /** Known values of {@link CategoryType} that the service accepts. */
3226
- export enum KnownCategoryType {
3227
- /** Metrics */
3228
- Metrics = "Metrics",
3229
- /** Logs */
3230
- Logs = "Logs"
3989
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
3990
+ export enum KnownPublicNetworkAccess {
3991
+ /** Enabled */
3992
+ Enabled = "Enabled",
3993
+ /** Disabled */
3994
+ Disabled = "Disabled",
3231
3995
  }
3232
3996
 
3233
3997
  /**
3234
- * Defines values for CategoryType. \
3235
- * {@link KnownCategoryType} can be used interchangeably with CategoryType,
3998
+ * Defines values for PublicNetworkAccess. \
3999
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
3236
4000
  * this enum contains the known values that the service supports.
3237
4001
  * ### Known values supported by the service
3238
- * **Metrics** \
3239
- * **Logs**
4002
+ * **Enabled** \
4003
+ * **Disabled**
3240
4004
  */
3241
- export type CategoryType = string;
4005
+ export type PublicNetworkAccess = string;
3242
4006
 
3243
- /** Known values of {@link MetricClass} that the service accepts. */
3244
- export enum KnownMetricClass {
3245
- /** Availability */
3246
- Availability = "Availability",
3247
- /** Transactions */
3248
- Transactions = "Transactions",
3249
- /** Errors */
3250
- Errors = "Errors",
3251
- /** Latency */
3252
- Latency = "Latency",
3253
- /** Saturation */
3254
- Saturation = "Saturation"
4007
+ /** Known values of {@link Origin} that the service accepts. */
4008
+ export enum KnownOrigin {
4009
+ /** User */
4010
+ User = "user",
4011
+ /** System */
4012
+ System = "system",
4013
+ /** UserSystem */
4014
+ UserSystem = "user,system",
3255
4015
  }
3256
4016
 
3257
4017
  /**
3258
- * Defines values for MetricClass. \
3259
- * {@link KnownMetricClass} can be used interchangeably with MetricClass,
4018
+ * Defines values for Origin. \
4019
+ * {@link KnownOrigin} can be used interchangeably with Origin,
3260
4020
  * this enum contains the known values that the service supports.
3261
4021
  * ### Known values supported by the service
3262
- * **Availability** \
3263
- * **Transactions** \
3264
- * **Errors** \
3265
- * **Latency** \
3266
- * **Saturation**
4022
+ * **user** \
4023
+ * **system** \
4024
+ * **user,system**
3267
4025
  */
3268
- export type MetricClass = string;
4026
+ export type Origin = string;
3269
4027
 
3270
- /** Known values of {@link MetricUnit} that the service accepts. */
3271
- export enum KnownMetricUnit {
3272
- /** Count */
3273
- Count = "Count",
3274
- /** Bytes */
3275
- Bytes = "Bytes",
3276
- /** Seconds */
3277
- Seconds = "Seconds",
3278
- /** CountPerSecond */
3279
- CountPerSecond = "CountPerSecond",
3280
- /** BytesPerSecond */
3281
- BytesPerSecond = "BytesPerSecond",
3282
- /** Percent */
3283
- Percent = "Percent",
3284
- /** MilliSeconds */
3285
- MilliSeconds = "MilliSeconds",
3286
- /** ByteSeconds */
3287
- ByteSeconds = "ByteSeconds",
3288
- /** Unspecified */
3289
- Unspecified = "Unspecified",
3290
- /** Cores */
3291
- Cores = "Cores",
3292
- /** MilliCores */
3293
- MilliCores = "MilliCores",
3294
- /** NanoCores */
3295
- NanoCores = "NanoCores",
3296
- /** BitsPerSecond */
3297
- BitsPerSecond = "BitsPerSecond"
4028
+ /** Known values of {@link ActionType} that the service accepts. */
4029
+ export enum KnownActionType {
4030
+ /** Internal */
4031
+ Internal = "Internal",
3298
4032
  }
3299
4033
 
3300
4034
  /**
3301
- * Defines values for MetricUnit. \
3302
- * {@link KnownMetricUnit} can be used interchangeably with MetricUnit,
4035
+ * Defines values for ActionType. \
4036
+ * {@link KnownActionType} can be used interchangeably with ActionType,
3303
4037
  * this enum contains the known values that the service supports.
3304
4038
  * ### Known values supported by the service
3305
- * **Count** \
3306
- * **Bytes** \
3307
- * **Seconds** \
3308
- * **CountPerSecond** \
3309
- * **BytesPerSecond** \
3310
- * **Percent** \
3311
- * **MilliSeconds** \
3312
- * **ByteSeconds** \
3313
- * **Unspecified** \
3314
- * **Cores** \
3315
- * **MilliCores** \
3316
- * **NanoCores** \
3317
- * **BitsPerSecond**
4039
+ * **Internal**
3318
4040
  */
3319
- export type MetricUnit = string;
4041
+ export type ActionType = string;
4042
+
4043
+ /** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
4044
+ export enum KnownScaleRuleMetricDimensionOperationType {
4045
+ /** Equals */
4046
+ Equals = "Equals",
4047
+ /** NotEquals */
4048
+ NotEquals = "NotEquals",
4049
+ }
4050
+
4051
+ /**
4052
+ * Defines values for ScaleRuleMetricDimensionOperationType. \
4053
+ * {@link KnownScaleRuleMetricDimensionOperationType} can be used interchangeably with ScaleRuleMetricDimensionOperationType,
4054
+ * this enum contains the known values that the service supports.
4055
+ * ### Known values supported by the service
4056
+ * **Equals** \
4057
+ * **NotEquals**
4058
+ */
4059
+ export type ScaleRuleMetricDimensionOperationType = string;
4060
+
4061
+ /** Known values of {@link CategoryType} that the service accepts. */
4062
+ export enum KnownCategoryType {
4063
+ /** Metrics */
4064
+ Metrics = "Metrics",
4065
+ /** Logs */
4066
+ Logs = "Logs",
4067
+ }
4068
+
4069
+ /**
4070
+ * Defines values for CategoryType. \
4071
+ * {@link KnownCategoryType} can be used interchangeably with CategoryType,
4072
+ * this enum contains the known values that the service supports.
4073
+ * ### Known values supported by the service
4074
+ * **Metrics** \
4075
+ * **Logs**
4076
+ */
4077
+ export type CategoryType = string;
3320
4078
 
3321
4079
  /** Known values of {@link BaselineSensitivity} that the service accepts. */
3322
4080
  export enum KnownBaselineSensitivity {
@@ -3325,7 +4083,7 @@ export enum KnownBaselineSensitivity {
3325
4083
  /** Medium */
3326
4084
  Medium = "Medium",
3327
4085
  /** High */
3328
- High = "High"
4086
+ High = "High",
3329
4087
  }
3330
4088
 
3331
4089
  /**
@@ -3346,7 +4104,7 @@ export enum KnownOdatatype {
3346
4104
  /** MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria */
3347
4105
  MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
3348
4106
  /** MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria */
3349
- MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
4107
+ MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria",
3350
4108
  }
3351
4109
 
3352
4110
  /**
@@ -3365,7 +4123,7 @@ export enum KnownKind {
3365
4123
  /** LogAlert */
3366
4124
  LogAlert = "LogAlert",
3367
4125
  /** LogToMetric */
3368
- LogToMetric = "LogToMetric"
4126
+ LogToMetric = "LogToMetric",
3369
4127
  }
3370
4128
 
3371
4129
  /**
@@ -3389,7 +4147,7 @@ export enum KnownAlertSeverity {
3389
4147
  /** Three */
3390
4148
  Three = 3,
3391
4149
  /** Four */
3392
- Four = 4
4150
+ Four = 4,
3393
4151
  }
3394
4152
 
3395
4153
  /**
@@ -3405,27 +4163,6 @@ export enum KnownAlertSeverity {
3405
4163
  */
3406
4164
  export type AlertSeverity = number;
3407
4165
 
3408
- /** Known values of {@link PublicNetworkAccess} that the service accepts. */
3409
- export enum KnownPublicNetworkAccess {
3410
- /** Enabled */
3411
- Enabled = "Enabled",
3412
- /** Disabled */
3413
- Disabled = "Disabled",
3414
- /** SecuredByPerimeter */
3415
- SecuredByPerimeter = "SecuredByPerimeter"
3416
- }
3417
-
3418
- /**
3419
- * Defines values for PublicNetworkAccess. \
3420
- * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
3421
- * this enum contains the known values that the service supports.
3422
- * ### Known values supported by the service
3423
- * **Enabled** \
3424
- * **Disabled** \
3425
- * **SecuredByPerimeter**
3426
- */
3427
- export type PublicNetworkAccess = string;
3428
-
3429
4166
  /** Known values of {@link TimeAggregation} that the service accepts. */
3430
4167
  export enum KnownTimeAggregation {
3431
4168
  /** Count */
@@ -3437,7 +4174,7 @@ export enum KnownTimeAggregation {
3437
4174
  /** Maximum */
3438
4175
  Maximum = "Maximum",
3439
4176
  /** Total */
3440
- Total = "Total"
4177
+ Total = "Total",
3441
4178
  }
3442
4179
 
3443
4180
  /**
@@ -3458,7 +4195,7 @@ export enum KnownDimensionOperator {
3458
4195
  /** Include */
3459
4196
  Include = "Include",
3460
4197
  /** Exclude */
3461
- Exclude = "Exclude"
4198
+ Exclude = "Exclude",
3462
4199
  }
3463
4200
 
3464
4201
  /**
@@ -3471,27 +4208,6 @@ export enum KnownDimensionOperator {
3471
4208
  */
3472
4209
  export type DimensionOperator = string;
3473
4210
 
3474
- /** Known values of {@link NamespaceClassification} that the service accepts. */
3475
- export enum KnownNamespaceClassification {
3476
- /** Platform */
3477
- Platform = "Platform",
3478
- /** Custom */
3479
- Custom = "Custom",
3480
- /** Qos */
3481
- Qos = "Qos"
3482
- }
3483
-
3484
- /**
3485
- * Defines values for NamespaceClassification. \
3486
- * {@link KnownNamespaceClassification} can be used interchangeably with NamespaceClassification,
3487
- * this enum contains the known values that the service supports.
3488
- * ### Known values supported by the service
3489
- * **Platform** \
3490
- * **Custom** \
3491
- * **Qos**
3492
- */
3493
- export type NamespaceClassification = string;
3494
-
3495
4211
  /** Known values of {@link OnboardingStatus} that the service accepts. */
3496
4212
  export enum KnownOnboardingStatus {
3497
4213
  /** Onboarded */
@@ -3499,89 +4215,44 @@ export enum KnownOnboardingStatus {
3499
4215
  /** NotOnboarded */
3500
4216
  NotOnboarded = "notOnboarded",
3501
4217
  /** Unknown */
3502
- Unknown = "unknown"
4218
+ Unknown = "unknown",
3503
4219
  }
3504
4220
 
3505
4221
  /**
3506
4222
  * Defines values for OnboardingStatus. \
3507
4223
  * {@link KnownOnboardingStatus} can be used interchangeably with OnboardingStatus,
3508
4224
  * this enum contains the known values that the service supports.
3509
- * ### Known values supported by the service
3510
- * **onboarded** \
3511
- * **notOnboarded** \
3512
- * **unknown**
3513
- */
3514
- export type OnboardingStatus = string;
3515
-
3516
- /** Known values of {@link DataStatus} that the service accepts. */
3517
- export enum KnownDataStatus {
3518
- /** Present */
3519
- Present = "present",
3520
- /** NotPresent */
3521
- NotPresent = "notPresent"
3522
- }
3523
-
3524
- /**
3525
- * Defines values for DataStatus. \
3526
- * {@link KnownDataStatus} can be used interchangeably with DataStatus,
3527
- * this enum contains the known values that the service supports.
3528
- * ### Known values supported by the service
3529
- * **present** \
3530
- * **notPresent**
3531
- */
3532
- export type DataStatus = string;
3533
-
3534
- /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
3535
- export enum KnownPrivateEndpointServiceConnectionStatus {
3536
- /** Pending */
3537
- Pending = "Pending",
3538
- /** Approved */
3539
- Approved = "Approved",
3540
- /** Rejected */
3541
- Rejected = "Rejected"
3542
- }
3543
-
3544
- /**
3545
- * Defines values for PrivateEndpointServiceConnectionStatus. \
3546
- * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
3547
- * this enum contains the known values that the service supports.
3548
- * ### Known values supported by the service
3549
- * **Pending** \
3550
- * **Approved** \
3551
- * **Rejected**
3552
- */
3553
- export type PrivateEndpointServiceConnectionStatus = string;
3554
-
3555
- /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
3556
- export enum KnownPrivateEndpointConnectionProvisioningState {
3557
- /** Succeeded */
3558
- Succeeded = "Succeeded",
3559
- /** Creating */
3560
- Creating = "Creating",
3561
- /** Deleting */
3562
- Deleting = "Deleting",
3563
- /** Failed */
3564
- Failed = "Failed"
4225
+ * ### Known values supported by the service
4226
+ * **onboarded** \
4227
+ * **notOnboarded** \
4228
+ * **unknown**
4229
+ */
4230
+ export type OnboardingStatus = string;
4231
+
4232
+ /** Known values of {@link DataStatus} that the service accepts. */
4233
+ export enum KnownDataStatus {
4234
+ /** Present */
4235
+ Present = "present",
4236
+ /** NotPresent */
4237
+ NotPresent = "notPresent",
3565
4238
  }
3566
4239
 
3567
4240
  /**
3568
- * Defines values for PrivateEndpointConnectionProvisioningState. \
3569
- * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
4241
+ * Defines values for DataStatus. \
4242
+ * {@link KnownDataStatus} can be used interchangeably with DataStatus,
3570
4243
  * this enum contains the known values that the service supports.
3571
4244
  * ### Known values supported by the service
3572
- * **Succeeded** \
3573
- * **Creating** \
3574
- * **Deleting** \
3575
- * **Failed**
4245
+ * **present** \
4246
+ * **notPresent**
3576
4247
  */
3577
- export type PrivateEndpointConnectionProvisioningState = string;
4248
+ export type DataStatus = string;
3578
4249
 
3579
4250
  /** Known values of {@link AccessMode} that the service accepts. */
3580
4251
  export enum KnownAccessMode {
3581
4252
  /** Open */
3582
4253
  Open = "Open",
3583
4254
  /** PrivateOnly */
3584
- PrivateOnly = "PrivateOnly"
4255
+ PrivateOnly = "PrivateOnly",
3585
4256
  }
3586
4257
 
3587
4258
  /**
@@ -3599,7 +4270,9 @@ export enum KnownKnownPublicNetworkAccessOptions {
3599
4270
  /** Enabled */
3600
4271
  Enabled = "Enabled",
3601
4272
  /** Disabled */
3602
- Disabled = "Disabled"
4273
+ Disabled = "Disabled",
4274
+ /** SecuredByPerimeter */
4275
+ SecuredByPerimeter = "SecuredByPerimeter",
3603
4276
  }
3604
4277
 
3605
4278
  /**
@@ -3608,7 +4281,8 @@ export enum KnownKnownPublicNetworkAccessOptions {
3608
4281
  * this enum contains the known values that the service supports.
3609
4282
  * ### Known values supported by the service
3610
4283
  * **Enabled** \
3611
- * **Disabled**
4284
+ * **Disabled** \
4285
+ * **SecuredByPerimeter**
3612
4286
  */
3613
4287
  export type KnownPublicNetworkAccessOptions = string;
3614
4288
 
@@ -3622,8 +4296,10 @@ export enum KnownKnownDataCollectionEndpointProvisioningState {
3622
4296
  Deleting = "Deleting",
3623
4297
  /** Succeeded */
3624
4298
  Succeeded = "Succeeded",
4299
+ /** Canceled */
4300
+ Canceled = "Canceled",
3625
4301
  /** Failed */
3626
- Failed = "Failed"
4302
+ Failed = "Failed",
3627
4303
  }
3628
4304
 
3629
4305
  /**
@@ -3635,16 +4311,47 @@ export enum KnownKnownDataCollectionEndpointProvisioningState {
3635
4311
  * **Updating** \
3636
4312
  * **Deleting** \
3637
4313
  * **Succeeded** \
4314
+ * **Canceled** \
3638
4315
  * **Failed**
3639
4316
  */
3640
4317
  export type KnownDataCollectionEndpointProvisioningState = string;
3641
4318
 
4319
+ /** Known values of {@link KnownLocationSpecProvisioningStatus} that the service accepts. */
4320
+ export enum KnownKnownLocationSpecProvisioningStatus {
4321
+ /** Creating */
4322
+ Creating = "Creating",
4323
+ /** Updating */
4324
+ Updating = "Updating",
4325
+ /** Deleting */
4326
+ Deleting = "Deleting",
4327
+ /** Succeeded */
4328
+ Succeeded = "Succeeded",
4329
+ /** Canceled */
4330
+ Canceled = "Canceled",
4331
+ /** Failed */
4332
+ Failed = "Failed",
4333
+ }
4334
+
4335
+ /**
4336
+ * Defines values for KnownLocationSpecProvisioningStatus. \
4337
+ * {@link KnownKnownLocationSpecProvisioningStatus} can be used interchangeably with KnownLocationSpecProvisioningStatus,
4338
+ * this enum contains the known values that the service supports.
4339
+ * ### Known values supported by the service
4340
+ * **Creating** \
4341
+ * **Updating** \
4342
+ * **Deleting** \
4343
+ * **Succeeded** \
4344
+ * **Canceled** \
4345
+ * **Failed**
4346
+ */
4347
+ export type KnownLocationSpecProvisioningStatus = string;
4348
+
3642
4349
  /** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
3643
4350
  export enum KnownKnownDataCollectionEndpointResourceKind {
3644
4351
  /** Linux */
3645
4352
  Linux = "Linux",
3646
4353
  /** Windows */
3647
- Windows = "Windows"
4354
+ Windows = "Windows",
3648
4355
  }
3649
4356
 
3650
4357
  /**
@@ -3657,6 +4364,30 @@ export enum KnownKnownDataCollectionEndpointResourceKind {
3657
4364
  */
3658
4365
  export type KnownDataCollectionEndpointResourceKind = string;
3659
4366
 
4367
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
4368
+ export enum KnownManagedServiceIdentityType {
4369
+ /** None */
4370
+ None = "None",
4371
+ /** SystemAssigned */
4372
+ SystemAssigned = "SystemAssigned",
4373
+ /** UserAssigned */
4374
+ UserAssigned = "UserAssigned",
4375
+ /** SystemAssignedUserAssigned */
4376
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
4377
+ }
4378
+
4379
+ /**
4380
+ * Defines values for ManagedServiceIdentityType. \
4381
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
4382
+ * this enum contains the known values that the service supports.
4383
+ * ### Known values supported by the service
4384
+ * **None** \
4385
+ * **SystemAssigned** \
4386
+ * **UserAssigned** \
4387
+ * **SystemAssigned,UserAssigned**
4388
+ */
4389
+ export type ManagedServiceIdentityType = string;
4390
+
3660
4391
  /** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
3661
4392
  export enum KnownKnownDataCollectionRuleAssociationProvisioningState {
3662
4393
  /** Creating */
@@ -3667,8 +4398,10 @@ export enum KnownKnownDataCollectionRuleAssociationProvisioningState {
3667
4398
  Deleting = "Deleting",
3668
4399
  /** Succeeded */
3669
4400
  Succeeded = "Succeeded",
4401
+ /** Canceled */
4402
+ Canceled = "Canceled",
3670
4403
  /** Failed */
3671
- Failed = "Failed"
4404
+ Failed = "Failed",
3672
4405
  }
3673
4406
 
3674
4407
  /**
@@ -3680,6 +4413,7 @@ export enum KnownKnownDataCollectionRuleAssociationProvisioningState {
3680
4413
  * **Updating** \
3681
4414
  * **Deleting** \
3682
4415
  * **Succeeded** \
4416
+ * **Canceled** \
3683
4417
  * **Failed**
3684
4418
  */
3685
4419
  export type KnownDataCollectionRuleAssociationProvisioningState = string;
@@ -3699,7 +4433,7 @@ export enum KnownKnownColumnDefinitionType {
3699
4433
  /** Datetime */
3700
4434
  Datetime = "datetime",
3701
4435
  /** Dynamic */
3702
- Dynamic = "dynamic"
4436
+ Dynamic = "dynamic",
3703
4437
  }
3704
4438
 
3705
4439
  /**
@@ -3722,7 +4456,7 @@ export enum KnownKnownPerfCounterDataSourceStreams {
3722
4456
  /** MicrosoftPerf */
3723
4457
  MicrosoftPerf = "Microsoft-Perf",
3724
4458
  /** MicrosoftInsightsMetrics */
3725
- MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics"
4459
+ MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
3726
4460
  }
3727
4461
 
3728
4462
  /**
@@ -3740,7 +4474,7 @@ export enum KnownKnownWindowsEventLogDataSourceStreams {
3740
4474
  /** MicrosoftWindowsEvent */
3741
4475
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent",
3742
4476
  /** MicrosoftEvent */
3743
- MicrosoftEvent = "Microsoft-Event"
4477
+ MicrosoftEvent = "Microsoft-Event",
3744
4478
  }
3745
4479
 
3746
4480
  /**
@@ -3756,7 +4490,7 @@ export type KnownWindowsEventLogDataSourceStreams = string;
3756
4490
  /** Known values of {@link KnownSyslogDataSourceStreams} that the service accepts. */
3757
4491
  export enum KnownKnownSyslogDataSourceStreams {
3758
4492
  /** MicrosoftSyslog */
3759
- MicrosoftSyslog = "Microsoft-Syslog"
4493
+ MicrosoftSyslog = "Microsoft-Syslog",
3760
4494
  }
3761
4495
 
3762
4496
  /**
@@ -3770,14 +4504,22 @@ export type KnownSyslogDataSourceStreams = string;
3770
4504
 
3771
4505
  /** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
3772
4506
  export enum KnownKnownSyslogDataSourceFacilityNames {
4507
+ /** Alert */
4508
+ Alert = "alert",
4509
+ /** Audit */
4510
+ Audit = "audit",
3773
4511
  /** Auth */
3774
4512
  Auth = "auth",
3775
4513
  /** Authpriv */
3776
4514
  Authpriv = "authpriv",
4515
+ /** Clock */
4516
+ Clock = "clock",
3777
4517
  /** Cron */
3778
4518
  Cron = "cron",
3779
4519
  /** Daemon */
3780
4520
  Daemon = "daemon",
4521
+ /** Ftp */
4522
+ Ftp = "ftp",
3781
4523
  /** Kern */
3782
4524
  Kern = "kern",
3783
4525
  /** Lpr */
@@ -3788,6 +4530,10 @@ export enum KnownKnownSyslogDataSourceFacilityNames {
3788
4530
  Mark = "mark",
3789
4531
  /** News */
3790
4532
  News = "news",
4533
+ /** Nopri */
4534
+ Nopri = "nopri",
4535
+ /** Ntp */
4536
+ Ntp = "ntp",
3791
4537
  /** Syslog */
3792
4538
  Syslog = "syslog",
3793
4539
  /** User */
@@ -3811,7 +4557,7 @@ export enum KnownKnownSyslogDataSourceFacilityNames {
3811
4557
  /** Local7 */
3812
4558
  Local7 = "local7",
3813
4559
  /** Asterisk */
3814
- Asterisk = "*"
4560
+ Asterisk = "*",
3815
4561
  }
3816
4562
 
3817
4563
  /**
@@ -3819,15 +4565,21 @@ export enum KnownKnownSyslogDataSourceFacilityNames {
3819
4565
  * {@link KnownKnownSyslogDataSourceFacilityNames} can be used interchangeably with KnownSyslogDataSourceFacilityNames,
3820
4566
  * this enum contains the known values that the service supports.
3821
4567
  * ### Known values supported by the service
4568
+ * **alert** \
4569
+ * **audit** \
3822
4570
  * **auth** \
3823
4571
  * **authpriv** \
4572
+ * **clock** \
3824
4573
  * **cron** \
3825
4574
  * **daemon** \
4575
+ * **ftp** \
3826
4576
  * **kern** \
3827
4577
  * **lpr** \
3828
4578
  * **mail** \
3829
4579
  * **mark** \
3830
4580
  * **news** \
4581
+ * **nopri** \
4582
+ * **ntp** \
3831
4583
  * **syslog** \
3832
4584
  * **user** \
3833
4585
  * **uucp** \
@@ -3862,7 +4614,7 @@ export enum KnownKnownSyslogDataSourceLogLevels {
3862
4614
  /** Emergency */
3863
4615
  Emergency = "Emergency",
3864
4616
  /** Asterisk */
3865
- Asterisk = "*"
4617
+ Asterisk = "*",
3866
4618
  }
3867
4619
 
3868
4620
  /**
@@ -3893,7 +4645,7 @@ export enum KnownKnownExtensionDataSourceStreams {
3893
4645
  /** MicrosoftSyslog */
3894
4646
  MicrosoftSyslog = "Microsoft-Syslog",
3895
4647
  /** MicrosoftWindowsEvent */
3896
- MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
4648
+ MicrosoftWindowsEvent = "Microsoft-WindowsEvent",
3897
4649
  }
3898
4650
 
3899
4651
  /**
@@ -3912,7 +4664,7 @@ export type KnownExtensionDataSourceStreams = string;
3912
4664
  /** Known values of {@link KnownLogFilesDataSourceFormat} that the service accepts. */
3913
4665
  export enum KnownKnownLogFilesDataSourceFormat {
3914
4666
  /** Text */
3915
- Text = "text"
4667
+ Text = "text",
3916
4668
  }
3917
4669
 
3918
4670
  /**
@@ -3943,7 +4695,7 @@ export enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
3943
4695
  /** DdMMMYyyyHHMmSsZzz */
3944
4696
  DdMMMYyyyHHMmSsZzz = "dd/MMM/yyyy:HH:mm:ss zzz",
3945
4697
  /** YyyyMMDdTHHMmSsK */
3946
- YyyyMMDdTHHMmSsK = "yyyy-MM-ddTHH:mm:ssK"
4698
+ YyyyMMDdTHHMmSsK = "yyyy-MM-ddTHH:mm:ssK",
3947
4699
  }
3948
4700
 
3949
4701
  /**
@@ -3963,6 +4715,21 @@ export enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
3963
4715
  */
3964
4716
  export type KnownLogFileTextSettingsRecordStartTimestampFormat = string;
3965
4717
 
4718
+ /** Known values of {@link KnownPrometheusForwarderDataSourceStreams} that the service accepts. */
4719
+ export enum KnownKnownPrometheusForwarderDataSourceStreams {
4720
+ /** MicrosoftPrometheusMetrics */
4721
+ MicrosoftPrometheusMetrics = "Microsoft-PrometheusMetrics",
4722
+ }
4723
+
4724
+ /**
4725
+ * Defines values for KnownPrometheusForwarderDataSourceStreams. \
4726
+ * {@link KnownKnownPrometheusForwarderDataSourceStreams} can be used interchangeably with KnownPrometheusForwarderDataSourceStreams,
4727
+ * this enum contains the known values that the service supports.
4728
+ * ### Known values supported by the service
4729
+ * **Microsoft-PrometheusMetrics**
4730
+ */
4731
+ export type KnownPrometheusForwarderDataSourceStreams = string;
4732
+
3966
4733
  /** Known values of {@link KnownDataFlowStreams} that the service accepts. */
3967
4734
  export enum KnownKnownDataFlowStreams {
3968
4735
  /** MicrosoftEvent */
@@ -3974,7 +4741,7 @@ export enum KnownKnownDataFlowStreams {
3974
4741
  /** MicrosoftSyslog */
3975
4742
  MicrosoftSyslog = "Microsoft-Syslog",
3976
4743
  /** MicrosoftWindowsEvent */
3977
- MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
4744
+ MicrosoftWindowsEvent = "Microsoft-WindowsEvent",
3978
4745
  }
3979
4746
 
3980
4747
  /**
@@ -4000,8 +4767,10 @@ export enum KnownKnownDataCollectionRuleProvisioningState {
4000
4767
  Deleting = "Deleting",
4001
4768
  /** Succeeded */
4002
4769
  Succeeded = "Succeeded",
4770
+ /** Canceled */
4771
+ Canceled = "Canceled",
4003
4772
  /** Failed */
4004
- Failed = "Failed"
4773
+ Failed = "Failed",
4005
4774
  }
4006
4775
 
4007
4776
  /**
@@ -4013,6 +4782,7 @@ export enum KnownKnownDataCollectionRuleProvisioningState {
4013
4782
  * **Updating** \
4014
4783
  * **Deleting** \
4015
4784
  * **Succeeded** \
4785
+ * **Canceled** \
4016
4786
  * **Failed**
4017
4787
  */
4018
4788
  export type KnownDataCollectionRuleProvisioningState = string;
@@ -4022,7 +4792,7 @@ export enum KnownKnownDataCollectionRuleResourceKind {
4022
4792
  /** Linux */
4023
4793
  Linux = "Linux",
4024
4794
  /** Windows */
4025
- Windows = "Windows"
4795
+ Windows = "Windows",
4026
4796
  }
4027
4797
 
4028
4798
  /**
@@ -4035,69 +4805,6 @@ export enum KnownKnownDataCollectionRuleResourceKind {
4035
4805
  */
4036
4806
  export type KnownDataCollectionRuleResourceKind = string;
4037
4807
 
4038
- /** Known values of {@link ProvisioningState} that the service accepts. */
4039
- export enum KnownProvisioningState {
4040
- /** Creating */
4041
- Creating = "Creating",
4042
- /** Succeeded */
4043
- Succeeded = "Succeeded",
4044
- /** Deleting */
4045
- Deleting = "Deleting",
4046
- /** Failed */
4047
- Failed = "Failed",
4048
- /** Canceled */
4049
- Canceled = "Canceled"
4050
- }
4051
-
4052
- /**
4053
- * Defines values for ProvisioningState. \
4054
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
4055
- * this enum contains the known values that the service supports.
4056
- * ### Known values supported by the service
4057
- * **Creating** \
4058
- * **Succeeded** \
4059
- * **Deleting** \
4060
- * **Failed** \
4061
- * **Canceled**
4062
- */
4063
- export type ProvisioningState = string;
4064
-
4065
- /** Known values of {@link Origin} that the service accepts. */
4066
- export enum KnownOrigin {
4067
- /** User */
4068
- User = "user",
4069
- /** System */
4070
- System = "system",
4071
- /** UserSystem */
4072
- UserSystem = "user,system"
4073
- }
4074
-
4075
- /**
4076
- * Defines values for Origin. \
4077
- * {@link KnownOrigin} can be used interchangeably with Origin,
4078
- * this enum contains the known values that the service supports.
4079
- * ### Known values supported by the service
4080
- * **user** \
4081
- * **system** \
4082
- * **user,system**
4083
- */
4084
- export type Origin = string;
4085
-
4086
- /** Known values of {@link ActionType} that the service accepts. */
4087
- export enum KnownActionType {
4088
- /** Internal */
4089
- Internal = "Internal"
4090
- }
4091
-
4092
- /**
4093
- * Defines values for ActionType. \
4094
- * {@link KnownActionType} can be used interchangeably with ActionType,
4095
- * this enum contains the known values that the service supports.
4096
- * ### Known values supported by the service
4097
- * **Internal**
4098
- */
4099
- export type ActionType = string;
4100
-
4101
4808
  /** Known values of {@link Operator} that the service accepts. */
4102
4809
  export enum KnownOperator {
4103
4810
  /** Equals */
@@ -4109,7 +4816,7 @@ export enum KnownOperator {
4109
4816
  /** LessThan */
4110
4817
  LessThan = "LessThan",
4111
4818
  /** LessThanOrEqual */
4112
- LessThanOrEqual = "LessThanOrEqual"
4819
+ LessThanOrEqual = "LessThanOrEqual",
4113
4820
  }
4114
4821
 
4115
4822
  /**
@@ -4130,7 +4837,7 @@ export enum KnownCriterionType {
4130
4837
  /** StaticThresholdCriterion */
4131
4838
  StaticThresholdCriterion = "StaticThresholdCriterion",
4132
4839
  /** DynamicThresholdCriterion */
4133
- DynamicThresholdCriterion = "DynamicThresholdCriterion"
4840
+ DynamicThresholdCriterion = "DynamicThresholdCriterion",
4134
4841
  }
4135
4842
 
4136
4843
  /**
@@ -4154,7 +4861,7 @@ export enum KnownAggregationTypeEnum {
4154
4861
  /** Maximum */
4155
4862
  Maximum = "Maximum",
4156
4863
  /** Total */
4157
- Total = "Total"
4864
+ Total = "Total",
4158
4865
  }
4159
4866
 
4160
4867
  /**
@@ -4177,7 +4884,7 @@ export enum KnownDynamicThresholdOperator {
4177
4884
  /** LessThan */
4178
4885
  LessThan = "LessThan",
4179
4886
  /** GreaterOrLessThan */
4180
- GreaterOrLessThan = "GreaterOrLessThan"
4887
+ GreaterOrLessThan = "GreaterOrLessThan",
4181
4888
  }
4182
4889
 
4183
4890
  /**
@@ -4198,7 +4905,7 @@ export enum KnownDynamicThresholdSensitivity {
4198
4905
  /** Medium */
4199
4906
  Medium = "Medium",
4200
4907
  /** High */
4201
- High = "High"
4908
+ High = "High",
4202
4909
  }
4203
4910
 
4204
4911
  /**
@@ -4211,6 +4918,16 @@ export enum KnownDynamicThresholdSensitivity {
4211
4918
  * **High**
4212
4919
  */
4213
4920
  export type DynamicThresholdSensitivity = string;
4921
+ /** Defines values for AggregationType. */
4922
+ export type AggregationType =
4923
+ | "None"
4924
+ | "Average"
4925
+ | "Count"
4926
+ | "Minimum"
4927
+ | "Maximum"
4928
+ | "Total";
4929
+ /** Defines values for ResultType. */
4930
+ export type ResultType = "Data" | "Metadata";
4214
4931
  /** Defines values for MetricStatisticType. */
4215
4932
  export type MetricStatisticType = "Average" | "Min" | "Max" | "Sum" | "Count";
4216
4933
  /** Defines values for TimeAggregationType. */
@@ -4261,16 +4978,6 @@ export type EventLevel =
4261
4978
  | "Warning"
4262
4979
  | "Informational"
4263
4980
  | "Verbose";
4264
- /** Defines values for AggregationType. */
4265
- export type AggregationType =
4266
- | "None"
4267
- | "Average"
4268
- | "Count"
4269
- | "Minimum"
4270
- | "Maximum"
4271
- | "Total";
4272
- /** Defines values for ResultType. */
4273
- export type ResultType = "Data" | "Metadata";
4274
4981
  /** Defines values for IdentityType. */
4275
4982
  export type IdentityType = "SystemAssigned" | "UserAssigned" | "None";
4276
4983
  /** Defines values for ConditionOperator. */
@@ -4288,12 +4995,268 @@ export type TimeAggregationOperator =
4288
4995
  | "Total"
4289
4996
  | "Last";
4290
4997
 
4998
+ /** Optional parameters. */
4999
+ export interface MetricNamespacesListOptionalParams
5000
+ extends coreClient.OperationOptions {
5001
+ /** The ISO 8601 conform Date start time from which to query for metric namespaces. */
5002
+ startTime?: string;
5003
+ }
5004
+
5005
+ /** Contains response data for the list operation. */
5006
+ export type MetricNamespacesListResponse = MetricNamespaceCollection;
5007
+
5008
+ /** Optional parameters. */
5009
+ export interface MetricDefinitionsListAtSubscriptionScopeOptionalParams
5010
+ extends coreClient.OperationOptions {
5011
+ /** Metric namespace where the metrics you want reside. */
5012
+ metricnamespace?: string;
5013
+ }
5014
+
5015
+ /** Contains response data for the listAtSubscriptionScope operation. */
5016
+ export type MetricDefinitionsListAtSubscriptionScopeResponse =
5017
+ SubscriptionScopeMetricDefinitionCollection;
5018
+
5019
+ /** Optional parameters. */
5020
+ export interface MetricDefinitionsListOptionalParams
5021
+ extends coreClient.OperationOptions {
5022
+ /** Metric namespace where the metrics you want reside. */
5023
+ metricnamespace?: string;
5024
+ }
5025
+
5026
+ /** Contains response data for the list operation. */
5027
+ export type MetricDefinitionsListResponse = MetricDefinitionCollection;
5028
+
5029
+ /** Optional parameters. */
5030
+ export interface MetricsListAtSubscriptionScopeOptionalParams
5031
+ extends coreClient.OperationOptions {
5032
+ /** Metric namespace where the metrics you want reside. */
5033
+ metricnamespace?: string;
5034
+ /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
5035
+ timespan?: string;
5036
+ /**
5037
+ * 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.
5038
+ * *Examples: PT15M, PT1H, P1D, FULL*
5039
+ */
5040
+ interval?: string;
5041
+ /** The names of the metrics (comma separated) to retrieve. */
5042
+ metricnames?: string;
5043
+ /**
5044
+ * The list of aggregation types (comma separated) to retrieve.
5045
+ * *Examples: average, minimum, maximum*
5046
+ */
5047
+ aggregation?: string;
5048
+ /**
5049
+ * The maximum number of records to retrieve per resource ID in the request.
5050
+ * Valid only if filter is specified.
5051
+ * Defaults to 10.
5052
+ */
5053
+ top?: number;
5054
+ /**
5055
+ * The aggregation to use for sorting results and the direction of the sort.
5056
+ * Only one order can be specified.
5057
+ * *Examples: sum asc*
5058
+ */
5059
+ orderby?: string;
5060
+ /** 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 ‘*’**. */
5061
+ filter?: string;
5062
+ /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
5063
+ resultType?: MetricResultType;
5064
+ /** 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. */
5065
+ autoAdjustTimegrain?: boolean;
5066
+ /** 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. */
5067
+ validateDimensions?: boolean;
5068
+ /** 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. */
5069
+ rollupby?: string;
5070
+ }
5071
+
5072
+ /** Contains response data for the listAtSubscriptionScope operation. */
5073
+ export type MetricsListAtSubscriptionScopeResponse = Response;
5074
+
5075
+ /** Optional parameters. */
5076
+ export interface MetricsListAtSubscriptionScopePostOptionalParams
5077
+ extends coreClient.OperationOptions {
5078
+ /** Metric namespace where the metrics you want reside. */
5079
+ metricnamespace?: string;
5080
+ /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
5081
+ timespan?: string;
5082
+ /**
5083
+ * 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.
5084
+ * *Examples: PT15M, PT1H, P1D, FULL*
5085
+ */
5086
+ interval?: string;
5087
+ /** The names of the metrics (comma separated) to retrieve. */
5088
+ metricnames?: string;
5089
+ /**
5090
+ * The list of aggregation types (comma separated) to retrieve.
5091
+ * *Examples: average, minimum, maximum*
5092
+ */
5093
+ aggregation?: string;
5094
+ /**
5095
+ * The maximum number of records to retrieve per resource ID in the request.
5096
+ * Valid only if filter is specified.
5097
+ * Defaults to 10.
5098
+ */
5099
+ top?: number;
5100
+ /**
5101
+ * The aggregation to use for sorting results and the direction of the sort.
5102
+ * Only one order can be specified.
5103
+ * *Examples: sum asc*
5104
+ */
5105
+ orderby?: string;
5106
+ /** 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 ‘*’**. */
5107
+ filter?: string;
5108
+ /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
5109
+ resultType?: MetricResultType;
5110
+ /** 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. */
5111
+ autoAdjustTimegrain?: boolean;
5112
+ /** 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. */
5113
+ validateDimensions?: boolean;
5114
+ /** 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. */
5115
+ rollupby?: string;
5116
+ /** Parameters serialized in the body */
5117
+ body?: SubscriptionScopeMetricsRequestBodyParameters;
5118
+ }
5119
+
5120
+ /** Contains response data for the listAtSubscriptionScopePost operation. */
5121
+ export type MetricsListAtSubscriptionScopePostResponse = Response;
5122
+
5123
+ /** Optional parameters. */
5124
+ export interface MetricsListOptionalParams extends coreClient.OperationOptions {
5125
+ /** Metric namespace where the metrics you want reside. */
5126
+ metricnamespace?: string;
5127
+ /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
5128
+ timespan?: string;
5129
+ /**
5130
+ * 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.
5131
+ * *Examples: PT15M, PT1H, P1D, FULL*
5132
+ */
5133
+ interval?: string;
5134
+ /** The names of the metrics (comma separated) to retrieve. */
5135
+ metricnames?: string;
5136
+ /**
5137
+ * The list of aggregation types (comma separated) to retrieve.
5138
+ * *Examples: average, minimum, maximum*
5139
+ */
5140
+ aggregation?: string;
5141
+ /**
5142
+ * The maximum number of records to retrieve per resource ID in the request.
5143
+ * Valid only if filter is specified.
5144
+ * Defaults to 10.
5145
+ */
5146
+ top?: number;
5147
+ /**
5148
+ * The aggregation to use for sorting results and the direction of the sort.
5149
+ * Only one order can be specified.
5150
+ * *Examples: sum asc*
5151
+ */
5152
+ orderby?: string;
5153
+ /** 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 ‘*’**. */
5154
+ filter?: string;
5155
+ /** 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. */
5156
+ autoAdjustTimegrain?: boolean;
5157
+ /** 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. */
5158
+ validateDimensions?: boolean;
5159
+ /** 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. */
5160
+ rollupby?: string;
5161
+ /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
5162
+ resultType?: ResultType;
5163
+ }
5164
+
5165
+ /** Contains response data for the list operation. */
5166
+ export type MetricsListResponse = Response;
5167
+
5168
+ /** Optional parameters. */
5169
+ export interface AzureMonitorWorkspacesListByResourceGroupOptionalParams
5170
+ extends coreClient.OperationOptions {}
5171
+
5172
+ /** Contains response data for the listByResourceGroup operation. */
5173
+ export type AzureMonitorWorkspacesListByResourceGroupResponse =
5174
+ AzureMonitorWorkspaceResourceListResult;
5175
+
5176
+ /** Optional parameters. */
5177
+ export interface AzureMonitorWorkspacesListBySubscriptionOptionalParams
5178
+ extends coreClient.OperationOptions {}
5179
+
5180
+ /** Contains response data for the listBySubscription operation. */
5181
+ export type AzureMonitorWorkspacesListBySubscriptionResponse =
5182
+ AzureMonitorWorkspaceResourceListResult;
5183
+
5184
+ /** Optional parameters. */
5185
+ export interface AzureMonitorWorkspacesGetOptionalParams
5186
+ extends coreClient.OperationOptions {}
5187
+
5188
+ /** Contains response data for the get operation. */
5189
+ export type AzureMonitorWorkspacesGetResponse = AzureMonitorWorkspaceResource;
5190
+
5191
+ /** Optional parameters. */
5192
+ export interface AzureMonitorWorkspacesCreateOptionalParams
5193
+ extends coreClient.OperationOptions {}
5194
+
5195
+ /** Contains response data for the create operation. */
5196
+ export type AzureMonitorWorkspacesCreateResponse =
5197
+ AzureMonitorWorkspaceResource;
5198
+
5199
+ /** Optional parameters. */
5200
+ export interface AzureMonitorWorkspacesUpdateOptionalParams
5201
+ extends coreClient.OperationOptions {
5202
+ /** The payload */
5203
+ azureMonitorWorkspaceProperties?: AzureMonitorWorkspaceResourceForUpdate;
5204
+ }
5205
+
5206
+ /** Contains response data for the update operation. */
5207
+ export type AzureMonitorWorkspacesUpdateResponse =
5208
+ AzureMonitorWorkspaceResource;
5209
+
5210
+ /** Optional parameters. */
5211
+ export interface AzureMonitorWorkspacesDeleteOptionalParams
5212
+ extends coreClient.OperationOptions {
5213
+ /** Delay to wait until next poll, in milliseconds. */
5214
+ updateIntervalInMs?: number;
5215
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5216
+ resumeFrom?: string;
5217
+ }
5218
+
5219
+ /** Contains response data for the delete operation. */
5220
+ export type AzureMonitorWorkspacesDeleteResponse =
5221
+ AzureMonitorWorkspacesDeleteHeaders;
5222
+
5223
+ /** Optional parameters. */
5224
+ export interface AzureMonitorWorkspacesListByResourceGroupNextOptionalParams
5225
+ extends coreClient.OperationOptions {}
5226
+
5227
+ /** Contains response data for the listByResourceGroupNext operation. */
5228
+ export type AzureMonitorWorkspacesListByResourceGroupNextResponse =
5229
+ AzureMonitorWorkspaceResourceListResult;
5230
+
5231
+ /** Optional parameters. */
5232
+ export interface AzureMonitorWorkspacesListBySubscriptionNextOptionalParams
5233
+ extends coreClient.OperationOptions {}
5234
+
5235
+ /** Contains response data for the listBySubscriptionNext operation. */
5236
+ export type AzureMonitorWorkspacesListBySubscriptionNextResponse =
5237
+ AzureMonitorWorkspaceResourceListResult;
5238
+
5239
+ /** Optional parameters. */
5240
+ export interface MonitorOperationsListOptionalParams
5241
+ extends coreClient.OperationOptions {}
5242
+
5243
+ /** Contains response data for the list operation. */
5244
+ export type MonitorOperationsListResponse = OperationListResult;
5245
+
5246
+ /** Optional parameters. */
5247
+ export interface MonitorOperationsListNextOptionalParams
5248
+ extends coreClient.OperationOptions {}
5249
+
5250
+ /** Contains response data for the listNext operation. */
5251
+ export type MonitorOperationsListNextResponse = OperationListResult;
5252
+
4291
5253
  /** Optional parameters. */
4292
5254
  export interface AutoscaleSettingsListByResourceGroupOptionalParams
4293
5255
  extends coreClient.OperationOptions {}
4294
5256
 
4295
5257
  /** Contains response data for the listByResourceGroup operation. */
4296
- export type AutoscaleSettingsListByResourceGroupResponse = AutoscaleSettingResourceCollection;
5258
+ export type AutoscaleSettingsListByResourceGroupResponse =
5259
+ AutoscaleSettingResourceCollection;
4297
5260
 
4298
5261
  /** Optional parameters. */
4299
5262
  export interface AutoscaleSettingsCreateOrUpdateOptionalParams
@@ -4325,21 +5288,24 @@ export interface AutoscaleSettingsListBySubscriptionOptionalParams
4325
5288
  extends coreClient.OperationOptions {}
4326
5289
 
4327
5290
  /** Contains response data for the listBySubscription operation. */
4328
- export type AutoscaleSettingsListBySubscriptionResponse = AutoscaleSettingResourceCollection;
5291
+ export type AutoscaleSettingsListBySubscriptionResponse =
5292
+ AutoscaleSettingResourceCollection;
4329
5293
 
4330
5294
  /** Optional parameters. */
4331
5295
  export interface AutoscaleSettingsListByResourceGroupNextOptionalParams
4332
5296
  extends coreClient.OperationOptions {}
4333
5297
 
4334
5298
  /** Contains response data for the listByResourceGroupNext operation. */
4335
- export type AutoscaleSettingsListByResourceGroupNextResponse = AutoscaleSettingResourceCollection;
5299
+ export type AutoscaleSettingsListByResourceGroupNextResponse =
5300
+ AutoscaleSettingResourceCollection;
4336
5301
 
4337
5302
  /** Optional parameters. */
4338
5303
  export interface AutoscaleSettingsListBySubscriptionNextOptionalParams
4339
5304
  extends coreClient.OperationOptions {}
4340
5305
 
4341
5306
  /** Contains response data for the listBySubscriptionNext operation. */
4342
- export type AutoscaleSettingsListBySubscriptionNextResponse = AutoscaleSettingResourceCollection;
5307
+ export type AutoscaleSettingsListBySubscriptionNextResponse =
5308
+ AutoscaleSettingResourceCollection;
4343
5309
 
4344
5310
  /** Optional parameters. */
4345
5311
  export interface PredictiveMetricGetOptionalParams
@@ -4353,7 +5319,7 @@ export interface OperationsListOptionalParams
4353
5319
  extends coreClient.OperationOptions {}
4354
5320
 
4355
5321
  /** Contains response data for the list operation. */
4356
- export type OperationsListResponse = OperationListResult;
5322
+ export type OperationsListResponse = OperationListResultAutoGenerated;
4357
5323
 
4358
5324
  /** Optional parameters. */
4359
5325
  export interface AlertRuleIncidentsGetOptionalParams
@@ -4452,7 +5418,8 @@ export interface DiagnosticSettingsCreateOrUpdateOptionalParams
4452
5418
  extends coreClient.OperationOptions {}
4453
5419
 
4454
5420
  /** Contains response data for the createOrUpdate operation. */
4455
- export type DiagnosticSettingsCreateOrUpdateResponse = DiagnosticSettingsResource;
5421
+ export type DiagnosticSettingsCreateOrUpdateResponse =
5422
+ DiagnosticSettingsResource;
4456
5423
 
4457
5424
  /** Optional parameters. */
4458
5425
  export interface DiagnosticSettingsDeleteOptionalParams
@@ -4463,21 +5430,24 @@ export interface DiagnosticSettingsListOptionalParams
4463
5430
  extends coreClient.OperationOptions {}
4464
5431
 
4465
5432
  /** Contains response data for the list operation. */
4466
- export type DiagnosticSettingsListResponse = DiagnosticSettingsResourceCollection;
5433
+ export type DiagnosticSettingsListResponse =
5434
+ DiagnosticSettingsResourceCollection;
4467
5435
 
4468
5436
  /** Optional parameters. */
4469
5437
  export interface DiagnosticSettingsCategoryGetOptionalParams
4470
5438
  extends coreClient.OperationOptions {}
4471
5439
 
4472
5440
  /** Contains response data for the get operation. */
4473
- export type DiagnosticSettingsCategoryGetResponse = DiagnosticSettingsCategoryResource;
5441
+ export type DiagnosticSettingsCategoryGetResponse =
5442
+ DiagnosticSettingsCategoryResource;
4474
5443
 
4475
5444
  /** Optional parameters. */
4476
5445
  export interface DiagnosticSettingsCategoryListOptionalParams
4477
5446
  extends coreClient.OperationOptions {}
4478
5447
 
4479
5448
  /** Contains response data for the list operation. */
4480
- export type DiagnosticSettingsCategoryListResponse = DiagnosticSettingsCategoryResourceCollection;
5449
+ export type DiagnosticSettingsCategoryListResponse =
5450
+ DiagnosticSettingsCategoryResourceCollection;
4481
5451
 
4482
5452
  /** Optional parameters. */
4483
5453
  export interface ActionGroupsCreateOrUpdateOptionalParams
@@ -4505,7 +5475,7 @@ export interface ActionGroupsUpdateOptionalParams
4505
5475
  export type ActionGroupsUpdateResponse = ActionGroupResource;
4506
5476
 
4507
5477
  /** Optional parameters. */
4508
- export interface ActionGroupsPostTestNotificationsOptionalParams
5478
+ export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams
4509
5479
  extends coreClient.OperationOptions {
4510
5480
  /** Delay to wait until next poll, in milliseconds. */
4511
5481
  updateIntervalInMs?: number;
@@ -4513,72 +5483,91 @@ export interface ActionGroupsPostTestNotificationsOptionalParams
4513
5483
  resumeFrom?: string;
4514
5484
  }
4515
5485
 
4516
- /** Contains response data for the postTestNotifications operation. */
4517
- export type ActionGroupsPostTestNotificationsResponse = TestNotificationDetailsResponse;
5486
+ /** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
5487
+ export type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse =
5488
+ TestNotificationDetailsResponse;
4518
5489
 
4519
5490
  /** Optional parameters. */
4520
- export interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams
4521
- extends coreClient.OperationOptions {
4522
- /** Delay to wait until next poll, in milliseconds. */
4523
- updateIntervalInMs?: number;
4524
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4525
- resumeFrom?: string;
4526
- }
5491
+ export interface ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams
5492
+ extends coreClient.OperationOptions {}
4527
5493
 
4528
- /** Contains response data for the createNotificationsAtResourceGroupLevel operation. */
4529
- export type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
5494
+ /** Contains response data for the getTestNotificationsAtActionGroupResourceLevel operation. */
5495
+ export type ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse =
5496
+ TestNotificationDetailsResponse;
4530
5497
 
4531
5498
  /** Optional parameters. */
4532
- export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams
4533
- extends coreClient.OperationOptions {
4534
- /** Delay to wait until next poll, in milliseconds. */
4535
- updateIntervalInMs?: number;
4536
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4537
- resumeFrom?: string;
4538
- }
5499
+ export interface ActionGroupsListBySubscriptionIdOptionalParams
5500
+ extends coreClient.OperationOptions {}
4539
5501
 
4540
- /** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
4541
- export type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
5502
+ /** Contains response data for the listBySubscriptionId operation. */
5503
+ export type ActionGroupsListBySubscriptionIdResponse = ActionGroupList;
4542
5504
 
4543
5505
  /** Optional parameters. */
4544
- export interface ActionGroupsGetTestNotificationsOptionalParams
5506
+ export interface ActionGroupsListByResourceGroupOptionalParams
4545
5507
  extends coreClient.OperationOptions {}
4546
5508
 
4547
- /** Contains response data for the getTestNotifications operation. */
4548
- export type ActionGroupsGetTestNotificationsResponse = TestNotificationDetailsResponse;
5509
+ /** Contains response data for the listByResourceGroup operation. */
5510
+ export type ActionGroupsListByResourceGroupResponse = ActionGroupList;
5511
+
5512
+ /** Optional parameters. */
5513
+ export interface ActionGroupsEnableReceiverOptionalParams
5514
+ extends coreClient.OperationOptions {}
4549
5515
 
4550
5516
  /** Optional parameters. */
4551
- export interface ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams
5517
+ export interface TenantActionGroupsCreateOrUpdateOptionalParams
4552
5518
  extends coreClient.OperationOptions {}
4553
5519
 
4554
- /** Contains response data for the getTestNotificationsAtResourceGroupLevel operation. */
4555
- export type ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
5520
+ /** Contains response data for the createOrUpdate operation. */
5521
+ export type TenantActionGroupsCreateOrUpdateResponse =
5522
+ TenantActionGroupResource;
4556
5523
 
4557
5524
  /** Optional parameters. */
4558
- export interface ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams
5525
+ export interface TenantActionGroupsGetOptionalParams
4559
5526
  extends coreClient.OperationOptions {}
4560
5527
 
4561
- /** Contains response data for the getTestNotificationsAtActionGroupResourceLevel operation. */
4562
- export type ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
5528
+ /** Contains response data for the get operation. */
5529
+ export type TenantActionGroupsGetResponse = TenantActionGroupResource;
4563
5530
 
4564
5531
  /** Optional parameters. */
4565
- export interface ActionGroupsListBySubscriptionIdOptionalParams
5532
+ export interface TenantActionGroupsDeleteOptionalParams
4566
5533
  extends coreClient.OperationOptions {}
4567
5534
 
4568
- /** Contains response data for the listBySubscriptionId operation. */
4569
- export type ActionGroupsListBySubscriptionIdResponse = ActionGroupList;
5535
+ /** Optional parameters. */
5536
+ export interface TenantActionGroupsUpdateOptionalParams
5537
+ extends coreClient.OperationOptions {}
5538
+
5539
+ /** Contains response data for the update operation. */
5540
+ export type TenantActionGroupsUpdateResponse = TenantActionGroupResource;
4570
5541
 
4571
5542
  /** Optional parameters. */
4572
- export interface ActionGroupsListByResourceGroupOptionalParams
5543
+ export interface TenantActionGroupsListByManagementGroupIdOptionalParams
4573
5544
  extends coreClient.OperationOptions {}
4574
5545
 
4575
- /** Contains response data for the listByResourceGroup operation. */
4576
- export type ActionGroupsListByResourceGroupResponse = ActionGroupList;
5546
+ /** Contains response data for the listByManagementGroupId operation. */
5547
+ export type TenantActionGroupsListByManagementGroupIdResponse =
5548
+ TenantActionGroupList;
4577
5549
 
4578
5550
  /** Optional parameters. */
4579
- export interface ActionGroupsEnableReceiverOptionalParams
5551
+ export interface CreateNotificationsAtTenantActionGroupResourceLevelOptionalParams
5552
+ extends coreClient.OperationOptions {
5553
+ /** Delay to wait until next poll, in milliseconds. */
5554
+ updateIntervalInMs?: number;
5555
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5556
+ resumeFrom?: string;
5557
+ }
5558
+
5559
+ /** Contains response data for the createNotificationsAtTenantActionGroupResourceLevel operation. */
5560
+ export type CreateNotificationsAtTenantActionGroupResourceLevelResponse =
5561
+ TestNotificationDetailsResponseAutoGenerated;
5562
+
5563
+ /** Optional parameters. */
5564
+ export interface GetTestNotificationsAtTenantActionGroupResourceLevelOptionalParams
4580
5565
  extends coreClient.OperationOptions {}
4581
5566
 
5567
+ /** Contains response data for the getTestNotificationsAtTenantActionGroupResourceLevel operation. */
5568
+ export type GetTestNotificationsAtTenantActionGroupResourceLevelResponse =
5569
+ TestNotificationDetailsResponseAutoGenerated;
5570
+
4582
5571
  /** Optional parameters. */
4583
5572
  export interface ActivityLogsListOptionalParams
4584
5573
  extends coreClient.OperationOptions {
@@ -4606,10 +5595,10 @@ export type EventCategoriesListResponse = EventCategoryCollection;
4606
5595
  /** Optional parameters. */
4607
5596
  export interface TenantActivityLogsListOptionalParams
4608
5597
  extends coreClient.OperationOptions {
4609
- /** 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* */
4610
- select?: string;
4611
5598
  /** 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. */
4612
5599
  filter?: string;
5600
+ /** 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* */
5601
+ select?: string;
4613
5602
  }
4614
5603
 
4615
5604
  /** Contains response data for the list operation. */
@@ -4623,65 +5612,22 @@ export interface TenantActivityLogsListNextOptionalParams
4623
5612
  export type TenantActivityLogsListNextResponse = EventDataCollection;
4624
5613
 
4625
5614
  /** Optional parameters. */
4626
- export interface MetricDefinitionsListOptionalParams
5615
+ export interface BaselinesListOptionalParams
4627
5616
  extends coreClient.OperationOptions {
4628
5617
  /** Metric namespace to query metric definitions for. */
4629
5618
  metricnamespace?: string;
4630
- }
4631
-
4632
- /** Contains response data for the list operation. */
4633
- export type MetricDefinitionsListResponse = MetricDefinitionCollection;
4634
-
4635
- /** Optional parameters. */
4636
- export interface MetricsListOptionalParams extends coreClient.OperationOptions {
4637
- /** 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' "** */
4638
- filter?: string;
4639
- /** Metric namespace to query metric definitions for. */
4640
- metricnamespace?: string;
4641
5619
  /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
4642
5620
  timespan?: string;
4643
- /** The interval (i.e. timegrain) of the query. */
4644
- interval?: string;
4645
5621
  /** 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'** */
4646
5622
  metricnames?: string;
4647
5623
  /** The list of aggregation types (comma separated) to retrieve. */
4648
5624
  aggregation?: string;
4649
- /**
4650
- * The maximum number of records to retrieve.
4651
- * Valid only if $filter is specified.
4652
- * Defaults to 10.
4653
- */
4654
- top?: number;
4655
- /**
4656
- * The aggregation to use for sorting results and the direction of the sort.
4657
- * Only one order can be specified.
4658
- * Examples: sum asc.
4659
- */
4660
- orderby?: string;
4661
- /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
4662
- resultType?: ResultType;
4663
- }
4664
-
4665
- /** Contains response data for the list operation. */
4666
- export type MetricsListResponse = Response;
4667
-
4668
- /** Optional parameters. */
4669
- export interface BaselinesListOptionalParams
4670
- extends coreClient.OperationOptions {
4671
5625
  /** 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' "** */
4672
5626
  filter?: string;
4673
- /** Metric namespace to query metric definitions for. */
4674
- metricnamespace?: string;
4675
- /** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
4676
- timespan?: string;
4677
- /** The interval (i.e. timegrain) of the query. */
4678
- interval?: string;
4679
- /** 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'** */
4680
- metricnames?: string;
4681
- /** The list of aggregation types (comma separated) to retrieve. */
4682
- aggregation?: string;
4683
5627
  /** Allows retrieving only metadata of the baseline. On data request all information is retrieved. */
4684
5628
  resultType?: ResultType;
5629
+ /** The interval (i.e. timegrain) of the query. */
5630
+ interval?: string;
4685
5631
  /** The list of sensitivities (comma separated) to retrieve. */
4686
5632
  sensitivities?: string;
4687
5633
  }
@@ -4694,14 +5640,16 @@ export interface MetricAlertsListBySubscriptionOptionalParams
4694
5640
  extends coreClient.OperationOptions {}
4695
5641
 
4696
5642
  /** Contains response data for the listBySubscription operation. */
4697
- export type MetricAlertsListBySubscriptionResponse = MetricAlertResourceCollection;
5643
+ export type MetricAlertsListBySubscriptionResponse =
5644
+ MetricAlertResourceCollection;
4698
5645
 
4699
5646
  /** Optional parameters. */
4700
5647
  export interface MetricAlertsListByResourceGroupOptionalParams
4701
5648
  extends coreClient.OperationOptions {}
4702
5649
 
4703
5650
  /** Contains response data for the listByResourceGroup operation. */
4704
- export type MetricAlertsListByResourceGroupResponse = MetricAlertResourceCollection;
5651
+ export type MetricAlertsListByResourceGroupResponse =
5652
+ MetricAlertResourceCollection;
4705
5653
 
4706
5654
  /** Optional parameters. */
4707
5655
  export interface MetricAlertsGetOptionalParams
@@ -4747,14 +5695,16 @@ export interface ScheduledQueryRulesListBySubscriptionOptionalParams
4747
5695
  extends coreClient.OperationOptions {}
4748
5696
 
4749
5697
  /** Contains response data for the listBySubscription operation. */
4750
- export type ScheduledQueryRulesListBySubscriptionResponse = ScheduledQueryRuleResourceCollection;
5698
+ export type ScheduledQueryRulesListBySubscriptionResponse =
5699
+ ScheduledQueryRuleResourceCollection;
4751
5700
 
4752
5701
  /** Optional parameters. */
4753
5702
  export interface ScheduledQueryRulesListByResourceGroupOptionalParams
4754
5703
  extends coreClient.OperationOptions {}
4755
5704
 
4756
5705
  /** Contains response data for the listByResourceGroup operation. */
4757
- export type ScheduledQueryRulesListByResourceGroupResponse = ScheduledQueryRuleResourceCollection;
5706
+ export type ScheduledQueryRulesListByResourceGroupResponse =
5707
+ ScheduledQueryRuleResourceCollection;
4758
5708
 
4759
5709
  /** Optional parameters. */
4760
5710
  export interface ScheduledQueryRulesGetOptionalParams
@@ -4768,7 +5718,8 @@ export interface ScheduledQueryRulesCreateOrUpdateOptionalParams
4768
5718
  extends coreClient.OperationOptions {}
4769
5719
 
4770
5720
  /** Contains response data for the createOrUpdate operation. */
4771
- export type ScheduledQueryRulesCreateOrUpdateResponse = ScheduledQueryRuleResource;
5721
+ export type ScheduledQueryRulesCreateOrUpdateResponse =
5722
+ ScheduledQueryRuleResource;
4772
5723
 
4773
5724
  /** Optional parameters. */
4774
5725
  export interface ScheduledQueryRulesUpdateOptionalParams
@@ -4786,24 +5737,16 @@ export interface ScheduledQueryRulesListBySubscriptionNextOptionalParams
4786
5737
  extends coreClient.OperationOptions {}
4787
5738
 
4788
5739
  /** Contains response data for the listBySubscriptionNext operation. */
4789
- export type ScheduledQueryRulesListBySubscriptionNextResponse = ScheduledQueryRuleResourceCollection;
5740
+ export type ScheduledQueryRulesListBySubscriptionNextResponse =
5741
+ ScheduledQueryRuleResourceCollection;
4790
5742
 
4791
5743
  /** Optional parameters. */
4792
5744
  export interface ScheduledQueryRulesListByResourceGroupNextOptionalParams
4793
5745
  extends coreClient.OperationOptions {}
4794
5746
 
4795
5747
  /** Contains response data for the listByResourceGroupNext operation. */
4796
- export type ScheduledQueryRulesListByResourceGroupNextResponse = ScheduledQueryRuleResourceCollection;
4797
-
4798
- /** Optional parameters. */
4799
- export interface MetricNamespacesListOptionalParams
4800
- extends coreClient.OperationOptions {
4801
- /** The ISO 8601 conform Date start time from which to query for metric namespaces. */
4802
- startTime?: string;
4803
- }
4804
-
4805
- /** Contains response data for the list operation. */
4806
- export type MetricNamespacesListResponse = MetricNamespaceCollection;
5748
+ export type ScheduledQueryRulesListByResourceGroupNextResponse =
5749
+ ScheduledQueryRuleResourceCollection;
4807
5750
 
4808
5751
  /** Optional parameters. */
4809
5752
  export interface VMInsightsGetOnboardingStatusOptionalParams
@@ -4817,14 +5760,16 @@ export interface PrivateLinkScopesListOptionalParams
4817
5760
  extends coreClient.OperationOptions {}
4818
5761
 
4819
5762
  /** Contains response data for the list operation. */
4820
- export type PrivateLinkScopesListResponse = AzureMonitorPrivateLinkScopeListResult;
5763
+ export type PrivateLinkScopesListResponse =
5764
+ AzureMonitorPrivateLinkScopeListResult;
4821
5765
 
4822
5766
  /** Optional parameters. */
4823
5767
  export interface PrivateLinkScopesListByResourceGroupOptionalParams
4824
5768
  extends coreClient.OperationOptions {}
4825
5769
 
4826
5770
  /** Contains response data for the listByResourceGroup operation. */
4827
- export type PrivateLinkScopesListByResourceGroupResponse = AzureMonitorPrivateLinkScopeListResult;
5771
+ export type PrivateLinkScopesListByResourceGroupResponse =
5772
+ AzureMonitorPrivateLinkScopeListResult;
4828
5773
 
4829
5774
  /** Optional parameters. */
4830
5775
  export interface PrivateLinkScopesDeleteOptionalParams
@@ -4847,7 +5792,8 @@ export interface PrivateLinkScopesCreateOrUpdateOptionalParams
4847
5792
  extends coreClient.OperationOptions {}
4848
5793
 
4849
5794
  /** Contains response data for the createOrUpdate operation. */
4850
- export type PrivateLinkScopesCreateOrUpdateResponse = AzureMonitorPrivateLinkScope;
5795
+ export type PrivateLinkScopesCreateOrUpdateResponse =
5796
+ AzureMonitorPrivateLinkScope;
4851
5797
 
4852
5798
  /** Optional parameters. */
4853
5799
  export interface PrivateLinkScopesUpdateTagsOptionalParams
@@ -4861,14 +5807,16 @@ export interface PrivateLinkScopesListNextOptionalParams
4861
5807
  extends coreClient.OperationOptions {}
4862
5808
 
4863
5809
  /** Contains response data for the listNext operation. */
4864
- export type PrivateLinkScopesListNextResponse = AzureMonitorPrivateLinkScopeListResult;
5810
+ export type PrivateLinkScopesListNextResponse =
5811
+ AzureMonitorPrivateLinkScopeListResult;
4865
5812
 
4866
5813
  /** Optional parameters. */
4867
5814
  export interface PrivateLinkScopesListByResourceGroupNextOptionalParams
4868
5815
  extends coreClient.OperationOptions {}
4869
5816
 
4870
5817
  /** Contains response data for the listByResourceGroupNext operation. */
4871
- export type PrivateLinkScopesListByResourceGroupNextResponse = AzureMonitorPrivateLinkScopeListResult;
5818
+ export type PrivateLinkScopesListByResourceGroupNextResponse =
5819
+ AzureMonitorPrivateLinkScopeListResult;
4872
5820
 
4873
5821
  /** Optional parameters. */
4874
5822
  export interface PrivateLinkScopeOperationStatusGetOptionalParams
@@ -4882,7 +5830,8 @@ export interface PrivateLinkResourcesListByPrivateLinkScopeOptionalParams
4882
5830
  extends coreClient.OperationOptions {}
4883
5831
 
4884
5832
  /** Contains response data for the listByPrivateLinkScope operation. */
4885
- export type PrivateLinkResourcesListByPrivateLinkScopeResponse = PrivateLinkResourceListResult;
5833
+ export type PrivateLinkResourcesListByPrivateLinkScopeResponse =
5834
+ PrivateLinkResourceListResult;
4886
5835
 
4887
5836
  /** Optional parameters. */
4888
5837
  export interface PrivateLinkResourcesGetOptionalParams
@@ -4896,7 +5845,8 @@ export interface PrivateEndpointConnectionsGetOptionalParams
4896
5845
  extends coreClient.OperationOptions {}
4897
5846
 
4898
5847
  /** Contains response data for the get operation. */
4899
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
5848
+ export type PrivateEndpointConnectionsGetResponse =
5849
+ PrivateEndpointConnectionAutoGenerated;
4900
5850
 
4901
5851
  /** Optional parameters. */
4902
5852
  export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
@@ -4908,7 +5858,8 @@ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
4908
5858
  }
4909
5859
 
4910
5860
  /** Contains response data for the createOrUpdate operation. */
4911
- export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
5861
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse =
5862
+ PrivateEndpointConnectionAutoGenerated;
4912
5863
 
4913
5864
  /** Optional parameters. */
4914
5865
  export interface PrivateEndpointConnectionsDeleteOptionalParams
@@ -4924,7 +5875,8 @@ export interface PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
4924
5875
  extends coreClient.OperationOptions {}
4925
5876
 
4926
5877
  /** Contains response data for the listByPrivateLinkScope operation. */
4927
- export type PrivateEndpointConnectionsListByPrivateLinkScopeResponse = PrivateEndpointConnectionListResult;
5878
+ export type PrivateEndpointConnectionsListByPrivateLinkScopeResponse =
5879
+ PrivateEndpointConnectionListResult;
4928
5880
 
4929
5881
  /** Optional parameters. */
4930
5882
  export interface PrivateLinkScopedResourcesGetOptionalParams
@@ -4959,14 +5911,16 @@ export interface PrivateLinkScopedResourcesListByPrivateLinkScopeOptionalParams
4959
5911
  extends coreClient.OperationOptions {}
4960
5912
 
4961
5913
  /** Contains response data for the listByPrivateLinkScope operation. */
4962
- export type PrivateLinkScopedResourcesListByPrivateLinkScopeResponse = ScopedResourceListResult;
5914
+ export type PrivateLinkScopedResourcesListByPrivateLinkScopeResponse =
5915
+ ScopedResourceListResult;
4963
5916
 
4964
5917
  /** Optional parameters. */
4965
5918
  export interface PrivateLinkScopedResourcesListByPrivateLinkScopeNextOptionalParams
4966
5919
  extends coreClient.OperationOptions {}
4967
5920
 
4968
5921
  /** Contains response data for the listByPrivateLinkScopeNext operation. */
4969
- export type PrivateLinkScopedResourcesListByPrivateLinkScopeNextResponse = ScopedResourceListResult;
5922
+ export type PrivateLinkScopedResourcesListByPrivateLinkScopeNextResponse =
5923
+ ScopedResourceListResult;
4970
5924
 
4971
5925
  /** Optional parameters. */
4972
5926
  export interface ActivityLogAlertsCreateOrUpdateOptionalParams
@@ -5026,14 +5980,16 @@ export interface DataCollectionEndpointsListByResourceGroupOptionalParams
5026
5980
  extends coreClient.OperationOptions {}
5027
5981
 
5028
5982
  /** Contains response data for the listByResourceGroup operation. */
5029
- export type DataCollectionEndpointsListByResourceGroupResponse = DataCollectionEndpointResourceListResult;
5983
+ export type DataCollectionEndpointsListByResourceGroupResponse =
5984
+ DataCollectionEndpointResourceListResult;
5030
5985
 
5031
5986
  /** Optional parameters. */
5032
5987
  export interface DataCollectionEndpointsListBySubscriptionOptionalParams
5033
5988
  extends coreClient.OperationOptions {}
5034
5989
 
5035
5990
  /** Contains response data for the listBySubscription operation. */
5036
- export type DataCollectionEndpointsListBySubscriptionResponse = DataCollectionEndpointResourceListResult;
5991
+ export type DataCollectionEndpointsListBySubscriptionResponse =
5992
+ DataCollectionEndpointResourceListResult;
5037
5993
 
5038
5994
  /** Optional parameters. */
5039
5995
  export interface DataCollectionEndpointsGetOptionalParams
@@ -5050,7 +6006,8 @@ export interface DataCollectionEndpointsCreateOptionalParams
5050
6006
  }
5051
6007
 
5052
6008
  /** Contains response data for the create operation. */
5053
- export type DataCollectionEndpointsCreateResponse = DataCollectionEndpointResource;
6009
+ export type DataCollectionEndpointsCreateResponse =
6010
+ DataCollectionEndpointResource;
5054
6011
 
5055
6012
  /** Optional parameters. */
5056
6013
  export interface DataCollectionEndpointsUpdateOptionalParams
@@ -5060,7 +6017,8 @@ export interface DataCollectionEndpointsUpdateOptionalParams
5060
6017
  }
5061
6018
 
5062
6019
  /** Contains response data for the update operation. */
5063
- export type DataCollectionEndpointsUpdateResponse = DataCollectionEndpointResource;
6020
+ export type DataCollectionEndpointsUpdateResponse =
6021
+ DataCollectionEndpointResource;
5064
6022
 
5065
6023
  /** Optional parameters. */
5066
6024
  export interface DataCollectionEndpointsDeleteOptionalParams
@@ -5071,42 +6029,48 @@ export interface DataCollectionEndpointsListByResourceGroupNextOptionalParams
5071
6029
  extends coreClient.OperationOptions {}
5072
6030
 
5073
6031
  /** Contains response data for the listByResourceGroupNext operation. */
5074
- export type DataCollectionEndpointsListByResourceGroupNextResponse = DataCollectionEndpointResourceListResult;
6032
+ export type DataCollectionEndpointsListByResourceGroupNextResponse =
6033
+ DataCollectionEndpointResourceListResult;
5075
6034
 
5076
6035
  /** Optional parameters. */
5077
6036
  export interface DataCollectionEndpointsListBySubscriptionNextOptionalParams
5078
6037
  extends coreClient.OperationOptions {}
5079
6038
 
5080
6039
  /** Contains response data for the listBySubscriptionNext operation. */
5081
- export type DataCollectionEndpointsListBySubscriptionNextResponse = DataCollectionEndpointResourceListResult;
6040
+ export type DataCollectionEndpointsListBySubscriptionNextResponse =
6041
+ DataCollectionEndpointResourceListResult;
5082
6042
 
5083
6043
  /** Optional parameters. */
5084
6044
  export interface DataCollectionRuleAssociationsListByResourceOptionalParams
5085
6045
  extends coreClient.OperationOptions {}
5086
6046
 
5087
6047
  /** Contains response data for the listByResource operation. */
5088
- export type DataCollectionRuleAssociationsListByResourceResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
6048
+ export type DataCollectionRuleAssociationsListByResourceResponse =
6049
+ DataCollectionRuleAssociationProxyOnlyResourceListResult;
5089
6050
 
5090
6051
  /** Optional parameters. */
5091
6052
  export interface DataCollectionRuleAssociationsListByRuleOptionalParams
5092
6053
  extends coreClient.OperationOptions {}
5093
6054
 
5094
6055
  /** Contains response data for the listByRule operation. */
5095
- export type DataCollectionRuleAssociationsListByRuleResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
6056
+ export type DataCollectionRuleAssociationsListByRuleResponse =
6057
+ DataCollectionRuleAssociationProxyOnlyResourceListResult;
5096
6058
 
5097
6059
  /** Optional parameters. */
5098
6060
  export interface DataCollectionRuleAssociationsListByDataCollectionEndpointOptionalParams
5099
6061
  extends coreClient.OperationOptions {}
5100
6062
 
5101
6063
  /** Contains response data for the listByDataCollectionEndpoint operation. */
5102
- export type DataCollectionRuleAssociationsListByDataCollectionEndpointResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
6064
+ export type DataCollectionRuleAssociationsListByDataCollectionEndpointResponse =
6065
+ DataCollectionRuleAssociationProxyOnlyResourceListResult;
5103
6066
 
5104
6067
  /** Optional parameters. */
5105
6068
  export interface DataCollectionRuleAssociationsGetOptionalParams
5106
6069
  extends coreClient.OperationOptions {}
5107
6070
 
5108
6071
  /** Contains response data for the get operation. */
5109
- export type DataCollectionRuleAssociationsGetResponse = DataCollectionRuleAssociationProxyOnlyResource;
6072
+ export type DataCollectionRuleAssociationsGetResponse =
6073
+ DataCollectionRuleAssociationProxyOnlyResource;
5110
6074
 
5111
6075
  /** Optional parameters. */
5112
6076
  export interface DataCollectionRuleAssociationsCreateOptionalParams
@@ -5116,7 +6080,8 @@ export interface DataCollectionRuleAssociationsCreateOptionalParams
5116
6080
  }
5117
6081
 
5118
6082
  /** Contains response data for the create operation. */
5119
- export type DataCollectionRuleAssociationsCreateResponse = DataCollectionRuleAssociationProxyOnlyResource;
6083
+ export type DataCollectionRuleAssociationsCreateResponse =
6084
+ DataCollectionRuleAssociationProxyOnlyResource;
5120
6085
 
5121
6086
  /** Optional parameters. */
5122
6087
  export interface DataCollectionRuleAssociationsDeleteOptionalParams
@@ -5127,35 +6092,40 @@ export interface DataCollectionRuleAssociationsListByResourceNextOptionalParams
5127
6092
  extends coreClient.OperationOptions {}
5128
6093
 
5129
6094
  /** Contains response data for the listByResourceNext operation. */
5130
- export type DataCollectionRuleAssociationsListByResourceNextResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
6095
+ export type DataCollectionRuleAssociationsListByResourceNextResponse =
6096
+ DataCollectionRuleAssociationProxyOnlyResourceListResult;
5131
6097
 
5132
6098
  /** Optional parameters. */
5133
6099
  export interface DataCollectionRuleAssociationsListByRuleNextOptionalParams
5134
6100
  extends coreClient.OperationOptions {}
5135
6101
 
5136
6102
  /** Contains response data for the listByRuleNext operation. */
5137
- export type DataCollectionRuleAssociationsListByRuleNextResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
6103
+ export type DataCollectionRuleAssociationsListByRuleNextResponse =
6104
+ DataCollectionRuleAssociationProxyOnlyResourceListResult;
5138
6105
 
5139
6106
  /** Optional parameters. */
5140
6107
  export interface DataCollectionRuleAssociationsListByDataCollectionEndpointNextOptionalParams
5141
6108
  extends coreClient.OperationOptions {}
5142
6109
 
5143
6110
  /** Contains response data for the listByDataCollectionEndpointNext operation. */
5144
- export type DataCollectionRuleAssociationsListByDataCollectionEndpointNextResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
6111
+ export type DataCollectionRuleAssociationsListByDataCollectionEndpointNextResponse =
6112
+ DataCollectionRuleAssociationProxyOnlyResourceListResult;
5145
6113
 
5146
6114
  /** Optional parameters. */
5147
6115
  export interface DataCollectionRulesListByResourceGroupOptionalParams
5148
6116
  extends coreClient.OperationOptions {}
5149
6117
 
5150
6118
  /** Contains response data for the listByResourceGroup operation. */
5151
- export type DataCollectionRulesListByResourceGroupResponse = DataCollectionRuleResourceListResult;
6119
+ export type DataCollectionRulesListByResourceGroupResponse =
6120
+ DataCollectionRuleResourceListResult;
5152
6121
 
5153
6122
  /** Optional parameters. */
5154
6123
  export interface DataCollectionRulesListBySubscriptionOptionalParams
5155
6124
  extends coreClient.OperationOptions {}
5156
6125
 
5157
6126
  /** Contains response data for the listBySubscription operation. */
5158
- export type DataCollectionRulesListBySubscriptionResponse = DataCollectionRuleResourceListResult;
6127
+ export type DataCollectionRulesListBySubscriptionResponse =
6128
+ DataCollectionRuleResourceListResult;
5159
6129
 
5160
6130
  /** Optional parameters. */
5161
6131
  export interface DataCollectionRulesGetOptionalParams
@@ -5193,84 +6163,16 @@ export interface DataCollectionRulesListByResourceGroupNextOptionalParams
5193
6163
  extends coreClient.OperationOptions {}
5194
6164
 
5195
6165
  /** Contains response data for the listByResourceGroupNext operation. */
5196
- export type DataCollectionRulesListByResourceGroupNextResponse = DataCollectionRuleResourceListResult;
6166
+ export type DataCollectionRulesListByResourceGroupNextResponse =
6167
+ DataCollectionRuleResourceListResult;
5197
6168
 
5198
6169
  /** Optional parameters. */
5199
6170
  export interface DataCollectionRulesListBySubscriptionNextOptionalParams
5200
6171
  extends coreClient.OperationOptions {}
5201
6172
 
5202
6173
  /** Contains response data for the listBySubscriptionNext operation. */
5203
- export type DataCollectionRulesListBySubscriptionNextResponse = DataCollectionRuleResourceListResult;
5204
-
5205
- /** Optional parameters. */
5206
- export interface AzureMonitorWorkspacesListByResourceGroupOptionalParams
5207
- extends coreClient.OperationOptions {}
5208
-
5209
- /** Contains response data for the listByResourceGroup operation. */
5210
- export type AzureMonitorWorkspacesListByResourceGroupResponse = AzureMonitorWorkspaceResourceListResult;
5211
-
5212
- /** Optional parameters. */
5213
- export interface AzureMonitorWorkspacesListBySubscriptionOptionalParams
5214
- extends coreClient.OperationOptions {}
5215
-
5216
- /** Contains response data for the listBySubscription operation. */
5217
- export type AzureMonitorWorkspacesListBySubscriptionResponse = AzureMonitorWorkspaceResourceListResult;
5218
-
5219
- /** Optional parameters. */
5220
- export interface AzureMonitorWorkspacesGetOptionalParams
5221
- extends coreClient.OperationOptions {}
5222
-
5223
- /** Contains response data for the get operation. */
5224
- export type AzureMonitorWorkspacesGetResponse = AzureMonitorWorkspaceResource;
5225
-
5226
- /** Optional parameters. */
5227
- export interface AzureMonitorWorkspacesCreateOptionalParams
5228
- extends coreClient.OperationOptions {}
5229
-
5230
- /** Contains response data for the create operation. */
5231
- export type AzureMonitorWorkspacesCreateResponse = AzureMonitorWorkspaceResource;
5232
-
5233
- /** Optional parameters. */
5234
- export interface AzureMonitorWorkspacesUpdateOptionalParams
5235
- extends coreClient.OperationOptions {
5236
- /** The payload */
5237
- azureMonitorWorkspaceProperties?: AzureMonitorWorkspaceResourceForUpdate;
5238
- }
5239
-
5240
- /** Contains response data for the update operation. */
5241
- export type AzureMonitorWorkspacesUpdateResponse = AzureMonitorWorkspaceResource;
5242
-
5243
- /** Optional parameters. */
5244
- export interface AzureMonitorWorkspacesDeleteOptionalParams
5245
- extends coreClient.OperationOptions {}
5246
-
5247
- /** Optional parameters. */
5248
- export interface AzureMonitorWorkspacesListByResourceGroupNextOptionalParams
5249
- extends coreClient.OperationOptions {}
5250
-
5251
- /** Contains response data for the listByResourceGroupNext operation. */
5252
- export type AzureMonitorWorkspacesListByResourceGroupNextResponse = AzureMonitorWorkspaceResourceListResult;
5253
-
5254
- /** Optional parameters. */
5255
- export interface AzureMonitorWorkspacesListBySubscriptionNextOptionalParams
5256
- extends coreClient.OperationOptions {}
5257
-
5258
- /** Contains response data for the listBySubscriptionNext operation. */
5259
- export type AzureMonitorWorkspacesListBySubscriptionNextResponse = AzureMonitorWorkspaceResourceListResult;
5260
-
5261
- /** Optional parameters. */
5262
- export interface MonitorOperationsListOptionalParams
5263
- extends coreClient.OperationOptions {}
5264
-
5265
- /** Contains response data for the list operation. */
5266
- export type MonitorOperationsListResponse = OperationListResultAutoGenerated;
5267
-
5268
- /** Optional parameters. */
5269
- export interface MonitorOperationsListNextOptionalParams
5270
- extends coreClient.OperationOptions {}
5271
-
5272
- /** Contains response data for the listNext operation. */
5273
- export type MonitorOperationsListNextResponse = OperationListResultAutoGenerated;
6174
+ export type DataCollectionRulesListBySubscriptionNextResponse =
6175
+ DataCollectionRuleResourceListResult;
5274
6176
 
5275
6177
  /** Optional parameters. */
5276
6178
  export interface MonitorClientOptionalParams