@azure/arm-monitor 7.0.1-alpha.20220413.1 → 8.0.0-alpha.20220615.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 (479) hide show
  1. package/CHANGELOG.md +77 -1
  2. package/LICENSE +1 -1
  3. package/README.md +12 -1
  4. package/dist/index.js +1492 -510
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js +138 -0
  11. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js.map +1 -0
  12. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js +137 -0
  15. package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js.map +1 -0
  16. package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js +136 -0
  19. package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js.map +1 -0
  20. package/dist-esm/samples-dev/actionGroupsDeleteSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/actionGroupsDeleteSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/actionGroupsDeleteSample.js +31 -0
  23. package/dist-esm/samples-dev/actionGroupsDeleteSample.js.map +1 -0
  24. package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js +32 -0
  27. package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js.map +1 -0
  28. package/dist-esm/samples-dev/actionGroupsGetSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/actionGroupsGetSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/actionGroupsGetSample.js +31 -0
  31. package/dist-esm/samples-dev/actionGroupsGetSample.js.map +1 -0
  32. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js +32 -0
  35. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js.map +1 -0
  36. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js +31 -0
  39. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js.map +1 -0
  40. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js +30 -0
  43. package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js.map +1 -0
  44. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js +44 -0
  47. package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js.map +1 -0
  48. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js +43 -0
  51. package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js.map +1 -0
  52. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js +136 -0
  55. package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js.map +1 -0
  56. package/dist-esm/samples-dev/actionGroupsUpdateSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/actionGroupsUpdateSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/actionGroupsUpdateSample.js +35 -0
  59. package/dist-esm/samples-dev/actionGroupsUpdateSample.js.map +1 -0
  60. package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js +138 -0
  63. package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js.map +1 -0
  64. package/dist-esm/samples-dev/activityLogAlertsDeleteSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/activityLogAlertsDeleteSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js +31 -0
  67. package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js.map +1 -0
  68. package/dist-esm/samples-dev/activityLogAlertsGetSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/activityLogAlertsGetSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/activityLogAlertsGetSample.js +31 -0
  71. package/dist-esm/samples-dev/activityLogAlertsGetSample.js.map +1 -0
  72. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js +44 -0
  75. package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js.map +1 -0
  76. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js +43 -0
  79. package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js.map +1 -0
  80. package/dist-esm/samples-dev/activityLogAlertsUpdateSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/activityLogAlertsUpdateSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js +35 -0
  83. package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js.map +1 -0
  84. package/dist-esm/samples-dev/activityLogsListSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/activityLogsListSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/activityLogsListSample.js +77 -0
  87. package/dist-esm/samples-dev/activityLogsListSample.js.map +1 -0
  88. package/dist-esm/samples-dev/alertRuleIncidentsGetSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/alertRuleIncidentsGetSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js +32 -0
  91. package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js.map +1 -0
  92. package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js +45 -0
  95. package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js.map +1 -0
  96. package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +51 -0
  99. package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js.map +1 -0
  100. package/dist-esm/samples-dev/alertRulesDeleteSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/alertRulesDeleteSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/alertRulesDeleteSample.js +31 -0
  103. package/dist-esm/samples-dev/alertRulesDeleteSample.js.map +1 -0
  104. package/dist-esm/samples-dev/alertRulesGetSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/alertRulesGetSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/alertRulesGetSample.js +31 -0
  107. package/dist-esm/samples-dev/alertRulesGetSample.js.map +1 -0
  108. package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js +44 -0
  111. package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js.map +1 -0
  112. package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js +43 -0
  115. package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js.map +1 -0
  116. package/dist-esm/samples-dev/alertRulesUpdateSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/alertRulesUpdateSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/alertRulesUpdateSample.js +52 -0
  119. package/dist-esm/samples-dev/alertRulesUpdateSample.js.map +1 -0
  120. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.d.ts +2 -0
  121. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +147 -0
  123. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -0
  124. package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +31 -0
  127. package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js.map +1 -0
  128. package/dist-esm/samples-dev/autoscaleSettingsGetSample.d.ts +2 -0
  129. package/dist-esm/samples-dev/autoscaleSettingsGetSample.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +31 -0
  131. package/dist-esm/samples-dev/autoscaleSettingsGetSample.js.map +1 -0
  132. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.d.ts +2 -0
  133. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +44 -0
  135. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js.map +1 -0
  136. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.d.ts +2 -0
  137. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +43 -0
  139. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -0
  140. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.d.ts +2 -0
  141. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +148 -0
  143. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -0
  144. package/dist-esm/samples-dev/baselinesListSample.d.ts +2 -0
  145. package/dist-esm/samples-dev/baselinesListSample.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/baselinesListSample.js +54 -0
  147. package/dist-esm/samples-dev/baselinesListSample.js.map +1 -0
  148. package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.d.ts +2 -0
  149. package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js +36 -0
  151. package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js.map +1 -0
  152. package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.d.ts +2 -0
  153. package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js +31 -0
  155. package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js.map +1 -0
  156. package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.d.ts +2 -0
  157. package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js +31 -0
  159. package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js.map +1 -0
  160. package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.d.ts +2 -0
  161. package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js +44 -0
  163. package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js.map +1 -0
  164. package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.d.ts +2 -0
  165. package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js +43 -0
  167. package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js.map +1 -0
  168. package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.d.ts +2 -0
  169. package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js +33 -0
  171. package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js.map +1 -0
  172. package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.d.ts +2 -0
  173. package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js +35 -0
  175. package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js.map +1 -0
  176. package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.d.ts +2 -0
  177. package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js +31 -0
  179. package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js.map +1 -0
  180. package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.d.ts +2 -0
  181. package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js +31 -0
  183. package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js.map +1 -0
  184. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.d.ts +2 -0
  185. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js +45 -0
  187. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js.map +1 -0
  188. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.d.ts +2 -0
  189. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.d.ts.map +1 -0
  190. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js +44 -0
  191. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js.map +1 -0
  192. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.d.ts +2 -0
  193. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.d.ts.map +1 -0
  194. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js +45 -0
  195. package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js.map +1 -0
  196. package/dist-esm/samples-dev/dataCollectionRulesCreateSample.d.ts +2 -0
  197. package/dist-esm/samples-dev/dataCollectionRulesCreateSample.d.ts.map +1 -0
  198. package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js +103 -0
  199. package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js.map +1 -0
  200. package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.d.ts +2 -0
  201. package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.d.ts.map +1 -0
  202. package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js +31 -0
  203. package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js.map +1 -0
  204. package/dist-esm/samples-dev/dataCollectionRulesGetSample.d.ts +2 -0
  205. package/dist-esm/samples-dev/dataCollectionRulesGetSample.d.ts.map +1 -0
  206. package/dist-esm/samples-dev/dataCollectionRulesGetSample.js +31 -0
  207. package/dist-esm/samples-dev/dataCollectionRulesGetSample.js.map +1 -0
  208. package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.d.ts +2 -0
  209. package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.d.ts.map +1 -0
  210. package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js +44 -0
  211. package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js.map +1 -0
  212. package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.d.ts +2 -0
  213. package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.d.ts.map +1 -0
  214. package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js +43 -0
  215. package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js.map +1 -0
  216. package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.d.ts +2 -0
  217. package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.d.ts.map +1 -0
  218. package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js +33 -0
  219. package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js.map +1 -0
  220. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.d.ts +2 -0
  221. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.d.ts.map +1 -0
  222. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +31 -0
  223. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js.map +1 -0
  224. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.d.ts +2 -0
  225. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.d.ts.map +1 -0
  226. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +30 -0
  227. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -0
  228. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.d.ts +2 -0
  229. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.d.ts.map +1 -0
  230. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +52 -0
  231. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -0
  232. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.d.ts +2 -0
  233. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.d.ts.map +1 -0
  234. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +31 -0
  235. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js.map +1 -0
  236. package/dist-esm/samples-dev/diagnosticSettingsGetSample.d.ts +2 -0
  237. package/dist-esm/samples-dev/diagnosticSettingsGetSample.d.ts.map +1 -0
  238. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +31 -0
  239. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -0
  240. package/dist-esm/samples-dev/diagnosticSettingsListSample.d.ts +2 -0
  241. package/dist-esm/samples-dev/diagnosticSettingsListSample.d.ts.map +1 -0
  242. package/dist-esm/samples-dev/diagnosticSettingsListSample.js +30 -0
  243. package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -0
  244. package/dist-esm/samples-dev/eventCategoriesListSample.d.ts +2 -0
  245. package/dist-esm/samples-dev/eventCategoriesListSample.d.ts.map +1 -0
  246. package/dist-esm/samples-dev/eventCategoriesListSample.js +43 -0
  247. package/dist-esm/samples-dev/eventCategoriesListSample.js.map +1 -0
  248. package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.d.ts +2 -0
  249. package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.d.ts.map +1 -0
  250. package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js +39 -0
  251. package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js.map +1 -0
  252. package/dist-esm/samples-dev/logProfilesDeleteSample.d.ts +2 -0
  253. package/dist-esm/samples-dev/logProfilesDeleteSample.d.ts.map +1 -0
  254. package/dist-esm/samples-dev/logProfilesDeleteSample.js +30 -0
  255. package/dist-esm/samples-dev/logProfilesDeleteSample.js.map +1 -0
  256. package/dist-esm/samples-dev/logProfilesGetSample.d.ts +2 -0
  257. package/dist-esm/samples-dev/logProfilesGetSample.d.ts.map +1 -0
  258. package/dist-esm/samples-dev/logProfilesGetSample.js +30 -0
  259. package/dist-esm/samples-dev/logProfilesGetSample.js.map +1 -0
  260. package/dist-esm/samples-dev/logProfilesListSample.d.ts +2 -0
  261. package/dist-esm/samples-dev/logProfilesListSample.d.ts.map +1 -0
  262. package/dist-esm/samples-dev/logProfilesListSample.js +43 -0
  263. package/dist-esm/samples-dev/logProfilesListSample.js.map +1 -0
  264. package/dist-esm/samples-dev/logProfilesUpdateSample.d.ts +2 -0
  265. package/dist-esm/samples-dev/logProfilesUpdateSample.d.ts.map +1 -0
  266. package/dist-esm/samples-dev/logProfilesUpdateSample.js +38 -0
  267. package/dist-esm/samples-dev/logProfilesUpdateSample.js.map +1 -0
  268. package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.d.ts +2 -0
  269. package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.d.ts.map +1 -0
  270. package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js +438 -0
  271. package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js.map +1 -0
  272. package/dist-esm/samples-dev/metricAlertsDeleteSample.d.ts +2 -0
  273. package/dist-esm/samples-dev/metricAlertsDeleteSample.d.ts.map +1 -0
  274. package/dist-esm/samples-dev/metricAlertsDeleteSample.js +31 -0
  275. package/dist-esm/samples-dev/metricAlertsDeleteSample.js.map +1 -0
  276. package/dist-esm/samples-dev/metricAlertsGetSample.d.ts +2 -0
  277. package/dist-esm/samples-dev/metricAlertsGetSample.d.ts.map +1 -0
  278. package/dist-esm/samples-dev/metricAlertsGetSample.js +139 -0
  279. package/dist-esm/samples-dev/metricAlertsGetSample.js.map +1 -0
  280. package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.d.ts +2 -0
  281. package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.d.ts.map +1 -0
  282. package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js +44 -0
  283. package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js.map +1 -0
  284. package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.d.ts +2 -0
  285. package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.d.ts.map +1 -0
  286. package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js +43 -0
  287. package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js.map +1 -0
  288. package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.d.ts +2 -0
  289. package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.d.ts.map +1 -0
  290. package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js +32 -0
  291. package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js.map +1 -0
  292. package/dist-esm/samples-dev/metricAlertsStatusListSample.d.ts +2 -0
  293. package/dist-esm/samples-dev/metricAlertsStatusListSample.d.ts.map +1 -0
  294. package/dist-esm/samples-dev/metricAlertsStatusListSample.js +31 -0
  295. package/dist-esm/samples-dev/metricAlertsStatusListSample.js.map +1 -0
  296. package/dist-esm/samples-dev/metricAlertsUpdateSample.d.ts +2 -0
  297. package/dist-esm/samples-dev/metricAlertsUpdateSample.d.ts.map +1 -0
  298. package/dist-esm/samples-dev/metricAlertsUpdateSample.js +63 -0
  299. package/dist-esm/samples-dev/metricAlertsUpdateSample.js.map +1 -0
  300. package/dist-esm/samples-dev/metricDefinitionsListSample.d.ts +2 -0
  301. package/dist-esm/samples-dev/metricDefinitionsListSample.d.ts.map +1 -0
  302. package/dist-esm/samples-dev/metricDefinitionsListSample.js +112 -0
  303. package/dist-esm/samples-dev/metricDefinitionsListSample.js.map +1 -0
  304. package/dist-esm/samples-dev/metricNamespacesListSample.d.ts +2 -0
  305. package/dist-esm/samples-dev/metricNamespacesListSample.d.ts.map +1 -0
  306. package/dist-esm/samples-dev/metricNamespacesListSample.js +46 -0
  307. package/dist-esm/samples-dev/metricNamespacesListSample.js.map +1 -0
  308. package/dist-esm/samples-dev/metricsListSample.d.ts +2 -0
  309. package/dist-esm/samples-dev/metricsListSample.d.ts.map +1 -0
  310. package/dist-esm/samples-dev/metricsListSample.js +108 -0
  311. package/dist-esm/samples-dev/metricsListSample.js.map +1 -0
  312. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  313. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  314. package/dist-esm/samples-dev/operationsListSample.js +29 -0
  315. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  316. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
  317. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
  318. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +38 -0
  319. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
  320. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
  321. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  322. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +32 -0
  323. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
  324. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  325. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  326. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +32 -0
  327. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  328. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.d.ts +2 -0
  329. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.d.ts.map +1 -0
  330. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +45 -0
  331. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -0
  332. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
  333. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
  334. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +32 -0
  335. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
  336. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.d.ts +2 -0
  337. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.d.ts.map +1 -0
  338. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +45 -0
  339. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -0
  340. package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.d.ts +2 -0
  341. package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.d.ts.map +1 -0
  342. package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +31 -0
  343. package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js.map +1 -0
  344. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.d.ts +2 -0
  345. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.d.ts.map +1 -0
  346. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +35 -0
  347. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js.map +1 -0
  348. package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.d.ts +2 -0
  349. package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.d.ts.map +1 -0
  350. package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +32 -0
  351. package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js.map +1 -0
  352. package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.d.ts +2 -0
  353. package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.d.ts.map +1 -0
  354. package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +32 -0
  355. package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js.map +1 -0
  356. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.d.ts +2 -0
  357. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.d.ts.map +1 -0
  358. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +45 -0
  359. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js.map +1 -0
  360. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.d.ts +2 -0
  361. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.d.ts.map +1 -0
  362. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +56 -0
  363. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -0
  364. package/dist-esm/samples-dev/privateLinkScopesDeleteSample.d.ts +2 -0
  365. package/dist-esm/samples-dev/privateLinkScopesDeleteSample.d.ts.map +1 -0
  366. package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +31 -0
  367. package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js.map +1 -0
  368. package/dist-esm/samples-dev/privateLinkScopesGetSample.d.ts +2 -0
  369. package/dist-esm/samples-dev/privateLinkScopesGetSample.d.ts.map +1 -0
  370. package/dist-esm/samples-dev/privateLinkScopesGetSample.js +31 -0
  371. package/dist-esm/samples-dev/privateLinkScopesGetSample.js.map +1 -0
  372. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.d.ts +2 -0
  373. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.d.ts.map +1 -0
  374. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +44 -0
  375. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js.map +1 -0
  376. package/dist-esm/samples-dev/privateLinkScopesListSample.d.ts +2 -0
  377. package/dist-esm/samples-dev/privateLinkScopesListSample.d.ts.map +1 -0
  378. package/dist-esm/samples-dev/privateLinkScopesListSample.js +43 -0
  379. package/dist-esm/samples-dev/privateLinkScopesListSample.js.map +1 -0
  380. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.d.ts +2 -0
  381. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.d.ts.map +1 -0
  382. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +34 -0
  383. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js.map +1 -0
  384. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.d.ts +2 -0
  385. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.d.ts.map +1 -0
  386. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +138 -0
  387. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -0
  388. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.d.ts +2 -0
  389. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.d.ts.map +1 -0
  390. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +31 -0
  391. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js.map +1 -0
  392. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.d.ts +2 -0
  393. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.d.ts.map +1 -0
  394. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +31 -0
  395. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js.map +1 -0
  396. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.d.ts +2 -0
  397. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.d.ts.map +1 -0
  398. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +44 -0
  399. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -0
  400. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.d.ts +2 -0
  401. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.d.ts.map +1 -0
  402. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +43 -0
  403. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -0
  404. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.d.ts +2 -0
  405. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.d.ts.map +1 -0
  406. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +32 -0
  407. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -0
  408. package/dist-esm/samples-dev/tenantActivityLogsListSample.d.ts +2 -0
  409. package/dist-esm/samples-dev/tenantActivityLogsListSample.d.ts.map +1 -0
  410. package/dist-esm/samples-dev/tenantActivityLogsListSample.js +140 -0
  411. package/dist-esm/samples-dev/tenantActivityLogsListSample.js.map +1 -0
  412. package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.d.ts +2 -0
  413. package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.d.ts.map +1 -0
  414. package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js +98 -0
  415. package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js.map +1 -0
  416. package/dist-esm/src/models/index.d.ts +349 -63
  417. package/dist-esm/src/models/index.d.ts.map +1 -1
  418. package/dist-esm/src/models/index.js +29 -0
  419. package/dist-esm/src/models/index.js.map +1 -1
  420. package/dist-esm/src/models/mappers.d.ts +24 -8
  421. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  422. package/dist-esm/src/models/mappers.js +482 -85
  423. package/dist-esm/src/models/mappers.js.map +1 -1
  424. package/dist-esm/src/models/parameters.d.ts +2 -2
  425. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  426. package/dist-esm/src/models/parameters.js +9 -9
  427. package/dist-esm/src/models/parameters.js.map +1 -1
  428. package/dist-esm/src/monitorClient.d.ts.map +1 -1
  429. package/dist-esm/src/monitorClient.js +20 -2
  430. package/dist-esm/src/monitorClient.js.map +1 -1
  431. package/dist-esm/src/operations/actionGroups.d.ts +46 -1
  432. package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
  433. package/dist-esm/src/operations/actionGroups.js +238 -5
  434. package/dist-esm/src/operations/actionGroups.js.map +1 -1
  435. package/dist-esm/src/operations/activityLogAlerts.d.ts +32 -18
  436. package/dist-esm/src/operations/activityLogAlerts.d.ts.map +1 -1
  437. package/dist-esm/src/operations/activityLogAlerts.js +111 -35
  438. package/dist-esm/src/operations/activityLogAlerts.js.map +1 -1
  439. package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts +29 -1
  440. package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts.map +1 -1
  441. package/dist-esm/src/operations/dataCollectionRuleAssociations.js +116 -0
  442. package/dist-esm/src/operations/dataCollectionRuleAssociations.js.map +1 -1
  443. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  444. package/dist-esm/src/operations/privateEndpointConnections.js +6 -2
  445. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  446. package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
  447. package/dist-esm/src/operations/privateLinkScopedResources.js +6 -2
  448. package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
  449. package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -1
  450. package/dist-esm/src/operations/privateLinkScopes.js +3 -1
  451. package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
  452. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +46 -1
  453. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
  454. package/dist-esm/src/operationsInterfaces/activityLogAlerts.d.ts +17 -16
  455. package/dist-esm/src/operationsInterfaces/activityLogAlerts.d.ts.map +1 -1
  456. package/dist-esm/src/operationsInterfaces/dataCollectionRuleAssociations.d.ts +9 -1
  457. package/dist-esm/src/operationsInterfaces/dataCollectionRuleAssociations.d.ts.map +1 -1
  458. package/dist-esm/test/monitor_examples.d.ts.map +1 -1
  459. package/dist-esm/test/monitor_examples.js +26 -32
  460. package/dist-esm/test/monitor_examples.js.map +1 -1
  461. package/package.json +33 -13
  462. package/review/arm-monitor.api.md +286 -63
  463. package/rollup.config.js +6 -72
  464. package/src/models/index.ts +385 -65
  465. package/src/models/mappers.ts +519 -94
  466. package/src/models/parameters.ts +9 -9
  467. package/src/monitorClient.ts +27 -2
  468. package/src/operations/actionGroups.ts +358 -5
  469. package/src/operations/activityLogAlerts.ts +136 -37
  470. package/src/operations/dataCollectionRuleAssociations.ts +168 -1
  471. package/src/operations/privateEndpointConnections.ts +6 -2
  472. package/src/operations/privateLinkScopedResources.ts +6 -2
  473. package/src/operations/privateLinkScopes.ts +3 -1
  474. package/src/operationsInterfaces/actionGroups.ts +96 -0
  475. package/src/operationsInterfaces/activityLogAlerts.ts +17 -16
  476. package/src/operationsInterfaces/dataCollectionRuleAssociations.ts +13 -0
  477. package/tsconfig.json +19 -5
  478. package/types/arm-monitor.d.ts +476 -98
  479. package/types/tsdoc-metadata.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoscaleSettingsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/autoscaleSettingsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;QACnD,MAAM,oBAAoB,GAAG,WAAW,CAAC;QACzC,MAAM,wBAAwB,GAAkC;YAC9D,OAAO,EAAE,IAAI;YACb,aAAa,EAAE;gBACb;oBACE,KAAK,EAAE;wBACL,YAAY,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;wBACxC,+BAA+B,EAAE,IAAI;wBACrC,kCAAkC,EAAE,IAAI;qBACzC;oBACD,SAAS,EAAE,OAAO;oBAClB,QAAQ,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,sBAAsB,EAAE,CAAC;iBACnE;aACF;YACD,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,OAAO;oBACb,QAAQ,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE;oBACvD,SAAS,EAAE;wBACT,GAAG,EAAE,IAAI,IAAI,CAAC,sBAAsB,CAAC;wBACrC,KAAK,EAAE,IAAI,IAAI,CAAC,sBAAsB,CAAC;wBACvC,QAAQ,EAAE,KAAK;qBAChB;oBACD,KAAK,EAAE;wBACL;4BACE,aAAa,EAAE;gCACb,iBAAiB,EAAE,KAAK;gCACxB,UAAU,EAAE,gBAAgB;gCAC5B,iBAAiB,EACf,yJAAyJ;gCAC3J,QAAQ,EAAE,aAAa;gCACvB,SAAS,EAAE,SAAS;gCACpB,SAAS,EAAE,EAAE;gCACb,eAAe,EAAE,SAAS;gCAC1B,SAAS,EAAE,MAAM;gCACjB,UAAU,EAAE,MAAM;6BACnB;4BACD,WAAW,EAAE;gCACX,IAAI,EAAE,aAAa;gCACnB,QAAQ,EAAE,MAAM;gCAChB,SAAS,EAAE,UAAU;gCACrB,KAAK,EAAE,GAAG;6BACX;yBACF;wBACD;4BACE,aAAa,EAAE;gCACb,iBAAiB,EAAE,KAAK;gCACxB,UAAU,EAAE,gBAAgB;gCAC5B,iBAAiB,EACf,yJAAyJ;gCAC3J,QAAQ,EAAE,aAAa;gCACvB,SAAS,EAAE,SAAS;gCACpB,SAAS,EAAE,EAAE;gCACb,eAAe,EAAE,SAAS;gCAC1B,SAAS,EAAE,MAAM;gCACjB,UAAU,EAAE,MAAM;6BACnB;4BACD,WAAW,EAAE;gCACX,IAAI,EAAE,aAAa;gCACnB,QAAQ,EAAE,MAAM;gCAChB,SAAS,EAAE,UAAU;gCACrB,KAAK,EAAE,GAAG;6BACX;yBACF;qBACF;iBACF;gBACD;oBACE,IAAI,EAAE,SAAS;oBACf,QAAQ,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE;oBACvD,UAAU,EAAE;wBACV,SAAS,EAAE,MAAM;wBACjB,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;qBACtE;oBACD,KAAK,EAAE;wBACL;4BACE,aAAa,EAAE;gCACb,iBAAiB,EAAE,KAAK;gCACxB,UAAU,EAAE,gBAAgB;gCAC5B,iBAAiB,EACf,yJAAyJ;gCAC3J,QAAQ,EAAE,aAAa;gCACvB,SAAS,EAAE,SAAS;gCACpB,SAAS,EAAE,EAAE;gCACb,eAAe,EAAE,SAAS;gCAC1B,SAAS,EAAE,MAAM;gCACjB,UAAU,EAAE,MAAM;6BACnB;4BACD,WAAW,EAAE;gCACX,IAAI,EAAE,aAAa;gCACnB,QAAQ,EAAE,MAAM;gCAChB,SAAS,EAAE,UAAU;gCACrB,KAAK,EAAE,GAAG;6BACX;yBACF;wBACD;4BACE,aAAa,EAAE;gCACb,iBAAiB,EAAE,KAAK;gCACxB,UAAU,EAAE,gBAAgB;gCAC5B,iBAAiB,EACf,yJAAyJ;gCAC3J,QAAQ,EAAE,aAAa;gCACvB,SAAS,EAAE,SAAS;gCACpB,SAAS,EAAE,EAAE;gCACb,eAAe,EAAE,SAAS;gCAC1B,SAAS,EAAE,MAAM;gCACjB,UAAU,EAAE,MAAM;6BACnB;4BACD,WAAW,EAAE;gCACX,IAAI,EAAE,aAAa;gCACnB,QAAQ,EAAE,MAAM;gCAChB,SAAS,EAAE,UAAU;gCACrB,KAAK,EAAE,GAAG;6BACX;yBACF;qBACF;iBACF;aACF;YACD,IAAI,EAAE;gBACJ,KAAK,EACH,0EAA0E;aAC7E;YACD,iBAAiB,EACf,yJAAyJ;SAC5J,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAClD,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,CACzB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=baselinesListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baselinesListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/baselinesListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,54 @@
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
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to **Lists the metric baseline values for a resource**.
15
+ *
16
+ * @summary **Lists the metric baseline values for a resource**.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/metricBaselines.json
18
+ */
19
+ function getMetricBaselines() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const resourceUri = "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1";
24
+ const timespan = "2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z";
25
+ const interval = "PT1H";
26
+ const aggregation = "average";
27
+ const sensitivities = "Low,Medium";
28
+ const options = {
29
+ timespan,
30
+ interval,
31
+ aggregation,
32
+ sensitivities
33
+ };
34
+ const credential = new DefaultAzureCredential();
35
+ const client = new MonitorClient(credential, subscriptionId);
36
+ const resArray = new Array();
37
+ try {
38
+ for (var _b = __asyncValues(client.baselines.list(resourceUri, options)), _c; _c = yield _b.next(), !_c.done;) {
39
+ let item = _c.value;
40
+ resArray.push(item);
41
+ }
42
+ }
43
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
44
+ finally {
45
+ try {
46
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
47
+ }
48
+ finally { if (e_1) throw e_1.error; }
49
+ }
50
+ console.log(resArray);
51
+ });
52
+ }
53
+ getMetricBaselines().catch(console.error);
54
+ //# sourceMappingURL=baselinesListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baselinesListSample.js","sourceRoot":"","sources":["../../samples-dev/baselinesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAA+B,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kBAAkB;;;QAC/B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GACf,uHAAuH,CAAC;QAC1H,MAAM,QAAQ,GAAG,mDAAmD,CAAC;QACrE,MAAM,QAAQ,GAAG,MAAM,CAAC;QACxB,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,OAAO,GAAgC;YAC3C,QAAQ;YACR,QAAQ;YACR,WAAW;YACX,aAAa;SACd,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,CAAA,IAAA;gBAAvD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionEndpointsCreateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsCreateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Creates or updates a data collection endpoint.
15
+ *
16
+ * @summary Creates or updates a data collection endpoint.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionEndpointsCreate.json
18
+ */
19
+ function createOrUpdateDataCollectionEndpoint() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "703362b3-f278-4e4b-9179-c76eaf41ffc2";
22
+ const resourceGroupName = "myResourceGroup";
23
+ const dataCollectionEndpointName = "myCollectionEndpoint";
24
+ const body = {
25
+ location: "eastus",
26
+ networkAcls: { publicNetworkAccess: "Enabled" }
27
+ };
28
+ const options = { body };
29
+ const credential = new DefaultAzureCredential();
30
+ const client = new MonitorClient(credential, subscriptionId);
31
+ const result = yield client.dataCollectionEndpoints.create(resourceGroupName, dataCollectionEndpointName, options);
32
+ console.log(result);
33
+ });
34
+ }
35
+ createOrUpdateDataCollectionEndpoint().catch(console.error);
36
+ //# sourceMappingURL=dataCollectionEndpointsCreateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,oCAAoC;;QACjD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,0BAA0B,GAAG,sBAAsB,CAAC;QAC1D,MAAM,IAAI,GAAmC;YAC3C,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,EAAE,mBAAmB,EAAE,SAAS,EAAE;SAChD,CAAC;QACF,MAAM,OAAO,GAAgD,EAAE,IAAI,EAAE,CAAC;QACtE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,MAAM,CACxD,iBAAiB,EACjB,0BAA0B,EAC1B,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oCAAoC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionEndpointsDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Deletes a data collection endpoint.
15
+ *
16
+ * @summary Deletes a data collection endpoint.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionEndpointsDelete.json
18
+ */
19
+ function deleteDataCollectionEndpoint() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "703362b3-f278-4e4b-9179-c76eaf41ffc2";
22
+ const resourceGroupName = "myResourceGroup";
23
+ const dataCollectionEndpointName = "myCollectionEndpoint";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new MonitorClient(credential, subscriptionId);
26
+ const result = yield client.dataCollectionEndpoints.delete(resourceGroupName, dataCollectionEndpointName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ deleteDataCollectionEndpoint().catch(console.error);
31
+ //# sourceMappingURL=dataCollectionEndpointsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,0BAA0B,GAAG,sBAAsB,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,MAAM,CACxD,iBAAiB,EACjB,0BAA0B,CAC3B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionEndpointsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns the specified data collection endpoint.
15
+ *
16
+ * @summary Returns the specified data collection endpoint.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionEndpointsGet.json
18
+ */
19
+ function getDataCollectionEndpoint() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "703362b3-f278-4e4b-9179-c76eaf41ffc2";
22
+ const resourceGroupName = "myResourceGroup";
23
+ const dataCollectionEndpointName = "myCollectionEndpoint";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new MonitorClient(credential, subscriptionId);
26
+ const result = yield client.dataCollectionEndpoints.get(resourceGroupName, dataCollectionEndpointName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ getDataCollectionEndpoint().catch(console.error);
31
+ //# sourceMappingURL=dataCollectionEndpointsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsGetSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,0BAA0B,GAAG,sBAAsB,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,GAAG,CACrD,iBAAiB,EACjB,0BAA0B,CAC3B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionEndpointsListByResourceGroupSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsListByResourceGroupSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
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
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Lists all data collection endpoints in the specified resource group.
15
+ *
16
+ * @summary Lists all data collection endpoints in the specified resource group.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionEndpointsListByResourceGroup.json
18
+ */
19
+ function listDataCollectionEndpointsByResourceGroup() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "703362b3-f278-4e4b-9179-c76eaf41ffc2";
23
+ const resourceGroupName = "myResourceGroup";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new MonitorClient(credential, subscriptionId);
26
+ const resArray = new Array();
27
+ try {
28
+ for (var _b = __asyncValues(client.dataCollectionEndpoints.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
29
+ let item = _c.value;
30
+ resArray.push(item);
31
+ }
32
+ }
33
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
34
+ finally {
35
+ try {
36
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
37
+ }
38
+ finally { if (e_1) throw e_1.error; }
39
+ }
40
+ console.log(resArray);
41
+ });
42
+ }
43
+ listDataCollectionEndpointsByResourceGroup().catch(console.error);
44
+ //# sourceMappingURL=dataCollectionEndpointsListByResourceGroupSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0CAA0C;;;QACvD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,uBAAuB,CAAC,mBAAmB,CACvE,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,0CAA0C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionEndpointsListBySubscriptionSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsListBySubscriptionSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
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
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Lists all data collection endpoints in the specified subscription
15
+ *
16
+ * @summary Lists all data collection endpoints in the specified subscription
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionEndpointsListBySubscription.json
18
+ */
19
+ function listDataCollectionEndpointsBySubscription() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "703362b3-f278-4e4b-9179-c76eaf41ffc2";
23
+ const credential = new DefaultAzureCredential();
24
+ const client = new MonitorClient(credential, subscriptionId);
25
+ const resArray = new Array();
26
+ try {
27
+ for (var _b = __asyncValues(client.dataCollectionEndpoints.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
28
+ let item = _c.value;
29
+ resArray.push(item);
30
+ }
31
+ }
32
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
33
+ finally {
34
+ try {
35
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
36
+ }
37
+ finally { if (e_1) throw e_1.error; }
38
+ }
39
+ console.log(resArray);
40
+ });
41
+ }
42
+ listDataCollectionEndpointsBySubscription().catch(console.error);
43
+ //# sourceMappingURL=dataCollectionEndpointsListBySubscriptionSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yCAAyC;;;QACtD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,uBAAuB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA/D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,yCAAyC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionEndpointsUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Updates part of a data collection endpoint.
15
+ *
16
+ * @summary Updates part of a data collection endpoint.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionEndpointsUpdate.json
18
+ */
19
+ function updateDataCollectionEndpoint() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "703362b3-f278-4e4b-9179-c76eaf41ffc2";
22
+ const resourceGroupName = "myResourceGroup";
23
+ const dataCollectionEndpointName = "myCollectionEndpoint";
24
+ const body = { tags: { tag1: "A", tag2: "B", tag3: "C" } };
25
+ const options = { body };
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new MonitorClient(credential, subscriptionId);
28
+ const result = yield client.dataCollectionEndpoints.update(resourceGroupName, dataCollectionEndpointName, options);
29
+ console.log(result);
30
+ });
31
+ }
32
+ updateDataCollectionEndpoint().catch(console.error);
33
+ //# sourceMappingURL=dataCollectionEndpointsUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionEndpointsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionEndpointsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,0BAA0B,GAAG,sBAAsB,CAAC;QAC1D,MAAM,IAAI,GAAsB,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC;QAC9E,MAAM,OAAO,GAAgD,EAAE,IAAI,EAAE,CAAC;QACtE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,MAAM,CACxD,iBAAiB,EACjB,0BAA0B,EAC1B,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionRuleAssociationsCreateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionRuleAssociationsCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionRuleAssociationsCreateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Creates or updates an association.
15
+ *
16
+ * @summary Creates or updates an association.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionRuleAssociationsCreate.json
18
+ */
19
+ function createOrUpdateAssociation() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
+ const resourceUri = "subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm";
23
+ const associationName = "myAssociation";
24
+ const body = {
25
+ dataCollectionRuleId: "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule"
26
+ };
27
+ const options = { body };
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new MonitorClient(credential, subscriptionId);
30
+ const result = yield client.dataCollectionRuleAssociations.create(resourceUri, associationName, options);
31
+ console.log(result);
32
+ });
33
+ }
34
+ createOrUpdateAssociation().catch(console.error);
35
+ //# sourceMappingURL=dataCollectionRuleAssociationsCreateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionRuleAssociationsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionRuleAssociationsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GACf,oIAAoI,CAAC;QACvI,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,IAAI,GAAmD;YAC3D,oBAAoB,EAClB,sJAAsJ;SACzJ,CAAC;QACF,MAAM,OAAO,GAAuD,EAAE,IAAI,EAAE,CAAC;QAC7E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,8BAA8B,CAAC,MAAM,CAC/D,WAAW,EACX,eAAe,EACf,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionRuleAssociationsDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionRuleAssociationsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionRuleAssociationsDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Deletes an association.
15
+ *
16
+ * @summary Deletes an association.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionRuleAssociationsDelete.json
18
+ */
19
+ function deleteAssociation() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
+ const resourceUri = "subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm";
23
+ const associationName = "myAssociation";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new MonitorClient(credential, subscriptionId);
26
+ const result = yield client.dataCollectionRuleAssociations.delete(resourceUri, associationName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ deleteAssociation().catch(console.error);
31
+ //# sourceMappingURL=dataCollectionRuleAssociationsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionRuleAssociationsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionRuleAssociationsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GACf,oIAAoI,CAAC;QACvI,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,8BAA8B,CAAC,MAAM,CAC/D,WAAW,EACX,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionRuleAssociationsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionRuleAssociationsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionRuleAssociationsGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Returns the specified association.
15
+ *
16
+ * @summary Returns the specified association.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionRuleAssociationsGet.json
18
+ */
19
+ function getAssociation() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
+ const resourceUri = "subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm";
23
+ const associationName = "myAssociation";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new MonitorClient(credential, subscriptionId);
26
+ const result = yield client.dataCollectionRuleAssociations.get(resourceUri, associationName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ getAssociation().catch(console.error);
31
+ //# sourceMappingURL=dataCollectionRuleAssociationsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionRuleAssociationsGetSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionRuleAssociationsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,cAAc;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GACf,oIAAoI,CAAC;QACvI,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,8BAA8B,CAAC,GAAG,CAC5D,WAAW,EACX,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionRuleAssociationsListByDataCollectionEndpointSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionRuleAssociationsListByDataCollectionEndpointSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
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
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { MonitorClient } from "@azure/arm-monitor";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Lists associations for the specified data collection endpoint.
15
+ *
16
+ * @summary Lists associations for the specified data collection endpoint.
17
+ * x-ms-original-file: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-09-01-preview/examples/DataCollectionRuleAssociationsListByDataCollectionEndpoint.json
18
+ */
19
+ function listAssociationsForSpecifiedDataCollectionEndpoint() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "703362b3-f278-4e4b-9179-c76eaf41ffc2";
23
+ const resourceGroupName = "myResourceGroup";
24
+ const dataCollectionEndpointName = "myDataCollectionEndpointName";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new MonitorClient(credential, subscriptionId);
27
+ const resArray = new Array();
28
+ try {
29
+ for (var _b = __asyncValues(client.dataCollectionRuleAssociations.listByDataCollectionEndpoint(resourceGroupName, dataCollectionEndpointName)), _c; _c = yield _b.next(), !_c.done;) {
30
+ let item = _c.value;
31
+ resArray.push(item);
32
+ }
33
+ }
34
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
35
+ finally {
36
+ try {
37
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
38
+ }
39
+ finally { if (e_1) throw e_1.error; }
40
+ }
41
+ console.log(resArray);
42
+ });
43
+ }
44
+ listAssociationsForSpecifiedDataCollectionEndpoint().catch(console.error);
45
+ //# sourceMappingURL=dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js","sourceRoot":"","sources":["../../samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kDAAkD;;;QAC/D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,0BAA0B,GAAG,8BAA8B,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,8BAA8B,CAAC,4BAA4B,CACvF,iBAAiB,EACjB,0BAA0B,CAC3B,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,kDAAkD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataCollectionRuleAssociationsListByResourceSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCollectionRuleAssociationsListByResourceSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dataCollectionRuleAssociationsListByResourceSample.ts"],"names":[],"mappings":""}