@azure/arm-monitor 7.0.1-alpha.20220427.1 → 8.0.0-beta.2

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 (266) hide show
  1. package/CHANGELOG.md +149 -4
  2. package/README.md +1 -1
  3. package/dist/index.js +2634 -1068
  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.d.ts +2 -0
  8. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js +138 -0
  10. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js.map +1 -0
  11. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js +137 -0
  14. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js.map +1 -0
  15. package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js +1 -1
  16. package/dist-esm/samples-dev/actionGroupsDeleteSample.js +1 -1
  17. package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js +1 -1
  18. package/dist-esm/samples-dev/actionGroupsGetSample.js +1 -1
  19. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js +32 -0
  22. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js.map +1 -0
  23. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js +31 -0
  26. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js.map +1 -0
  27. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js +3 -3
  28. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js.map +1 -1
  29. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js +3 -3
  30. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js.map +1 -1
  31. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js +3 -3
  32. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js.map +1 -1
  33. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js +15 -3
  34. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js.map +1 -1
  35. package/dist-esm/samples-dev/actionGroupsUpdateSample.js +1 -1
  36. package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js +100 -14
  37. package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js.map +1 -1
  38. package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js +7 -7
  39. package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js.map +1 -1
  40. package/dist-esm/samples-dev/activityLogAlertsGetSample.js +7 -7
  41. package/dist-esm/samples-dev/activityLogAlertsGetSample.js.map +1 -1
  42. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js +4 -4
  43. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js.map +1 -1
  44. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js +5 -5
  45. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js.map +1 -1
  46. package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js +9 -9
  47. package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js.map +1 -1
  48. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +3 -2
  49. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +1 -1
  51. package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +1 -1
  52. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +1 -1
  53. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +3 -3
  54. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
  55. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +3 -4
  56. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
  57. package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js +1 -1
  58. package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js +1 -1
  59. package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js +1 -1
  60. package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js +1 -1
  61. package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js +1 -1
  62. package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js +1 -1
  63. package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js +1 -1
  64. package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js +1 -1
  65. package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js +1 -1
  66. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.d.ts +2 -0
  67. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.d.ts.map +1 -0
  68. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js +45 -0
  69. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js.map +1 -0
  70. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js +1 -1
  71. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js +1 -1
  72. package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js +1 -1
  73. package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js +1 -1
  74. package/dist-esm/samples-dev/dataCollectionRulesGetSample.js +1 -1
  75. package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js +1 -1
  76. package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js +1 -1
  77. package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js +1 -1
  78. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +1 -1
  79. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +18 -4
  80. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
  81. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +44 -3
  82. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
  83. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +1 -1
  84. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +19 -1
  85. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
  86. package/dist-esm/samples-dev/diagnosticSettingsListSample.js +49 -4
  87. package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
  88. package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/predictiveMetricGetSample.js +36 -0
  91. package/dist-esm/samples-dev/predictiveMetricGetSample.js.map +1 -0
  92. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
  93. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  94. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  95. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +4 -18
  96. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -1
  97. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  98. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +4 -18
  99. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -1
  100. package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +1 -1
  101. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +1 -1
  102. package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +1 -1
  103. package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +1 -1
  104. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +1 -1
  105. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +12 -2
  106. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
  107. package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +1 -1
  108. package/dist-esm/samples-dev/privateLinkScopesGetSample.js +1 -1
  109. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +1 -1
  110. package/dist-esm/samples-dev/privateLinkScopesListSample.js +1 -1
  111. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +1 -1
  112. package/dist-esm/src/models/index.d.ts +1054 -394
  113. package/dist-esm/src/models/index.d.ts.map +1 -1
  114. package/dist-esm/src/models/index.js +234 -8
  115. package/dist-esm/src/models/index.js.map +1 -1
  116. package/dist-esm/src/models/mappers.d.ts +55 -28
  117. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  118. package/dist-esm/src/models/mappers.js +1394 -651
  119. package/dist-esm/src/models/mappers.js.map +1 -1
  120. package/dist-esm/src/models/parameters.d.ts +20 -14
  121. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  122. package/dist-esm/src/models/parameters.js +88 -27
  123. package/dist-esm/src/models/parameters.js.map +1 -1
  124. package/dist-esm/src/monitorClient.d.ts +2 -1
  125. package/dist-esm/src/monitorClient.d.ts.map +1 -1
  126. package/dist-esm/src/monitorClient.js +20 -14
  127. package/dist-esm/src/monitorClient.js.map +1 -1
  128. package/dist-esm/src/operations/actionGroups.d.ts +46 -1
  129. package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
  130. package/dist-esm/src/operations/actionGroups.js +244 -13
  131. package/dist-esm/src/operations/actionGroups.js.map +1 -1
  132. package/dist-esm/src/operations/activityLogAlerts.d.ts +32 -18
  133. package/dist-esm/src/operations/activityLogAlerts.d.ts.map +1 -1
  134. package/dist-esm/src/operations/activityLogAlerts.js +117 -41
  135. package/dist-esm/src/operations/activityLogAlerts.js.map +1 -1
  136. package/dist-esm/src/operations/activityLogs.js +2 -2
  137. package/dist-esm/src/operations/activityLogs.js.map +1 -1
  138. package/dist-esm/src/operations/alertRuleIncidents.js +2 -2
  139. package/dist-esm/src/operations/alertRules.js +6 -6
  140. package/dist-esm/src/operations/autoscaleSettings.js +8 -8
  141. package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
  142. package/dist-esm/src/operations/baselines.js +4 -4
  143. package/dist-esm/src/operations/baselines.js.map +1 -1
  144. package/dist-esm/src/operations/dataCollectionEndpoints.js +8 -8
  145. package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts +29 -1
  146. package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts.map +1 -1
  147. package/dist-esm/src/operations/dataCollectionRuleAssociations.js +123 -7
  148. package/dist-esm/src/operations/dataCollectionRuleAssociations.js.map +1 -1
  149. package/dist-esm/src/operations/dataCollectionRules.js +8 -8
  150. package/dist-esm/src/operations/diagnosticSettings.d.ts +11 -2
  151. package/dist-esm/src/operations/diagnosticSettings.d.ts.map +1 -1
  152. package/dist-esm/src/operations/diagnosticSettings.js +50 -5
  153. package/dist-esm/src/operations/diagnosticSettings.js.map +1 -1
  154. package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts +11 -2
  155. package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
  156. package/dist-esm/src/operations/diagnosticSettingsCategory.js +48 -3
  157. package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
  158. package/dist-esm/src/operations/eventCategories.js +1 -1
  159. package/dist-esm/src/operations/eventCategories.js.map +1 -1
  160. package/dist-esm/src/operations/index.d.ts +1 -0
  161. package/dist-esm/src/operations/index.d.ts.map +1 -1
  162. package/dist-esm/src/operations/index.js +1 -0
  163. package/dist-esm/src/operations/index.js.map +1 -1
  164. package/dist-esm/src/operations/logProfiles.js +5 -5
  165. package/dist-esm/src/operations/metricAlerts.js +6 -6
  166. package/dist-esm/src/operations/metricAlertsStatus.js +2 -2
  167. package/dist-esm/src/operations/metricDefinitions.js +1 -1
  168. package/dist-esm/src/operations/metricNamespaces.js +1 -1
  169. package/dist-esm/src/operations/metrics.js +4 -4
  170. package/dist-esm/src/operations/metrics.js.map +1 -1
  171. package/dist-esm/src/operations/operations.js +1 -1
  172. package/dist-esm/src/operations/operations.js.map +1 -1
  173. package/dist-esm/src/operations/predictiveMetric.d.ts +28 -0
  174. package/dist-esm/src/operations/predictiveMetric.d.ts.map +1 -0
  175. package/dist-esm/src/operations/predictiveMetric.js +77 -0
  176. package/dist-esm/src/operations/predictiveMetric.js.map +1 -0
  177. package/dist-esm/src/operations/privateEndpointConnections.d.ts +4 -22
  178. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  179. package/dist-esm/src/operations/privateEndpointConnections.js +27 -89
  180. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  181. package/dist-esm/src/operations/privateLinkResources.d.ts +2 -20
  182. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
  183. package/dist-esm/src/operations/privateLinkResources.js +8 -83
  184. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  185. package/dist-esm/src/operations/privateLinkScopeOperationStatus.js +4 -1
  186. package/dist-esm/src/operations/privateLinkScopeOperationStatus.js.map +1 -1
  187. package/dist-esm/src/operations/privateLinkScopedResources.js +27 -6
  188. package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
  189. package/dist-esm/src/operations/privateLinkScopes.js +39 -9
  190. package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
  191. package/dist-esm/src/operations/scheduledQueryRules.js +6 -6
  192. package/dist-esm/src/operations/tenantActivityLogs.js +2 -2
  193. package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
  194. package/dist-esm/src/operations/vMInsights.js +1 -1
  195. package/dist-esm/src/operations/vMInsights.js.map +1 -1
  196. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +46 -1
  197. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
  198. package/dist-esm/src/operationsInterfaces/activityLogAlerts.d.ts +17 -16
  199. package/dist-esm/src/operationsInterfaces/activityLogAlerts.d.ts.map +1 -1
  200. package/dist-esm/src/operationsInterfaces/dataCollectionRuleAssociations.d.ts +9 -1
  201. package/dist-esm/src/operationsInterfaces/dataCollectionRuleAssociations.d.ts.map +1 -1
  202. package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts +8 -7
  203. package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts.map +1 -1
  204. package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts +7 -6
  205. package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -1
  206. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  207. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  208. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  209. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  210. package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts +20 -0
  211. package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/predictiveMetric.js +9 -0
  213. package/dist-esm/src/operationsInterfaces/predictiveMetric.js.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +10 -11
  215. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  216. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +2 -3
  217. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  218. package/dist-esm/test/monitor_examples.d.ts.map +1 -1
  219. package/dist-esm/test/monitor_examples.js +25 -31
  220. package/dist-esm/test/monitor_examples.js.map +1 -1
  221. package/package.json +9 -6
  222. package/review/arm-monitor.api.md +585 -376
  223. package/src/models/index.ts +1137 -435
  224. package/src/models/mappers.ts +1481 -688
  225. package/src/models/parameters.ts +94 -27
  226. package/src/monitorClient.ts +27 -16
  227. package/src/operations/actionGroups.ts +356 -13
  228. package/src/operations/activityLogAlerts.ts +142 -43
  229. package/src/operations/activityLogs.ts +2 -2
  230. package/src/operations/alertRuleIncidents.ts +2 -2
  231. package/src/operations/alertRules.ts +6 -6
  232. package/src/operations/autoscaleSettings.ts +8 -8
  233. package/src/operations/baselines.ts +4 -4
  234. package/src/operations/dataCollectionEndpoints.ts +8 -8
  235. package/src/operations/dataCollectionRuleAssociations.ts +175 -8
  236. package/src/operations/dataCollectionRules.ts +8 -8
  237. package/src/operations/diagnosticSettings.ts +49 -7
  238. package/src/operations/diagnosticSettingsCategory.ts +47 -4
  239. package/src/operations/eventCategories.ts +1 -1
  240. package/src/operations/index.ts +1 -0
  241. package/src/operations/logProfiles.ts +5 -5
  242. package/src/operations/metricAlerts.ts +6 -6
  243. package/src/operations/metricAlertsStatus.ts +2 -2
  244. package/src/operations/metricDefinitions.ts +1 -1
  245. package/src/operations/metricNamespaces.ts +1 -1
  246. package/src/operations/metrics.ts +4 -4
  247. package/src/operations/operations.ts +1 -1
  248. package/src/operations/predictiveMetric.ts +101 -0
  249. package/src/operations/privateEndpointConnections.ts +29 -124
  250. package/src/operations/privateLinkResources.ts +10 -118
  251. package/src/operations/privateLinkScopeOperationStatus.ts +4 -1
  252. package/src/operations/privateLinkScopedResources.ts +27 -6
  253. package/src/operations/privateLinkScopes.ts +39 -9
  254. package/src/operations/scheduledQueryRules.ts +6 -6
  255. package/src/operations/tenantActivityLogs.ts +2 -2
  256. package/src/operations/vMInsights.ts +1 -1
  257. package/src/operationsInterfaces/actionGroups.ts +96 -0
  258. package/src/operationsInterfaces/activityLogAlerts.ts +17 -16
  259. package/src/operationsInterfaces/dataCollectionRuleAssociations.ts +13 -0
  260. package/src/operationsInterfaces/diagnosticSettings.ts +14 -13
  261. package/src/operationsInterfaces/diagnosticSettingsCategory.ts +14 -12
  262. package/src/operationsInterfaces/index.ts +1 -0
  263. package/src/operationsInterfaces/predictiveMetric.ts +40 -0
  264. package/src/operationsInterfaces/privateEndpointConnections.ts +17 -18
  265. package/src/operationsInterfaces/privateLinkResources.ts +2 -4
  266. package/types/arm-monitor.d.ts +1082 -293
@@ -4,6 +4,36 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
4
  import { PollerLike } from '@azure/core-lro';
5
5
  import { PollOperationState } from '@azure/core-lro';
6
6
 
7
+ /**
8
+ * Defines values for AccessMode. \
9
+ * {@link KnownAccessMode} can be used interchangeably with AccessMode,
10
+ * this enum contains the known values that the service supports.
11
+ * ### Known values supported by the service
12
+ * **Open** \
13
+ * **PrivateOnly**
14
+ */
15
+ export declare type AccessMode = string;
16
+
17
+ /** Properties that define the scope private link mode settings. */
18
+ export declare interface AccessModeSettings {
19
+ /** 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. */
20
+ queryAccessMode: AccessMode;
21
+ /** Specifies the default access mode of ingestion 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. */
22
+ ingestionAccessMode: AccessMode;
23
+ /** List of exclusions that override the default access mode settings for specific private endpoint connections. */
24
+ exclusions?: AccessModeSettingsExclusion[];
25
+ }
26
+
27
+ /** Properties that define the scope private link mode settings exclusion item. This setting applies to a specific private endpoint connection and overrides the default settings for that private endpoint connection. */
28
+ export declare interface AccessModeSettingsExclusion {
29
+ /** The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings. */
30
+ privateEndpointConnectionName?: string;
31
+ /** Specifies the access mode of queries through the specified private endpoint connection in the exclusion. */
32
+ queryAccessMode?: AccessMode;
33
+ /** Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion. */
34
+ ingestionAccessMode?: AccessMode;
35
+ }
36
+
7
37
  /** Action descriptor. */
