@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
@@ -353,9 +353,12 @@ const listOperationSpec: coreClient.OperationSpec = {
353
353
  responses: {
354
354
  200: {
355
355
  bodyMapper: Mappers.AzureMonitorPrivateLinkScopeListResult
356
+ },
357
+ default: {
358
+ bodyMapper: Mappers.DefaultErrorResponse
356
359
  }
357
360
  },
358
- queryParameters: [Parameters.apiVersion10],
361
+ queryParameters: [Parameters.apiVersion11],
359
362
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
360
363
  headerParameters: [Parameters.accept],
361
364
  serializer
@@ -367,9 +370,12 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
367
370
  responses: {
368
371
  200: {
369
372
  bodyMapper: Mappers.AzureMonitorPrivateLinkScopeListResult
373
+ },
374
+ default: {
375
+ bodyMapper: Mappers.DefaultErrorResponse
370
376
  }
371
377
  },
372
- queryParameters: [Parameters.apiVersion10],
378
+ queryParameters: [Parameters.apiVersion11],
373
379
  urlParameters: [
374
380
  Parameters.$host,
375
381
  Parameters.resourceGroupName,
@@ -382,14 +388,23 @@ const deleteOperationSpec: coreClient.OperationSpec = {
382
388
  path:
383
389
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}",
384
390
  httpMethod: "DELETE",
385
- responses: { 200: {}, 201: {}, 202: {}, 204: {} },
386
- queryParameters: [Parameters.apiVersion10],
391
+ responses: {
392
+ 200: {},
393
+ 201: {},
394
+ 202: {},
395
+ 204: {},
396
+ default: {
397
+ bodyMapper: Mappers.DefaultErrorResponse
398
+ }
399
+ },
400
+ queryParameters: [Parameters.apiVersion11],
387
401
  urlParameters: [
388
402
  Parameters.$host,
389
403
  Parameters.resourceGroupName,
390
404
  Parameters.subscriptionId,
391
405
  Parameters.scopeName
392
406
  ],
407
+ headerParameters: [Parameters.accept],
393
408
  serializer
394
409
  };
395
410
  const getOperationSpec: coreClient.OperationSpec = {
@@ -399,9 +414,12 @@ const getOperationSpec: coreClient.OperationSpec = {
399
414
  responses: {
400
415
  200: {
401
416
  bodyMapper: Mappers.AzureMonitorPrivateLinkScope
417
+ },
418
+ default: {
419
+ bodyMapper: Mappers.DefaultErrorResponse
402
420
  }
403
421
  },
404
- queryParameters: [Parameters.apiVersion10],
422
+ queryParameters: [Parameters.apiVersion11],
405
423
  urlParameters: [
406
424
  Parameters.$host,
407
425
  Parameters.resourceGroupName,
@@ -421,10 +439,13 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
421
439
  },
422
440
  201: {
423
441
  bodyMapper: Mappers.AzureMonitorPrivateLinkScope
442
+ },
443
+ default: {
444
+ bodyMapper: Mappers.DefaultErrorResponse
424
445
  }
425
446
  },
426
447
  requestBody: Parameters.azureMonitorPrivateLinkScopePayload,
427
- queryParameters: [Parameters.apiVersion10],
448
+ queryParameters: [Parameters.apiVersion11],
428
449
  urlParameters: [
429
450
  Parameters.$host,
430
451
  Parameters.resourceGroupName,
@@ -442,10 +463,13 @@ const updateTagsOperationSpec: coreClient.OperationSpec = {
442
463
  responses: {
443
464
  200: {
444
465
  bodyMapper: Mappers.AzureMonitorPrivateLinkScope
466
+ },
467
+ default: {
468
+ bodyMapper: Mappers.DefaultErrorResponse
445
469
  }
446
470
  },
447
471
  requestBody: Parameters.privateLinkScopeTags,
448
- queryParameters: [Parameters.apiVersion10],
472
+ queryParameters: [Parameters.apiVersion11],
449
473
  urlParameters: [
450
474
  Parameters.$host,
451
475
  Parameters.resourceGroupName,
@@ -462,9 +486,12 @@ const listNextOperationSpec: coreClient.OperationSpec = {
462
486
  responses: {
463
487
  200: {
464
488
  bodyMapper: Mappers.AzureMonitorPrivateLinkScopeListResult
489
+ },
490
+ default: {
491
+ bodyMapper: Mappers.DefaultErrorResponse
465
492
  }
466
493
  },
467
- queryParameters: [Parameters.apiVersion10],
494
+ queryParameters: [Parameters.apiVersion11],
468
495
  urlParameters: [
469
496
  Parameters.$host,
470
497
  Parameters.subscriptionId,
@@ -479,9 +506,12 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
479
506
  responses: {
480
507
  200: {
481
508
  bodyMapper: Mappers.AzureMonitorPrivateLinkScopeListResult
509
+ },
510
+ default: {
511
+ bodyMapper: Mappers.DefaultErrorResponse
482
512
  }
483
513
  },
484
- queryParameters: [Parameters.apiVersion10],
514
+ queryParameters: [Parameters.apiVersion11],
485
515
  urlParameters: [
486
516
  Parameters.$host,
487
517
  Parameters.resourceGroupName,
@@ -239,7 +239,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
239
239
  }
240
240
  },
241
241
  requestBody: Parameters.parameters6,
242
- queryParameters: [Parameters.apiVersion7],
242
+ queryParameters: [Parameters.apiVersion8],
243
243
  urlParameters: [
244
244
  Parameters.$host,
245
245
  Parameters.resourceGroupName,
@@ -262,7 +262,7 @@ const getOperationSpec: coreClient.OperationSpec = {
262
262
  bodyMapper: Mappers.ErrorContract
263
263
  }
264
264
  },
265
- queryParameters: [Parameters.apiVersion7],
265
+ queryParameters: [Parameters.apiVersion8],
266
266
  urlParameters: [
267
267
  Parameters.$host,
268
268
  Parameters.resourceGroupName,
@@ -285,7 +285,7 @@ const updateOperationSpec: coreClient.OperationSpec = {
285
285
  }
286
286
  },
287
287
  requestBody: Parameters.parameters7,
288
- queryParameters: [Parameters.apiVersion7],
288
+ queryParameters: [Parameters.apiVersion8],
289
289
  urlParameters: [
290
290
  Parameters.$host,
291
291
  Parameters.resourceGroupName,
@@ -307,7 +307,7 @@ const deleteOperationSpec: coreClient.OperationSpec = {
307
307
  bodyMapper: Mappers.ErrorContract
308
308
  }
309
309
  },
310
- queryParameters: [Parameters.apiVersion7],
310
+ queryParameters: [Parameters.apiVersion8],
311
311
  urlParameters: [
312
312
  Parameters.$host,
313
313
  Parameters.resourceGroupName,
@@ -329,7 +329,7 @@ const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
329
329
  bodyMapper: Mappers.ErrorContract
330
330
  }
331
331
  },
332
- queryParameters: [Parameters.filter1, Parameters.apiVersion7],
332
+ queryParameters: [Parameters.filter1, Parameters.apiVersion8],
333
333
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
334
334
  headerParameters: [Parameters.accept],
335
335
  serializer
@@ -346,7 +346,7 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
346
346
  bodyMapper: Mappers.ErrorContract
347
347
  }
348
348
  },
349
- queryParameters: [Parameters.filter1, Parameters.apiVersion7],
349
+ queryParameters: [Parameters.filter1, Parameters.apiVersion8],
350
350
  urlParameters: [
351
351
  Parameters.$host,
352
352
  Parameters.resourceGroupName,
@@ -121,7 +121,7 @@ const listOperationSpec: coreClient.OperationSpec = {
121
121
  }
122
122
  },
123
123
  queryParameters: [
124
- Parameters.apiVersion,
124
+ Parameters.apiVersion1,
125
125
  Parameters.select,
126
126
  Parameters.filter1
127
127
  ],
@@ -141,7 +141,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
141
141
  }
142
142
  },
143
143
  queryParameters: [
144
- Parameters.apiVersion,
144
+ Parameters.apiVersion1,
145
145
  Parameters.select,
146
146
  Parameters.filter1
147
147
  ],
@@ -59,7 +59,7 @@ const getOnboardingStatusOperationSpec: coreClient.OperationSpec = {
59
59
  bodyMapper: Mappers.ResponseWithError
60
60
  }
61
61
  },
