@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
@@ -142,7 +142,14 @@ export interface WebhookNotification {
142
142
  [propertyName: string]: string;
143
143
  };
144
144
  }
145
- /** An azure resource object */
145
+ /** The parameters for enabling predictive autoscale. */
146
+ export interface PredictiveAutoscalePolicy {
147
+ /** the predictive autoscale mode */
148
+ scaleMode: PredictiveAutoscalePolicyScaleMode;
149
+ /** 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. */
150
+ scaleLookAheadTime?: string;
151
+ }
152
+ /** The autoscale setting resource. */
146
153
  export interface Resource {
147
154
  /**
148
155
  * Azure resource Id
@@ -161,17 +168,51 @@ export interface Resource {
161
168
  readonly type?: string;
162
169
  /** Resource location */
163
170
  location: string;
164
- /** Resource tags */
171
+ /** 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. */
165
172
  tags?: {
166
173
  [propertyName: string]: string;
167
174
  };
175
+ /**
176
+ * The system metadata related to the response.
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
+ */
179
+ readonly systemData?: SystemData;
180
+ }
181
+ /** Metadata pertaining to creation and last modification of the resource. */
182
+ export interface SystemData {
183
+ /** The identity that created the resource. */
184
+ createdBy?: string;
185
+ /** The type of identity that created the resource. */
186
+ createdByType?: CreatedByType;
187
+ /** The timestamp of resource creation (UTC). */
188
+ createdAt?: Date;
189
+ /** The identity that last modified the resource. */
190
+ lastModifiedBy?: string;
191
+ /** The type of identity that last modified the resource. */
192
+ lastModifiedByType?: CreatedByType;
193
+ /** The timestamp of resource last modification (UTC) */
194
+ lastModifiedAt?: Date;
168
195
  }
169
196
  /** Describes the format of Error response. */