8
38
  export declare interface Action {
9
39
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -26,6 +56,16 @@ export declare interface ActionDetail {
26
56
  detail?: string;
27
57
  }
28
58
 
59
+ /** A pointer to an Azure Action Group. */
60
+ export declare interface ActionGroup {
61
+ /** The resource ID of the Action Group. This cannot be null or empty. */
62
+ actionGroupId: string;
63
+ /** the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. */
64
+ webhookProperties?: {
65
+ [propertyName: string]: string;
66
+ };
67
+ }
68
+
29
69
  /** A list of action groups. */
30
70
  export declare interface ActionGroupList {
31
71
  /** The list of action groups. */
@@ -45,7 +85,7 @@ export declare interface ActionGroupPatchBody {
45
85
  }
46
86
 
47
87
  /** An action group resource. */
48
- export declare type ActionGroupResource = AzureResource & {
88
+ export declare interface ActionGroupResource extends AzureResource {
49
89
  /** The short name of the action group. This will be used in SMS messages. */
50
90
  groupShortName?: string;
51
91
  /** Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. */
@@ -72,7 +112,7 @@ export declare type ActionGroupResource = AzureResource & {
72
112
  armRoleReceivers?: ArmRoleReceiver[];
73
113
  /** The list of event hub receivers that are part of this action group. */
74
114
  eventHubReceivers?: EventHubReceiver[];
75
- };
115
+ }
76
116
 
77
117
  /** Interface representing a ActionGroups. */
78
118
  export declare interface ActionGroups {
@@ -129,12 +169,57 @@ export declare interface ActionGroups {
129
169
  * @param options The options parameters.
130
170
  */
131
171
  beginPostTestNotificationsAndWait(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<ActionGroupsPostTestNotificationsResponse>;
172
+ /**
173
+ * Send test notifications to a set of provided receivers
174
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
175
+ * @param notificationRequest The notification request body which includes the contact details
176
+ * @param options The options parameters.
177
+ */
178
+ beginCreateNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<PollerLike<PollOperationState<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>, ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>>;
179
+ /**
180
+ * Send test notifications to a set of provided receivers
181
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
182
+ * @param notificationRequest The notification request body which includes the contact details
183
+ * @param options The options parameters.
184
+ */
185
+ beginCreateNotificationsAtResourceGroupLevelAndWait(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>;
186
+ /**
187
+ * Send test notifications to a set of provided receivers
188
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
189
+ * @param actionGroupName The name of the action group.
190
+ * @param notificationRequest The notification request body which includes the contact details
191
+ * @param options The options parameters.
192
+ */
193
+ beginCreateNotificationsAtActionGroupResourceLevel(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<PollerLike<PollOperationState<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>, ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>>;
194
+ /**
195
+ * Send test notifications to a set of provided receivers
196
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
197
+ * @param actionGroupName The name of the action group.
198
+ * @param notificationRequest The notification request body which includes the contact details
199
+ * @param options The options parameters.
200
+ */
201
+ beginCreateNotificationsAtActionGroupResourceLevelAndWait(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>;
132
202
  /**
133
203
  * Get the test notifications by the notification id
134
204
  * @param notificationId The notification id
135
205
  * @param options The options parameters.
136
206
  */
137
207
  getTestNotifications(notificationId: string, options?: ActionGroupsGetTestNotificationsOptionalParams): Promise<ActionGroupsGetTestNotificationsResponse>;
208
+ /**
209
+ * Get the test notifications by the notification id
210
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
211
+ * @param notificationId The notification id
212
+ * @param options The options parameters.
213
+ */
214
+ getTestNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationId: string, options?: ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams): Promise<ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse>;
215
+ /**
216
+ * Get the test notifications by the notification id
217
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
218
+ * @param actionGroupName The name of the action group.
219
+ * @param notificationId The notification id
220
+ * @param options The options parameters.
221
+ */
222
+ getTestNotificationsAtActionGroupResourceLevel(resourceGroupName: string, actionGroupName: string, notificationId: string, options?: ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams): Promise<ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse>;
138
223
  /**
139
224
  * Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled.
140
225
  * This operation is only supported for Email or SMS receivers.
@@ -146,6 +231,40 @@ export declare interface ActionGroups {
146
231
  enableReceiver(resourceGroupName: string, actionGroupName: string, enableRequest: EnableRequest, options?: ActionGroupsEnableReceiverOptionalParams): Promise<void>;
147
232
  }
148
233
 
234
+ /** Defines headers for ActionGroups_createNotificationsAtActionGroupResourceLevel operation. */
235
+ export declare interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders {
236
+ /** The location header that has the polling uri. */
237
+ location?: string;
238
+ }
239
+
240
+ /** Optional parameters. */
241
+ export declare interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
242
+ /** Delay to wait until next poll, in milliseconds. */
243
+ updateIntervalInMs?: number;
244
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
245
+ resumeFrom?: string;
246
+ }
247
+
248
+ /** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
249
+ export declare type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
250
+
251
+ /** Defines headers for ActionGroups_createNotificationsAtResourceGroupLevel operation. */
252
+ export declare interface ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders {
253
+ /** The location header that has the polling uri. */
254
+ location?: string;
255
+ }
256
+
257
+ /** Optional parameters. */
258
+ export declare interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
259
+ /** Delay to wait until next poll, in milliseconds. */
260
+ updateIntervalInMs?: number;
261
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
262
+ resumeFrom?: string;
263
+ }
264
+
265
+ /** Contains response data for the createNotificationsAtResourceGroupLevel operation. */
266
+ export declare type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
267
+
149
268
  /** Optional parameters. */
150
269
  export declare interface ActionGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
151
270
  }
@@ -168,6 +287,20 @@ export declare interface ActionGroupsGetOptionalParams extends coreClient.Operat
168
287
  /** Contains response data for the get operation. */
169
288
  export declare type ActionGroupsGetResponse = ActionGroupResource;
170
289
 
290
+ /** Optional parameters. */
291
+ export declare interface ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
292
+ }
293
+
294
+ /** Contains response data for the getTestNotificationsAtActionGroupResourceLevel operation. */
295
+ export declare type ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
296
+
297
+ /** Optional parameters. */
298
+ export declare interface ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
299
+ }
300
+
301
+ /** Contains response data for the getTestNotificationsAtResourceGroupLevel operation. */
302
+ export declare type ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
303
+
171
304
  /** Optional parameters. */
172
305
  export declare interface ActionGroupsGetTestNotificationsOptionalParams extends coreClient.OperationOptions {
173
306
  }
@@ -189,6 +322,12 @@ export declare interface ActionGroupsListBySubscriptionIdOptionalParams extends
189
322
  /** Contains response data for the listBySubscriptionId operation. */
190
323
  export declare type ActionGroupsListBySubscriptionIdResponse = ActionGroupList;
191
324
 
325
+ /** Defines headers for ActionGroups_postTestNotifications operation. */
326
+ export declare interface ActionGroupsPostTestNotificationsHeaders {
327
+ /** The location header that has the polling uri. */
328
+ location?: string;
329
+ }
330
+
192
331
  /** Optional parameters. */
193
332
  export declare interface ActionGroupsPostTestNotificationsOptionalParams extends coreClient.OperationOptions {
194
333
  /** Delay to wait until next poll, in milliseconds. */
@@ -198,7 +337,7 @@ export declare interface ActionGroupsPostTestNotificationsOptionalParams extends
198
337
  }
199
338
 
200
339
  /** Contains response data for the postTestNotifications operation. */
201
- export declare type ActionGroupsPostTestNotificationsResponse = TestNotificationResponse;
340
+ export declare type ActionGroupsPostTestNotificationsResponse = TestNotificationDetailsResponse;
202
341
 
203
342
  /** Optional parameters. */
204
343
  export declare interface ActionGroupsUpdateOptionalParams extends coreClient.OperationOptions {
@@ -207,114 +346,73 @@ export declare interface ActionGroupsUpdateOptionalParams extends coreClient.Ope
207
346
  /** Contains response data for the update operation. */
208
347
  export declare type ActionGroupsUpdateResponse = ActionGroupResource;
209
348
 
210
- export declare type ActionUnion = Action | AlertingAction | LogToMetricAction;
211
-
212
- /** A pointer to an Azure Action Group. */
213
- export declare interface ActivityLogAlertActionGroup {
214
- /** The resourceId of the action group. This cannot be null or empty. */
215
- actionGroupId: string;
216
- /** the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. */
217
- webhookProperties?: {
218
- [propertyName: string]: string;
219
- };
220
- }
221
-
222
- /** A list of activity log alert actions. */
223
- export declare interface ActivityLogAlertActionList {
224
- /** The list of activity log alerts. */
225
- actionGroups?: ActivityLogAlertActionGroup[];
349
+ /** A list of Activity Log Alert rule actions. */
350
+ export declare interface ActionList {
351
+ /** The list of the Action Groups. */
352
+ actionGroups?: ActionGroup[];
226
353
  }
227
354
 
228
- /** An Activity Log alert condition that is met when all its member conditions are met. */
229
- export declare interface ActivityLogAlertAllOfCondition {
230
- /** The list of activity log alert conditions. */
231
- allOf: ActivityLogAlertLeafCondition[];
232
- }
233
-
234
- /** An Activity Log alert condition that is met by comparing an activity log field and value. */
235
- export declare interface ActivityLogAlertLeafCondition {
236
- /** The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'. */
237
- field: string;
238
- /** The field value will be compared to this value (case-insensitive) to determine if the condition is met. */
239
- equals: string;
240
- }
241
-
242
- /** A list of activity log alerts. */
243
- export declare interface ActivityLogAlertList {
244
- /** The list of activity log alerts. */
245
- value?: ActivityLogAlertResource[];
246
- /** Provides the link to retrieve the next set of elements. */
247
- nextLink?: string;
248
- }
249
-
250
- /** An activity log alert object for the body of patch operations. */
251
- export declare interface ActivityLogAlertPatchBody {
252
- /** Resource tags */
253
- tags?: {
254
- [propertyName: string]: string;
255
- };
256
- /** Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. */
257
- enabled?: boolean;
258
- }
355
+ export declare type ActionUnion = Action | AlertingAction | LogToMetricAction;
259
356
 
260
- /** An activity log alert resource. */
261
- export declare type ActivityLogAlertResource = Resource & {
262
- /** A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item. */
357
+ /** An Activity Log Alert rule resource. */
358
+ export declare interface ActivityLogAlertResource extends AzureResourceAutoGenerated {
359
+ /** A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item. */
263
360
  scopes?: string[];
264
- /** Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. */
265
- enabled?: boolean;
266
361
  /** The condition that will cause this alert to activate. */
267
- condition?: ActivityLogAlertAllOfCondition;
362
+ condition?: AlertRuleAllOfCondition;
268
363
  /** The actions that will activate when the condition is met. */
269
- actions?: ActivityLogAlertActionList;
270
- /** A description of this activity log alert. */
364
+ actions?: ActionList;
365
+ /** Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated. */
366
+ enabled?: boolean;
367
+ /** A description of this Activity Log Alert rule. */
271
368
  description?: string;
272
- };
369
+ }
273
370
 
274
371
  /** Interface representing a ActivityLogAlerts. */
275
372
  export declare interface ActivityLogAlerts {
276
373
  /**
277
- * Get a list of all activity log alerts in a subscription.
374
+ * Get a list of all Activity Log Alert rules in a subscription.
278
375
  * @param options The options parameters.
279
376
  */
280
377
  listBySubscriptionId(options?: ActivityLogAlertsListBySubscriptionIdOptionalParams): PagedAsyncIterableIterator<ActivityLogAlertResource>;
281
378
  /**
282
- * Get a list of all activity log alerts in a resource group.
379
+ * Get a list of all Activity Log Alert rules in a resource group.
283
380
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
284
381
  * @param options The options parameters.
285
382
  */
286
383
  listByResourceGroup(resourceGroupName: string, options?: ActivityLogAlertsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ActivityLogAlertResource>;
287
384
  /**
288
- * Create a new activity log alert or update an existing one.
385
+ * Create a new Activity Log Alert rule or update an existing one.
289
386
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
290
- * @param activityLogAlertName The name of the activity log alert.
291
- * @param activityLogAlert The activity log alert to create or use for the update.
387
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
388
+ * @param activityLogAlertRule The Activity Log Alert rule to create or use for the update.
292
389
  * @param options The options parameters.
293
390
  */
294
- createOrUpdate(resourceGroupName: string, activityLogAlertName: string, activityLogAlert: ActivityLogAlertResource, options?: ActivityLogAlertsCreateOrUpdateOptionalParams): Promise<ActivityLogAlertsCreateOrUpdateResponse>;
391
+ createOrUpdate(resourceGroupName: string, activityLogAlertName: string, activityLogAlertRule: ActivityLogAlertResource, options?: ActivityLogAlertsCreateOrUpdateOptionalParams): Promise<ActivityLogAlertsCreateOrUpdateResponse>;
295
392
  /**
296
- * Get an activity log alert.
393
+ * Get an Activity Log Alert rule.
297
394
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
298
- * @param activityLogAlertName The name of the activity log alert.
395
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
299
396
  * @param options The options parameters.
300
397
  */
301
398
  get(resourceGroupName: string, activityLogAlertName: string, options?: ActivityLogAlertsGetOptionalParams): Promise<ActivityLogAlertsGetResponse>;
302
399
  /**
303
- * Delete an activity log alert.
400
+ * Delete an Activity Log Alert rule.
304
401
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
305
- * @param activityLogAlertName The name of the activity log alert.
402
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
306
403
  * @param options The options parameters.
307
404
  */
308
405
  delete(resourceGroupName: string, activityLogAlertName: string, options?: ActivityLogAlertsDeleteOptionalParams): Promise<void>;
309
406
  /**
310
- * Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate
311
- * method.
407
+ * Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the
408
+ * Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate
409
+ * operation.
312
410
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
313
- * @param activityLogAlertName The name of the activity log alert.
314
- * @param activityLogAlertPatch Parameters supplied to the operation.
411
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
412
+ * @param activityLogAlertRulePatch Parameters supplied to the operation.
315
413
  * @param options The options parameters.
316
414
  */
317
- update(resourceGroupName: string, activityLogAlertName: string, activityLogAlertPatch: ActivityLogAlertPatchBody, options?: ActivityLogAlertsUpdateOptionalParams): Promise<ActivityLogAlertsUpdateResponse>;
415
+ update(resourceGroupName: string, activityLogAlertName: string, activityLogAlertRulePatch: AlertRulePatchObject, options?: ActivityLogAlertsUpdateOptionalParams): Promise<ActivityLogAlertsUpdateResponse>;
318
416
  }
319
417
 
320
418
  /** Optional parameters. */
@@ -335,19 +433,33 @@ export declare interface ActivityLogAlertsGetOptionalParams extends coreClient.O
335
433
  /** Contains response data for the get operation. */
336
434
  export declare type ActivityLogAlertsGetResponse = ActivityLogAlertResource;
337
435
 
436
+ /** Optional parameters. */
437
+ export declare interface ActivityLogAlertsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
438
+ }
439
+
440
+ /** Contains response data for the listByResourceGroupNext operation. */
441
+ export declare type ActivityLogAlertsListByResourceGroupNextResponse = AlertRuleList;
442
+
338
443
  /** Optional parameters. */
339
444
  export declare interface ActivityLogAlertsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
340
445
  }
341
446
 
342
447
  /** Contains response data for the listByResourceGroup operation. */
343
- export declare type ActivityLogAlertsListByResourceGroupResponse = ActivityLogAlertList;
448
+ export declare type ActivityLogAlertsListByResourceGroupResponse = AlertRuleList;
449
+
450
+ /** Optional parameters. */
451
+ export declare interface ActivityLogAlertsListBySubscriptionIdNextOptionalParams extends coreClient.OperationOptions {
452
+ }
453
+
454
+ /** Contains response data for the listBySubscriptionIdNext operation. */
455
+ export declare type ActivityLogAlertsListBySubscriptionIdNextResponse = AlertRuleList;
344
456
 
345
457
  /** Optional parameters. */
346
458
  export declare interface ActivityLogAlertsListBySubscriptionIdOptionalParams extends coreClient.OperationOptions {
347
459
  }
348
460
 
349
461
  /** Contains response data for the listBySubscriptionId operation. */
350
- export declare type ActivityLogAlertsListBySubscriptionIdResponse = ActivityLogAlertList;
462
+ export declare type ActivityLogAlertsListBySubscriptionIdResponse = AlertRuleList;
351
463
 
352
464
  /** Optional parameters. */
353
465
  export declare interface ActivityLogAlertsUpdateOptionalParams extends coreClient.OperationOptions {
@@ -413,7 +525,7 @@ export declare type AggregationType = "None" | "Average" | "Count" | "Minimum" |
413
525
  export declare type AggregationTypeEnum = string;
414
526
 
415
527
  /** Specify action need to be taken when rule type is Alert */
416
- export declare type AlertingAction = Action & {
528
+ export declare interface AlertingAction extends Action {
417
529
  /** Polymorphic discriminator, which specifies the different types this object can be */
418
530
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
419
531
  /** Severity of the alert */
@@ -424,7 +536,28 @@ export declare type AlertingAction = Action & {
424
536
  throttlingInMin?: number;
425
537
  /** The trigger condition that results in the alert rule being. */
426
538
  trigger: TriggerCondition;
427
- };
539
+ }
540
+
541
+ /** An Activity Log Alert rule condition that is met when all its member conditions are met. */
542
+ export declare interface AlertRuleAllOfCondition {
543
+ /** The list of Activity Log Alert rule conditions. */
544
+ allOf: AlertRuleAnyOfOrLeafCondition[];
545
+ }
546
+
547
+ /**
548
+ * An Activity Log Alert rule condition that is met when all its member conditions are met.
549
+ * Each condition can be of one of the following types:
550
+ * __Important__: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition.
551
+ * * __Leaf Condition -__ must contain 'field' and either 'equals' or 'containsAny'.
552
+ * _Please note, 'anyOf' should __not__ be set in a Leaf Condition._
553
+ * * __AnyOf Condition -__ must contain __only__ 'anyOf' (which is an array of Leaf Conditions).
554
+ * _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._
555
+ *
556
+ */
557
+ export declare interface AlertRuleAnyOfOrLeafCondition extends AlertRuleLeafCondition {
558
+ /** An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met. */
559
+ anyOf?: AlertRuleLeafCondition[];
560
+ }
428
561
 
429
562
  /** Interface representing a AlertRuleIncidents. */
430
563
  export declare interface AlertRuleIncidents {
@@ -459,8 +592,42 @@ export declare interface AlertRuleIncidentsListByAlertRuleOptionalParams extends
459
592
  /** Contains response data for the listByAlertRule operation. */
460
593
  export declare type AlertRuleIncidentsListByAlertRuleResponse = IncidentListResult;
461
594
 
595
+ /**
596
+ * An Activity Log Alert rule condition that is met by comparing the field and value of an Activity Log event.
597
+ * This condition must contain 'field' and either 'equals' or 'containsAny'.
598
+ */
599
+ export declare interface AlertRuleLeafCondition {
600
+ /**
601
+ * The name of the Activity Log event's field that this condition will examine.
602
+ * The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
603
+ */
604
+ field?: string;
605
+ /** The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met. */
606
+ equals?: string;
607
+ /** The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met. */
608
+ containsAny?: string[];
609
+ }
610
+
611
+ /** A list of Activity Log Alert rules. */
612
+ export declare interface AlertRuleList {
613
+ /** The list of Activity Log Alert rules. */
614
+ value?: ActivityLogAlertResource[];
615
+ /** Provides the link to retrieve the next set of elements. */
616
+ nextLink?: string;
617
+ }
618
+
619
+ /** An Activity Log Alert rule object for the body of patch operations. */
620
+ export declare interface AlertRulePatchObject {
621
+ /** The resource tags */
622
+ tags?: {
623
+ [propertyName: string]: string;
624
+ };
625
+ /** Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated. */
626
+ enabled?: boolean;
627
+ }
628
+
462
629
  /** The alert rule resource. */
463
- export declare type AlertRuleResource = Resource & {
630
+ export declare interface AlertRuleResource extends ResourceAutoGenerated {
464
631
  /** the name of the alert rule. */
465
632
  namePropertiesName: string;
466
633
  /** the description of the alert rule that will be included in the alert email. */
@@ -480,7 +647,7 @@ export declare type AlertRuleResource = Resource & {
480
647
  * NOTE: This property will not be serialized. It can only be populated by the server.
481
648
  */
482
649
  readonly lastUpdatedTime?: Date;
483
- };
650
+ }
484
651
 
485
652
  /** Represents a collection of alert rule resources. */
486
653
  export declare interface AlertRuleResourceCollection {
@@ -641,6 +808,29 @@ export declare interface AutomationRunbookReceiver {
641
808
  useCommonAlertSchema?: boolean;
642
809
  }
643
810
 
811
+ /** Describes the format of Error response. */
812
+ export declare interface AutoscaleErrorResponse {
813
+ /** The error object. */
814
+ error?: AutoscaleErrorResponseError;
815
+ /**
816
+ * The system metadata related to the response.
817
+ * NOTE: This property will not be serialized. It can only be populated by the server.
818
+ */
819
+ readonly systemData?: SystemData;
820
+ }
821
+
822
+ /** The error object. */
823
+ export declare interface AutoscaleErrorResponseError {
824
+ /** One of a server-defined set of error codes. */
825
+ code?: string;
826
+ /** A human-readable representation of the error. */
827
+ message?: string;
828
+ /** The target of the particular error. */
829
+ target?: string;
830
+ /** A human-readable representation of the error's details. */
831
+ details?: string;
832
+ }
833
+
644
834
  /** Autoscale notification. */
645
835
  export declare interface AutoscaleNotification {
646
836
  /** the operation associated with the notification and its value must be "scale" */
@@ -666,20 +856,22 @@ export declare interface AutoscaleProfile {
666
856
  }
667
857
 
668
858
  /** The autoscale setting resource. */
669
- export declare type AutoscaleSettingResource = Resource & {
859
+ export declare interface AutoscaleSettingResource extends Resource {
670
860
  /** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
671
861
  profiles: AutoscaleProfile[];
672
862
  /** the collection of notifications. */
673
863
  notifications?: AutoscaleNotification[];
674
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
864
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
675
865
  enabled?: boolean;
866
+ /** the predictive autoscale policy mode. */
867
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
676
868
  /** the name of the autoscale setting. */
677
869
  namePropertiesName?: string;
678
870
  /** the resource identifier of the resource that the autoscale setting should be added to. */
679
871
  targetResourceUri?: string;
680
872
  /** the location of the resource that the autoscale setting should be added to. */
681
873
  targetResourceLocation?: string;
682
- };
874
+ }
683
875
 
684
876
  /** Represents a collection of autoscale setting resources. */
685
877
  export declare interface AutoscaleSettingResourceCollection {
@@ -699,8 +891,10 @@ export declare interface AutoscaleSettingResourcePatch {
699
891
  profiles?: AutoscaleProfile[];
700
892
  /** the collection of notifications. */
701
893
  notifications?: AutoscaleNotification[];
702
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
894
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
703
895
  enabled?: boolean;
896
+ /** the predictive autoscale policy mode. */
897
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
704
898
  /** the name of the autoscale setting. */
705
899
  name?: string;
706
900
  /** the resource identifier of the resource that the autoscale setting should be added to. */
@@ -849,7 +1043,12 @@ export declare interface AzureMonitorMetricsDestination {
849
1043
  }
850
1044
 
851
1045
  /** An Azure Monitor PrivateLinkScope definition. */
852
- export declare type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & {
1046
+ export declare interface AzureMonitorPrivateLinkScope extends TrackedResource {
1047
+ /**
1048
+ * System data
1049
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1050
+ */
1051
+ readonly systemData?: SystemData;
853
1052
  /**
854
1053
  * Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.
855
1054
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -860,7 +1059,9 @@ export declare type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & {
860
1059
  * NOTE: This property will not be serialized. It can only be populated by the server.
861
1060
  */
862
1061
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
863
- };
1062
+ /** Access mode settings */
1063
+ accessModeSettings: AccessModeSettings;
1064
+ }
864
1065
 
865
1066
  /** Describes the list of Azure Monitor PrivateLinkScope resources. */
866
1067
  export declare interface AzureMonitorPrivateLinkScopeListResult {
@@ -887,19 +1088,34 @@ export declare interface AzureResource {
887
1088
  * NOTE: This property will not be serialized. It can only be populated by the server.
888
1089
  */
889
1090
  readonly type?: string;
1091
+ /** Resource location */
1092
+ location: string;
1093
+ /** Resource tags */
1094
+ tags?: {
1095
+ [propertyName: string]: string;
1096
+ };
1097
+ }
1098
+
1099
+ /** An Azure resource object. */
1100
+ export declare interface AzureResourceAutoGenerated {
890
1101
  /**
891
- * Azure resource kind
1102
+ * The resource Id.
892
1103
  * NOTE: This property will not be serialized. It can only be populated by the server.
893
1104
  */
894
- readonly kind?: string;
1105
+ readonly id?: string;
895
1106
  /**
896
- * Azure resource identity
1107
+ * The name of the resource.
897
1108
  * NOTE: This property will not be serialized. It can only be populated by the server.
898
1109
  */
899
- readonly identity?: string;
900
- /** Resource location */
901
- location: string;
902
- /** Resource tags */
1110
+ readonly name?: string;
1111
+ /**
1112
+ * The type of the resource.
1113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1114
+ */
1115
+ readonly type?: string;
1116
+ /** The location of the resource. Since Azure Activity Log Alerts is a global service, the location of the rules should always be 'global'. */
1117
+ location?: string;
1118
+ /** The tags of the resource. */
903
1119
  tags?: {
904
1120
  [propertyName: string]: string;
905
1121
  };
@@ -957,8 +1173,23 @@ export declare interface BaselinesListOptionalParams extends coreClient.Operatio
957
1173
  /** Contains response data for the list operation. */
958
1174
  export declare type BaselinesListResponse = MetricBaselinesResponse;
959
1175
 
960
- /** Defines values for CategoryType. */
961
- export declare type CategoryType = "Metrics" | "Logs";
1176
+ /**
1177
+ * Defines values for CategoryType. \
1178
+ * {@link KnownCategoryType} can be used interchangeably with CategoryType,
1179
+ * this enum contains the known values that the service supports.
1180
+ * ### Known values supported by the service
1181
+ * **Metrics** \
1182
+ * **Logs**
1183
+ */
1184
+ export declare type CategoryType = string;
1185
+
1186
+ /** Definition of custom data column. */
1187
+ export declare interface ColumnDefinition {
1188
+ /** The name of the column. */
1189
+ name?: string;
1190
+ /** The type of the column data. */
1191
+ type?: KnownColumnDefinitionType;
1192
+ }
962
1193
 
963
1194
  /** Defines values for ComparisonOperationType. */
964
1195
  export declare type ComparisonOperationType = "Equals" | "NotEquals" | "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual";
@@ -1032,7 +1263,7 @@ export declare interface DataCollectionEndpoint {
1032
1263
  description?: string;
1033
1264
  /** The immutable ID of this data collection endpoint resource. This property is READ-ONLY. */
1034
1265
  immutableId?: string;
1035
- /** The endpoint used by agents to access their configuration. */
1266
+ /** The endpoint used by clients to access their configuration. */
1036
1267
  configurationAccess?: DataCollectionEndpointConfigurationAccess;
1037
1268
  /** The endpoint used by clients to ingest logs. */
1038
1269
  logsIngestion?: DataCollectionEndpointLogsIngestion;
@@ -1045,14 +1276,17 @@ export declare interface DataCollectionEndpoint {
1045
1276
  readonly provisioningState?: KnownDataCollectionEndpointProvisioningState;
1046
1277
  }
1047
1278
 
1048
- /** The endpoint used by agents to access their configuration. */
1049
- export declare type DataCollectionEndpointConfigurationAccess = ConfigurationAccessEndpointSpec & {};
1279
+ /** The endpoint used by clients to access their configuration. */
1280
+ export declare interface DataCollectionEndpointConfigurationAccess extends ConfigurationAccessEndpointSpec {
1281
+ }
1050
1282
 
1051
1283
  /** The endpoint used by clients to ingest logs. */
1052
- export declare type DataCollectionEndpointLogsIngestion = LogsIngestionEndpointSpec & {};
1284
+ export declare interface DataCollectionEndpointLogsIngestion extends LogsIngestionEndpointSpec {
1285
+ }
1053
1286
 
1054
1287
  /** Network access control rules for the endpoints. */
1055
- export declare type DataCollectionEndpointNetworkAcls = NetworkRuleSet & {};
1288
+ export declare interface DataCollectionEndpointNetworkAcls extends NetworkRuleSet {
1289
+ }
1056
1290
 
1057
1291
  /** Definition of ARM tracked top level resource. */
1058
1292
  export declare interface DataCollectionEndpointResource {
@@ -1093,7 +1327,7 @@ export declare interface DataCollectionEndpointResource {
1093
1327
  description?: string;
1094
1328
  /** The immutable ID of this data collection endpoint resource. This property is READ-ONLY. */
1095
1329
  immutableId?: string;
1096
- /** The endpoint used by agents to access their configuration. */
1330
+ /** The endpoint used by clients to access their configuration. */
1097
1331
  configurationAccess?: DataCollectionEndpointConfigurationAccess;
1098
1332
  /** The endpoint used by clients to ingest logs. */
1099
1333
  logsIngestion?: DataCollectionEndpointLogsIngestion;
@@ -1115,10 +1349,12 @@ export declare interface DataCollectionEndpointResourceListResult {
1115
1349
  }
1116
1350
 
1117
1351
  /** Resource properties. */
1118
- export declare type DataCollectionEndpointResourceProperties = DataCollectionEndpoint & {};
1352
+ export declare interface DataCollectionEndpointResourceProperties extends DataCollectionEndpoint {
1353
+ }
1119
1354
 
1120
1355
  /** Metadata pertaining to creation and last modification of the resource. */
1121
- export declare type DataCollectionEndpointResourceSystemData = SystemData & {};
1356
+ export declare interface DataCollectionEndpointResourceSystemData extends SystemData {
1357
+ }
1122
1358
 
1123
1359
  /** Interface representing a DataCollectionEndpoints. */
1124
1360
  export declare interface DataCollectionEndpoints {
@@ -1233,6 +1469,17 @@ export declare interface DataCollectionRule {
1233
1469
  * NOTE: This property will not be serialized. It can only be populated by the server.
1234
1470
  */
1235
1471
  readonly immutableId?: string;
1472
+ /** The resource ID of the data collection endpoint that this rule can be used with. */
1473
+ dataCollectionEndpointId?: string;
1474
+ /**
1475
+ * Metadata about the resource
1476
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1477
+ */
1478
+ readonly metadata?: DataCollectionRuleMetadata;
1479
+ /** Declaration of custom streams used in this rule. */
1480
+ streamDeclarations?: {
1481
+ [propertyName: string]: StreamDeclaration;
1482
+ };
1236
1483
  /**
1237
1484
  * The specification of data sources.
1238
1485
  * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
@@ -1262,6 +1509,15 @@ export declare interface DataCollectionRuleAssociation {
1262
1509
  * NOTE: This property will not be serialized. It can only be populated by the server.
1263
1510
  */
1264
1511
  readonly provisioningState?: KnownDataCollectionRuleAssociationProvisioningState;
1512
+ /**
1513
+ * Metadata about the resource
1514
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1515
+ */
1516
+ readonly metadata?: DataCollectionRuleAssociationMetadata;
1517
+ }
1518
+
1519
+ /** Metadata about the resource */
1520
+ export declare interface DataCollectionRuleAssociationMetadata extends Metadata {
1265
1521
  }
1266
1522
 
1267
1523
  /** Definition of generic ARM proxy resource. */
@@ -1302,6 +1558,11 @@ export declare interface DataCollectionRuleAssociationProxyOnlyResource {
1302
1558
  * NOTE: This property will not be serialized. It can only be populated by the server.
1303
1559
  */
1304
1560
  readonly provisioningState?: KnownDataCollectionRuleAssociationProvisioningState;
1561
+ /**
1562
+ * Metadata about the resource
1563
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1564
+ */
1565
+ readonly metadata?: DataCollectionRuleAssociationMetadata;
1305
1566
  }
1306
1567
 
1307
1568
  /** A pageable list of resources. */
@@ -1313,10 +1574,12 @@ export declare interface DataCollectionRuleAssociationProxyOnlyResourceListResul
1313
1574
  }
1314
1575
 
1315
1576
  /** Resource properties. */
1316
- export declare type DataCollectionRuleAssociationProxyOnlyResourceProperties = DataCollectionRuleAssociation & {};
1577
+ export declare interface DataCollectionRuleAssociationProxyOnlyResourceProperties extends DataCollectionRuleAssociation {
1578
+ }
1317
1579
 
1318
1580
  /** Metadata pertaining to creation and last modification of the resource. */
1319
- export declare type DataCollectionRuleAssociationProxyOnlyResourceSystemData = SystemData & {};
1581
+ export declare interface DataCollectionRuleAssociationProxyOnlyResourceSystemData extends SystemData {
1582
+ }
1320
1583
 
1321
1584
  /** Interface representing a DataCollectionRuleAssociations. */
1322
1585
  export declare interface DataCollectionRuleAssociations {
@@ -1333,6 +1596,14 @@ export declare interface DataCollectionRuleAssociations {
1333
1596
  * @param options The options parameters.
1334
1597
  */
1335
1598
  listByRule(resourceGroupName: string, dataCollectionRuleName: string, options?: DataCollectionRuleAssociationsListByRuleOptionalParams): PagedAsyncIterableIterator<DataCollectionRuleAssociationProxyOnlyResource>;
1599
+ /**
1600
+ * Lists associations for the specified data collection endpoint.
1601
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1602
+ * @param dataCollectionEndpointName The name of the data collection endpoint. The name is case
1603
+ * insensitive.
1604
+ * @param options The options parameters.
1605
+ */
1606
+ listByDataCollectionEndpoint(resourceGroupName: string, dataCollectionEndpointName: string, options?: DataCollectionRuleAssociationsListByDataCollectionEndpointOptionalParams): PagedAsyncIterableIterator<DataCollectionRuleAssociationProxyOnlyResource>;
1336
1607
  /**
1337
1608
  * Returns the specified association.
1338
1609
  * @param resourceUri The identifier of the resource.
@@ -1376,6 +1647,20 @@ export declare interface DataCollectionRuleAssociationsGetOptionalParams extends
1376
1647
  /** Contains response data for the get operation. */
1377
1648
  export declare type DataCollectionRuleAssociationsGetResponse = DataCollectionRuleAssociationProxyOnlyResource;
1378
1649
 
1650
+ /** Optional parameters. */
1651
+ export declare interface DataCollectionRuleAssociationsListByDataCollectionEndpointNextOptionalParams extends coreClient.OperationOptions {
1652
+ }
1653
+
1654
+ /** Contains response data for the listByDataCollectionEndpointNext operation. */
1655
+ export declare type DataCollectionRuleAssociationsListByDataCollectionEndpointNextResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
1656
+
1657
+ /** Optional parameters. */
1658
+ export declare interface DataCollectionRuleAssociationsListByDataCollectionEndpointOptionalParams extends coreClient.OperationOptions {
1659
+ }
1660
+
1661
+ /** Contains response data for the listByDataCollectionEndpoint operation. */
1662
+ export declare type DataCollectionRuleAssociationsListByDataCollectionEndpointResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
1663
+
1379
1664
  /** Optional parameters. */
1380
1665
  export declare interface DataCollectionRuleAssociationsListByResourceNextOptionalParams extends coreClient.OperationOptions {
1381
1666
  }
@@ -1408,10 +1693,16 @@ export declare type DataCollectionRuleAssociationsListByRuleResponse = DataColle
1408
1693
  * The specification of data sources.
1409
1694
  * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
1410
1695
  */
1411
- export declare type DataCollectionRuleDataSources = DataSourcesSpec & {};
1696
+ export declare interface DataCollectionRuleDataSources extends DataSourcesSpec {
1697
+ }
1412
1698
 
1413
1699
  /** The specification of destinations. */
1414
- export declare type DataCollectionRuleDestinations = DestinationsSpec & {};
1700
+ export declare interface DataCollectionRuleDestinations extends DestinationsSpec {
1701
+ }
1702
+
1703
+ /** Metadata about the resource */
1704
+ export declare interface DataCollectionRuleMetadata extends Metadata {
1705
+ }
1415
1706
 
1416
1707
  /** Definition of ARM tracked top level resource. */
1417
1708
  export declare interface DataCollectionRuleResource {
@@ -1455,6 +1746,17 @@ export declare interface DataCollectionRuleResource {
1455
1746
  * NOTE: This property will not be serialized. It can only be populated by the server.
1456
1747
  */
1457
1748
  readonly immutableId?: string;
1749
+ /** The resource ID of the data collection endpoint that this rule can be used with. */
1750
+ dataCollectionEndpointId?: string;
1751
+ /**
1752
+ * Metadata about the resource
1753
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1754
+ */
1755
+ readonly metadata?: DataCollectionRuleMetadata;
1756
+ /** Declaration of custom streams used in this rule. */
1757
+ streamDeclarations?: {
1758
+ [propertyName: string]: StreamDeclaration;
1759
+ };
1458
1760
  /**
1459
1761
  * The specification of data sources.
1460
1762
  * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
@@ -1480,10 +1782,12 @@ export declare interface DataCollectionRuleResourceListResult {
1480
1782
  }
1481
1783
 
1482
1784
  /** Resource properties. */
1483
- export declare type DataCollectionRuleResourceProperties = DataCollectionRule & {};
1785
+ export declare interface DataCollectionRuleResourceProperties extends DataCollectionRule {
1786
+ }
1484
1787
 
1485
1788
  /** Metadata pertaining to creation and last modification of the resource. */
1486
- export declare type DataCollectionRuleResourceSystemData = SystemData & {};
1789
+ export declare interface DataCollectionRuleResourceSystemData extends SystemData {
1790
+ }
1487
1791
 
1488
1792
  /** Interface representing a DataCollectionRules. */
1489
1793
  export declare interface DataCollectionRules {
@@ -1597,6 +1901,10 @@ export declare interface DataFlow {
1597
1901
  streams?: KnownDataFlowStreams[];
1598
1902
  /** List of destinations for this data flow. */
1599
1903
  destinations?: string[];
1904
+ /** The KQL query to transform stream data. */
1905
+ transformKql?: string;
1906
+ /** The output stream of the transform. Only required if the transform changes data to a different stream. */
1907
+ outputStream?: string;
1600
1908
  }
1601
1909
 
1602
1910
  /** Specification of data sources that will be collected. */
@@ -1609,6 +1917,10 @@ export declare interface DataSourcesSpec {
1609
1917
  syslog?: SyslogDataSource[];
1610
1918
  /** The list of Azure VM extension data source configurations. */
1611
1919
  extensions?: ExtensionDataSource[];
1920
+ /** The list of Log files source configurations. */
1921
+ logFiles?: LogFilesDataSource[];
1922
+ /** The list of IIS logs source configurations. */
1923
+ iisLogs?: IisLogsDataSource[];
1612
1924
  }
1613
1925
 
1614
1926
  /**
@@ -1621,6 +1933,12 @@ export declare interface DataSourcesSpec {
1621
1933
  */
1622
1934
  export declare type DataStatus = string;
1623
1935
 
1936
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1937
+ export declare interface DefaultErrorResponse {
1938
+ /** The error object. */
1939
+ error?: ErrorDetail;
1940
+ }
1941
+
1624
1942
  /** Specification of destinations that can be used in data flows. */
1625
1943
  export declare interface DestinationsSpec {
1626
1944
  /** List of Log Analytics destinations. */
@@ -1630,10 +1948,17 @@ export declare interface DestinationsSpec {
1630
1948
  }
1631
1949
 
1632
1950
  /** Azure Monitor Metrics destination. */
1633
- export declare type DestinationsSpecAzureMonitorMetrics = AzureMonitorMetricsDestination & {};
1951
+ export declare interface DestinationsSpecAzureMonitorMetrics extends AzureMonitorMetricsDestination {
1952
+ }
1634
1953
 
1635
1954
  /** Interface representing a DiagnosticSettings. */
1636
1955
  export declare interface DiagnosticSettings {
1956
+ /**
1957
+ * Gets the active diagnostic settings list for the specified resource.
1958
+ * @param resourceUri The identifier of the resource.
1959
+ * @param options The options parameters.
1960
+ */
1961
+ list(resourceUri: string, options?: DiagnosticSettingsListOptionalParams): PagedAsyncIterableIterator<DiagnosticSettingsResource>;
1637
1962
  /**
1638
1963
  * Gets the active diagnostic settings for the specified resource.
1639
1964
  * @param resourceUri The identifier of the resource.
@@ -1656,29 +1981,23 @@ export declare interface DiagnosticSettings {
1656
1981
  * @param options The options parameters.
1657
1982
  */
1658
1983
  delete(resourceUri: string, name: string, options?: DiagnosticSettingsDeleteOptionalParams): Promise<void>;
1659
- /**
1660
- * Gets the active diagnostic settings list for the specified resource.
1661
- * @param resourceUri The identifier of the resource.
1662
- * @param options The options parameters.
1663
- */
1664
- list(resourceUri: string, options?: DiagnosticSettingsListOptionalParams): Promise<DiagnosticSettingsListResponse>;
1665
1984
  }
1666
1985
 
1667
1986
  /** Interface representing a DiagnosticSettingsCategory. */
1668
1987
  export declare interface DiagnosticSettingsCategory {
1669
1988
  /**
1670
- * Gets the diagnostic settings category for the specified resource.
1989
+ * Lists the diagnostic settings categories for the specified resource.
1671
1990
  * @param resourceUri The identifier of the resource.
1672
- * @param name The name of the diagnostic setting.
1673
1991
  * @param options The options parameters.
1674
1992
  */
1675
- get(resourceUri: string, name: string, options?: DiagnosticSettingsCategoryGetOptionalParams): Promise<DiagnosticSettingsCategoryGetResponse>;
1993
+ list(resourceUri: string, options?: DiagnosticSettingsCategoryListOptionalParams): PagedAsyncIterableIterator<DiagnosticSettingsCategoryResource>;
1676
1994
  /**
1677
- * Lists the diagnostic settings categories for the specified resource.
1995
+ * Gets the diagnostic settings category for the specified resource.
1678
1996
  * @param resourceUri The identifier of the resource.
1997
+ * @param name The name of the diagnostic setting.
1679
1998
  * @param options The options parameters.
1680
1999
  */
1681
- list(resourceUri: string, options?: DiagnosticSettingsCategoryListOptionalParams): Promise<DiagnosticSettingsCategoryListResponse>;
2000
+ get(resourceUri: string, name: string, options?: DiagnosticSettingsCategoryGetOptionalParams): Promise<DiagnosticSettingsCategoryGetResponse>;
1682
2001
  }
1683
2002
 
1684
2003
  /** Optional parameters. */
@@ -1696,10 +2015,17 @@ export declare interface DiagnosticSettingsCategoryListOptionalParams extends co
1696
2015
  export declare type DiagnosticSettingsCategoryListResponse = DiagnosticSettingsCategoryResourceCollection;
1697
2016
 
1698
2017
  /** The diagnostic settings category resource. */
1699
- export declare type DiagnosticSettingsCategoryResource = ProxyOnlyResource & {
2018
+ export declare interface DiagnosticSettingsCategoryResource extends ResourceAutoGenerated3 {
2019
+ /**
2020
+ * The system metadata related to this resource.
2021
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2022
+ */
2023
+ readonly systemData?: SystemData;
1700
2024
  /** The type of the diagnostic settings category. */
1701
2025
  categoryType?: CategoryType;
1702
- };
2026
+ /** the collection of what category groups are supported. */
2027
+ categoryGroups?: string[];
2028
+ }
1703
2029
 
1704
2030
  /** Represents a collection of diagnostic setting category resources. */
1705
2031
  export declare interface DiagnosticSettingsCategoryResourceCollection {
@@ -1733,7 +2059,12 @@ export declare interface DiagnosticSettingsListOptionalParams extends coreClient
1733
2059
  export declare type DiagnosticSettingsListResponse = DiagnosticSettingsResourceCollection;
1734
2060
 
1735
2061
  /** The diagnostic setting resource. */
1736
- export declare type DiagnosticSettingsResource = ProxyOnlyResource & {
2062
+ export declare interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
2063
+ /**
2064
+ * The system metadata related to this resource.
2065
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2066
+ */
2067
+ readonly systemData?: SystemData;
1737
2068
  /** The resource ID of the storage account to which you would like to send Diagnostic Logs. */
1738
2069
  storageAccountId?: string;
1739
2070
  /** The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */
@@ -1748,9 +2079,11 @@ export declare type DiagnosticSettingsResource = ProxyOnlyResource & {
1748
2079
  logs?: LogSettings[];
1749
2080
  /** The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2 */
1750
2081
  workspaceId?: string;
2082
+ /** The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. */
2083
+ marketplacePartnerId?: string;
1751
2084
  /** A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.) */
1752
2085
  logAnalyticsDestinationType?: string;
1753
- };
2086
+ }
1754
2087
 
1755
2088
  /** Represents a collection of alert rule resources. */
1756
2089
  export declare interface DiagnosticSettingsResourceCollection {
@@ -1769,7 +2102,7 @@ export declare interface Dimension {
1769
2102
  }
1770
2103
 
1771
2104
  /** Criterion for dynamic threshold. */
1772
- export declare type DynamicMetricCriteria = MultiMetricCriteria & {
2105
+ export declare interface DynamicMetricCriteria extends MultiMetricCriteria {
1773
2106
  /** Polymorphic discriminator, which specifies the different types this object can be */
1774
2107
  criterionType: "DynamicThresholdCriterion";
1775
2108
  /** The operator used to compare the metric value against the threshold. */
@@ -1780,7 +2113,7 @@ export declare type DynamicMetricCriteria = MultiMetricCriteria & {
1780
2113
  failingPeriods: DynamicThresholdFailingPeriods;
1781
2114
  /** Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format) */
1782
2115
  ignoreDataBefore?: Date;
1783
- };
2116
+ }
1784
2117
 
1785
2118
  /** The minimum number of violations required within the selected lookback time window required to raise an alert. */
1786
2119
  export declare interface DynamicThresholdFailingPeriods {
@@ -1918,19 +2251,19 @@ export declare interface ErrorResponse {
1918
2251
  message?: string;
1919
2252
  }
1920
2253
 
1921
- /** The resource management error response. */
1922
- export declare type ErrorResponseCommon = ErrorResponse & {
2254
+ /** The error response. */
2255
+ export declare interface ErrorResponseAutoGenerated {
1923
2256
  /**
1924
- * The error details.
2257
+ * The error code.
1925
2258
  * NOTE: This property will not be serialized. It can only be populated by the server.
1926
2259
  */
1927
- readonly details?: ErrorResponseCommon[];
2260
+ readonly code?: string;
1928
2261
  /**
1929
- * The error additional info.
2262
+ * The error message indicating why the operation failed.
1930
2263
  * NOTE: This property will not be serialized. It can only be populated by the server.
1931
2264
  */
1932
- readonly additionalInfo?: ErrorAdditionalInfo[];
1933
- };
2265
+ readonly message?: string;
2266
+ }
1934
2267
 
1935
2268
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1936
2269
  export declare interface ErrorResponseCommonV2 {
@@ -2151,6 +2484,19 @@ export declare interface HttpRequestInfo {
2151
2484
  uri?: string;
2152
2485
  }
2153
2486
 
2487
+ /** Enables IIS logs to be collected by this data collection rule. */
2488
+ export declare interface IisLogsDataSource {
2489
+ /** IIS streams */
2490
+ streams: string[];
2491
+ /** Absolute paths file location */
2492
+ logDirectories?: string[];
2493
+ /**
2494
+ * A friendly name for the data source.
2495
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
2496
+ */
2497
+ name?: string;
2498
+ }
2499
+
2154
2500
  /** An alert incident indicates the activation status of an alert rule. */
2155
2501
  export declare interface Incident {
2156
2502
  /**
@@ -2200,51 +2546,106 @@ export declare interface ItsmReceiver {
2200
2546
  region: string;
2201
2547
  }
2202
2548
 
2549
+ /** Known values of {@link AccessMode} that the service accepts. */
2550
+ export declare enum KnownAccessMode {
2551
+ /** Open */
2552
+ Open = "Open",
2553
+ /** PrivateOnly */
2554
+ PrivateOnly = "PrivateOnly"
2555
+ }
2556
+
2203
2557
  /** Known values of {@link AggregationTypeEnum} that the service accepts. */
2204
2558
  export declare enum KnownAggregationTypeEnum {
2559
+ /** Average */
2205
2560
  Average = "Average",
2561
+ /** Count */
2206
2562
  Count = "Count",
2563
+ /** Minimum */
2207
2564
  Minimum = "Minimum",
2565
+ /** Maximum */
2208
2566
  Maximum = "Maximum",
2567
+ /** Total */
2209
2568
  Total = "Total"
2210
2569
  }
2211
2570
 
2212
2571
  /** Known values of {@link AlertSeverity} that the service accepts. */
2213
2572
  export declare enum KnownAlertSeverity {
2573
+ /** Zero */
2214
2574
  Zero = "0",
2575
+ /** One */
2215
2576
  One = "1",
2577
+ /** Two */
2216
2578
  Two = "2",
2579
+ /** Three */
2217
2580
  Three = "3",
2581
+ /** Four */
2218
2582
  Four = "4"
2219
2583
  }
2220
2584
 
2221
2585
  /** Known values of {@link BaselineSensitivity} that the service accepts. */
2222
2586
  export declare enum KnownBaselineSensitivity {
2587
+ /** Low */
2223
2588
  Low = "Low",
2589
+ /** Medium */
2224
2590
  Medium = "Medium",
2591
+ /** High */
2225
2592
  High = "High"
2226
2593
  }
2227
2594
 
2595
+ /** Known values of {@link CategoryType} that the service accepts. */
2596
+ export declare enum KnownCategoryType {
2597
+ /** Metrics */
2598
+ Metrics = "Metrics",
2599
+ /** Logs */
2600
+ Logs = "Logs"
2601
+ }
2602
+
2603
+ /**
2604
+ * Defines values for KnownColumnDefinitionType. \
2605
+ * {@link KnownKnownColumnDefinitionType} can be used interchangeably with KnownColumnDefinitionType,
2606
+ * this enum contains the known values that the service supports.
2607
+ * ### Known values supported by the service
2608
+ * **string** \
2609
+ * **int** \
2610
+ * **long** \
2611
+ * **real** \
2612
+ * **boolean** \
2613
+ * **datetime** \
2614
+ * **dynamic**
2615
+ */
2616
+ export declare type KnownColumnDefinitionType = string;
2617
+
2228
2618
  /** Known values of {@link ConditionalOperator} that the service accepts. */
2229
2619
  export declare enum KnownConditionalOperator {
2620
+ /** GreaterThanOrEqual */
2230
2621
  GreaterThanOrEqual = "GreaterThanOrEqual",
2622
+ /** LessThanOrEqual */
2231
2623
  LessThanOrEqual = "LessThanOrEqual",
2624
+ /** GreaterThan */
2232
2625
  GreaterThan = "GreaterThan",
2626
+ /** LessThan */
2233
2627
  LessThan = "LessThan",
2628
+ /** Equal */
2234
2629
  Equal = "Equal"
2235
2630
  }
2236
2631
 
2237
2632
  /** Known values of {@link CreatedByType} that the service accepts. */
2238
2633
  export declare enum KnownCreatedByType {
2634
+ /** User */
2239
2635
  User = "User",
2636
+ /** Application */
2240
2637
  Application = "Application",
2638
+ /** ManagedIdentity */
2241
2639
  ManagedIdentity = "ManagedIdentity",
2640
+ /** Key */
2242
2641
  Key = "Key"
2243
2642
  }
2244
2643
 
2245
2644
  /** Known values of {@link CriterionType} that the service accepts. */
2246
2645
  export declare enum KnownCriterionType {
2646
+ /** StaticThresholdCriterion */
2247
2647
  StaticThresholdCriterion = "StaticThresholdCriterion",
2648
+ /** DynamicThresholdCriterion */
2248
2649
  DynamicThresholdCriterion = "DynamicThresholdCriterion"
2249
2650
  }
2250
2651
 
@@ -2322,27 +2723,37 @@ export declare type KnownDataFlowStreams = string;
2322
2723
 
2323
2724
  /** Known values of {@link DataStatus} that the service accepts. */
2324
2725
  export declare enum KnownDataStatus {
2726
+ /** Present */
2325
2727
  Present = "present",
2728
+ /** NotPresent */
2326
2729
  NotPresent = "notPresent"
2327
2730
  }
2328
2731
 
2329
2732
  /** Known values of {@link DynamicThresholdOperator} that the service accepts. */
2330
2733
  export declare enum KnownDynamicThresholdOperator {
2734
+ /** GreaterThan */
2331
2735
  GreaterThan = "GreaterThan",
2736
+ /** LessThan */
2332
2737
  LessThan = "LessThan",
2738
+ /** GreaterOrLessThan */
2333
2739
  GreaterOrLessThan = "GreaterOrLessThan"
2334
2740
  }
2335
2741
 
2336
2742
  /** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
2337
2743
  export declare enum KnownDynamicThresholdSensitivity {
2744
+ /** Low */
2338
2745
  Low = "Low",
2746
+ /** Medium */
2339
2747
  Medium = "Medium",
2748
+ /** High */
2340
2749
  High = "High"
2341
2750
  }
2342
2751
 
2343
2752
  /** Known values of {@link Enabled} that the service accepts. */
2344
2753
  export declare enum KnownEnabled {
2754
+ /** True */
2345
2755
  True = "true",
2756
+ /** False */
2346
2757
  False = "false"
2347
2758
  }
2348
2759
 
@@ -2359,184 +2770,357 @@ export declare enum KnownEnabled {
2359
2770
  */
2360
2771
  export declare type KnownExtensionDataSourceStreams = string;
2361
2772
 
2773
+ /** Known values of {@link KnownColumnDefinitionType} that the service accepts. */
2774
+ export declare enum KnownKnownColumnDefinitionType {
2775
+ /** String */
2776
+ String = "string",
2777
+ /** Int */
2778
+ Int = "int",
2779
+ /** Long */
2780
+ Long = "long",
2781
+ /** Real */
2782
+ Real = "real",
2783
+ /** Boolean */
2784
+ Boolean = "boolean",
2785
+ /** Datetime */
2786
+ Datetime = "datetime",
2787
+ /** Dynamic */
2788
+ Dynamic = "dynamic"
2789
+ }
2790
+
2362
2791
  /** Known values of {@link KnownDataCollectionEndpointProvisioningState} that the service accepts. */
2363
2792
  export declare enum KnownKnownDataCollectionEndpointProvisioningState {
2793
+ /** Creating */
2364
2794
  Creating = "Creating",
2795
+ /** Updating */
2365
2796
  Updating = "Updating",
2797
+ /** Deleting */
2366
2798
  Deleting = "Deleting",
2799
+ /** Succeeded */
2367
2800
  Succeeded = "Succeeded",
2801
+ /** Failed */
2368
2802
  Failed = "Failed"
2369
2803
  }
2370
2804
 
2371
2805
  /** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
2372
2806
  export declare enum KnownKnownDataCollectionEndpointResourceKind {
2807
+ /** Linux */
2373
2808
  Linux = "Linux",
2809
+ /** Windows */
2374
2810
  Windows = "Windows"
2375
2811
  }
2376
2812
 
2377
2813
  /** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
2378
2814
  export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
2815
+ /** Creating */
2379
2816
  Creating = "Creating",
2817
+ /** Updating */
2380
2818
  Updating = "Updating",
2819
+ /** Deleting */
2381
2820
  Deleting = "Deleting",
2821
+ /** Succeeded */
2382
2822
  Succeeded = "Succeeded",
2823
+ /** Failed */
2383
2824
  Failed = "Failed"
2384
2825
  }
2385
2826
 
2386
2827
  /** Known values of {@link KnownDataCollectionRuleProvisioningState} that the service accepts. */
2387
2828
  export declare enum KnownKnownDataCollectionRuleProvisioningState {
2829
+ /** Creating */
2388
2830
  Creating = "Creating",
2831
+ /** Updating */
2389
2832
  Updating = "Updating",
2833
+ /** Deleting */
2390
2834
  Deleting = "Deleting",
2835
+ /** Succeeded */
2391
2836
  Succeeded = "Succeeded",
2837
+ /** Failed */
2392
2838
  Failed = "Failed"
2393
2839
  }
2394
2840
 
2395
2841
  /** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
2396
2842
  export declare enum KnownKnownDataCollectionRuleResourceKind {
2843
+ /** Linux */
2397
2844
  Linux = "Linux",
2845
+ /** Windows */
2398
2846
  Windows = "Windows"
2399
2847
  }
2400
2848
 
2401
2849
  /** Known values of {@link KnownDataFlowStreams} that the service accepts. */
2402
2850
  export declare enum KnownKnownDataFlowStreams {
2851
+ /** MicrosoftEvent */
2403
2852
  MicrosoftEvent = "Microsoft-Event",
2853
+ /** MicrosoftInsightsMetrics */
2404
2854
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
2855
+ /** MicrosoftPerf */
2405
2856
  MicrosoftPerf = "Microsoft-Perf",
2857
+ /** MicrosoftSyslog */
2406
2858
  MicrosoftSyslog = "Microsoft-Syslog",
2859
+ /** MicrosoftWindowsEvent */
2407
2860
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
2408
2861
  }
2409
2862
 
2410
2863
  /** Known values of {@link KnownExtensionDataSourceStreams} that the service accepts. */
2411
2864
  export declare enum KnownKnownExtensionDataSourceStreams {
2865
+ /** MicrosoftEvent */
2412
2866
  MicrosoftEvent = "Microsoft-Event",
2867
+ /** MicrosoftInsightsMetrics */
2413
2868
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
2869
+ /** MicrosoftPerf */
2414
2870
  MicrosoftPerf = "Microsoft-Perf",
2871
+ /** MicrosoftSyslog */
2415
2872
  MicrosoftSyslog = "Microsoft-Syslog",
2873
+ /** MicrosoftWindowsEvent */
2416
2874
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
2417
2875
  }
2418
2876
 
2877
+ /** Known values of {@link KnownLogFilesDataSourceFormat} that the service accepts. */
2878
+ export declare enum KnownKnownLogFilesDataSourceFormat {
2879
+ /** Text */
2880
+ Text = "text"
2881
+ }
2882
+
2883
+ /** Known values of {@link KnownLogFileTextSettingsRecordStartTimestampFormat} that the service accepts. */
2884
+ export declare enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
2885
+ /** ISO8601 */
2886
+ ISO8601 = "ISO 8601",
2887
+ /** YyyyMMDDHHMMSS */
2888
+ YyyyMMDDHHMMSS = "YYYY-MM-DD HH:MM:SS",
2889
+ /** MDYyyyHHMMSSAMPM */
2890
+ MDYyyyHHMMSSAMPM = "M/D/YYYY HH:MM:SS AM/PM",
2891
+ /** MonDDYyyyHHMMSS */
2892
+ MonDDYyyyHHMMSS = "Mon DD, YYYY HH:MM:SS",
2893
+ /** YyMMddHHMmSs */
2894
+ YyMMddHHMmSs = "yyMMdd HH:mm:ss",
2895
+ /** DdMMyyHHMmSs */
2896
+ DdMMyyHHMmSs = "ddMMyy HH:mm:ss",
2897
+ /** MMMDHhMmSs */
2898
+ MMMDHhMmSs = "MMM d hh:mm:ss",
2899
+ /** DdMMMYyyyHHMmSsZzz */
2900
+ DdMMMYyyyHHMmSsZzz = "dd/MMM/yyyy:HH:mm:ss zzz",
2901
+ /** YyyyMMDdTHHMmSsK */
2902
+ YyyyMMDdTHHMmSsK = "yyyy-MM-ddTHH:mm:ssK"
2903
+ }
2904
+
2419
2905
  /** Known values of {@link KnownPerfCounterDataSourceStreams} that the service accepts. */
2420
2906
  export declare enum KnownKnownPerfCounterDataSourceStreams {
2907
+ /** MicrosoftPerf */
2421
2908
  MicrosoftPerf = "Microsoft-Perf",
2909
+ /** MicrosoftInsightsMetrics */
2422
2910
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics"
2423
2911
  }
2424
2912
 
2425
2913
  /** Known values of {@link KnownPublicNetworkAccessOptions} that the service accepts. */
2426
2914
  export declare enum KnownKnownPublicNetworkAccessOptions {
2915
+ /** Enabled */
2427
2916
  Enabled = "Enabled",
2917
+ /** Disabled */
2428
2918
  Disabled = "Disabled"
2429
2919
  }
2430
2920
 
2431
2921
  /** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
2432
2922
  export declare enum KnownKnownSyslogDataSourceFacilityNames {
2923
+ /** Auth */
2433
2924
  Auth = "auth",
2925
+ /** Authpriv */
2434
2926
  Authpriv = "authpriv",
2927
+ /** Cron */
2435
2928
  Cron = "cron",
2929
+ /** Daemon */
2436
2930
  Daemon = "daemon",
2931
+ /** Kern */
2437
2932
  Kern = "kern",
2933
+ /** Lpr */
2438
2934
  Lpr = "lpr",
2935
+ /** Mail */
2439
2936
  Mail = "mail",
2937
+ /** Mark */
2440
2938
  Mark = "mark",
2939
+ /** News */
2441
2940
  News = "news",
2941
+ /** Syslog */
2442
2942
  Syslog = "syslog",
2943
+ /** User */
2443
2944
  User = "user",
2945
+ /** Uucp */
2444
2946
  Uucp = "uucp",
2947
+ /** Local0 */
2445
2948
  Local0 = "local0",
2949
+ /** Local1 */
2446
2950
  Local1 = "local1",
2951
+ /** Local2 */
2447
2952
  Local2 = "local2",
2953
+ /** Local3 */
2448
2954
  Local3 = "local3",
2955
+ /** Local4 */
2449
2956
  Local4 = "local4",
2957
+ /** Local5 */
2450
2958
  Local5 = "local5",
2959
+ /** Local6 */
2451
2960
  Local6 = "local6",
2961
+ /** Local7 */
2452
2962
  Local7 = "local7",
2963
+ /** Asterisk */
2453
2964
  Asterisk = "*"
2454
2965
  }
2455
2966
 
2456
2967
  /** Known values of {@link KnownSyslogDataSourceLogLevels} that the service accepts. */
2457
2968
  export declare enum KnownKnownSyslogDataSourceLogLevels {
2969
+ /** Debug */
2458
2970
  Debug = "Debug",
2971
+ /** Info */
2459
2972
  Info = "Info",
2973
+ /** Notice */
2460
2974
  Notice = "Notice",
2975
+ /** Warning */
2461
2976
  Warning = "Warning",
2977
+ /** Error */
2462
2978
  Error = "Error",
2979
+ /** Critical */
2463
2980
  Critical = "Critical",
2981
+ /** Alert */
2464
2982
  Alert = "Alert",
2983
+ /** Emergency */
2465
2984
  Emergency = "Emergency",
2985
+ /** Asterisk */
2466
2986
  Asterisk = "*"
2467
2987
  }
2468
2988
 
2469
2989
  /** Known values of {@link KnownSyslogDataSourceStreams} that the service accepts. */
2470
2990
  export declare enum KnownKnownSyslogDataSourceStreams {
2991
+ /** MicrosoftSyslog */
2471
2992
  MicrosoftSyslog = "Microsoft-Syslog"
2472
2993
  }
2473
2994
 
2474
2995
  /** Known values of {@link KnownWindowsEventLogDataSourceStreams} that the service accepts. */
2475
2996
  export declare enum KnownKnownWindowsEventLogDataSourceStreams {
2997
+ /** MicrosoftWindowsEvent */
2476
2998
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent",
2999
+ /** MicrosoftEvent */
2477
3000
  MicrosoftEvent = "Microsoft-Event"
2478
3001
  }
2479
3002
 
3003
+ /**
3004
+ * Defines values for KnownLogFilesDataSourceFormat. \
3005
+ * {@link KnownKnownLogFilesDataSourceFormat} can be used interchangeably with KnownLogFilesDataSourceFormat,
3006
+ * this enum contains the known values that the service supports.
3007
+ * ### Known values supported by the service
3008
+ * **text**
3009
+ */
3010
+ export declare type KnownLogFilesDataSourceFormat = string;
3011
+
3012
+ /**
3013
+ * Defines values for KnownLogFileTextSettingsRecordStartTimestampFormat. \
3014
+ * {@link KnownKnownLogFileTextSettingsRecordStartTimestampFormat} can be used interchangeably with KnownLogFileTextSettingsRecordStartTimestampFormat,
3015
+ * this enum contains the known values that the service supports.
3016
+ * ### Known values supported by the service
3017
+ * **ISO 8601** \
3018
+ * **YYYY-MM-DD HH:MM:SS** \
3019
+ * **M\/D\/YYYY HH:MM:SS AM\/PM** \
3020
+ * **Mon DD, YYYY HH:MM:SS** \
3021
+ * **yyMMdd HH:mm:ss** \
3022
+ * **ddMMyy HH:mm:ss** \
3023
+ * **MMM d hh:mm:ss** \
3024
+ * **dd\/MMM\/yyyy:HH:mm:ss zzz** \
3025
+ * **yyyy-MM-ddTHH:mm:ssK**
3026
+ */
3027
+ export declare type KnownLogFileTextSettingsRecordStartTimestampFormat = string;
3028
+
2480
3029
  /** Known values of {@link MetricClass} that the service accepts. */
2481
3030
  export declare enum KnownMetricClass {
3031
+ /** Availability */
2482
3032
  Availability = "Availability",
3033
+ /** Transactions */
2483
3034
  Transactions = "Transactions",
3035
+ /** Errors */
2484
3036
  Errors = "Errors",
3037
+ /** Latency */
2485
3038
  Latency = "Latency",
3039
+ /** Saturation */
2486
3040
  Saturation = "Saturation"
2487
3041
  }
2488
3042
 
2489
3043
  /** Known values of {@link MetricTriggerType} that the service accepts. */
2490
3044
  export declare enum KnownMetricTriggerType {
3045
+ /** Consecutive */
2491
3046
  Consecutive = "Consecutive",
3047
+ /** Total */
2492
3048
  Total = "Total"
2493
3049
  }
2494
3050
 
2495
3051
  /** Known values of {@link MetricUnit} that the service accepts. */
2496
3052
  export declare enum KnownMetricUnit {
3053
+ /** Count */
2497
3054
  Count = "Count",
3055
+ /** Bytes */
2498
3056
  Bytes = "Bytes",
3057
+ /** Seconds */
2499
3058
  Seconds = "Seconds",
3059
+ /** CountPerSecond */
2500
3060
  CountPerSecond = "CountPerSecond",
3061
+ /** BytesPerSecond */
2501
3062
  BytesPerSecond = "BytesPerSecond",
3063
+ /** Percent */
2502
3064
  Percent = "Percent",
3065
+ /** MilliSeconds */
2503
3066
  MilliSeconds = "MilliSeconds",
3067
+ /** ByteSeconds */
2504
3068
  ByteSeconds = "ByteSeconds",
3069
+ /** Unspecified */
2505
3070
  Unspecified = "Unspecified",
3071
+ /** Cores */
2506
3072
  Cores = "Cores",
3073
+ /** MilliCores */
2507
3074
  MilliCores = "MilliCores",
3075
+ /** NanoCores */
2508
3076
  NanoCores = "NanoCores",
3077
+ /** BitsPerSecond */
2509
3078
  BitsPerSecond = "BitsPerSecond"
2510
3079
  }
2511
3080
 
2512
3081
  /** Known values of {@link NamespaceClassification} that the service accepts. */
2513
3082
  export declare enum KnownNamespaceClassification {
3083
+ /** Platform */
2514
3084
  Platform = "Platform",
3085
+ /** Custom */
2515
3086
  Custom = "Custom",
3087
+ /** Qos */
2516
3088
  Qos = "Qos"
2517
3089
  }
2518
3090
 
2519
3091
  /** Known values of {@link Odatatype} that the service accepts. */
2520
3092
  export declare enum KnownOdatatype {
3093
+ /** MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria */
2521
3094
  MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
3095
+ /** MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria */
2522
3096
  MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
3097
+ /** MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria */
2523
3098
  MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
2524
3099
  }
2525
3100
 
2526
3101
  /** Known values of {@link OnboardingStatus} that the service accepts. */
2527
3102
  export declare enum KnownOnboardingStatus {
3103
+ /** Onboarded */
2528
3104
  Onboarded = "onboarded",
3105
+ /** NotOnboarded */
2529
3106
  NotOnboarded = "notOnboarded",
3107
+ /** Unknown */
2530
3108
  Unknown = "unknown"
2531
3109
  }
2532
3110
 
2533
3111
  /** Known values of {@link Operator} that the service accepts. */
2534
3112
  export declare enum KnownOperator {
3113
+ /** Equals */
2535
3114
  Equals = "Equals",
3115
+ /** GreaterThan */
2536
3116
  GreaterThan = "GreaterThan",
3117
+ /** GreaterThanOrEqual */
2537
3118
  GreaterThanOrEqual = "GreaterThanOrEqual",
3119
+ /** LessThan */
2538
3120
  LessThan = "LessThan",
3121
+ /** LessThanOrEqual */
2539
3122
  LessThanOrEqual = "LessThanOrEqual",
3123
+ /** Include */
2540
3124
  Include = "Include"
2541
3125
  }
2542
3126
 
@@ -2550,11 +3134,37 @@ export declare enum KnownOperator {
2550
3134
  */
2551
3135
  export declare type KnownPerfCounterDataSourceStreams = string;
2552
3136
 
3137
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
3138
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
3139
+ /** Succeeded */
3140
+ Succeeded = "Succeeded",
3141
+ /** Creating */
3142
+ Creating = "Creating",
3143
+ /** Deleting */
3144
+ Deleting = "Deleting",
3145
+ /** Failed */
3146
+ Failed = "Failed"
3147
+ }
3148
+
3149
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
3150
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
3151
+ /** Pending */
3152
+ Pending = "Pending",
3153
+ /** Approved */
3154
+ Approved = "Approved",
3155
+ /** Rejected */
3156
+ Rejected = "Rejected"
3157
+ }
3158
+
2553
3159
  /** Known values of {@link ProvisioningState} that the service accepts. */
2554
3160
  export declare enum KnownProvisioningState {
3161
+ /** Succeeded */
2555
3162
  Succeeded = "Succeeded",
3163
+ /** Deploying */
2556
3164
  Deploying = "Deploying",
3165
+ /** Canceled */
2557
3166
  Canceled = "Canceled",
3167
+ /** Failed */
2558
3168
  Failed = "Failed"
2559
3169
  }
2560
3170
 
@@ -2570,12 +3180,15 @@ export declare type KnownPublicNetworkAccessOptions = string;
2570
3180
 
2571
3181
  /** Known values of {@link QueryType} that the service accepts. */
2572
3182
  export declare enum KnownQueryType {
3183
+ /** ResultCount */
2573
3184
  ResultCount = "ResultCount"
2574
3185
  }
2575
3186
 
2576
3187
  /** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
2577
3188
  export declare enum KnownScaleRuleMetricDimensionOperationType {
3189
+ /** Equals */
2578
3190
  Equals = "Equals",
3191
+ /** NotEquals */
2579
3192
  NotEquals = "NotEquals"
2580
3193
  }
2581
3194
 
@@ -2653,14 +3266,14 @@ export declare interface LocalizableString {
2653
3266
  }
2654
3267
 
2655
3268
  /** A rule condition based on a certain number of locations failing. */
2656
- export declare type LocationThresholdRuleCondition = RuleCondition & {
3269
+ export declare interface LocationThresholdRuleCondition extends RuleCondition {
2657
3270
  /** Polymorphic discriminator, which specifies the different types this object can be */
2658
3271
  odataType: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition";
2659
3272
  /** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. */
2660
3273
  windowSize?: string;
2661
3274
  /** the number of locations that must fail to activate the alert. */
2662
3275
  failedLocationCount: number;
2663
- };
3276
+ }
2664
3277
 
2665
3278
  /** Log Analytics destination. */
2666
3279
  export declare interface LogAnalyticsDestination {
@@ -2678,6 +3291,46 @@ export declare interface LogAnalyticsDestination {
2678
3291
  name?: string;
2679
3292
  }
2680
3293
 
3294
+ /** Definition of which custom log files will be collected by this data collection rule */
3295
+ export declare interface LogFilesDataSource {
3296
+ /**
3297
+ * List of streams that this data source will be sent to.
3298
+ * A stream indicates what schema will be used for this data source
3299
+ */
3300
+ streams: string[];
3301
+ /** File Patterns where the log files are located */
3302
+ filePatterns: string[];
3303
+ /** The data format of the log files */
3304
+ format: KnownLogFilesDataSourceFormat;
3305
+ /** The log files specific settings. */
3306
+ settings?: LogFilesDataSourceSettings;
3307
+ /**
3308
+ * A friendly name for the data source.
3309
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
3310
+ */
3311
+ name?: string;
3312
+ }
3313
+
3314
+ /** The log files specific settings. */
3315
+ export declare interface LogFilesDataSourceSettings extends LogFileSettings {
3316
+ }
3317
+
3318
+ /** Settings for different log file formats */
3319
+ export declare interface LogFileSettings {
3320
+ /** Text settings */
3321
+ text?: LogFileSettingsText;
3322
+ }
3323
+
3324
+ /** Text settings */
3325
+ export declare interface LogFileSettingsText extends LogFileTextSettings {
3326
+ }
3327
+
3328
+ /** Settings for text log files */
3329
+ export declare interface LogFileTextSettings {
3330
+ /** One of the supported timestamp formats */
3331
+ recordStartTimestampFormat: KnownLogFileTextSettingsRecordStartTimestampFormat;
3332
+ }
3333
+
2681
3334
  /** A logic app receiver. */
2682
3335
  export declare interface LogicAppReceiver {
2683
3336
  /** The name of the logic app receiver. Names must be unique across all receivers within an action group. */
@@ -2709,7 +3362,7 @@ export declare interface LogProfileCollection {
2709
3362
  }
2710
3363
 
2711
3364
  /** The log profile resource. */
2712
- export declare type LogProfileResource = Resource & {
3365
+ export declare interface LogProfileResource extends ResourceAutoGenerated2 {
2713
3366
  /** the resource id of the storage account to which you would like to send the Activity Log. */
2714
3367
  storageAccountId?: string;
2715
3368
  /** 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}'. */
@@ -2720,7 +3373,7 @@ export declare type LogProfileResource = Resource & {
2720
3373
  categories: string[];
2721
3374
  /** the retention policy for the events in the log. */
2722
3375
  retentionPolicy: RetentionPolicy;
2723
- };
3376
+ }
2724
3377
 
2725
3378
  /** The log profile resource for patch operations. */
2726
3379
  export declare interface LogProfileResourcePatch {
@@ -2808,7 +3461,7 @@ export declare interface LogProfilesUpdateOptionalParams extends coreClient.Oper
2808
3461
  export declare type LogProfilesUpdateResponse = LogProfileResource;
2809
3462
 
2810
3463
  /** The Log Search Rule resource. */
2811
- export declare type LogSearchRuleResource = ResourceAutoGenerated & {
3464
+ export declare interface LogSearchRuleResource extends ResourceAutoGenerated5 {
2812
3465
  /**
2813
3466
  * The api-version used when creating this alert rule
2814
3467
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2843,7 +3496,7 @@ export declare type LogSearchRuleResource = ResourceAutoGenerated & {
2843
3496
  schedule?: Schedule;
2844
3497
  /** Action needs to be taken on rule execution. */
2845
3498
  action: ActionUnion;
2846
- };
3499
+ }
2847
3500
 
2848
3501
  /** Represents a collection of Log Search rule resources. */
2849
3502
  export declare interface LogSearchRuleResourceCollection {
@@ -2865,6 +3518,8 @@ export declare interface LogSearchRuleResourcePatch {
2865
3518
  export declare interface LogSettings {
2866
3519
  /** Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. */
2867
3520
  category?: string;
3521
+ /** Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. */
3522
+ categoryGroup?: string;
2868
3523
  /** a value indicating whether this log is enabled. */
2869
3524
  enabled: boolean;
2870
3525
  /** the retention policy for this log. */
@@ -2881,12 +3536,12 @@ export declare interface LogsIngestionEndpointSpec {
2881
3536
  }
2882
3537
 
2883
3538
  /** Specify action need to be taken when rule type is converting log to metric */
2884
- export declare type LogToMetricAction = Action & {
3539
+ export declare interface LogToMetricAction extends Action {
2885
3540
  /** Polymorphic discriminator, which specifies the different types this object can be */
2886
3541
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
2887
3542
  /** Criteria of Metric */
2888
3543
  criteria: Criteria[];
2889
- };
3544
+ }
2890
3545
 
2891
3546
  /** How the data that is collected should be combined over time. */
2892
3547
  export declare interface ManagementEventAggregationCondition {
@@ -2899,12 +3554,21 @@ export declare interface ManagementEventAggregationCondition {
2899
3554
  }
2900
3555
 
2901
3556
  /** A management event rule condition. */
2902
- export declare type ManagementEventRuleCondition = RuleCondition & {
3557
+ export declare interface ManagementEventRuleCondition extends RuleCondition {
2903
3558
  /** Polymorphic discriminator, which specifies the different types this object can be */
2904
3559
  odataType: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition";
2905
3560
  /** How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate. */
2906
3561
  aggregation?: ManagementEventAggregationCondition;
2907
- };
3562
+ }
3563
+
3564
+ /** Metadata about the resource */
3565
+ export declare interface Metadata {
3566
+ /**
3567
+ * Azure offering managing this resource on-behalf-of customer.
3568
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3569
+ */
3570
+ readonly provisionedBy?: string;
3571
+ }
2908
3572
 
2909
3573
  /** Represents a metric metadata value. */
2910
3574
  export declare interface MetadataValue {
@@ -2955,15 +3619,15 @@ export declare interface MetricAlertCriteria {
2955
3619
  export declare type MetricAlertCriteriaUnion = MetricAlertCriteria | MetricAlertSingleResourceMultipleMetricCriteria | WebtestLocationAvailabilityCriteria | MetricAlertMultipleResourceMultipleMetricCriteria;
2956
3620
 
2957
3621
  /** Specifies the metric alert criteria for multiple resource that has multiple metric criteria. */
2958
- export declare type MetricAlertMultipleResourceMultipleMetricCriteria = MetricAlertCriteria & {
3622
+ export declare interface MetricAlertMultipleResourceMultipleMetricCriteria extends MetricAlertCriteria {
2959
3623
  /** Polymorphic discriminator, which specifies the different types this object can be */
2960
3624
  odataType: "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria";
2961
3625
  /** the list of multiple metric criteria for this 'all of' operation. */
2962
3626
  allOf?: MultiMetricCriteriaUnion[];
2963
- };
3627
+ }
2964
3628
 
2965
3629
  /** The metric alert resource. */
2966
- export declare type MetricAlertResource = Resource & {
3630
+ export declare interface MetricAlertResource extends ResourceAutoGenerated4 {
2967
3631
  /** the description of the metric alert that will be included in the alert email. */
2968
3632
  description?: string;
2969
3633
  /** Alert severity {0, 1, 2, 3, 4} */
@@ -2996,7 +3660,7 @@ export declare type MetricAlertResource = Resource & {
2996
3660
  * NOTE: This property will not be serialized. It can only be populated by the server.
2997
3661
  */
2998
3662
  readonly isMigrated?: boolean;
2999
- };
3663
+ }
3000
3664
 
3001
3665
  /** Represents a collection of alert rule resources. */
3002
3666
  export declare interface MetricAlertResourceCollection {
@@ -3108,12 +3772,12 @@ export declare interface MetricAlertsGetOptionalParams extends coreClient.Operat
3108
3772
  export declare type MetricAlertsGetResponse = MetricAlertResource;
3109
3773
 
3110
3774
  /** Specifies the metric alert criteria for a single resource that has multiple metric criteria. */
3111
- export declare type MetricAlertSingleResourceMultipleMetricCriteria = MetricAlertCriteria & {
3775
+ export declare interface MetricAlertSingleResourceMultipleMetricCriteria extends MetricAlertCriteria {
3112
3776
  /** Polymorphic discriminator, which specifies the different types this object can be */
3113
3777
  odataType: "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria";
3114
3778
  /** The list of metric criteria for this 'all of' operation. */
3115
3779
  allOf?: MetricCriteria[];
3116
- };
3780
+ }
3117
3781
 
3118
3782
  /** Optional parameters. */
3119
3783
  export declare interface MetricAlertsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
@@ -3227,14 +3891,14 @@ export declare interface MetricBaselinesResponse {
3227
3891
  export declare type MetricClass = string;
3228
3892
 
3229
3893
  /** Criterion to filter metrics. */
3230
- export declare type MetricCriteria = MultiMetricCriteria & {
3894
+ export declare interface MetricCriteria extends MultiMetricCriteria {
3231
3895
  /** Polymorphic discriminator, which specifies the different types this object can be */
3232
3896
  criterionType: "StaticThresholdCriterion";
3233
3897
  /** the criteria operator. */
3234
3898
  operator: Operator;
3235
3899
  /** the criteria threshold value that activates the alert. */
3236
3900
  threshold: number;
3237
- };
3901
+ }
3238
3902
 
3239
3903
  /** Metric definition class specifies the metadata for a metric. */
3240
3904
  export declare interface MetricDefinition {
@@ -3498,6 +4162,7 @@ export declare class MonitorClient extends coreClient.ServiceClient {
3498
4162
  */
3499
4163
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MonitorClientOptionalParams);
3500
4164
  autoscaleSettings: AutoscaleSettings;
4165
+ predictiveMetric: PredictiveMetric;
3501
4166
  operations: Operations;
3502
4167
  alertRuleIncidents: AlertRuleIncidents;
3503
4168
  alertRules: AlertRules;
@@ -3679,7 +4344,7 @@ export declare interface OperationStatus {
3679
4344
  /** The status of the operation. */
3680
4345
  status?: string;
3681
4346
  /** The error detail of the operation if any. */
3682
- error?: ErrorResponseCommon;
4347
+ error?: ErrorDetail;
3683
4348
  }
3684
4349
 
3685
4350
  /**
@@ -3721,42 +4386,107 @@ export declare interface PerfCounterDataSource {
3721
4386
  name?: string;
3722
4387
  }
3723
4388
 
3724
- /** A private endpoint connection */
3725
- export declare type PrivateEndpointConnection = ProxyResource & {
3726
- /** Private endpoint which the connection belongs to. */
3727
- privateEndpoint?: PrivateEndpointProperty;
3728
- /** Connection state of the private endpoint connection. */
3729
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
4389
+ /** The parameters for enabling predictive autoscale. */
4390
+ export declare interface PredictiveAutoscalePolicy {
4391
+ /** the predictive autoscale mode */
4392
+ scaleMode: PredictiveAutoscalePolicyScaleMode;
4393
+ /** the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format. */
4394
+ scaleLookAheadTime?: string;
4395
+ }
4396
+
4397
+ /** Defines values for PredictiveAutoscalePolicyScaleMode. */
4398
+ export declare type PredictiveAutoscalePolicyScaleMode = "Disabled" | "ForecastOnly" | "Enabled";
4399
+
4400
+ /** Interface representing a PredictiveMetric. */
4401
+ export declare interface PredictiveMetric {
3730
4402
  /**
3731
- * State of the private endpoint connection.
3732
- * NOTE: This property will not be serialized. It can only be populated by the server.
4403
+ * get predictive autoscale metric future data
4404
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4405
+ * @param autoscaleSettingName The autoscale setting name.
4406
+ * @param timespan The timespan of the query. It is a string with the following format
4407
+ * 'startDateTime_ISO/endDateTime_ISO'.
4408
+ * @param interval The interval (i.e. timegrain) of the query.
4409
+ * @param metricNamespace Metric namespace to query metric definitions for.
4410
+ * @param metricName The names of the metrics (comma separated) to retrieve. Special case: If a
4411
+ * metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be
4412
+ * **'Metric%2Name1'**
4413
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
4414
+ * @param options The options parameters.
3733
4415
  */
3734
- readonly provisioningState?: string;
3735
- };
4416
+ get(resourceGroupName: string, autoscaleSettingName: string, timespan: string, interval: string, metricNamespace: string, metricName: string, aggregation: string, options?: PredictiveMetricGetOptionalParams): Promise<PredictiveMetricGetResponse>;
4417
+ }
3736
4418
 
3737
- /** A list of private endpoint connections. */
3738
- export declare interface PrivateEndpointConnectionListResult {
4419
+ /** Optional parameters. */
4420
+ export declare interface PredictiveMetricGetOptionalParams extends coreClient.OperationOptions {
4421
+ }
4422
+
4423
+ /** Contains response data for the get operation. */
4424
+ export declare type PredictiveMetricGetResponse = PredictiveResponse;
4425
+
4426
+ /** The response to a metrics query. */
4427
+ export declare interface PredictiveResponse {
4428
+ /** 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. */
4429
+ timespan?: string;
4430
+ /** 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. */
4431
+ interval?: string;
4432
+ /** The metrics being queried */
4433
+ metricName?: string;
4434
+ /** resource of the predictive metric. */
4435
+ targetResourceId?: string;
4436
+ /** the value of the collection. */
4437
+ data?: PredictiveValue[];
4438
+ }
4439
+
4440
+ /** Represents a predictive metric value in the given bucket. */
4441
+ export declare interface PredictiveValue {
4442
+ /** the timestamp for the metric value in ISO 8601 format. */
4443
+ timeStamp: Date;
4444
+ /** Predictive value in this time bucket. */
4445
+ value: number;
4446
+ }
4447
+
4448
+ /** The Private Endpoint resource. */
4449
+ export declare interface PrivateEndpoint {
3739
4450
  /**
3740
- * Array of results.
4451
+ * The ARM identifier for Private Endpoint
3741
4452
  * NOTE: This property will not be serialized. It can only be populated by the server.
3742
4453
  */
3743
- readonly value?: PrivateEndpointConnection[];
4454
+ readonly id?: string;
4455
+ }
4456
+
4457
+ /** The Private Endpoint Connection resource. */
4458
+ export declare interface PrivateEndpointConnection extends ResourceAutoGenerated3 {
4459
+ /** The resource of private end point. */
4460
+ privateEndpoint?: PrivateEndpoint;
4461
+ /** A collection of information about the state of the connection between service consumer and provider. */
4462
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
3744
4463
  /**
3745
- * Link to retrieve next page of results.
4464
+ * The provisioning state of the private endpoint connection resource.
3746
4465
  * NOTE: This property will not be serialized. It can only be populated by the server.
3747
4466
  */
3748
- readonly nextLink?: string;
4467
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
3749
4468
  }
3750
4469
 
4470
+ /** List of private endpoint connection associated with the specified storage account */
4471
+ export declare interface PrivateEndpointConnectionListResult {
4472
+ /** Array of private endpoint connections */
4473
+ value?: PrivateEndpointConnection[];
4474
+ }
4475
+
4476
+ /**
4477
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
4478
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
4479
+ * this enum contains the known values that the service supports.
4480
+ * ### Known values supported by the service
4481
+ * **Succeeded** \
4482
+ * **Creating** \
4483
+ * **Deleting** \
4484
+ * **Failed**
4485
+ */
4486
+ export declare type PrivateEndpointConnectionProvisioningState = string;
4487
+
3751
4488
  /** Interface representing a PrivateEndpointConnections. */
3752
4489
  export declare interface PrivateEndpointConnections {
3753
- /**
3754
- * Gets all private endpoint connections on a private link scope.
3755
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
3756
- * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
3757
- * @param options The options parameters.
3758
- */
3759
- listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
3760
4490
  /**
3761
4491
  * Gets a private endpoint connection.
3762
4492
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -3770,7 +4500,7 @@ export declare interface PrivateEndpointConnections {
3770
4500
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
3771
4501
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
3772
4502
  * @param privateEndpointConnectionName The name of the private endpoint connection.
3773
- * @param parameters A private endpoint connection
4503
+ * @param parameters The Private Endpoint Connection resource.
3774
4504
  * @param options The options parameters.
3775
4505
  */
3776
4506
  beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
@@ -3779,7 +4509,7 @@ export declare interface PrivateEndpointConnections {
3779
4509
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
3780
4510
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
3781
4511
  * @param privateEndpointConnectionName The name of the private endpoint connection.
3782
- * @param parameters A private endpoint connection
4512
+ * @param parameters The Private Endpoint Connection resource.
3783
4513
  * @param options The options parameters.
3784
4514
  */
3785
4515
  beginCreateOrUpdateAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
@@ -3799,6 +4529,13 @@ export declare interface PrivateEndpointConnections {
3799
4529
  * @param options The options parameters.
3800
4530
  */
3801
4531
  beginDeleteAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
4532
+ /**
4533
+ * Gets all private endpoint connections on a private link scope.
4534
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4535
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
4536
+ * @param options The options parameters.
4537
+ */
4538
+ listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams): Promise<PrivateEndpointConnectionsListByPrivateLinkScopeResponse>;
3802
4539
  }
3803
4540
 
3804
4541
  /** Optional parameters. */
@@ -3827,13 +4564,6 @@ export declare interface PrivateEndpointConnectionsGetOptionalParams extends cor
3827
4564
  /** Contains response data for the get operation. */
3828
4565
  export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
3829
4566
 
3830
- /** Optional parameters. */
3831
- export declare interface PrivateEndpointConnectionsListByPrivateLinkScopeNextOptionalParams extends coreClient.OperationOptions {
3832
- }
3833
-
3834
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
3835
- export declare type PrivateEndpointConnectionsListByPrivateLinkScopeNextResponse = PrivateEndpointConnectionListResult;
3836
-
3837
4567
  /** Optional parameters. */
3838
4568
  export declare interface PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams extends coreClient.OperationOptions {
3839
4569
  }
@@ -3841,14 +4571,19 @@ export declare interface PrivateEndpointConnectionsListByPrivateLinkScopeOptiona
3841
4571
  /** Contains response data for the listByPrivateLinkScope operation. */
3842
4572
  export declare type PrivateEndpointConnectionsListByPrivateLinkScopeResponse = PrivateEndpointConnectionListResult;
3843
4573
 
3844
- /** Private endpoint which the connection belongs to. */
3845
- export declare interface PrivateEndpointProperty {
3846
- /** Resource id of the private endpoint. */
3847
- id?: string;
3848
- }
4574
+ /**
4575
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
4576
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
4577
+ * this enum contains the known values that the service supports.
4578
+ * ### Known values supported by the service
4579
+ * **Pending** \
4580
+ * **Approved** \
4581
+ * **Rejected**
4582
+ */
4583
+ export declare type PrivateEndpointServiceConnectionStatus = string;
3849
4584
 
3850
4585
  /** A private link resource */
3851
- export declare type PrivateLinkResource = ProxyResource & {
4586
+ export declare interface PrivateLinkResource extends ResourceAutoGenerated3 {
3852
4587
  /**
3853
4588
  * The private link resource group id.
3854
4589
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -3859,20 +4594,14 @@ export declare type PrivateLinkResource = ProxyResource & {
3859
4594
  * NOTE: This property will not be serialized. It can only be populated by the server.
3860
4595
  */
3861
4596
  readonly requiredMembers?: string[];
3862
- };
4597
+ /** The private link resource Private link DNS zone name. */
4598
+ requiredZoneNames?: string[];
4599
+ }
3863
4600
 
3864
4601
  /** A list of private link resources */
3865
4602
  export declare interface PrivateLinkResourceListResult {
3866
- /**
3867
- * Array of results.
3868
- * NOTE: This property will not be serialized. It can only be populated by the server.
3869
- */
3870
- readonly value?: PrivateLinkResource[];
3871
- /**
3872
- * Link to retrieve next page of results.
3873
- * NOTE: This property will not be serialized. It can only be populated by the server.
3874
- */
3875
- readonly nextLink?: string;
4603
+ /** Array of private link resources */
4604
+ value?: PrivateLinkResource[];
3876
4605
  }
3877
4606
 
3878
4607
  /** Interface representing a PrivateLinkResources. */
@@ -3883,7 +4612,7 @@ export declare interface PrivateLinkResources {
3883
4612
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
3884
4613
  * @param options The options parameters.
3885
4614
  */
3886
- listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
4615
+ listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams): Promise<PrivateLinkResourcesListByPrivateLinkScopeResponse>;
3887
4616
  /**
3888
4617
  * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
3889
4618
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -3901,13 +4630,6 @@ export declare interface PrivateLinkResourcesGetOptionalParams extends coreClien
3901
4630
  /** Contains response data for the get operation. */
3902
4631
  export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource;
3903
4632
 
3904
- /** Optional parameters. */
3905
- export declare interface PrivateLinkResourcesListByPrivateLinkScopeNextOptionalParams extends coreClient.OperationOptions {
3906
- }
3907
-
3908
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
3909
- export declare type PrivateLinkResourcesListByPrivateLinkScopeNextResponse = PrivateLinkResourceListResult;
3910
-
3911
4633
  /** Optional parameters. */
3912
4634
  export declare interface PrivateLinkResourcesListByPrivateLinkScopeOptionalParams extends coreClient.OperationOptions {
3913
4635
  }
@@ -4130,31 +4852,6 @@ export declare interface PrivateLinkScopesListOptionalParams extends coreClient.
4130
4852
  /** Contains response data for the list operation. */
4131
4853
  export declare type PrivateLinkScopesListResponse = AzureMonitorPrivateLinkScopeListResult;
4132
4854
 
4133
- /** An azure resource object */
4134
- export declare interface PrivateLinkScopesResource {
4135
- /**
4136
- * Azure resource Id
4137
- * NOTE: This property will not be serialized. It can only be populated by the server.
4138
- */
4139
- readonly id?: string;
4140
- /**
4141
- * Azure resource name
4142
- * NOTE: This property will not be serialized. It can only be populated by the server.
4143
- */
4144
- readonly name?: string;
4145
- /**
4146
- * Azure resource type
4147
- * NOTE: This property will not be serialized. It can only be populated by the server.
4148
- */
4149
- readonly type?: string;
4150
- /** Resource location */
4151
- location: string;
4152
- /** Resource tags */
4153
- tags?: {
4154
- [propertyName: string]: string;
4155
- };
4156
- }
4157
-
4158
4855
  /** Optional parameters. */
4159
4856
  export declare interface PrivateLinkScopesUpdateTagsOptionalParams extends coreClient.OperationOptions {
4160
4857
  }
@@ -4162,17 +4859,14 @@ export declare interface PrivateLinkScopesUpdateTagsOptionalParams extends coreC
4162
4859
  /** Contains response data for the updateTags operation. */
4163
4860
  export declare type PrivateLinkScopesUpdateTagsResponse = AzureMonitorPrivateLinkScope;
4164
4861
 
4165
- /** State of the private endpoint connection. */
4166
- export declare interface PrivateLinkServiceConnectionStateProperty {
4167
- /** The private link service connection status. */
4168
- status: string;
4169
- /** The private link service connection description. */
4170
- description: string;
4171
- /**
4172
- * The actions required for private link service connection.
4173
- * NOTE: This property will not be serialized. It can only be populated by the server.
4174
- */
4175
- readonly actionsRequired?: string;
4862
+ /** A collection of information about the state of the connection between service consumer and provider. */
4863
+ export declare interface PrivateLinkServiceConnectionState {
4864
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
4865
+ status?: PrivateEndpointServiceConnectionStatus;
4866
+ /** The reason for approval/rejection of the connection. */
4867
+ description?: string;
4868
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
4869
+ actionsRequired?: string;
4176
4870
  }
4177
4871
 
4178
4872
  /**
@@ -4187,25 +4881,6 @@ export declare interface PrivateLinkServiceConnectionStateProperty {
4187
4881
  */
4188
4882
  export declare type ProvisioningState = string;
4189
4883
 
4190
- /** A proxy only azure resource object */
4191
- export declare interface ProxyOnlyResource {
4192
- /**
4193
- * Azure resource Id
4194
- * NOTE: This property will not be serialized. It can only be populated by the server.
4195
- */
4196
- readonly id?: string;
4197
- /**
4198
- * Azure resource name
4199
- * NOTE: This property will not be serialized. It can only be populated by the server.
4200
- */
4201
- readonly name?: string;
4202
- /**
4203
- * Azure resource type
4204
- * NOTE: This property will not be serialized. It can only be populated by the server.
4205
- */
4206
- readonly type?: string;
4207
- }
4208
-
4209
4884
  /** An azure resource object */
4210
4885
  export declare interface ProxyResource {
4211
4886
  /**
@@ -4225,6 +4900,10 @@ export declare interface ProxyResource {
4225
4900
  readonly type?: string;
4226
4901
  }
4227
4902
 
4903
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
4904
+ export declare interface ProxyResourceAutoGenerated extends ResourceAutoGenerated3 {
4905
+ }
4906
+
4228
4907
  /**
4229
4908
  * Defines values for QueryType. \
4230
4909
  * {@link KnownQueryType} can be used interchangeably with QueryType,
@@ -4260,7 +4939,7 @@ export declare interface RecurrentSchedule {
4260
4939
  minutes: number[];
4261
4940
  }
4262
4941
 
4263
- /** An azure resource object */
4942
+ /** The autoscale setting resource. */
4264
4943
  export declare interface Resource {
4265
4944
  /**
4266
4945
  * Azure resource Id
@@ -4279,10 +4958,15 @@ export declare interface Resource {
4279
4958
  readonly type?: string;
4280
4959
  /** Resource location */
4281
4960
  location: string;
4282
- /** Resource tags */
4961
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */
4283
4962
  tags?: {
4284
4963
  [propertyName: string]: string;
4285
4964
  };
4965
+ /**
4966
+ * The system metadata related to the response.
4967
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4968
+ */
4969
+ readonly systemData?: SystemData;
4286
4970
  }
4287
4971
 
4288
4972
  /** An azure resource object */
@@ -4308,6 +4992,100 @@ export declare interface ResourceAutoGenerated {
4308
4992
  tags?: {
4309
4993
  [propertyName: string]: string;
4310
4994
  };
4995
+ }
4996
+
4997
+ /** An azure resource object */
4998
+ export declare interface ResourceAutoGenerated2 {
4999
+ /**
5000
+ * Azure resource Id
5001
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5002
+ */
5003
+ readonly id?: string;
5004
+ /**
5005
+ * Azure resource name
5006
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5007
+ */
5008
+ readonly name?: string;
5009
+ /**
5010
+ * Azure resource type
5011
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5012
+ */
5013
+ readonly type?: string;
5014
+ /** Resource location */
5015
+ location: string;
5016
+ /** Resource tags */
5017
+ tags?: {
5018
+ [propertyName: string]: string;
5019
+ };
5020
+ }
5021
+
5022
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
5023
+ export declare interface ResourceAutoGenerated3 {
5024
+ /**
5025
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
5026
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5027
+ */
5028
+ readonly id?: string;
5029
+ /**
5030
+ * The name of the resource
5031
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5032
+ */
5033
+ readonly name?: string;
5034
+ /**
5035
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
5036
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5037
+ */
5038
+ readonly type?: string;
5039
+ }
5040
+
5041
+ /** An azure resource object */
5042
+ export declare interface ResourceAutoGenerated4 {
5043
+ /**
5044
+ * Azure resource Id
5045
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5046
+ */
5047
+ readonly id?: string;
5048
+ /**
5049
+ * Azure resource name
5050
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5051
+ */
5052
+ readonly name?: string;
5053
+ /**
5054
+ * Azure resource type
5055
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5056
+ */
5057
+ readonly type?: string;
5058
+ /** Resource location */
5059
+ location: string;
5060
+ /** Resource tags */
5061
+ tags?: {
5062
+ [propertyName: string]: string;
5063
+ };
5064
+ }
5065
+
5066
+ /** An azure resource object */
5067
+ export declare interface ResourceAutoGenerated5 {
5068
+ /**
5069
+ * Azure resource Id
5070
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5071
+ */
5072
+ readonly id?: string;
5073
+ /**
5074
+ * Azure resource name
5075
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5076
+ */
5077
+ readonly name?: string;
5078
+ /**
5079
+ * Azure resource type
5080
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5081
+ */
5082
+ readonly type?: string;
5083
+ /** Resource location */
5084
+ location: string;
5085
+ /** Resource tags */
5086
+ tags?: {
5087
+ [propertyName: string]: string;
5088
+ };
4311
5089
  /**
4312
5090
  * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
4313
5091
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4397,14 +5175,14 @@ export declare interface RuleDataSource {
4397
5175
  export declare type RuleDataSourceUnion = RuleDataSource | RuleMetricDataSource | RuleManagementEventDataSource;
4398
5176
 
4399
5177
  /** Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case. */
4400
- export declare type RuleEmailAction = RuleAction & {
5178
+ export declare interface RuleEmailAction extends RuleAction {
4401
5179
  /** Polymorphic discriminator, which specifies the different types this object can be */
4402
5180
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction";
4403
5181
  /** Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated. */
4404
5182
  sendToServiceOwners?: boolean;
4405
5183
  /** the list of administrator's custom email addresses to notify of the activation of the alert. */
4406
5184
  customEmails?: string[];
4407
- };
5185
+ }
4408
5186
 
4409
5187
  /** The claims for a rule management event data source. */
4410
5188
  export declare interface RuleManagementEventClaimsDataSource {
@@ -4413,7 +5191,7 @@ export declare interface RuleManagementEventClaimsDataSource {
4413
5191
  }
4414
5192
 
4415
5193
  /** A rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case. */
4416
- export declare type RuleManagementEventDataSource = RuleDataSource & {
5194
+ export declare interface RuleManagementEventDataSource extends RuleDataSource {
4417
5195
  /** Polymorphic discriminator, which specifies the different types this object can be */
4418
5196
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource";
4419
5197
  /** the event name. */
@@ -4434,18 +5212,18 @@ export declare type RuleManagementEventDataSource = RuleDataSource & {
4434
5212
  subStatus?: string;
4435
5213
  /** the claims. */
4436
5214
  claims?: RuleManagementEventClaimsDataSource;
4437
- };
5215
+ }
4438
5216
 
4439
5217
  /** A rule metric data source. The discriminator value is always RuleMetricDataSource in this case. */
4440
- export declare type RuleMetricDataSource = RuleDataSource & {
5218
+ export declare interface RuleMetricDataSource extends RuleDataSource {
4441
5219
  /** Polymorphic discriminator, which specifies the different types this object can be */
4442
5220
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource";
4443
5221
  /** the name of the metric that defines what the rule monitors. */
4444
5222
  metricName?: string;
4445
- };
5223
+ }
4446
5224
 
4447
5225
  /** Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case. */
4448
- export declare type RuleWebhookAction = RuleAction & {
5226
+ export declare interface RuleWebhookAction extends RuleAction {
4449
5227
  /** Polymorphic discriminator, which specifies the different types this object can be */
4450
5228
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
4451
5229
  /** the service uri to Post the notification when the alert activates or resolves. */
@@ -4454,7 +5232,7 @@ export declare type RuleWebhookAction = RuleAction & {
4454
5232
  properties?: {
4455
5233
  [propertyName: string]: string;
4456
5234
  };
4457
- };
5235
+ }
4458
5236
 
4459
5237
  /** The parameters for the scaling action. */
4460
5238
  export declare interface ScaleAction {
@@ -4609,7 +5387,12 @@ export declare interface ScheduledQueryRulesUpdateOptionalParams extends coreCli
4609
5387
  export declare type ScheduledQueryRulesUpdateResponse = LogSearchRuleResource;
4610
5388
 
4611
5389
  /** A private link scoped resource */
4612
- export declare type ScopedResource = ProxyResource & {
5390
+ export declare interface ScopedResource extends ProxyResourceAutoGenerated {
5391
+ /**
5392
+ * System data
5393
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5394
+ */
5395
+ readonly systemData?: SystemData;
4613
5396
  /** The resource id of the scoped Azure monitor resource. */
4614
5397
  linkedResourceId?: string;
4615
5398
  /**
@@ -4617,7 +5400,7 @@ export declare type ScopedResource = ProxyResource & {
4617
5400
  * NOTE: This property will not be serialized. It can only be populated by the server.
4618
5401
  */
4619
5402
  readonly provisioningState?: string;
4620
- };
5403
+ }
4621
5404
 
4622
5405
  /** A list of scoped resources in a private link scope. */
4623
5406
  export declare interface ScopedResourceListResult {
@@ -4698,6 +5481,12 @@ export declare interface Source {
4698
5481
  queryType?: QueryType;
4699
5482
  }
4700
5483
 
5484
+ /** Declaration of a custom stream. */
5485
+ export declare interface StreamDeclaration {
5486
+ /** List of columns used by data in this stream. */
5487
+ columns?: ColumnDefinition[];
5488
+ }
5489
+
4701
5490
  /**
4702
5491
  * Definition of which syslog data will be collected and how it will be collected.
4703
5492
  * Only collected from Linux machines.
@@ -4791,18 +5580,8 @@ export declare interface TestNotificationDetailsResponse {
4791
5580
  actionDetails?: ActionDetail[];
4792
5581
  }
4793
5582
 
4794
- /** The response when test notification succeeded */
4795
- export declare interface TestNotificationResponse {
4796
- /** The notification id */
4797
- notificationId: string;
4798
- /** The correlation id */
4799
- correlationId: string;
4800
- /** The created time */
4801
- createdTime: string;
4802
- }
4803
-
4804
5583
  /** A rule condition based on a metric crossing a threshold. */
4805
- export declare type ThresholdRuleCondition = RuleCondition & {
5584
+ export declare interface ThresholdRuleCondition extends RuleCondition {
4806
5585
  /** Polymorphic discriminator, which specifies the different types this object can be */
4807
5586
  odataType: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition";
4808
5587
  /** the operator used to compare the data and the threshold. */
@@ -4813,7 +5592,7 @@ export declare type ThresholdRuleCondition = RuleCondition & {
4813
5592
  windowSize?: string;
4814
5593
  /** the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. */
4815
5594
  timeAggregation?: TimeAggregationOperator;
4816
- };
5595
+ }
4817
5596
 
4818
5597
  /** Defines values for TimeAggregationOperator. */
4819
5598
  export declare type TimeAggregationOperator = "Average" | "Minimum" | "Maximum" | "Total" | "Last";
@@ -4853,6 +5632,16 @@ export declare interface TimeWindow {
4853
5632
  end: Date;
4854
5633
  }
4855
5634
 
5635
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
5636
+ export declare interface TrackedResource extends ResourceAutoGenerated3 {
5637
+ /** Resource tags. */
5638
+ tags?: {
5639
+ [propertyName: string]: string;
5640
+ };
5641
+ /** The geo-location where the resource lives */
5642
+ location: string;
5643
+ }
5644
+
4856
5645
  /** The condition that results in the Log Search rule. */
4857
5646
  export declare interface TriggerCondition {
4858
5647
  /** Evaluation operation for rule - 'GreaterThan' or 'LessThan. */
@@ -4882,7 +5671,7 @@ export declare interface VMInsightsGetOnboardingStatusOptionalParams extends cor
4882
5671
  export declare type VMInsightsGetOnboardingStatusResponse = VMInsightsOnboardingStatus;
4883
5672
 
4884
5673
  /** VM Insights onboarding status for a resource. */
4885
- export declare type VMInsightsOnboardingStatus = ProxyResource & {
5674
+ export declare interface VMInsightsOnboardingStatus extends ProxyResource {
4886
5675
  /** Azure Resource Manager identifier of the resource whose onboarding status is being represented. */
4887
5676
  resourceId?: string;
4888
5677
  /** The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded. */
@@ -4891,7 +5680,7 @@ export declare type VMInsightsOnboardingStatus = ProxyResource & {
4891
5680
  dataStatus?: DataStatus;
4892
5681
  /** Containers that currently store VM Insights data for the specified resource. */
4893
5682
  data?: DataContainer[];
4894
- };
5683
+ }
4895
5684
 
4896
5685
  /** A voice receiver. */
4897
5686
  export declare interface VoiceReceiver {
@@ -4932,7 +5721,7 @@ export declare interface WebhookReceiver {
4932
5721
  }
4933
5722
 
4934
5723
  /** Specifies the metric alert rule criteria for a web test resource. */
4935
- export declare type WebtestLocationAvailabilityCriteria = MetricAlertCriteria & {
5724
+ export declare interface WebtestLocationAvailabilityCriteria extends MetricAlertCriteria {
4936
5725
  /** Polymorphic discriminator, which specifies the different types this object can be */
4937
5726
  odataType: "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria";
4938
5727
  /** The Application Insights web test Id. */
@@ -4941,7 +5730,7 @@ export declare type WebtestLocationAvailabilityCriteria = MetricAlertCriteria &
4941
5730
  componentId: string;
4942
5731
  /** The number of failed locations. */
4943
5732
  failedLocationCount: number;
4944
- };
5733
+ }
4945
5734
 
4946
5735
  /**
4947
5736
  * Definition of which Windows Event Log events will be collected and how they will be collected.