62
- queryParameters: [Parameters.apiVersion9],
62
+ queryParameters: [Parameters.apiVersion10],
63
63
  urlParameters: [Parameters.$host, Parameters.resourceUri],
64
64
  headerParameters: [Parameters.accept],
65
65
  serializer
@@ -23,8 +23,16 @@ import {
23
23
  NotificationRequestBody,
24
24
  ActionGroupsPostTestNotificationsOptionalParams,
25
25
  ActionGroupsPostTestNotificationsResponse,
26
+ ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams,
27
+ ActionGroupsCreateNotificationsAtResourceGroupLevelResponse,
28
+ ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams,
29
+ ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse,
26
30
  ActionGroupsGetTestNotificationsOptionalParams,
27
31
  ActionGroupsGetTestNotificationsResponse,
32
+ ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams,
33
+ ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse,
34
+ ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams,
35
+ ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse,
28
36
  EnableRequest,
29
37
  ActionGroupsEnableReceiverOptionalParams
30
38
  } from "../models";
@@ -119,6 +127,68 @@ export interface ActionGroups {
119
127
  notificationRequest: NotificationRequestBody,
120
128
  options?: ActionGroupsPostTestNotificationsOptionalParams
121
129
  ): Promise<ActionGroupsPostTestNotificationsResponse>;