170
- export interface ErrorResponse {
171
- /** Error code */
197
+ export interface AutoscaleErrorResponse {
198
+ /** The error object. */
199
+ error?: AutoscaleErrorResponseError;
200
+ /**
201
+ * The system metadata related to the response.
202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
203
+ */
204
+ readonly systemData?: SystemData;
205
+ }
206
+ /** The error object. */
207
+ export interface AutoscaleErrorResponseError {
208
+ /** One of a server-defined set of error codes. */
172
209
  code?: string;
173
- /** Error message indicating why the operation failed. */
210
+ /** A human-readable representation of the error. */
174
211
  message?: string;
212
+ /** The target of the particular error. */
213
+ target?: string;
214
+ /** A human-readable representation of the error's details. */
215
+ details?: string;
175
216
  }
176
217
  /** The autoscale setting object for patch operations. */
177
218
  export interface AutoscaleSettingResourcePatch {
@@ -183,8 +224,10 @@ export interface AutoscaleSettingResourcePatch {
183
224
  profiles?: AutoscaleProfile[];
184
225
  /** the collection of notifications. */
185
226
  notifications?: AutoscaleNotification[];
186
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
227
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
187
228
  enabled?: boolean;
229
+ /** the predictive autoscale policy mode. */
230
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
188
231
  /** the name of the autoscale setting. */
189
232
  name?: string;
190
233
  /** the resource identifier of the resource that the autoscale setting should be added to. */
@@ -192,6 +235,26 @@ export interface AutoscaleSettingResourcePatch {
192
235
  /** the location of the resource that the autoscale setting should be added to. */
193
236
  targetResourceLocation?: string;
194
237
  }
238
+ /** The response to a metrics query. */
239
+ export interface PredictiveResponse {
240
+ /** 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. */
241
+ timespan?: string;
242
+ /** 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. */
243
+ interval?: string;
244
+ /** The metrics being queried */
245
+ metricName?: string;
246
+ /** resource of the predictive metric. */
247
+ targetResourceId?: string;
248
+ /** the value of the collection. */
249
+ data?: PredictiveValue[];
250
+ }
251
+ /** Represents a predictive metric value in the given bucket. */
252
+ export interface PredictiveValue {
253
+ /** the timestamp for the metric value in ISO 8601 format. */
254
+ timeStamp: Date;
255
+ /** Predictive value in this time bucket. */
256
+ value: number;
257
+ }
195
258
  /** Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results. */
196
259
  export interface OperationListResult {
197
260
  /** List of operations supported by the Microsoft.Insights provider. */
@@ -243,6 +306,13 @@ export interface Incident {
243
306
  */
244
307
  readonly resolvedTime?: Date;
245
308
  }
309
+ /** Describes the format of Error response. */
310
+ export interface ErrorResponse {
311
+ /** Error code */
312
+ code?: string;
313
+ /** Error message indicating why the operation failed. */
314
+ message?: string;
315
+ }
246
316
  /** The List incidents operation response. */
247
317
  export interface IncidentListResult {
248
318
  /** the incident collection. */
@@ -273,6 +343,30 @@ export interface RuleAction {
273
343
  /** Polymorphic discriminator, which specifies the different types this object can be */
274
344
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction" | "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
275
345
  }
346
+ /** An azure resource object */
347
+ export interface ResourceAutoGenerated {
348
+ /**
349
+ * Azure resource Id
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
+ */
352
+ readonly id?: string;
353
+ /**
354
+ * Azure resource name
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
+ */
357
+ readonly name?: string;
358
+ /**
359
+ * Azure resource type
360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
361
+ */
362
+ readonly type?: string;
363
+ /** Resource location */
364
+ location: string;
365
+ /** Resource tags */
366
+ tags?: {
367
+ [propertyName: string]: string;
368
+ };
369
+ }
276
370
  /** The alert rule object for patch operations. */
277
371
  export interface AlertRuleResourcePatch {
278
372
  /** Resource tags */
@@ -311,6 +405,30 @@ export interface RetentionPolicy {
311
405
  /** the number of days for the retention in days. A value of 0 will retain the events indefinitely. */
312
406
  days: number;
313
407
  }
408
+ /** An azure resource object */
409
+ export interface ResourceAutoGenerated2 {
410
+ /**
411
+ * Azure resource Id
412
+ * NOTE: This property will not be serialized. It can only be populated by the server.
413
+ */
414
+ readonly id?: string;
415
+ /**
416
+ * Azure resource name
417
+ * NOTE: This property will not be serialized. It can only be populated by the server.
418
+ */
419
+ readonly name?: string;
420
+ /**
421
+ * Azure resource type
422
+ * NOTE: This property will not be serialized. It can only be populated by the server.
423
+ */
424
+ readonly type?: string;
425
+ /** Resource location */
426
+ location: string;
427
+ /** Resource tags */
428
+ tags?: {
429
+ [propertyName: string]: string;
430
+ };
431
+ }
314
432
  /** The log profile resource for patch operations. */
315
433
  export interface LogProfileResourcePatch {
316
434
  /** Resource tags */
@@ -348,25 +466,27 @@ export interface MetricSettings {
348
466
  export interface LogSettings {
349
467
  /** 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. */
350
468
  category?: string;
469
+ /** 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. */
470
+ categoryGroup?: string;
351
471
  /** a value indicating whether this log is enabled. */
352
472
  enabled: boolean;
353
473
  /** the retention policy for this log. */
354
474
  retentionPolicy?: RetentionPolicy;
355
475
  }
356
- /** A proxy only azure resource object */
357
- export interface ProxyOnlyResource {
476
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
477
+ export interface ResourceAutoGenerated3 {
358
478
  /**
359
- * Azure resource Id
479
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
360
480
  * NOTE: This property will not be serialized. It can only be populated by the server.
361
481
  */
362
482
  readonly id?: string;
363
483
  /**
364
- * Azure resource name
484
+ * The name of the resource
365
485
  * NOTE: This property will not be serialized. It can only be populated by the server.
366
486
  */
367
487
  readonly name?: string;
368
488
  /**
369
- * Azure resource type
489
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
370
490
  * NOTE: This property will not be serialized. It can only be populated by the server.
371
491
  */
372
492
  readonly type?: string;
@@ -537,16 +657,6 @@ export interface AzureResource {
537
657
  * NOTE: This property will not be serialized. It can only be populated by the server.
538
658
  */
539
659
  readonly type?: string;
540
- /**
541
- * Azure resource kind
542
- * NOTE: This property will not be serialized. It can only be populated by the server.
543
- */
544
- readonly kind?: string;
545
- /**
546
- * Azure resource identity
547
- * NOTE: This property will not be serialized. It can only be populated by the server.
548
- */
549
- readonly identity?: string;
550
660
  /** Resource location */
551
661
  location: string;
552
662
  /** Resource tags */
@@ -590,15 +700,6 @@ export interface NotificationRequestBody {
590
700
  /** The list of event hub receivers that are part of this action group. */
591
701
  eventHubReceivers?: EventHubReceiver[];
592
702
  }
593
- /** The response when test notification succeeded */
594
- export interface TestNotificationResponse {
595
- /** The notification id */
596
- notificationId: string;
597
- /** The correlation id */
598
- correlationId: string;
599
- /** The created time */
600
- createdTime: string;
601
- }
602
703
  /** The details of the test notification results. */
603
704
  export interface TestNotificationDetailsResponse {
604
705
  /** The context info */
@@ -995,6 +1096,30 @@ export interface MetricAlertAction {
995
1096
  [propertyName: string]: string;
996
1097
  };
997
1098
  }
1099
+ /** An azure resource object */
1100
+ export interface ResourceAutoGenerated4 {
1101
+ /**
1102
+ * Azure resource Id
1103
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1104
+ */
1105
+ readonly id?: string;
1106
+ /**
1107
+ * Azure resource name
1108
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1109
+ */
1110
+ readonly name?: string;
1111
+ /**
1112
+ * Azure resource type
1113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1114
+ */
1115
+ readonly type?: string;
1116
+ /** Resource location */
1117
+ location: string;
1118
+ /** Resource tags */
1119
+ tags?: {
1120
+ [propertyName: string]: string;
1121
+ };
1122
+ }
998
1123
  /** The metric alert resource for patch operations. */
999
1124
  export interface MetricAlertResourcePatch {
1000
1125
  /** Resource tags */
@@ -1085,7 +1210,7 @@ export interface Action {
1085
1210
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction" | "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
1086
1211
  }
1087
1212
  /** An azure resource object */
1088
- export interface ResourceAutoGenerated {
1213
+ export interface ResourceAutoGenerated5 {
1089
1214
  /**
1090
1215
  * Azure resource Id
1091
1216
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1211,46 +1336,86 @@ export interface AzureMonitorPrivateLinkScopeListResult {
1211
1336
  /** The URI to get the next set of Azure Monitor PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set. */
1212
1337
  nextLink?: string;
1213
1338
  }
1214
- /** Private endpoint which the connection belongs to. */
1215
- export interface PrivateEndpointProperty {
1216
- /** Resource id of the private endpoint. */
1217
- id?: string;
1218
- }
1219
- /** State of the private endpoint connection. */
1220
- export interface PrivateLinkServiceConnectionStateProperty {
1221
- /** The private link service connection status. */
1222
- status: string;
1223
- /** The private link service connection description. */
1224
- description: string;
1339
+ /** The Private Endpoint resource. */
1340
+ export interface PrivateEndpoint {
1225
1341
  /**
1226
- * The actions required for private link service connection.
1342
+ * The ARM identifier for Private Endpoint
1227
1343
  * NOTE: This property will not be serialized. It can only be populated by the server.
1228
1344
  */
1229
- readonly actionsRequired?: string;
1345
+ readonly id?: string;
1230
1346
  }
1231
- /** An azure resource object */
1232
- export interface PrivateLinkScopesResource {
1347
+ /** A collection of information about the state of the connection between service consumer and provider. */
1348
+ export interface PrivateLinkServiceConnectionState {
1349
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
1350
+ status?: PrivateEndpointServiceConnectionStatus;
1351
+ /** The reason for approval/rejection of the connection. */
1352
+ description?: string;
1353
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
1354
+ actionsRequired?: string;
1355
+ }
1356
+ /** Properties that define the scope private link mode settings. */
1357
+ export interface AccessModeSettings {
1358
+ /** 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. */
1359
+ queryAccessMode: AccessMode;
1360
+ /** 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. */
1361
+ ingestionAccessMode: AccessMode;
1362
+ /** List of exclusions that override the default access mode settings for specific private endpoint connections. */
1363
+ exclusions?: AccessModeSettingsExclusion[];
1364
+ }
1365
+ /** 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. */
1366
+ export interface AccessModeSettingsExclusion {
1367
+ /** The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings. */
1368
+ privateEndpointConnectionName?: string;
1369
+ /** Specifies the access mode of queries through the specified private endpoint connection in the exclusion. */
1370
+ queryAccessMode?: AccessMode;
1371
+ /** Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion. */
1372
+ ingestionAccessMode?: AccessMode;
1373
+ }
1374
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1375
+ export interface DefaultErrorResponse {
1376
+ /** The error object. */
1377
+ error?: ErrorDetail;
1378
+ }
1379
+ /** The error detail. */
1380
+ export interface ErrorDetail {
1233
1381
  /**
1234
- * Azure resource Id
1382
+ * The error code.
1235
1383
  * NOTE: This property will not be serialized. It can only be populated by the server.
1236
1384
  */
1237
- readonly id?: string;
1385
+ readonly code?: string;
1238
1386
  /**
1239
- * Azure resource name
1387
+ * The error message.
1240
1388
  * NOTE: This property will not be serialized. It can only be populated by the server.
1241
1389
  */
1242
- readonly name?: string;
1390
+ readonly message?: string;
1243
1391
  /**
1244
- * Azure resource type
1392
+ * The error target.
1393
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1394
+ */
1395
+ readonly target?: string;
1396
+ /**
1397
+ * The error details.
1398
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1399
+ */
1400
+ readonly details?: ErrorDetail[];
1401
+ /**
1402
+ * The error additional info.
1403
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1404
+ */
1405
+ readonly additionalInfo?: ErrorAdditionalInfo[];
1406
+ }
1407
+ /** The resource management error additional info. */
1408
+ export interface ErrorAdditionalInfo {
1409
+ /**
1410
+ * The additional info type.
1245
1411
  * NOTE: This property will not be serialized. It can only be populated by the server.
1246
1412
  */
1247
1413
  readonly type?: string;
1248
- /** Resource location */
1249
- location: string;
1250
- /** Resource tags */
1251
- tags?: {
1252
- [propertyName: string]: string;
1253
- };
1414
+ /**
1415
+ * The additional info.
1416
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1417
+ */
1418
+ readonly info?: Record<string, unknown>;
1254
1419
  }
1255
1420
  /** A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance. */
1256
1421
  export interface TagsResource {
@@ -1272,46 +1437,17 @@ export interface OperationStatus {
1272
1437
  /** The status of the operation. */
1273
1438
  status?: string;
1274
1439
  /** The error detail of the operation if any. */
1275
- error?: ErrorResponseCommon;
1276
- }
1277
- /** The resource management error additional info. */
1278
- export interface ErrorAdditionalInfo {
1279
- /**
1280
- * The additional info type.
1281
- * NOTE: This property will not be serialized. It can only be populated by the server.
1282
- */
1283
- readonly type?: string;
1284
- /**
1285
- * The additional info.
1286
- * NOTE: This property will not be serialized. It can only be populated by the server.
1287
- */
1288
- readonly info?: Record<string, unknown>;
1440
+ error?: ErrorDetail;
1289
1441
  }
1290
1442
  /** A list of private link resources */
1291
1443
  export interface PrivateLinkResourceListResult {
1292
- /**
1293
- * Array of results.
1294
- * NOTE: This property will not be serialized. It can only be populated by the server.
1295
- */
1296
- readonly value?: PrivateLinkResource[];
1297
- /**
1298
- * Link to retrieve next page of results.
1299
- * NOTE: This property will not be serialized. It can only be populated by the server.
1300
- */
1301
- readonly nextLink?: string;
1444
+ /** Array of private link resources */
1445
+ value?: PrivateLinkResource[];
1302
1446
  }
1303
- /** A list of private endpoint connections. */
1447
+ /** List of private endpoint connection associated with the specified storage account */
1304
1448
  export interface PrivateEndpointConnectionListResult {
1305
- /**
1306
- * Array of results.
1307
- * NOTE: This property will not be serialized. It can only be populated by the server.
1308
- */
1309
- readonly value?: PrivateEndpointConnection[];
1310
- /**
1311
- * Link to retrieve next page of results.
1312
- * NOTE: This property will not be serialized. It can only be populated by the server.
1313
- */
1314
- readonly nextLink?: string;
1449
+ /** Array of private endpoint connections */
1450
+ value?: PrivateEndpointConnection[];
1315
1451
  }
1316
1452
  /** A list of scoped resources in a private link scope. */
1317
1453
  export interface ScopedResourceListResult {
@@ -1326,44 +1462,89 @@ export interface ScopedResourceListResult {
1326
1462
  */
1327
1463
  readonly nextLink?: string;
1328
1464
  }
1329
- /** An Activity Log alert condition that is met when all its member conditions are met. */
1330
- export interface ActivityLogAlertAllOfCondition {
1331
- /** The list of activity log alert conditions. */
1332
- allOf: ActivityLogAlertLeafCondition[];
1465
+ /** An Activity Log Alert rule condition that is met when all its member conditions are met. */
1466
+ export interface AlertRuleAllOfCondition {
1467
+ /** The list of Activity Log Alert rule conditions. */
1468
+ allOf: AlertRuleAnyOfOrLeafCondition[];
1333
1469
  }
1334
- /** An Activity Log alert condition that is met by comparing an activity log field and value. */
1335
- export interface ActivityLogAlertLeafCondition {
1336
- /** 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.'. */
1337
- field: string;
1338
- /** The field value will be compared to this value (case-insensitive) to determine if the condition is met. */
1339
- equals: string;
1470
+ /**
1471
+ * An Activity Log Alert rule condition that is met by comparing the field and value of an Activity Log event.
1472
+ * This condition must contain 'field' and either 'equals' or 'containsAny'.
1473
+ */
1474
+ export interface AlertRuleLeafCondition {
1475
+ /**
1476
+ * The name of the Activity Log event's field that this condition will examine.
1477
+ * The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
1478
+ */
1479
+ field?: string;
1480
+ /** The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met. */
1481
+ equals?: string;
1482
+ /** 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. */
1483
+ containsAny?: string[];
1340
1484
  }
1341
- /** A list of activity log alert actions. */
1342
- export interface ActivityLogAlertActionList {
1343
- /** The list of activity log alerts. */
1344
- actionGroups?: ActivityLogAlertActionGroup[];
1485
+ /** A list of Activity Log Alert rule actions. */
1486
+ export interface ActionList {
1487
+ /** The list of the Action Groups. */
1488
+ actionGroups?: ActionGroup[];
1345
1489
  }
1346
1490
  /** A pointer to an Azure Action Group. */
1347
- export interface ActivityLogAlertActionGroup {
1348
- /** The resourceId of the action group. This cannot be null or empty. */
1491
+ export interface ActionGroup {
1492
+ /** The resource ID of the Action Group. This cannot be null or empty. */
1349
1493
  actionGroupId: string;
1350
1494
  /** the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. */
1351
1495
  webhookProperties?: {
1352
1496
  [propertyName: string]: string;
1353
1497
  };
1354
1498
  }
1355
- /** An activity log alert object for the body of patch operations. */
1356
- export interface ActivityLogAlertPatchBody {
1357
- /** Resource tags */
1499
+ /** An Azure resource object. */
1500
+ export interface AzureResourceAutoGenerated {
1501
+ /**
1502
+ * The resource Id.
1503
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1504
+ */
1505
+ readonly id?: string;
1506
+ /**
1507
+ * The name of the resource.
1508
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1509
+ */
1510
+ readonly name?: string;
1511
+ /**
1512
+ * The type of the resource.
1513
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1514
+ */
1515
+ readonly type?: string;
1516
+ /** The location of the resource. Since Azure Activity Log Alerts is a global service, the location of the rules should always be 'global'. */
1517
+ location?: string;
1518
+ /** The tags of the resource. */
1519
+ tags?: {
1520
+ [propertyName: string]: string;
1521
+ };
1522
+ }
1523
+ /** The error response. */
1524
+ export interface ErrorResponseAutoGenerated {
1525
+ /**
1526
+ * The error code.
1527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1528
+ */
1529
+ readonly code?: string;
1530
+ /**
1531
+ * The error message indicating why the operation failed.
1532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1533
+ */
1534
+ readonly message?: string;
1535
+ }
1536
+ /** An Activity Log Alert rule object for the body of patch operations. */
1537
+ export interface AlertRulePatchObject {
1538
+ /** The resource tags */
1358
1539
  tags?: {
1359
1540
  [propertyName: string]: string;
1360
1541
  };
1361
- /** Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. */
1542
+ /** 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. */
1362
1543
  enabled?: boolean;
1363
1544
  }
1364
- /** A list of activity log alerts. */
1365
- export interface ActivityLogAlertList {
1366
- /** The list of activity log alerts. */
1545
+ /** A list of Activity Log Alert rules. */
1546
+ export interface AlertRuleList {
1547
+ /** The list of Activity Log Alert rules. */
1367
1548
  value?: ActivityLogAlertResource[];
1368
1549
  /** Provides the link to retrieve the next set of elements. */
1369
1550
  nextLink?: string;
@@ -1414,7 +1595,7 @@ export interface DataCollectionEndpointResource {
1414
1595
  description?: string;
1415
1596
  /** The immutable ID of this data collection endpoint resource. This property is READ-ONLY. */
1416
1597
  immutableId?: string;
1417
- /** The endpoint used by agents to access their configuration. */
1598
+ /** The endpoint used by clients to access their configuration. */
1418
1599
  configurationAccess?: DataCollectionEndpointConfigurationAccess;
1419
1600
  /** The endpoint used by clients to ingest logs. */
1420
1601
  logsIngestion?: DataCollectionEndpointLogsIngestion;
@@ -1432,7 +1613,7 @@ export interface DataCollectionEndpoint {
1432
1613
  description?: string;
1433
1614
  /** The immutable ID of this data collection endpoint resource. This property is READ-ONLY. */
1434
1615
  immutableId?: string;
1435
- /** The endpoint used by agents to access their configuration. */
1616
+ /** The endpoint used by clients to access their configuration. */
1436
1617
  configurationAccess?: DataCollectionEndpointConfigurationAccess;
1437
1618
  /** The endpoint used by clients to ingest logs. */
1438
1619
  logsIngestion?: DataCollectionEndpointLogsIngestion;
@@ -1465,54 +1646,11 @@ export interface NetworkRuleSet {
1465
1646
  /** The configuration to set whether network access from public internet to the endpoints are allowed. */
1466
1647
  publicNetworkAccess?: KnownPublicNetworkAccessOptions;
1467
1648
  }
1468
- /** Metadata pertaining to creation and last modification of the resource. */
1469
- export interface SystemData {
1470
- /** The identity that created the resource. */
1471
- createdBy?: string;
1472
- /** The type of identity that created the resource. */
1473
- createdByType?: CreatedByType;
1474
- /** The timestamp of resource creation (UTC). */
1475
- createdAt?: Date;
1476
- /** The identity that last modified the resource. */
1477
- lastModifiedBy?: string;
1478
- /** The type of identity that last modified the resource. */
1479
- lastModifiedByType?: CreatedByType;
1480
- /** The timestamp of resource last modification (UTC) */
1481
- lastModifiedAt?: Date;
1482
- }
1483
1649
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1484
1650
  export interface ErrorResponseCommonV2 {
1485
1651
  /** The error object. */
1486
1652
  error?: ErrorDetail;
1487
1653
  }
1488
- /** The error detail. */
1489
- export interface ErrorDetail {
1490
- /**
1491
- * The error code.
1492
- * NOTE: This property will not be serialized. It can only be populated by the server.
1493
- */
1494
- readonly code?: string;
1495
- /**
1496
- * The error message.
1497
- * NOTE: This property will not be serialized. It can only be populated by the server.
1498
- */
1499
- readonly message?: string;
1500
- /**
1501
- * The error target.
1502
- * NOTE: This property will not be serialized. It can only be populated by the server.
1503
- */
1504
- readonly target?: string;
1505
- /**
1506
- * The error details.
1507
- * NOTE: This property will not be serialized. It can only be populated by the server.
1508
- */
1509
- readonly details?: ErrorDetail[];
1510
- /**
1511
- * The error additional info.
1512
- * NOTE: This property will not be serialized. It can only be populated by the server.
1513
- */
1514
- readonly additionalInfo?: ErrorAdditionalInfo[];
1515
- }
1516
1654
  /** Definition of ARM tracked top level resource properties for update operation. */
1517
1655
  export interface ResourceForUpdate {
1518
1656
  /** Resource tags. */
@@ -1565,6 +1703,11 @@ export interface DataCollectionRuleAssociationProxyOnlyResource {
1565
1703
  * NOTE: This property will not be serialized. It can only be populated by the server.
1566
1704
  */
1567
1705
  readonly provisioningState?: KnownDataCollectionRuleAssociationProvisioningState;
1706
+ /**
1707
+ * Metadata about the resource
1708
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1709
+ */
1710
+ readonly metadata?: DataCollectionRuleAssociationMetadata;
1568
1711
  }
1569
1712
  /** Definition of association of a data collection rule with a monitored Azure resource. */
1570
1713
  export interface DataCollectionRuleAssociation {
@@ -1579,6 +1722,19 @@ export interface DataCollectionRuleAssociation {
1579
1722
  * NOTE: This property will not be serialized. It can only be populated by the server.
1580
1723
  */
1581
1724
  readonly provisioningState?: KnownDataCollectionRuleAssociationProvisioningState;
1725
+ /**
1726
+ * Metadata about the resource
1727
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1728
+ */
1729
+ readonly metadata?: DataCollectionRuleAssociationMetadata;
1730
+ }
1731
+ /** Metadata about the resource */
1732
+ export interface Metadata {
1733
+ /**
1734
+ * Azure offering managing this resource on-behalf-of customer.
1735
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1736
+ */
1737
+ readonly provisionedBy?: string;
1582
1738
  }
1583
1739
  /** A pageable list of resources. */
1584
1740
  export interface DataCollectionRuleResourceListResult {
@@ -1629,6 +1785,17 @@ export interface DataCollectionRuleResource {
1629
1785
  * NOTE: This property will not be serialized. It can only be populated by the server.
1630
1786
  */
1631
1787
  readonly immutableId?: string;
1788
+ /** The resource ID of the data collection endpoint that this rule can be used with. */
1789
+ dataCollectionEndpointId?: string;
1790
+ /**
1791
+ * Metadata about the resource
1792
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1793
+ */
1794
+ readonly metadata?: DataCollectionRuleMetadata;
1795
+ /** Declaration of custom streams used in this rule. */
1796
+ streamDeclarations?: {
1797
+ [propertyName: string]: StreamDeclaration;
1798
+ };
1632
1799
  /**
1633
1800
  * The specification of data sources.
1634
1801
  * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
@@ -1653,6 +1820,17 @@ export interface DataCollectionRule {
1653
1820
  * NOTE: This property will not be serialized. It can only be populated by the server.
1654
1821
  */
1655
1822
  readonly immutableId?: string;
1823
+ /** The resource ID of the data collection endpoint that this rule can be used with. */
1824
+ dataCollectionEndpointId?: string;
1825
+ /**
1826
+ * Metadata about the resource
1827
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1828
+ */
1829
+ readonly metadata?: DataCollectionRuleMetadata;
1830
+ /** Declaration of custom streams used in this rule. */
1831
+ streamDeclarations?: {
1832
+ [propertyName: string]: StreamDeclaration;
1833
+ };
1656
1834
  /**
1657
1835
  * The specification of data sources.
1658
1836
  * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
@@ -1668,6 +1846,18 @@ export interface DataCollectionRule {
1668
1846
  */
1669
1847
  readonly provisioningState?: KnownDataCollectionRuleProvisioningState;
1670
1848
  }
1849
+ /** Declaration of a custom stream. */
1850
+ export interface StreamDeclaration {
1851
+ /** List of columns used by data in this stream. */
1852
+ columns?: ColumnDefinition[];
1853
+ }
1854
+ /** Definition of custom data column. */
1855
+ export interface ColumnDefinition {
1856
+ /** The name of the column. */
1857
+ name?: string;
1858
+ /** The type of the column data. */
1859
+ type?: KnownColumnDefinitionType;
1860
+ }
1671
1861
  /** Specification of data sources that will be collected. */
1672
1862
  export interface DataSourcesSpec {
1673
1863
  /** The list of performance counter data source configurations. */
@@ -1678,6 +1868,10 @@ export interface DataSourcesSpec {
1678
1868
  syslog?: SyslogDataSource[];
1679
1869
  /** The list of Azure VM extension data source configurations. */
1680
1870
  extensions?: ExtensionDataSource[];
1871
+ /** The list of Log files source configurations. */
1872
+ logFiles?: LogFilesDataSource[];
1873
+ /** The list of IIS logs source configurations. */
1874
+ iisLogs?: IisLogsDataSource[];
1681
1875
  }
1682
1876
  /**
1683
1877
  * Definition of which performance counters will be collected and how they will be collected by this data collection rule.
@@ -1763,6 +1957,47 @@ export interface ExtensionDataSource {
1763
1957
  */
1764
1958
  name?: string;
1765
1959
  }
1960
+ /** Definition of which custom log files will be collected by this data collection rule */
1961
+ export interface LogFilesDataSource {
1962
+ /**
1963
+ * List of streams that this data source will be sent to.
1964
+ * A stream indicates what schema will be used for this data source
1965
+ */
1966
+ streams: string[];
1967
+ /** File Patterns where the log files are located */
1968
+ filePatterns: string[];
1969
+ /** The data format of the log files */
1970
+ format: KnownLogFilesDataSourceFormat;
1971
+ /** The log files specific settings. */
1972
+ settings?: LogFilesDataSourceSettings;
1973
+ /**
1974
+ * A friendly name for the data source.
1975
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
1976
+ */
1977
+ name?: string;
1978
+ }
1979
+ /** Settings for different log file formats */
1980
+ export interface LogFileSettings {
1981
+ /** Text settings */
1982
+ text?: LogFileSettingsText;
1983
+ }
1984
+ /** Settings for text log files */
1985
+ export interface LogFileTextSettings {
1986
+ /** One of the supported timestamp formats */
1987
+ recordStartTimestampFormat: KnownLogFileTextSettingsRecordStartTimestampFormat;
1988
+ }
1989
+ /** Enables IIS logs to be collected by this data collection rule. */
1990
+ export interface IisLogsDataSource {
1991
+ /** IIS streams */
1992
+ streams: string[];
1993
+ /** Absolute paths file location */
1994
+ logDirectories?: string[];
1995
+ /**
1996
+ * A friendly name for the data source.
1997
+ * This name should be unique across all data sources (regardless of type) within the data collection rule.
1998
+ */
1999
+ name?: string;
2000
+ }
1766
2001
  /** Specification of destinations that can be used in data flows. */
1767
2002
  export interface DestinationsSpec {
1768
2003
  /** List of Log Analytics destinations. */
@@ -1799,6 +2034,10 @@ export interface DataFlow {
1799
2034
  streams?: KnownDataFlowStreams[];
1800
2035
  /** List of destinations for this data flow. */
1801
2036
  destinations?: string[];
2037
+ /** The KQL query to transform stream data. */
2038
+ transformKql?: string;
2039
+ /** The output stream of the transform. Only required if the transform changes data to a different stream. */
2040
+ outputStream?: string;
1802
2041
  }
1803
2042
  /** The claims for a rule management event data source. */
1804
2043
  export interface RuleManagementEventClaimsDataSource {
@@ -1895,118 +2134,33 @@ export interface Criteria {
1895
2134
  dimensions?: Dimension[];
1896
2135
  }
1897
2136
  /** The autoscale setting resource. */
1898
- export declare type AutoscaleSettingResource = Resource & {
2137
+ export interface AutoscaleSettingResource extends Resource {
1899
2138
  /** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
1900
2139
  profiles: AutoscaleProfile[];
1901
2140
  /** the collection of notifications. */
1902
2141
  notifications?: AutoscaleNotification[];
1903
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
2142
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
1904
2143
  enabled?: boolean;
2144
+ /** the predictive autoscale policy mode. */
2145
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
1905
2146
  /** the name of the autoscale setting. */
1906
2147
  namePropertiesName?: string;
1907
2148
  /** the resource identifier of the resource that the autoscale setting should be added to. */
1908
2149
  targetResourceUri?: string;
1909
2150
  /** the location of the resource that the autoscale setting should be added to. */
1910
2151
  targetResourceLocation?: string;
1911
- };
1912
- /** The alert rule resource. */
1913
- export declare type AlertRuleResource = Resource & {
1914
- /** the name of the alert rule. */
1915
- namePropertiesName: string;
1916
- /** the description of the alert rule that will be included in the alert email. */
1917
- description?: string;
1918
- /** the provisioning state. */
1919
- provisioningState?: string;
1920
- /** the flag that indicates whether the alert rule is enabled. */
1921
- isEnabled: boolean;
1922
- /** the condition that results in the alert rule being activated. */
1923
- condition: RuleConditionUnion;
1924
- /** action that is performed when the alert rule becomes active, and when an alert condition is resolved. */
1925
- action?: RuleActionUnion;
1926
- /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
1927
- actions?: RuleActionUnion[];
1928
- /**
1929
- * Last time the rule was updated in ISO8601 format.
1930
- * NOTE: This property will not be serialized. It can only be populated by the server.
1931
- */
1932
- readonly lastUpdatedTime?: Date;
1933
- };
1934
- /** The log profile resource. */
1935
- export declare type LogProfileResource = Resource & {
1936
- /** the resource id of the storage account to which you would like to send the Activity Log. */
1937
- storageAccountId?: string;
1938
- /** 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}'. */
1939
- serviceBusRuleId?: string;
1940
- /** List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. */
1941
- locations: string[];
1942
- /** the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.' */
1943
- categories: string[];
1944
- /** the retention policy for the events in the log. */
1945
- retentionPolicy: RetentionPolicy;
1946
- };
1947
- /** The metric alert resource. */
1948
- export declare type MetricAlertResource = Resource & {
1949
- /** the description of the metric alert that will be included in the alert email. */
1950
- description?: string;
1951
- /** Alert severity {0, 1, 2, 3, 4} */
1952
- severity: number;
1953
- /** the flag that indicates whether the metric alert is enabled. */
1954
- enabled: boolean;
1955
- /** the list of resource id's that this metric alert is scoped to. */
1956
- scopes: string[];
1957
- /** how often the metric alert is evaluated represented in ISO 8601 duration format. */
1958
- evaluationFrequency: string;
1959
- /** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. */
1960
- windowSize: string;
1961
- /** the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
1962
- targetResourceType?: string;
1963
- /** the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
1964
- targetResourceRegion?: string;
1965
- /** defines the specific alert criteria information. */
1966
- criteria: MetricAlertCriteriaUnion;
1967
- /** the flag that indicates whether the alert should be auto resolved or not. The default is true. */
1968
- autoMitigate?: boolean;
1969
- /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
1970
- actions?: MetricAlertAction[];
1971
- /**
1972
- * Last time the rule was updated in ISO8601 format.
1973
- * NOTE: This property will not be serialized. It can only be populated by the server.
1974
- */
1975
- readonly lastUpdatedTime?: Date;
1976
- /**
1977
- * the value indicating whether this alert rule is migrated.
1978
- * NOTE: This property will not be serialized. It can only be populated by the server.
1979
- */
1980
- readonly isMigrated?: boolean;
1981
- };
1982
- /** An activity log alert resource. */
1983
- export declare type ActivityLogAlertResource = Resource & {
1984
- /** 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. */
1985
- scopes?: string[];
1986
- /** Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. */
1987
- enabled?: boolean;
1988
- /** The condition that will cause this alert to activate. */
1989
- condition?: ActivityLogAlertAllOfCondition;
1990
- /** The actions that will activate when the condition is met. */
1991
- actions?: ActivityLogAlertActionList;
1992
- /** A description of this activity log alert. */
1993
- description?: string;
1994
- };
1995
- /** The resource management error response. */
1996
- export declare type ErrorResponseCommon = ErrorResponse & {
1997
- /**
1998
- * The error details.
1999
- * NOTE: This property will not be serialized. It can only be populated by the server.
2000
- */
2001
- readonly details?: ErrorResponseCommon[];
2002
- /**
2003
- * The error additional info.
2004
- * NOTE: This property will not be serialized. It can only be populated by the server.
2005
- */
2006
- readonly additionalInfo?: ErrorAdditionalInfo[];
2007
- };
2152
+ }
2153
+ /** Metadata pertaining to creation and last modification of the resource. */
2154
+ export interface DataCollectionEndpointResourceSystemData extends SystemData {
2155
+ }
2156
+ /** Metadata pertaining to creation and last modification of the resource. */
2157
+ export interface DataCollectionRuleAssociationProxyOnlyResourceSystemData extends SystemData {
2158
+ }
2159
+ /** Metadata pertaining to creation and last modification of the resource. */
2160
+ export interface DataCollectionRuleResourceSystemData extends SystemData {
2161
+ }
2008
2162
  /** A rule condition based on a metric crossing a threshold. */
2009
- export declare type ThresholdRuleCondition = RuleCondition & {
2163
+ export interface ThresholdRuleCondition extends RuleCondition {
2010
2164
  /** Polymorphic discriminator, which specifies the different types this object can be */
2011
2165
  odataType: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition";
2012
2166
  /** the operator used to compare the data and the threshold. */
@@ -2017,32 +2171,32 @@ export declare type ThresholdRuleCondition = RuleCondition & {
2017
2171
  windowSize?: string;
2018
2172
  /** the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. */
2019
2173
  timeAggregation?: TimeAggregationOperator;
2020
- };
2174
+ }
2021
2175
  /** A rule condition based on a certain number of locations failing. */
2022
- export declare type LocationThresholdRuleCondition = RuleCondition & {
2176
+ export interface LocationThresholdRuleCondition extends RuleCondition {
2023
2177
  /** Polymorphic discriminator, which specifies the different types this object can be */
2024
2178
  odataType: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition";
2025
2179
  /** 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. */
2026
2180
  windowSize?: string;
2027
2181
  /** the number of locations that must fail to activate the alert. */
2028
2182
  failedLocationCount: number;
2029
- };
2183
+ }
2030
2184
  /** A management event rule condition. */
2031
- export declare type ManagementEventRuleCondition = RuleCondition & {
2185
+ export interface ManagementEventRuleCondition extends RuleCondition {
2032
2186
  /** Polymorphic discriminator, which specifies the different types this object can be */
2033
2187
  odataType: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition";
2034
2188
  /** 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. */
2035
2189
  aggregation?: ManagementEventAggregationCondition;
2036
- };
2190
+ }
2037
2191
  /** A rule metric data source. The discriminator value is always RuleMetricDataSource in this case. */
2038
- export declare type RuleMetricDataSource = RuleDataSource & {
2192
+ export interface RuleMetricDataSource extends RuleDataSource {
2039
2193
  /** Polymorphic discriminator, which specifies the different types this object can be */
2040
2194
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource";
2041
2195
  /** the name of the metric that defines what the rule monitors. */
2042
2196
  metricName?: string;
2043
- };
2197
+ }
2044
2198
  /** A rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case. */
2045
- export declare type RuleManagementEventDataSource = RuleDataSource & {
2199
+ export interface RuleManagementEventDataSource extends RuleDataSource {
2046
2200
  /** Polymorphic discriminator, which specifies the different types this object can be */
2047
2201
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource";
2048
2202
  /** the event name. */
@@ -2063,18 +2217,18 @@ export declare type RuleManagementEventDataSource = RuleDataSource & {
2063
2217
  subStatus?: string;
2064
2218
  /** the claims. */
2065
2219
  claims?: RuleManagementEventClaimsDataSource;
2066
- };
2220
+ }
2067
2221
  /** Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case. */
2068
- export declare type RuleEmailAction = RuleAction & {
2222
+ export interface RuleEmailAction extends RuleAction {
2069
2223
  /** Polymorphic discriminator, which specifies the different types this object can be */
2070
2224
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction";
2071
2225
  /** Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated. */
2072
2226
  sendToServiceOwners?: boolean;
2073
2227
  /** the list of administrator's custom email addresses to notify of the activation of the alert. */
2074
2228
  customEmails?: string[];
2075
- };
2229
+ }
2076
2230
  /** Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case. */
2077
- export declare type RuleWebhookAction = RuleAction & {
2231
+ export interface RuleWebhookAction extends RuleAction {
2078
2232
  /** Polymorphic discriminator, which specifies the different types this object can be */
2079
2233
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
2080
2234
  /** the service uri to Post the notification when the alert activates or resolves. */
@@ -2083,9 +2237,49 @@ export declare type RuleWebhookAction = RuleAction & {
2083
2237
  properties?: {
2084
2238
  [propertyName: string]: string;
2085
2239
  };
2086
- };
2240
+ }
2241
+ /** The alert rule resource. */
2242
+ export interface AlertRuleResource extends ResourceAutoGenerated {
2243
+ /** the name of the alert rule. */
2244
+ namePropertiesName: string;
2245
+ /** the description of the alert rule that will be included in the alert email. */
2246
+ description?: string;
2247
+ /** the provisioning state. */
2248
+ provisioningState?: string;
2249
+ /** the flag that indicates whether the alert rule is enabled. */
2250
+ isEnabled: boolean;
2251
+ /** the condition that results in the alert rule being activated. */
2252
+ condition: RuleConditionUnion;
2253
+ /** action that is performed when the alert rule becomes active, and when an alert condition is resolved. */
2254
+ action?: RuleActionUnion;
2255
+ /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2256
+ actions?: RuleActionUnion[];
2257
+ /**
2258
+ * Last time the rule was updated in ISO8601 format.
2259
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2260
+ */
2261
+ readonly lastUpdatedTime?: Date;
2262
+ }
2263
+ /** The log profile resource. */
2264
+ export interface LogProfileResource extends ResourceAutoGenerated2 {
2265
+ /** the resource id of the storage account to which you would like to send the Activity Log. */
2266
+ storageAccountId?: string;
2267
+ /** 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}'. */
2268
+ serviceBusRuleId?: string;
2269
+ /** List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. */
2270
+ locations: string[];
2271
+ /** the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.' */
2272
+ categories: string[];
2273
+ /** the retention policy for the events in the log. */
2274
+ retentionPolicy: RetentionPolicy;
2275
+ }
2087
2276
  /** The diagnostic setting resource. */
2088
- export declare type DiagnosticSettingsResource = ProxyOnlyResource & {
2277
+ export interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
2278
+ /**
2279
+ * The system metadata related to this resource.
2280
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2281
+ */
2282
+ readonly systemData?: SystemData;
2089
2283
  /** The resource ID of the storage account to which you would like to send Diagnostic Logs. */
2090
2284
  storageAccountId?: string;
2091
2285
  /** The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */
@@ -2100,16 +2294,64 @@ export declare type DiagnosticSettingsResource = ProxyOnlyResource & {
2100
2294
  logs?: LogSettings[];
2101
2295
  /** 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 */
2102
2296
  workspaceId?: string;
2297
+ /** The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. */
2298
+ marketplacePartnerId?: string;
2103
2299
  /** 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.) */
2104
2300
  logAnalyticsDestinationType?: string;
2105
- };
2301
+ }
2106
2302
  /** The diagnostic settings category resource. */
2107
- export declare type DiagnosticSettingsCategoryResource = ProxyOnlyResource & {
2303
+ export interface DiagnosticSettingsCategoryResource extends ResourceAutoGenerated3 {
2304
+ /**
2305
+ * The system metadata related to this resource.
2306
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2307
+ */
2308
+ readonly systemData?: SystemData;
2108
2309
  /** The type of the diagnostic settings category. */
2109
2310
  categoryType?: CategoryType;
2110
- };
2311
+ /** the collection of what category groups are supported. */
2312
+ categoryGroups?: string[];
2313
+ }
2314
+ /** The Private Endpoint Connection resource. */
2315
+ export interface PrivateEndpointConnection extends ResourceAutoGenerated3 {
2316
+ /** The resource of private end point. */
2317
+ privateEndpoint?: PrivateEndpoint;
2318
+ /** A collection of information about the state of the connection between service consumer and provider. */
2319
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
2320
+ /**
2321
+ * The provisioning state of the private endpoint connection resource.
2322
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2323
+ */
2324
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
2325
+ }
2326
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
2327
+ export interface TrackedResource extends ResourceAutoGenerated3 {
2328
+ /** Resource tags. */
2329
+ tags?: {
2330
+ [propertyName: string]: string;
2331
+ };
2332
+ /** The geo-location where the resource lives */
2333
+ location: string;
2334
+ }
2335
+ /** A private link resource */
2336
+ export interface PrivateLinkResource extends ResourceAutoGenerated3 {
2337
+ /**
2338
+ * The private link resource group id.
2339
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2340
+ */
2341
+ readonly groupId?: string;
2342
+ /**
2343
+ * The private link resource required member names.
2344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2345
+ */
2346
+ readonly requiredMembers?: string[];
2347
+ /** The private link resource Private link DNS zone name. */
2348
+ requiredZoneNames?: string[];
2349
+ }
2350
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
2351
+ export interface ProxyResourceAutoGenerated extends ResourceAutoGenerated3 {
2352
+ }
2111
2353
  /** An action group resource. */
2112
- export declare type ActionGroupResource = AzureResource & {
2354
+ export interface ActionGroupResource extends AzureResource {
2113
2355
  /** The short name of the action group. This will be used in SMS messages. */
2114
2356
  groupShortName?: string;
2115
2357
  /** Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. */
@@ -2136,16 +2378,16 @@ export declare type ActionGroupResource = AzureResource & {
2136
2378
  armRoleReceivers?: ArmRoleReceiver[];
2137
2379
  /** The list of event hub receivers that are part of this action group. */
2138
2380
  eventHubReceivers?: EventHubReceiver[];
2139
- };
2381
+ }
2140
2382
  /** Specifies the metric alert criteria for a single resource that has multiple metric criteria. */
2141
- export declare type MetricAlertSingleResourceMultipleMetricCriteria = MetricAlertCriteria & {
2383
+ export interface MetricAlertSingleResourceMultipleMetricCriteria extends MetricAlertCriteria {
2142
2384
  /** Polymorphic discriminator, which specifies the different types this object can be */
2143
2385
  odataType: "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria";
2144
2386
  /** The list of metric criteria for this 'all of' operation. */
2145
2387
  allOf?: MetricCriteria[];
2146
- };
2388
+ }
2147
2389
  /** Specifies the metric alert rule criteria for a web test resource. */
2148
- export declare type WebtestLocationAvailabilityCriteria = MetricAlertCriteria & {
2390
+ export interface WebtestLocationAvailabilityCriteria extends MetricAlertCriteria {
2149
2391
  /** Polymorphic discriminator, which specifies the different types this object can be */
2150
2392
  odataType: "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria";
2151
2393
  /** The Application Insights web test Id. */
@@ -2154,16 +2396,51 @@ export declare type WebtestLocationAvailabilityCriteria = MetricAlertCriteria &
2154
2396
  componentId: string;
2155
2397
  /** The number of failed locations. */
2156
2398
  failedLocationCount: number;
2157
- };
2399
+ }
2158
2400
  /** Specifies the metric alert criteria for multiple resource that has multiple metric criteria. */
2159
- export declare type MetricAlertMultipleResourceMultipleMetricCriteria = MetricAlertCriteria & {
2401
+ export interface MetricAlertMultipleResourceMultipleMetricCriteria extends MetricAlertCriteria {
2160
2402
  /** Polymorphic discriminator, which specifies the different types this object can be */
2161
2403
  odataType: "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria";
2162
2404
  /** the list of multiple metric criteria for this 'all of' operation. */
2163
2405
  allOf?: MultiMetricCriteriaUnion[];
2164
- };
2406
+ }
2407
+ /** The metric alert resource. */
2408
+ export interface MetricAlertResource extends ResourceAutoGenerated4 {
2409
+ /** the description of the metric alert that will be included in the alert email. */
2410
+ description?: string;
2411
+ /** Alert severity {0, 1, 2, 3, 4} */
2412
+ severity: number;
2413
+ /** the flag that indicates whether the metric alert is enabled. */
2414
+ enabled: boolean;
2415
+ /** the list of resource id's that this metric alert is scoped to. */
2416
+ scopes: string[];
2417
+ /** how often the metric alert is evaluated represented in ISO 8601 duration format. */
2418
+ evaluationFrequency: string;
2419
+ /** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. */
2420
+ windowSize: string;
2421
+ /** the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
2422
+ targetResourceType?: string;
2423
+ /** the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
2424
+ targetResourceRegion?: string;
2425
+ /** defines the specific alert criteria information. */
2426
+ criteria: MetricAlertCriteriaUnion;
2427
+ /** the flag that indicates whether the alert should be auto resolved or not. The default is true. */
2428
+ autoMitigate?: boolean;
2429
+ /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2430
+ actions?: MetricAlertAction[];
2431
+ /**
2432
+ * Last time the rule was updated in ISO8601 format.
2433
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2434
+ */
2435
+ readonly lastUpdatedTime?: Date;
2436
+ /**
2437
+ * the value indicating whether this alert rule is migrated.
2438
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2439
+ */
2440
+ readonly isMigrated?: boolean;
2441
+ }
2165
2442
  /** Specify action need to be taken when rule type is Alert */
2166
- export declare type AlertingAction = Action & {
2443
+ export interface AlertingAction extends Action {
2167
2444
  /** Polymorphic discriminator, which specifies the different types this object can be */
2168
2445
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
2169
2446
  /** Severity of the alert */
@@ -2174,16 +2451,16 @@ export declare type AlertingAction = Action & {
2174
2451
  throttlingInMin?: number;
2175
2452
  /** The trigger condition that results in the alert rule being. */
2176
2453
  trigger: TriggerCondition;
2177
- };
2454
+ }
2178
2455
  /** Specify action need to be taken when rule type is converting log to metric */
2179
- export declare type LogToMetricAction = Action & {
2456
+ export interface LogToMetricAction extends Action {
2180
2457
  /** Polymorphic discriminator, which specifies the different types this object can be */
2181
2458
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
2182
2459
  /** Criteria of Metric */
2183
2460
  criteria: Criteria[];
2184
- };
2461
+ }
2185
2462
  /** The Log Search Rule resource. */
2186
- export declare type LogSearchRuleResource = ResourceAutoGenerated & {
2463
+ export interface LogSearchRuleResource extends ResourceAutoGenerated5 {
2187
2464
  /**
2188
2465
  * The api-version used when creating this alert rule
2189
2466
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2218,9 +2495,9 @@ export declare type LogSearchRuleResource = ResourceAutoGenerated & {
2218
2495
  schedule?: Schedule;
2219
2496
  /** Action needs to be taken on rule execution. */
2220
2497
  action: ActionUnion;
2221
- };
2498
+ }
2222
2499
  /** VM Insights onboarding status for a resource. */
2223
- export declare type VMInsightsOnboardingStatus = ProxyResource & {
2500
+ export interface VMInsightsOnboardingStatus extends ProxyResource {
2224
2501
  /** Azure Resource Manager identifier of the resource whose onboarding status is being represented. */
2225
2502
  resourceId?: string;
2226
2503
  /** 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. */
@@ -2229,93 +2506,87 @@ export declare type VMInsightsOnboardingStatus = ProxyResource & {
2229
2506
  dataStatus?: DataStatus;
2230
2507
  /** Containers that currently store VM Insights data for the specified resource. */
2231
2508
  data?: DataContainer[];
2232
- };
2233
- /** A private endpoint connection */
2234
- export declare type PrivateEndpointConnection = ProxyResource & {
2235
- /** Private endpoint which the connection belongs to. */
2236
- privateEndpoint?: PrivateEndpointProperty;
2237
- /** Connection state of the private endpoint connection. */
2238
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
2239
- /**
2240
- * State of the private endpoint connection.
2241
- * NOTE: This property will not be serialized. It can only be populated by the server.
2242
- */
2243
- readonly provisioningState?: string;
2244
- };
2245
- /** A private link resource */
2246
- export declare type PrivateLinkResource = ProxyResource & {
2247
- /**
2248
- * The private link resource group id.
2249
- * NOTE: This property will not be serialized. It can only be populated by the server.
2250
- */
2251
- readonly groupId?: string;
2252
- /**
2253
- * The private link resource required member names.
2254
- * NOTE: This property will not be serialized. It can only be populated by the server.
2255
- */
2256
- readonly requiredMembers?: string[];
2257
- };
2258
- /** A private link scoped resource */
2259
- export declare type ScopedResource = ProxyResource & {
2260
- /** The resource id of the scoped Azure monitor resource. */
2261
- linkedResourceId?: string;
2262
- /**
2263
- * State of the private endpoint connection.
2264
- * NOTE: This property will not be serialized. It can only be populated by the server.
2265
- */
2266
- readonly provisioningState?: string;
2267
- };
2268
- /** An Azure Monitor PrivateLinkScope definition. */
2269
- export declare type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & {
2270
- /**
2271
- * 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.
2272
- * NOTE: This property will not be serialized. It can only be populated by the server.
2273
- */
2274
- readonly provisioningState?: string;
2275
- /**
2276
- * List of private endpoint connections.
2277
- * NOTE: This property will not be serialized. It can only be populated by the server.
2278
- */
2279
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
2280
- };
2509
+ }
2510
+ /**
2511
+ * An Activity Log Alert rule condition that is met when all its member conditions are met.
2512
+ * Each condition can be of one of the following types:
2513
+ * __Important__: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition.
2514
+ * * __Leaf Condition -__ must contain 'field' and either 'equals' or 'containsAny'.
2515
+ * _Please note, 'anyOf' should __not__ be set in a Leaf Condition._
2516
+ * * __AnyOf Condition -__ must contain __only__ 'anyOf' (which is an array of Leaf Conditions).
2517
+ * _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._
2518
+ *
2519
+ */
2520
+ export interface AlertRuleAnyOfOrLeafCondition extends AlertRuleLeafCondition {
2521
+ /** An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met. */
2522
+ anyOf?: AlertRuleLeafCondition[];
2523
+ }
2524
+ /** An Activity Log Alert rule resource. */
2525
+ export interface ActivityLogAlertResource extends AzureResourceAutoGenerated {
2526
+ /** 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. */
2527
+ scopes?: string[];
2528
+ /** The condition that will cause this alert to activate. */
2529
+ condition?: AlertRuleAllOfCondition;
2530
+ /** The actions that will activate when the condition is met. */
2531
+ actions?: ActionList;
2532
+ /** 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. */
2533
+ enabled?: boolean;
2534
+ /** A description of this Activity Log Alert rule. */
2535
+ description?: string;
2536
+ }
2281
2537
  /** Resource properties. */
2282
- export declare type DataCollectionEndpointResourceProperties = DataCollectionEndpoint & {};
2283
- /** The endpoint used by agents to access their configuration. */
2284
- export declare type DataCollectionEndpointConfigurationAccess = ConfigurationAccessEndpointSpec & {};
2538
+ export interface DataCollectionEndpointResourceProperties extends DataCollectionEndpoint {
2539
+ }
2540
+ /** The endpoint used by clients to access their configuration. */
2541
+ export interface DataCollectionEndpointConfigurationAccess extends ConfigurationAccessEndpointSpec {
2542
+ }
2285
2543
  /** The endpoint used by clients to ingest logs. */
2286
- export declare type DataCollectionEndpointLogsIngestion = LogsIngestionEndpointSpec & {};
2544
+ export interface DataCollectionEndpointLogsIngestion extends LogsIngestionEndpointSpec {
2545
+ }
2287
2546
  /** Network access control rules for the endpoints. */
2288
- export declare type DataCollectionEndpointNetworkAcls = NetworkRuleSet & {};
2289
- /** Metadata pertaining to creation and last modification of the resource. */
2290
- export declare type DataCollectionEndpointResourceSystemData = SystemData & {};
2291
- /** Metadata pertaining to creation and last modification of the resource. */
2292
- export declare type DataCollectionRuleAssociationProxyOnlyResourceSystemData = SystemData & {};
2293
- /** Metadata pertaining to creation and last modification of the resource. */
2294
- export declare type DataCollectionRuleResourceSystemData = SystemData & {};
2547
+ export interface DataCollectionEndpointNetworkAcls extends NetworkRuleSet {
2548
+ }
2295
2549
  /** Resource properties. */
2296
- export declare type DataCollectionRuleAssociationProxyOnlyResourceProperties = DataCollectionRuleAssociation & {};
2550
+ export interface DataCollectionRuleAssociationProxyOnlyResourceProperties extends DataCollectionRuleAssociation {
2551
+ }
2552
+ /** Metadata about the resource */
2553
+ export interface DataCollectionRuleAssociationMetadata extends Metadata {
2554
+ }
2555
+ /** Metadata about the resource */
2556
+ export interface DataCollectionRuleMetadata extends Metadata {
2557
+ }
2297
2558
  /** Resource properties. */
2298
- export declare type DataCollectionRuleResourceProperties = DataCollectionRule & {};
2559
+ export interface DataCollectionRuleResourceProperties extends DataCollectionRule {
2560
+ }
2299
2561
  /**
2300
2562
  * The specification of data sources.
2301
2563
  * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
2302
2564
  */
2303
- export declare type DataCollectionRuleDataSources = DataSourcesSpec & {};
2565
+ export interface DataCollectionRuleDataSources extends DataSourcesSpec {
2566
+ }
2567
+ /** The log files specific settings. */
2568
+ export interface LogFilesDataSourceSettings extends LogFileSettings {
2569
+ }
2570
+ /** Text settings */
2571
+ export interface LogFileSettingsText extends LogFileTextSettings {
2572
+ }
2304
2573
  /** The specification of destinations. */
2305
- export declare type DataCollectionRuleDestinations = DestinationsSpec & {};
2574
+ export interface DataCollectionRuleDestinations extends DestinationsSpec {
2575
+ }
2306
2576
  /** Azure Monitor Metrics destination. */
2307
- export declare type DestinationsSpecAzureMonitorMetrics = AzureMonitorMetricsDestination & {};
2577
+ export interface DestinationsSpecAzureMonitorMetrics extends AzureMonitorMetricsDestination {
2578
+ }
2308
2579
  /** Criterion to filter metrics. */
2309
- export declare type MetricCriteria = MultiMetricCriteria & {
2580
+ export interface MetricCriteria extends MultiMetricCriteria {
2310
2581
  /** Polymorphic discriminator, which specifies the different types this object can be */
2311
2582
  criterionType: "StaticThresholdCriterion";
2312
2583
  /** the criteria operator. */
2313
2584
  operator: Operator;
2314
2585
  /** the criteria threshold value that activates the alert. */
2315
2586
  threshold: number;
2316
- };
2587
+ }
2317
2588
  /** Criterion for dynamic threshold. */
2318
- export declare type DynamicMetricCriteria = MultiMetricCriteria & {
2589
+ export interface DynamicMetricCriteria extends MultiMetricCriteria {
2319
2590
  /** Polymorphic discriminator, which specifies the different types this object can be */
2320
2591
  criterionType: "DynamicThresholdCriterion";
2321
2592
  /** The operator used to compare the metric value against the threshold. */
@@ -2326,10 +2597,62 @@ export declare type DynamicMetricCriteria = MultiMetricCriteria & {
2326
2597
  failingPeriods: DynamicThresholdFailingPeriods;
2327
2598
  /** Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format) */
2328
2599
  ignoreDataBefore?: Date;
2329
- };
2600
+ }
2601
+ /** An Azure Monitor PrivateLinkScope definition. */
2602
+ export interface AzureMonitorPrivateLinkScope extends TrackedResource {
2603
+ /**
2604
+ * System data
2605
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2606
+ */
2607
+ readonly systemData?: SystemData;
2608
+ /**
2609
+ * 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.
2610
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2611
+ */
2612
+ readonly provisioningState?: string;
2613
+ /**
2614
+ * List of private endpoint connections.
2615
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2616
+ */
2617
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
2618
+ /** Access mode settings */
2619
+ accessModeSettings: AccessModeSettings;
2620
+ }
2621
+ /** A private link scoped resource */
2622
+ export interface ScopedResource extends ProxyResourceAutoGenerated {
2623
+ /**
2624
+ * System data
2625
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2626
+ */
2627
+ readonly systemData?: SystemData;
2628
+ /** The resource id of the scoped Azure monitor resource. */
2629
+ linkedResourceId?: string;
2630
+ /**
2631
+ * State of the private endpoint connection.
2632
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2633
+ */
2634
+ readonly provisioningState?: string;
2635
+ }
2636
+ /** Defines headers for ActionGroups_postTestNotifications operation. */
2637
+ export interface ActionGroupsPostTestNotificationsHeaders {
2638
+ /** The location header that has the polling uri. */
2639
+ location?: string;
2640
+ }
2641
+ /** Defines headers for ActionGroups_createNotificationsAtResourceGroupLevel operation. */
2642
+ export interface ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders {
2643
+ /** The location header that has the polling uri. */
2644
+ location?: string;
2645
+ }
2646
+ /** Defines headers for ActionGroups_createNotificationsAtActionGroupResourceLevel operation. */
2647
+ export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders {
2648
+ /** The location header that has the polling uri. */
2649
+ location?: string;
2650
+ }
2330
2651
  /** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
2331
2652
  export declare enum KnownScaleRuleMetricDimensionOperationType {
2653
+ /** Equals */
2332
2654
  Equals = "Equals",
2655
+ /** NotEquals */
2333
2656
  NotEquals = "NotEquals"
2334
2657
  }
2335
2658
  /**
@@ -2341,12 +2664,55 @@ export declare enum KnownScaleRuleMetricDimensionOperationType {
2341
2664
  * **NotEquals**
2342
2665
  */
2343
2666
  export declare type ScaleRuleMetricDimensionOperationType = string;
2667
+ /** Known values of {@link CreatedByType} that the service accepts. */
2668
+ export declare enum KnownCreatedByType {
2669
+ /** User */
2670
+ User = "User",
2671
+ /** Application */
2672
+ Application = "Application",
2673
+ /** ManagedIdentity */
2674
+ ManagedIdentity = "ManagedIdentity",
2675
+ /** Key */
2676
+ Key = "Key"
2677
+ }
2678
+ /**
2679
+ * Defines values for CreatedByType. \
2680
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
2681
+ * this enum contains the known values that the service supports.
2682
+ * ### Known values supported by the service
2683
+ * **User** \
2684
+ * **Application** \
2685
+ * **ManagedIdentity** \
2686
+ * **Key**
2687
+ */
2688
+ export declare type CreatedByType = string;
2689
+ /** Known values of {@link CategoryType} that the service accepts. */
2690
+ export declare enum KnownCategoryType {
2691
+ /** Metrics */
2692
+ Metrics = "Metrics",
2693
+ /** Logs */
2694
+ Logs = "Logs"
2695
+ }
2696
+ /**
2697
+ * Defines values for CategoryType. \
2698
+ * {@link KnownCategoryType} can be used interchangeably with CategoryType,
2699
+ * this enum contains the known values that the service supports.
2700
+ * ### Known values supported by the service
2701
+ * **Metrics** \
2702
+ * **Logs**
2703
+ */
2704
+ export declare type CategoryType = string;
2344
2705
  /** Known values of {@link MetricClass} that the service accepts. */
2345
2706
  export declare enum KnownMetricClass {
2707
+ /** Availability */
2346
2708
  Availability = "Availability",
2709
+ /** Transactions */
2347
2710
  Transactions = "Transactions",
2711
+ /** Errors */
2348
2712
  Errors = "Errors",
2713
+ /** Latency */
2349
2714
  Latency = "Latency",
2715
+ /** Saturation */
2350
2716
  Saturation = "Saturation"
2351
2717
  }
2352
2718
  /**
@@ -2363,18 +2729,31 @@ export declare enum KnownMetricClass {
2363
2729
  export declare type MetricClass = string;
2364
2730
  /** Known values of {@link MetricUnit} that the service accepts. */
2365
2731
  export declare enum KnownMetricUnit {
2732
+ /** Count */
2366
2733
  Count = "Count",
2734
+ /** Bytes */
2367
2735
  Bytes = "Bytes",
2736
+ /** Seconds */
2368
2737
  Seconds = "Seconds",
2738
+ /** CountPerSecond */
2369
2739
  CountPerSecond = "CountPerSecond",
2740
+ /** BytesPerSecond */
2370
2741
  BytesPerSecond = "BytesPerSecond",
2742
+ /** Percent */
2371
2743
  Percent = "Percent",
2744
+ /** MilliSeconds */
2372
2745
  MilliSeconds = "MilliSeconds",
2746
+ /** ByteSeconds */
2373
2747
  ByteSeconds = "ByteSeconds",
2748
+ /** Unspecified */
2374
2749
  Unspecified = "Unspecified",
2750
+ /** Cores */
2375
2751
  Cores = "Cores",
2752
+ /** MilliCores */
2376
2753
  MilliCores = "MilliCores",
2754
+ /** NanoCores */
2377
2755
  NanoCores = "NanoCores",
2756
+ /** BitsPerSecond */
2378
2757
  BitsPerSecond = "BitsPerSecond"
2379
2758
  }
2380
2759
  /**
@@ -2399,8 +2778,11 @@ export declare enum KnownMetricUnit {
2399
2778
  export declare type MetricUnit = string;
2400
2779
  /** Known values of {@link BaselineSensitivity} that the service accepts. */
2401
2780
  export declare enum KnownBaselineSensitivity {
2781
+ /** Low */
2402
2782
  Low = "Low",
2783
+ /** Medium */
2403
2784
  Medium = "Medium",
2785
+ /** High */
2404
2786
  High = "High"
2405
2787
  }
2406
2788
  /**
@@ -2415,8 +2797,11 @@ export declare enum KnownBaselineSensitivity {
2415
2797
  export declare type BaselineSensitivity = string;
2416
2798
  /** Known values of {@link Odatatype} that the service accepts. */
2417
2799
  export declare enum KnownOdatatype {
2800
+ /** MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria */
2418
2801
  MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
2802
+ /** MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria */
2419
2803
  MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
2804
+ /** MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria */
2420
2805
  MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
2421
2806
  }
2422
2807
  /**
@@ -2431,7 +2816,9 @@ export declare enum KnownOdatatype {
2431
2816
  export declare type Odatatype = string;
2432
2817
  /** Known values of {@link Enabled} that the service accepts. */
2433
2818
  export declare enum KnownEnabled {
2819
+ /** True */
2434
2820
  True = "true",
2821
+ /** False */
2435
2822
  False = "false"
2436
2823
  }
2437
2824
  /**
@@ -2445,9 +2832,13 @@ export declare enum KnownEnabled {
2445
2832
  export declare type Enabled = string;
2446
2833
  /** Known values of {@link ProvisioningState} that the service accepts. */
2447
2834
  export declare enum KnownProvisioningState {
2835
+ /** Succeeded */
2448
2836
  Succeeded = "Succeeded",
2837
+ /** Deploying */
2449
2838
  Deploying = "Deploying",
2839
+ /** Canceled */
2450
2840
  Canceled = "Canceled",
2841
+ /** Failed */
2451
2842
  Failed = "Failed"
2452
2843
  }
2453
2844
  /**
@@ -2463,6 +2854,7 @@ export declare enum KnownProvisioningState {
2463
2854
  export declare type ProvisioningState = string;
2464
2855
  /** Known values of {@link QueryType} that the service accepts. */
2465
2856
  export declare enum KnownQueryType {
2857
+ /** ResultCount */
2466
2858
  ResultCount = "ResultCount"
2467
2859
  }
2468
2860
  /**
@@ -2475,8 +2867,11 @@ export declare enum KnownQueryType {
2475
2867
  export declare type QueryType = string;
2476
2868
  /** Known values of {@link NamespaceClassification} that the service accepts. */
2477
2869
  export declare enum KnownNamespaceClassification {
2870
+ /** Platform */
2478
2871
  Platform = "Platform",
2872
+ /** Custom */
2479
2873
  Custom = "Custom",
2874
+ /** Qos */
2480
2875
  Qos = "Qos"
2481
2876
  }
2482
2877
  /**
@@ -2491,8 +2886,11 @@ export declare enum KnownNamespaceClassification {
2491
2886
  export declare type NamespaceClassification = string;
2492
2887
  /** Known values of {@link OnboardingStatus} that the service accepts. */
2493
2888
  export declare enum KnownOnboardingStatus {
2889
+ /** Onboarded */
2494
2890
  Onboarded = "onboarded",
2891
+ /** NotOnboarded */
2495
2892
  NotOnboarded = "notOnboarded",
2893
+ /** Unknown */
2496
2894
  Unknown = "unknown"
2497
2895
  }
2498
2896
  /**
@@ -2507,7 +2905,9 @@ export declare enum KnownOnboardingStatus {
2507
2905
  export declare type OnboardingStatus = string;
2508
2906
  /** Known values of {@link DataStatus} that the service accepts. */
2509
2907
  export declare enum KnownDataStatus {
2908
+ /** Present */
2510
2909
  Present = "present",
2910
+ /** NotPresent */
2511
2911
  NotPresent = "notPresent"
2512
2912
  }
2513
2913
  /**
@@ -2519,9 +2919,68 @@ export declare enum KnownDataStatus {
2519
2919
  * **notPresent**
2520
2920
  */
2521
2921
  export declare type DataStatus = string;
2922
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
2923
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
2924
+ /** Pending */
2925
+ Pending = "Pending",
2926
+ /** Approved */
2927
+ Approved = "Approved",
2928
+ /** Rejected */
2929
+ Rejected = "Rejected"
2930
+ }
2931
+ /**
2932
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
2933
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
2934
+ * this enum contains the known values that the service supports.
2935
+ * ### Known values supported by the service
2936
+ * **Pending** \
2937
+ * **Approved** \
2938
+ * **Rejected**
2939
+ */
2940
+ export declare type PrivateEndpointServiceConnectionStatus = string;
2941
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
2942
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
2943
+ /** Succeeded */
2944
+ Succeeded = "Succeeded",
2945
+ /** Creating */
2946
+ Creating = "Creating",
2947
+ /** Deleting */
2948
+ Deleting = "Deleting",
2949
+ /** Failed */
2950
+ Failed = "Failed"
2951
+ }
2952
+ /**
2953
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
2954
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
2955
+ * this enum contains the known values that the service supports.
2956
+ * ### Known values supported by the service
2957
+ * **Succeeded** \
2958
+ * **Creating** \
2959
+ * **Deleting** \
2960
+ * **Failed**
2961
+ */
2962
+ export declare type PrivateEndpointConnectionProvisioningState = string;
2963
+ /** Known values of {@link AccessMode} that the service accepts. */
2964
+ export declare enum KnownAccessMode {
2965
+ /** Open */
2966
+ Open = "Open",
2967
+ /** PrivateOnly */
2968
+ PrivateOnly = "PrivateOnly"
2969
+ }
2970
+ /**
2971
+ * Defines values for AccessMode. \
2972
+ * {@link KnownAccessMode} can be used interchangeably with AccessMode,
2973
+ * this enum contains the known values that the service supports.
2974
+ * ### Known values supported by the service
2975
+ * **Open** \
2976
+ * **PrivateOnly**
2977
+ */
2978
+ export declare type AccessMode = string;
2522
2979
  /** Known values of {@link KnownPublicNetworkAccessOptions} that the service accepts. */
2523
2980
  export declare enum KnownKnownPublicNetworkAccessOptions {
2981
+ /** Enabled */
2524
2982
  Enabled = "Enabled",
2983
+ /** Disabled */
2525
2984
  Disabled = "Disabled"
2526
2985
  }
2527
2986
  /**
@@ -2535,10 +2994,15 @@ export declare enum KnownKnownPublicNetworkAccessOptions {
2535
2994
  export declare type KnownPublicNetworkAccessOptions = string;
2536
2995
  /** Known values of {@link KnownDataCollectionEndpointProvisioningState} that the service accepts. */
2537
2996
  export declare enum KnownKnownDataCollectionEndpointProvisioningState {
2997
+ /** Creating */
2538
2998
  Creating = "Creating",
2999
+ /** Updating */
2539
3000
  Updating = "Updating",
3001
+ /** Deleting */
2540
3002
  Deleting = "Deleting",
3003
+ /** Succeeded */
2541
3004
  Succeeded = "Succeeded",
3005
+ /** Failed */
2542
3006
  Failed = "Failed"
2543
3007
  }
2544
3008
  /**
@@ -2555,7 +3019,9 @@ export declare enum KnownKnownDataCollectionEndpointProvisioningState {
2555
3019
  export declare type KnownDataCollectionEndpointProvisioningState = string;
2556
3020
  /** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
2557
3021
  export declare enum KnownKnownDataCollectionEndpointResourceKind {
3022
+ /** Linux */
2558
3023
  Linux = "Linux",
3024
+ /** Windows */
2559
3025
  Windows = "Windows"
2560
3026
  }
2561
3027
  /**
@@ -2567,30 +3033,17 @@ export declare enum KnownKnownDataCollectionEndpointResourceKind {
2567
3033
  * **Windows**
2568
3034
  */
2569
3035
  export declare type KnownDataCollectionEndpointResourceKind = string;
2570
- /** Known values of {@link CreatedByType} that the service accepts. */
2571
- export declare enum KnownCreatedByType {
2572
- User = "User",
2573
- Application = "Application",
2574
- ManagedIdentity = "ManagedIdentity",
2575
- Key = "Key"
2576
- }
2577
- /**
2578
- * Defines values for CreatedByType. \
2579
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
2580
- * this enum contains the known values that the service supports.
2581
- * ### Known values supported by the service
2582
- * **User** \
2583
- * **Application** \
2584
- * **ManagedIdentity** \
2585
- * **Key**
2586
- */
2587
- export declare type CreatedByType = string;
2588
3036
  /** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
2589
3037
  export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
3038
+ /** Creating */
2590
3039
  Creating = "Creating",
3040
+ /** Updating */
2591
3041
  Updating = "Updating",
3042
+ /** Deleting */
2592
3043
  Deleting = "Deleting",
3044
+ /** Succeeded */
2593
3045
  Succeeded = "Succeeded",
3046
+ /** Failed */
2594
3047
  Failed = "Failed"
2595
3048
  }
2596
3049
  /**
@@ -2605,9 +3058,42 @@ export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
2605
3058
  * **Failed**
2606
3059
  */
2607
3060
  export declare type KnownDataCollectionRuleAssociationProvisioningState = string;
3061
+ /** Known values of {@link KnownColumnDefinitionType} that the service accepts. */
3062
+ export declare enum KnownKnownColumnDefinitionType {
3063
+ /** String */
3064
+ String = "string",
3065
+ /** Int */
3066
+ Int = "int",
3067
+ /** Long */
3068
+ Long = "long",
3069
+ /** Real */
3070
+ Real = "real",
3071
+ /** Boolean */
3072
+ Boolean = "boolean",
3073
+ /** Datetime */
3074
+ Datetime = "datetime",
3075
+ /** Dynamic */
3076
+ Dynamic = "dynamic"
3077
+ }
3078
+ /**
3079
+ * Defines values for KnownColumnDefinitionType. \
3080
+ * {@link KnownKnownColumnDefinitionType} can be used interchangeably with KnownColumnDefinitionType,
3081
+ * this enum contains the known values that the service supports.
3082
+ * ### Known values supported by the service
3083
+ * **string** \
3084
+ * **int** \
3085
+ * **long** \
3086
+ * **real** \
3087
+ * **boolean** \
3088
+ * **datetime** \
3089
+ * **dynamic**
3090
+ */
3091
+ export declare type KnownColumnDefinitionType = string;
2608
3092
  /** Known values of {@link KnownPerfCounterDataSourceStreams} that the service accepts. */
2609
3093
  export declare enum KnownKnownPerfCounterDataSourceStreams {
3094
+ /** MicrosoftPerf */
2610
3095
  MicrosoftPerf = "Microsoft-Perf",
3096
+ /** MicrosoftInsightsMetrics */
2611
3097
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics"
2612
3098
  }
2613
3099
  /**
@@ -2621,7 +3107,9 @@ export declare enum KnownKnownPerfCounterDataSourceStreams {
2621
3107
  export declare type KnownPerfCounterDataSourceStreams = string;
2622
3108
  /** Known values of {@link KnownWindowsEventLogDataSourceStreams} that the service accepts. */
2623
3109
  export declare enum KnownKnownWindowsEventLogDataSourceStreams {
3110
+ /** MicrosoftWindowsEvent */
2624
3111
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent",
3112
+ /** MicrosoftEvent */
2625
3113
  MicrosoftEvent = "Microsoft-Event"
2626
3114
  }
2627
3115
  /**
@@ -2635,6 +3123,7 @@ export declare enum KnownKnownWindowsEventLogDataSourceStreams {
2635
3123
  export declare type KnownWindowsEventLogDataSourceStreams = string;
2636
3124
  /** Known values of {@link KnownSyslogDataSourceStreams} that the service accepts. */
2637
3125
  export declare enum KnownKnownSyslogDataSourceStreams {
3126
+ /** MicrosoftSyslog */
2638
3127
  MicrosoftSyslog = "Microsoft-Syslog"
2639
3128
  }
2640
3129
  /**
@@ -2647,26 +3136,47 @@ export declare enum KnownKnownSyslogDataSourceStreams {
2647
3136
  export declare type KnownSyslogDataSourceStreams = string;
2648
3137
  /** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
2649
3138
  export declare enum KnownKnownSyslogDataSourceFacilityNames {
3139
+ /** Auth */
2650
3140
  Auth = "auth",
3141
+ /** Authpriv */
2651
3142
  Authpriv = "authpriv",
3143
+ /** Cron */
2652
3144
  Cron = "cron",
3145
+ /** Daemon */
2653
3146
  Daemon = "daemon",
3147
+ /** Kern */
2654
3148
  Kern = "kern",
3149
+ /** Lpr */
2655
3150
  Lpr = "lpr",
3151
+ /** Mail */
2656
3152
  Mail = "mail",
3153
+ /** Mark */
2657
3154
  Mark = "mark",
3155
+ /** News */
2658
3156
  News = "news",
3157
+ /** Syslog */
2659
3158
  Syslog = "syslog",
3159
+ /** User */
2660
3160
  User = "user",
3161
+ /** Uucp */
2661
3162
  Uucp = "uucp",
3163
+ /** Local0 */
2662
3164
  Local0 = "local0",
3165
+ /** Local1 */
2663
3166
  Local1 = "local1",
3167
+ /** Local2 */
2664
3168
  Local2 = "local2",
3169
+ /** Local3 */
2665
3170
  Local3 = "local3",
3171
+ /** Local4 */
2666
3172
  Local4 = "local4",
3173
+ /** Local5 */
2667
3174
  Local5 = "local5",
3175
+ /** Local6 */
2668
3176
  Local6 = "local6",
3177
+ /** Local7 */
2669
3178
  Local7 = "local7",
3179
+ /** Asterisk */
2670
3180
  Asterisk = "*"
2671
3181
  }
2672
3182
  /**
@@ -2699,14 +3209,23 @@ export declare enum KnownKnownSyslogDataSourceFacilityNames {
2699
3209
  export declare type KnownSyslogDataSourceFacilityNames = string;
2700
3210
  /** Known values of {@link KnownSyslogDataSourceLogLevels} that the service accepts. */
2701
3211
  export declare enum KnownKnownSyslogDataSourceLogLevels {
3212
+ /** Debug */
2702
3213
  Debug = "Debug",
3214
+ /** Info */
2703
3215
  Info = "Info",
3216
+ /** Notice */
2704
3217
  Notice = "Notice",
3218
+ /** Warning */
2705
3219
  Warning = "Warning",
3220
+ /** Error */
2706
3221
  Error = "Error",
3222
+ /** Critical */
2707
3223
  Critical = "Critical",
3224
+ /** Alert */
2708
3225
  Alert = "Alert",
3226
+ /** Emergency */
2709
3227
  Emergency = "Emergency",
3228
+ /** Asterisk */
2710
3229
  Asterisk = "*"
2711
3230
  }
2712
3231
  /**
@@ -2727,10 +3246,15 @@ export declare enum KnownKnownSyslogDataSourceLogLevels {
2727
3246
  export declare type KnownSyslogDataSourceLogLevels = string;
2728
3247
  /** Known values of {@link KnownExtensionDataSourceStreams} that the service accepts. */
2729
3248
  export declare enum KnownKnownExtensionDataSourceStreams {
3249
+ /** MicrosoftEvent */
2730
3250
  MicrosoftEvent = "Microsoft-Event",
3251
+ /** MicrosoftInsightsMetrics */
2731
3252
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
3253
+ /** MicrosoftPerf */
2732
3254
  MicrosoftPerf = "Microsoft-Perf",
3255
+ /** MicrosoftSyslog */
2733
3256
  MicrosoftSyslog = "Microsoft-Syslog",
3257
+ /** MicrosoftWindowsEvent */
2734
3258
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
2735
3259
  }
2736
3260
  /**
@@ -2745,12 +3269,67 @@ export declare enum KnownKnownExtensionDataSourceStreams {
2745
3269
  * **Microsoft-WindowsEvent**
2746
3270
  */
2747
3271
  export declare type KnownExtensionDataSourceStreams = string;
3272
+ /** Known values of {@link KnownLogFilesDataSourceFormat} that the service accepts. */
3273
+ export declare enum KnownKnownLogFilesDataSourceFormat {
3274
+ /** Text */
3275
+ Text = "text"
3276
+ }
3277
+ /**
3278
+ * Defines values for KnownLogFilesDataSourceFormat. \
3279
+ * {@link KnownKnownLogFilesDataSourceFormat} can be used interchangeably with KnownLogFilesDataSourceFormat,
3280
+ * this enum contains the known values that the service supports.
3281
+ * ### Known values supported by the service
3282
+ * **text**
3283
+ */
3284
+ export declare type KnownLogFilesDataSourceFormat = string;
3285
+ /** Known values of {@link KnownLogFileTextSettingsRecordStartTimestampFormat} that the service accepts. */
3286
+ export declare enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
3287
+ /** ISO8601 */
3288
+ ISO8601 = "ISO 8601",
3289
+ /** YyyyMMDDHHMMSS */
3290
+ YyyyMMDDHHMMSS = "YYYY-MM-DD HH:MM:SS",
3291
+ /** MDYyyyHHMMSSAMPM */
3292
+ MDYyyyHHMMSSAMPM = "M/D/YYYY HH:MM:SS AM/PM",
3293
+ /** MonDDYyyyHHMMSS */
3294
+ MonDDYyyyHHMMSS = "Mon DD, YYYY HH:MM:SS",
3295
+ /** YyMMddHHMmSs */
3296
+ YyMMddHHMmSs = "yyMMdd HH:mm:ss",
3297
+ /** DdMMyyHHMmSs */
3298
+ DdMMyyHHMmSs = "ddMMyy HH:mm:ss",
3299
+ /** MMMDHhMmSs */
3300
+ MMMDHhMmSs = "MMM d hh:mm:ss",
3301
+ /** DdMMMYyyyHHMmSsZzz */
3302
+ DdMMMYyyyHHMmSsZzz = "dd/MMM/yyyy:HH:mm:ss zzz",
3303
+ /** YyyyMMDdTHHMmSsK */
3304
+ YyyyMMDdTHHMmSsK = "yyyy-MM-ddTHH:mm:ssK"
3305
+ }
3306
+ /**
3307
+ * Defines values for KnownLogFileTextSettingsRecordStartTimestampFormat. \
3308
+ * {@link KnownKnownLogFileTextSettingsRecordStartTimestampFormat} can be used interchangeably with KnownLogFileTextSettingsRecordStartTimestampFormat,
3309
+ * this enum contains the known values that the service supports.
3310
+ * ### Known values supported by the service
3311
+ * **ISO 8601** \
3312
+ * **YYYY-MM-DD HH:MM:SS** \
3313
+ * **M\/D\/YYYY HH:MM:SS AM\/PM** \
3314
+ * **Mon DD, YYYY HH:MM:SS** \
3315
+ * **yyMMdd HH:mm:ss** \
3316
+ * **ddMMyy HH:mm:ss** \
3317
+ * **MMM d hh:mm:ss** \
3318
+ * **dd\/MMM\/yyyy:HH:mm:ss zzz** \
3319
+ * **yyyy-MM-ddTHH:mm:ssK**
3320
+ */
3321
+ export declare type KnownLogFileTextSettingsRecordStartTimestampFormat = string;
2748
3322
  /** Known values of {@link KnownDataFlowStreams} that the service accepts. */
2749
3323
  export declare enum KnownKnownDataFlowStreams {
3324
+ /** MicrosoftEvent */
2750
3325
  MicrosoftEvent = "Microsoft-Event",
3326
+ /** MicrosoftInsightsMetrics */
2751
3327
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
3328
+ /** MicrosoftPerf */
2752
3329
  MicrosoftPerf = "Microsoft-Perf",
3330
+ /** MicrosoftSyslog */
2753
3331
  MicrosoftSyslog = "Microsoft-Syslog",
3332
+ /** MicrosoftWindowsEvent */
2754
3333
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
2755
3334
  }
2756
3335
  /**
@@ -2767,10 +3346,15 @@ export declare enum KnownKnownDataFlowStreams {
2767
3346
  export declare type KnownDataFlowStreams = string;
2768
3347
  /** Known values of {@link KnownDataCollectionRuleProvisioningState} that the service accepts. */
2769
3348
  export declare enum KnownKnownDataCollectionRuleProvisioningState {
3349
+ /** Creating */
2770
3350
  Creating = "Creating",
3351
+ /** Updating */
2771
3352
  Updating = "Updating",
3353
+ /** Deleting */
2772
3354
  Deleting = "Deleting",
3355
+ /** Succeeded */
2773
3356
  Succeeded = "Succeeded",
3357
+ /** Failed */
2774
3358
  Failed = "Failed"
2775
3359
  }
2776
3360
  /**
@@ -2787,7 +3371,9 @@ export declare enum KnownKnownDataCollectionRuleProvisioningState {
2787
3371
  export declare type KnownDataCollectionRuleProvisioningState = string;
2788
3372
  /** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
2789
3373
  export declare enum KnownKnownDataCollectionRuleResourceKind {
3374
+ /** Linux */
2790
3375
  Linux = "Linux",
3376
+ /** Windows */
2791
3377
  Windows = "Windows"
2792
3378
  }
2793
3379
  /**
@@ -2801,11 +3387,17 @@ export declare enum KnownKnownDataCollectionRuleResourceKind {
2801
3387
  export declare type KnownDataCollectionRuleResourceKind = string;
2802
3388
  /** Known values of {@link Operator} that the service accepts. */
2803
3389
  export declare enum KnownOperator {
3390
+ /** Equals */
2804
3391
  Equals = "Equals",
3392
+ /** GreaterThan */
2805
3393
  GreaterThan = "GreaterThan",
3394
+ /** GreaterThanOrEqual */
2806
3395
  GreaterThanOrEqual = "GreaterThanOrEqual",
3396
+ /** LessThan */
2807
3397
  LessThan = "LessThan",
3398
+ /** LessThanOrEqual */
2808
3399
  LessThanOrEqual = "LessThanOrEqual",
3400
+ /** Include */
2809
3401
  Include = "Include"
2810
3402
  }
2811
3403
  /**
@@ -2823,7 +3415,9 @@ export declare enum KnownOperator {
2823
3415
  export declare type Operator = string;
2824
3416
  /** Known values of {@link CriterionType} that the service accepts. */
2825
3417
  export declare enum KnownCriterionType {
3418
+ /** StaticThresholdCriterion */
2826
3419
  StaticThresholdCriterion = "StaticThresholdCriterion",
3420
+ /** DynamicThresholdCriterion */
2827
3421
  DynamicThresholdCriterion = "DynamicThresholdCriterion"
2828
3422
  }
2829
3423
  /**
@@ -2837,10 +3431,15 @@ export declare enum KnownCriterionType {
2837
3431
  export declare type CriterionType = string;
2838
3432
  /** Known values of {@link AggregationTypeEnum} that the service accepts. */
2839
3433
  export declare enum KnownAggregationTypeEnum {
3434
+ /** Average */
2840
3435
  Average = "Average",
3436
+ /** Count */
2841
3437
  Count = "Count",
3438
+ /** Minimum */
2842
3439
  Minimum = "Minimum",
3440
+ /** Maximum */
2843
3441
  Maximum = "Maximum",
3442
+ /** Total */
2844
3443
  Total = "Total"
2845
3444
  }
2846
3445
  /**
@@ -2857,8 +3456,11 @@ export declare enum KnownAggregationTypeEnum {
2857
3456
  export declare type AggregationTypeEnum = string;
2858
3457
  /** Known values of {@link DynamicThresholdOperator} that the service accepts. */
2859
3458
  export declare enum KnownDynamicThresholdOperator {
3459
+ /** GreaterThan */
2860
3460
  GreaterThan = "GreaterThan",
3461
+ /** LessThan */
2861
3462
  LessThan = "LessThan",
3463
+ /** GreaterOrLessThan */
2862
3464
  GreaterOrLessThan = "GreaterOrLessThan"
2863
3465
  }
2864
3466
  /**
@@ -2873,8 +3475,11 @@ export declare enum KnownDynamicThresholdOperator {
2873
3475
  export declare type DynamicThresholdOperator = string;
2874
3476
  /** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
2875
3477
  export declare enum KnownDynamicThresholdSensitivity {
3478
+ /** Low */
2876
3479
  Low = "Low",
3480
+ /** Medium */
2877
3481
  Medium = "Medium",
3482
+ /** High */
2878
3483
  High = "High"
2879
3484
  }
2880
3485
  /**
@@ -2889,10 +3494,15 @@ export declare enum KnownDynamicThresholdSensitivity {
2889
3494
  export declare type DynamicThresholdSensitivity = string;
2890
3495
  /** Known values of {@link ConditionalOperator} that the service accepts. */
2891
3496
  export declare enum KnownConditionalOperator {
3497
+ /** GreaterThanOrEqual */
2892
3498
  GreaterThanOrEqual = "GreaterThanOrEqual",
3499
+ /** LessThanOrEqual */
2893
3500
  LessThanOrEqual = "LessThanOrEqual",
3501
+ /** GreaterThan */
2894
3502
  GreaterThan = "GreaterThan",
3503
+ /** LessThan */
2895
3504
  LessThan = "LessThan",
3505
+ /** Equal */
2896
3506
  Equal = "Equal"
2897
3507
  }
2898
3508
  /**
@@ -2909,7 +3519,9 @@ export declare enum KnownConditionalOperator {
2909
3519
  export declare type ConditionalOperator = string;
2910
3520
  /** Known values of {@link MetricTriggerType} that the service accepts. */
2911
3521
  export declare enum KnownMetricTriggerType {
3522
+ /** Consecutive */
2912
3523
  Consecutive = "Consecutive",
3524
+ /** Total */
2913
3525
  Total = "Total"
2914
3526
  }
2915
3527
  /**
@@ -2923,10 +3535,15 @@ export declare enum KnownMetricTriggerType {
2923
3535
  export declare type MetricTriggerType = string;
2924
3536
  /** Known values of {@link AlertSeverity} that the service accepts. */
2925
3537
  export declare enum KnownAlertSeverity {
3538
+ /** Zero */
2926
3539
  Zero = "0",
3540
+ /** One */
2927
3541
  One = "1",
3542
+ /** Two */
2928
3543
  Two = "2",
3544
+ /** Three */
2929
3545
  Three = "3",
3546
+ /** Four */
2930
3547
  Four = "4"
2931
3548
  }
2932
3549
  /**
@@ -2953,8 +3570,8 @@ export declare type ScaleDirection = "None" | "Increase" | "Decrease";
2953
3570
  export declare type ScaleType = "ChangeCount" | "PercentChangeCount" | "ExactCount" | "ServiceAllowedNextValue";
2954
3571
  /** Defines values for RecurrenceFrequency. */
2955
3572
  export declare type RecurrenceFrequency = "None" | "Second" | "Minute" | "Hour" | "Day" | "Week" | "Month" | "Year";
2956
- /** Defines values for CategoryType. */
2957
- export declare type CategoryType = "Metrics" | "Logs";
3573
+ /** Defines values for PredictiveAutoscalePolicyScaleMode. */
3574
+ export declare type PredictiveAutoscalePolicyScaleMode = "Disabled" | "ForecastOnly" | "Enabled";
2958
3575
  /** Defines values for ReceiverStatus. */
2959
3576
  export declare type ReceiverStatus = "NotSpecified" | "Enabled" | "Disabled";
2960
3577
  /** Defines values for EventLevel. */
@@ -3006,6 +3623,11 @@ export interface AutoscaleSettingsListBySubscriptionNextOptionalParams extends c
3006
3623
  /** Contains response data for the listBySubscriptionNext operation. */
3007
3624
  export declare type AutoscaleSettingsListBySubscriptionNextResponse = AutoscaleSettingResourceCollection;
3008
3625
  /** Optional parameters. */
3626
+ export interface PredictiveMetricGetOptionalParams extends coreClient.OperationOptions {
3627
+ }
3628
+ /** Contains response data for the get operation. */
3629
+ export declare type PredictiveMetricGetResponse = PredictiveResponse;
3630
+ /** Optional parameters. */
3009
3631
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
3010
3632
  }
3011
3633
  /** Contains response data for the list operation. */
@@ -3125,13 +3747,41 @@ export interface ActionGroupsPostTestNotificationsOptionalParams extends coreCli
3125
3747
  resumeFrom?: string;
3126
3748
  }
3127
3749
  /** Contains response data for the postTestNotifications operation. */
3128
- export declare type ActionGroupsPostTestNotificationsResponse = TestNotificationResponse;
3750
+ export declare type ActionGroupsPostTestNotificationsResponse = TestNotificationDetailsResponse;
3751
+ /** Optional parameters. */
3752
+ export interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
3753
+ /** Delay to wait until next poll, in milliseconds. */
3754
+ updateIntervalInMs?: number;
3755
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3756
+ resumeFrom?: string;
3757
+ }
3758
+ /** Contains response data for the createNotificationsAtResourceGroupLevel operation. */
3759
+ export declare type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
3760
+ /** Optional parameters. */
3761
+ export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
3762
+ /** Delay to wait until next poll, in milliseconds. */
3763
+ updateIntervalInMs?: number;
3764
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3765
+ resumeFrom?: string;
3766
+ }
3767
+ /** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
3768
+ export declare type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
3129
3769
  /** Optional parameters. */
3130
3770
  export interface ActionGroupsGetTestNotificationsOptionalParams extends coreClient.OperationOptions {
3131
3771
  }
3132
3772
  /** Contains response data for the getTestNotifications operation. */
3133
3773
  export declare type ActionGroupsGetTestNotificationsResponse = TestNotificationDetailsResponse;
3134
3774
  /** Optional parameters. */
3775
+ export interface ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
3776
+ }
3777
+ /** Contains response data for the getTestNotificationsAtResourceGroupLevel operation. */
3778
+ export declare type ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
3779
+ /** Optional parameters. */
3780
+ export interface ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
3781
+ }
3782
+ /** Contains response data for the getTestNotificationsAtActionGroupResourceLevel operation. */
3783
+ export declare type ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
3784
+ /** Optional parameters. */
3135
3785
  export interface ActionGroupsListBySubscriptionIdOptionalParams extends coreClient.OperationOptions {
3136
3786
  }
3137
3787
  /** Contains response data for the listBySubscriptionId operation. */
@@ -3380,11 +4030,6 @@ export interface PrivateLinkResourcesGetOptionalParams extends coreClient.Operat
3380
4030
  /** Contains response data for the get operation. */
3381
4031
  export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource;
3382
4032
  /** Optional parameters. */
3383
- export interface PrivateLinkResourcesListByPrivateLinkScopeNextOptionalParams extends coreClient.OperationOptions {
3384
- }
3385
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
3386
- export declare type PrivateLinkResourcesListByPrivateLinkScopeNextResponse = PrivateLinkResourceListResult;
3387
- /** Optional parameters. */
3388
4033
  export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
3389
4034
  }
3390
4035
  /** Contains response data for the get operation. */
@@ -3411,11 +4056,6 @@ export interface PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
3411
4056
  /** Contains response data for the listByPrivateLinkScope operation. */
3412
4057
  export declare type PrivateEndpointConnectionsListByPrivateLinkScopeResponse = PrivateEndpointConnectionListResult;
3413
4058
  /** Optional parameters. */
3414
- export interface PrivateEndpointConnectionsListByPrivateLinkScopeNextOptionalParams extends coreClient.OperationOptions {
3415
- }
3416
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
3417
- export declare type PrivateEndpointConnectionsListByPrivateLinkScopeNextResponse = PrivateEndpointConnectionListResult;
3418
- /** Optional parameters. */
3419
4059
  export interface PrivateLinkScopedResourcesGetOptionalParams extends coreClient.OperationOptions {
3420
4060
  }
3421
4061
  /** Contains response data for the get operation. */
@@ -3468,12 +4108,22 @@ export declare type ActivityLogAlertsUpdateResponse = ActivityLogAlertResource;
3468
4108
  export interface ActivityLogAlertsListBySubscriptionIdOptionalParams extends coreClient.OperationOptions {
3469
4109
  }
3470
4110
  /** Contains response data for the listBySubscriptionId operation. */
3471
- export declare type ActivityLogAlertsListBySubscriptionIdResponse = ActivityLogAlertList;
4111
+ export declare type ActivityLogAlertsListBySubscriptionIdResponse = AlertRuleList;
3472
4112
  /** Optional parameters. */
3473
4113
  export interface ActivityLogAlertsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
3474
4114
  }
3475
4115
  /** Contains response data for the listByResourceGroup operation. */
3476
- export declare type ActivityLogAlertsListByResourceGroupResponse = ActivityLogAlertList;
4116
+ export declare type ActivityLogAlertsListByResourceGroupResponse = AlertRuleList;
4117
+ /** Optional parameters. */
4118
+ export interface ActivityLogAlertsListBySubscriptionIdNextOptionalParams extends coreClient.OperationOptions {
4119
+ }
4120
+ /** Contains response data for the listBySubscriptionIdNext operation. */
4121
+ export declare type ActivityLogAlertsListBySubscriptionIdNextResponse = AlertRuleList;
4122
+ /** Optional parameters. */
4123
+ export interface ActivityLogAlertsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
4124
+ }
4125
+ /** Contains response data for the listByResourceGroupNext operation. */
4126
+ export declare type ActivityLogAlertsListByResourceGroupNextResponse = AlertRuleList;
3477
4127
  /** Optional parameters. */
3478
4128
  export interface DataCollectionEndpointsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
3479
4129
  }
@@ -3527,6 +4177,11 @@ export interface DataCollectionRuleAssociationsListByRuleOptionalParams extends
3527
4177
  /** Contains response data for the listByRule operation. */
3528
4178
  export declare type DataCollectionRuleAssociationsListByRuleResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
3529
4179
  /** Optional parameters. */
4180
+ export interface DataCollectionRuleAssociationsListByDataCollectionEndpointOptionalParams extends coreClient.OperationOptions {
4181
+ }
4182
+ /** Contains response data for the listByDataCollectionEndpoint operation. */
4183
+ export declare type DataCollectionRuleAssociationsListByDataCollectionEndpointResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
4184
+ /** Optional parameters. */
3530
4185
  export interface DataCollectionRuleAssociationsGetOptionalParams extends coreClient.OperationOptions {
3531
4186
  }
3532
4187
  /** Contains response data for the get operation. */
@@ -3552,6 +4207,11 @@ export interface DataCollectionRuleAssociationsListByRuleNextOptionalParams exte
3552
4207
  /** Contains response data for the listByRuleNext operation. */
3553
4208
  export declare type DataCollectionRuleAssociationsListByRuleNextResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
3554
4209
  /** Optional parameters. */
4210
+ export interface DataCollectionRuleAssociationsListByDataCollectionEndpointNextOptionalParams extends coreClient.OperationOptions {
4211
+ }
4212
+ /** Contains response data for the listByDataCollectionEndpointNext operation. */
4213
+ export declare type DataCollectionRuleAssociationsListByDataCollectionEndpointNextResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
4214
+ /** Optional parameters. */
3555
4215
  export interface DataCollectionRulesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
3556
4216
  }
3557
4217
  /** Contains response data for the listByResourceGroup operation. */