130
+ /**
131
+ * Send test notifications to a set of provided receivers
132
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
133
+ * @param notificationRequest The notification request body which includes the contact details
134
+ * @param options The options parameters.
135
+ */
136
+ beginCreateNotificationsAtResourceGroupLevel(
137
+ resourceGroupName: string,
138
+ notificationRequest: NotificationRequestBody,
139
+ options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams
140
+ ): Promise<
141
+ PollerLike<
142
+ PollOperationState<
143
+ ActionGroupsCreateNotificationsAtResourceGroupLevelResponse
144
+ >,
145
+ ActionGroupsCreateNotificationsAtResourceGroupLevelResponse
146
+ >
147
+ >;
148
+ /**
149
+ * Send test notifications to a set of provided receivers
150
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
151
+ * @param notificationRequest The notification request body which includes the contact details
152
+ * @param options The options parameters.
153
+ */
154
+ beginCreateNotificationsAtResourceGroupLevelAndWait(
155
+ resourceGroupName: string,
156
+ notificationRequest: NotificationRequestBody,
157
+ options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams
158
+ ): Promise<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>;
159
+ /**
160
+ * Send test notifications to a set of provided receivers
161
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
162
+ * @param actionGroupName The name of the action group.
163
+ * @param notificationRequest The notification request body which includes the contact details
164
+ * @param options The options parameters.
165
+ */
166
+ beginCreateNotificationsAtActionGroupResourceLevel(
167
+ resourceGroupName: string,
168
+ actionGroupName: string,
169
+ notificationRequest: NotificationRequestBody,
170
+ options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams
171
+ ): Promise<
172
+ PollerLike<
173
+ PollOperationState<
174
+ ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse
175
+ >,
176
+ ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse
177
+ >
178
+ >;
179
+ /**
180
+ * Send test notifications to a set of provided receivers
181
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
182
+ * @param actionGroupName The name of the action group.
183
+ * @param notificationRequest The notification request body which includes the contact details
184
+ * @param options The options parameters.
185
+ */
186
+ beginCreateNotificationsAtActionGroupResourceLevelAndWait(
187
+ resourceGroupName: string,
188
+ actionGroupName: string,
189
+ notificationRequest: NotificationRequestBody,
190
+ options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams
191
+ ): Promise<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>;
122
192
  /**
123
193
  * Get the test notifications by the notification id
124
194
  * @param notificationId The notification id
@@ -128,6 +198,32 @@ export interface ActionGroups {
128
198
  notificationId: string,
129
199
  options?: ActionGroupsGetTestNotificationsOptionalParams
130
200
  ): Promise<ActionGroupsGetTestNotificationsResponse>;
201
+ /**
202
+ * Get the test notifications by the notification id
203
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
204
+ * @param notificationId The notification id
205
+ * @param options The options parameters.
206
+ */
207
+ getTestNotificationsAtResourceGroupLevel(
208
+ resourceGroupName: string,
209
+ notificationId: string,
210
+ options?: ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams
211
+ ): Promise<ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse>;
212
+ /**
213
+ * Get the test notifications by the notification id
214
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
215
+ * @param actionGroupName The name of the action group.
216
+ * @param notificationId The notification id
217
+ * @param options The options parameters.
218
+ */
219
+ getTestNotificationsAtActionGroupResourceLevel(
220
+ resourceGroupName: string,
221
+ actionGroupName: string,
222
+ notificationId: string,
223
+ options?: ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams
224
+ ): Promise<
225
+ ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse
226
+ >;
131
227
  /**
132
228
  * Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled.
133
229
  * This operation is only supported for Email or SMS receivers.
@@ -16,7 +16,7 @@ import {
16
16
  ActivityLogAlertsGetOptionalParams,
17
17
  ActivityLogAlertsGetResponse,
18
18
  ActivityLogAlertsDeleteOptionalParams,
19
- ActivityLogAlertPatchBody,
19
+ AlertRulePatchObject,
20
20
  ActivityLogAlertsUpdateOptionalParams,
21
21
  ActivityLogAlertsUpdateResponse
22
22
  } from "../models";
@@ -25,14 +25,14 @@ import {
25
25
  /** Interface representing a ActivityLogAlerts. */
26
26
  export interface ActivityLogAlerts {
27
27
  /**
28
- * Get a list of all activity log alerts in a subscription.
28
+ * Get a list of all Activity Log Alert rules in a subscription.
29
29
  * @param options The options parameters.
30
30
  */
31
31
  listBySubscriptionId(
32
32
  options?: ActivityLogAlertsListBySubscriptionIdOptionalParams
33
33
  ): PagedAsyncIterableIterator<ActivityLogAlertResource>;
34
34
  /**
35
- * Get a list of all activity log alerts in a resource group.
35
+ * Get a list of all Activity Log Alert rules in a resource group.
36
36
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
37
  * @param options The options parameters.
38
38
  */
@@ -41,22 +41,22 @@ export interface ActivityLogAlerts {
41
41
  options?: ActivityLogAlertsListByResourceGroupOptionalParams
42
42
  ): PagedAsyncIterableIterator<ActivityLogAlertResource>;
43
43
  /**
44
- * Create a new activity log alert or update an existing one.
44
+ * Create a new Activity Log Alert rule or update an existing one.
45
45
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
- * @param activityLogAlertName The name of the activity log alert.
47
- * @param activityLogAlert The activity log alert to create or use for the update.
46
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
47
+ * @param activityLogAlertRule The Activity Log Alert rule to create or use for the update.
48
48
  * @param options The options parameters.
49
49
  */
50
50
  createOrUpdate(
51
51
  resourceGroupName: string,
52
52
  activityLogAlertName: string,
53
- activityLogAlert: ActivityLogAlertResource,
53
+ activityLogAlertRule: ActivityLogAlertResource,
54
54
  options?: ActivityLogAlertsCreateOrUpdateOptionalParams
55
55
  ): Promise<ActivityLogAlertsCreateOrUpdateResponse>;
56
56
  /**
57
- * Get an activity log alert.
57
+ * Get an Activity Log Alert rule.
58
58
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
- * @param activityLogAlertName The name of the activity log alert.
59
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
60
60
  * @param options The options parameters.
61
61
  */
62
62
  get(
@@ -65,9 +65,9 @@ export interface ActivityLogAlerts {
65
65
  options?: ActivityLogAlertsGetOptionalParams
66
66
  ): Promise<ActivityLogAlertsGetResponse>;
67
67
  /**
68
- * Delete an activity log alert.
68
+ * Delete an Activity Log Alert rule.
69
69
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
70
- * @param activityLogAlertName The name of the activity log alert.
70
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
71
71
  * @param options The options parameters.
72
72
  */
73
73
  delete(
@@ -76,17 +76,18 @@ export interface ActivityLogAlerts {
76
76
  options?: ActivityLogAlertsDeleteOptionalParams
77
77
  ): Promise<void>;
78
78
  /**
79
- * Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate
80
- * method.
79
+ * Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the
80
+ * Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate
81
+ * operation.
81
82
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
- * @param activityLogAlertName The name of the activity log alert.
83
- * @param activityLogAlertPatch Parameters supplied to the operation.
83
+ * @param activityLogAlertName The name of the Activity Log Alert rule.
84
+ * @param activityLogAlertRulePatch Parameters supplied to the operation.
84
85
  * @param options The options parameters.
85
86
  */
86
87
  update(
87
88
  resourceGroupName: string,
88
89
  activityLogAlertName: string,
89
- activityLogAlertPatch: ActivityLogAlertPatchBody,
90
+ activityLogAlertRulePatch: AlertRulePatchObject,
90
91
  options?: ActivityLogAlertsUpdateOptionalParams
91
92
  ): Promise<ActivityLogAlertsUpdateResponse>;
92
93
  }
@@ -11,6 +11,7 @@ import {
11
11
  DataCollectionRuleAssociationProxyOnlyResource,
12
12
  DataCollectionRuleAssociationsListByResourceOptionalParams,
13
13
  DataCollectionRuleAssociationsListByRuleOptionalParams,
14
+ DataCollectionRuleAssociationsListByDataCollectionEndpointOptionalParams,
14
15
  DataCollectionRuleAssociationsGetOptionalParams,
15
16
  DataCollectionRuleAssociationsGetResponse,
16
17
  DataCollectionRuleAssociationsCreateOptionalParams,
@@ -41,6 +42,18 @@ export interface DataCollectionRuleAssociations {
41
42
  dataCollectionRuleName: string,
42
43
  options?: DataCollectionRuleAssociationsListByRuleOptionalParams
43
44
  ): PagedAsyncIterableIterator<DataCollectionRuleAssociationProxyOnlyResource>;
45
+ /**
46
+ * Lists associations for the specified data collection endpoint.
47
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
+ * @param dataCollectionEndpointName The name of the data collection endpoint. The name is case
49
+ * insensitive.
50
+ * @param options The options parameters.
51
+ */
52
+ listByDataCollectionEndpoint(
53
+ resourceGroupName: string,
54
+ dataCollectionEndpointName: string,
55
+ options?: DataCollectionRuleAssociationsListByDataCollectionEndpointOptionalParams
56
+ ): PagedAsyncIterableIterator<DataCollectionRuleAssociationProxyOnlyResource>;
44
57
  /**
45
58
  * Returns the specified association.
46
59
  * @param resourceUri The identifier of the resource.
@@ -6,19 +6,29 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
10
  import {
11
+ DiagnosticSettingsResource,
12
+ DiagnosticSettingsListOptionalParams,
10
13
  DiagnosticSettingsGetOptionalParams,
11
14
  DiagnosticSettingsGetResponse,
12
- DiagnosticSettingsResource,
13
15
  DiagnosticSettingsCreateOrUpdateOptionalParams,
14
16
  DiagnosticSettingsCreateOrUpdateResponse,
15
- DiagnosticSettingsDeleteOptionalParams,
16
- DiagnosticSettingsListOptionalParams,
17
- DiagnosticSettingsListResponse
17
+ DiagnosticSettingsDeleteOptionalParams
18
18
  } from "../models";
19
19
 
20
+ /// <reference lib="esnext.asynciterable" />
20
21
  /** Interface representing a DiagnosticSettings. */
21
22
  export interface DiagnosticSettings {
23
+ /**
24
+ * Gets the active diagnostic settings list for the specified resource.
25
+ * @param resourceUri The identifier of the resource.
26
+ * @param options The options parameters.
27
+ */
28
+ list(
29
+ resourceUri: string,
30
+ options?: DiagnosticSettingsListOptionalParams
31
+ ): PagedAsyncIterableIterator<DiagnosticSettingsResource>;
22
32
  /**
23
33
  * Gets the active diagnostic settings for the specified resource.
24
34
  * @param resourceUri The identifier of the resource.
@@ -54,13 +64,4 @@ export interface DiagnosticSettings {
54
64
  name: string,
55
65
  options?: DiagnosticSettingsDeleteOptionalParams
56
66
  ): Promise<void>;
57
- /**
58
- * Gets the active diagnostic settings list for the specified resource.
59
- * @param resourceUri The identifier of the resource.
60
- * @param options The options parameters.
61
- */
62
- list(
63
- resourceUri: string,
64
- options?: DiagnosticSettingsListOptionalParams
65
- ): Promise<DiagnosticSettingsListResponse>;
66
67
  }
@@ -6,15 +6,26 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
10
  import {
10
- DiagnosticSettingsCategoryGetOptionalParams,
11
- DiagnosticSettingsCategoryGetResponse,
11
+ DiagnosticSettingsCategoryResource,
12
12
  DiagnosticSettingsCategoryListOptionalParams,
13
- DiagnosticSettingsCategoryListResponse
13
+ DiagnosticSettingsCategoryGetOptionalParams,
14
+ DiagnosticSettingsCategoryGetResponse
14
15
  } from "../models";
15
16
 
17
+ /// <reference lib="esnext.asynciterable" />
16
18
  /** Interface representing a DiagnosticSettingsCategory. */
17
19
  export interface DiagnosticSettingsCategory {
20
+ /**
21
+ * Lists the diagnostic settings categories for the specified resource.
22
+ * @param resourceUri The identifier of the resource.
23
+ * @param options The options parameters.
24
+ */
25
+ list(
26
+ resourceUri: string,
27
+ options?: DiagnosticSettingsCategoryListOptionalParams
28
+ ): PagedAsyncIterableIterator<DiagnosticSettingsCategoryResource>;
18
29
  /**
19
30
  * Gets the diagnostic settings category for the specified resource.
20
31
  * @param resourceUri The identifier of the resource.
@@ -26,13 +37,4 @@ export interface DiagnosticSettingsCategory {
26
37
  name: string,
27
38
  options?: DiagnosticSettingsCategoryGetOptionalParams
28
39
  ): Promise<DiagnosticSettingsCategoryGetResponse>;
29
- /**
30
- * Lists the diagnostic settings categories for the specified resource.
31
- * @param resourceUri The identifier of the resource.
32
- * @param options The options parameters.
33
- */
34
- list(
35
- resourceUri: string,
36
- options?: DiagnosticSettingsCategoryListOptionalParams
37
- ): Promise<DiagnosticSettingsCategoryListResponse>;
38
40
  }
@@ -7,6 +7,7 @@
7
7
  */
8
8
 
9
9
  export * from "./autoscaleSettings";
10
+ export * from "./predictiveMetric";
10
11
  export * from "./operations";
11
12
  export * from "./alertRuleIncidents";
12
13
  export * from "./alertRules";
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ PredictiveMetricGetOptionalParams,
11
+ PredictiveMetricGetResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a PredictiveMetric. */
15
+ export interface PredictiveMetric {
16
+ /**
17
+ * get predictive autoscale metric future data
18
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
19
+ * @param autoscaleSettingName The autoscale setting name.
20
+ * @param timespan The timespan of the query. It is a string with the following format
21
+ * 'startDateTime_ISO/endDateTime_ISO'.
22
+ * @param interval The interval (i.e. timegrain) of the query.
23
+ * @param metricNamespace Metric namespace to query metric definitions for.
24
+ * @param metricName The names of the metrics (comma separated) to retrieve. Special case: If a
25
+ * metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be
26
+ * **'Metric%2Name1'**
27
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
28
+ * @param options The options parameters.
29
+ */
30
+ get(
31
+ resourceGroupName: string,
32
+ autoscaleSettingName: string,
33
+ timespan: string,
34
+ interval: string,
35
+ metricNamespace: string,
36
+ metricName: string,
37
+ aggregation: string,
38
+ options?: PredictiveMetricGetOptionalParams
39
+ ): Promise<PredictiveMetricGetResponse>;
40
+ }
@@ -6,32 +6,20 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
9
  import { PollerLike, PollOperationState } from "@azure/core-lro";
11
10
  import {
12
- PrivateEndpointConnection,
13
- PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,
14
11
  PrivateEndpointConnectionsGetOptionalParams,
15
12
  PrivateEndpointConnectionsGetResponse,
13
+ PrivateEndpointConnection,
16
14
  PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
17
15
  PrivateEndpointConnectionsCreateOrUpdateResponse,
18
- PrivateEndpointConnectionsDeleteOptionalParams
16
+ PrivateEndpointConnectionsDeleteOptionalParams,
17
+ PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,
18
+ PrivateEndpointConnectionsListByPrivateLinkScopeResponse
19
19
  } from "../models";
20
20
 
21
- /// <reference lib="esnext.asynciterable" />
22
21
  /** Interface representing a PrivateEndpointConnections. */
23
22
  export interface PrivateEndpointConnections {
24
- /**
25
- * Gets all private endpoint connections on a private link scope.
26
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
- * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
28
- * @param options The options parameters.
29
- */
30
- listByPrivateLinkScope(
31
- resourceGroupName: string,
32
- scopeName: string,
33
- options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
34
- ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
35
23
  /**
36
24
  * Gets a private endpoint connection.
37
25
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -50,7 +38,7 @@ export interface PrivateEndpointConnections {
50
38
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
39
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
52
40
  * @param privateEndpointConnectionName The name of the private endpoint connection.
53
- * @param parameters A private endpoint connection
41
+ * @param parameters The Private Endpoint Connection resource.
54
42
  * @param options The options parameters.
55
43
  */
56
44
  beginCreateOrUpdate(
@@ -70,7 +58,7 @@ export interface PrivateEndpointConnections {
70
58
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
59
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
72
60
  * @param privateEndpointConnectionName The name of the private endpoint connection.
73
- * @param parameters A private endpoint connection
61
+ * @param parameters The Private Endpoint Connection resource.
74
62
  * @param options The options parameters.
75
63
  */
76
64
  beginCreateOrUpdateAndWait(
@@ -106,4 +94,15 @@ export interface PrivateEndpointConnections {
106
94
  privateEndpointConnectionName: string,
107
95
  options?: PrivateEndpointConnectionsDeleteOptionalParams
108
96
  ): Promise<void>;
97
+ /**
98
+ * Gets all private endpoint connections on a private link scope.
99
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
100
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
101
+ * @param options The options parameters.
102
+ */
103
+ listByPrivateLinkScope(
104
+ resourceGroupName: string,
105
+ scopeName: string,
106
+ options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
107
+ ): Promise<PrivateEndpointConnectionsListByPrivateLinkScopeResponse>;
109
108
  }