azure_mgmt_operational_insights 0.17.1 → 0.19.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb +15 -16
  3. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
  4. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb +1 -1
  5. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb +1 -1
  6. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +3 -3
  7. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb +5 -5
  8. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +4 -3
  9. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/{search_highlight.rb → shared_keys.rb} +13 -13
  10. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  11. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +2 -3
  12. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +14 -1
  13. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +3 -5
  14. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operations.rb +2 -0
  15. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb +69 -175
  16. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb +36 -52
  17. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +319 -169
  18. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights.rb +9 -7
  19. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +10 -0
  20. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +8 -0
  21. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +1 -1
  22. data/lib/{2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb → 2015-11-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb} +11 -11
  23. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +1 -1
  24. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  25. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb +2 -2
  26. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +1 -1
  27. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +9 -10
  28. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +1 -1
  29. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +95 -1
  30. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operations.rb +4 -0
  31. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +24 -0
  32. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights.rb +123 -0
  33. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/available_service_tiers.rb +146 -0
  34. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/clusters.rb +959 -0
  35. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_exports.rb +473 -0
  36. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +603 -0
  37. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/deleted_workspaces.rb +211 -0
  38. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/gateways.rb +123 -0
  39. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/intelligence_packs.rb +351 -0
  40. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +577 -0
  41. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +490 -0
  42. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/management_groups.rb +130 -0
  43. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
  44. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +75 -0
  45. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster.rb +159 -0
  46. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_entity_status.rb +21 -0
  47. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_error_response.rb +48 -0
  48. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_list_result.rb +98 -0
  49. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_patch.rb +78 -0
  50. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku.rb +58 -0
  51. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku_name_enum.rb +15 -0
  52. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/core_summary.rb +57 -0
  53. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export.rb +174 -0
  54. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_error_response.rb +48 -0
  55. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_list_result.rb +56 -0
  56. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_ingestion_status.rb +20 -0
  57. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +130 -0
  58. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +61 -0
  59. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_kind.rb +47 -0
  60. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +98 -0
  61. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_type.rb +19 -0
  62. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_additional_info.rb +59 -0
  63. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_contract.rb +49 -0
  64. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb +113 -0
  65. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity.rb +72 -0
  66. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity_type.rb +16 -0
  67. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +69 -0
  68. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/key_vault_properties.rb +71 -0
  69. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb +120 -0
  70. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_entity_status.rb +18 -0
  71. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +55 -0
  72. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_list_result.rb +56 -0
  73. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +95 -0
  74. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb +128 -0
  75. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb +57 -0
  76. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
  77. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb +79 -0
  78. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
  79. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  80. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/private_link_scoped_resource.rb +58 -0
  81. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +63 -0
  82. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/public_network_access_type.rb +16 -0
  83. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
  84. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +83 -0
  85. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_search.rb +165 -0
  86. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +55 -0
  87. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +67 -0
  88. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata.rb +241 -0
  89. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +57 -0
  90. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +123 -0
  91. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort.rb +58 -0
  92. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb +16 -0
  93. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb +57 -0
  94. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  95. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_account.rb +58 -0
  96. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight.rb +157 -0
  97. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +98 -0
  98. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb +16 -0
  99. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +58 -0
  100. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/table.rb +79 -0
  101. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tables_list_result.rb +55 -0
  102. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tag.rb +57 -0
  103. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tracked_resource.rb +92 -0
  104. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/type.rb +16 -0
  105. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb +103 -0
  106. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +214 -0
  107. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_capping.rb +73 -0
  108. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_entity_status.rb +21 -0
  109. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +56 -0
  110. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +55 -0
  111. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +56 -0
  112. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_patch.rb +207 -0
  113. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
  114. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
  115. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
  116. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
  117. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku.rb +85 -0
  118. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku_name_enum.rb +21 -0
  119. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
  120. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operation_statuses.rb +121 -0
  121. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +207 -0
  122. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operations.rb +220 -0
  123. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/saved_searches.rb +457 -0
  124. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/schema.rb +130 -0
  125. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/shared_keys_operations.rb +238 -0
  126. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/storage_insight_configs.rb +592 -0
  127. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/tables.rb +359 -0
  128. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/usages.rb +130 -0
  129. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspace_purge.rb +277 -0
  130. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +768 -0
  131. data/lib/2020-08-01/generated/azure_mgmt_operational_insights.rb +123 -0
  132. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/available_service_tiers.rb +146 -0
  133. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/clusters.rb +959 -0
  134. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/data_exports.rb +473 -0
  135. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/data_sources.rb +603 -0
  136. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/deleted_workspaces.rb +211 -0
  137. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/gateways.rb +123 -0
  138. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/intelligence_packs.rb +351 -0
  139. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/linked_services.rb +577 -0
  140. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +481 -0
  141. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/management_groups.rb +130 -0
  142. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
  143. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +75 -0
  144. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster.rb +159 -0
  145. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_entity_status.rb +21 -0
  146. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_error_response.rb +48 -0
  147. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_list_result.rb +98 -0
  148. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_patch.rb +78 -0
  149. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_sku.rb +58 -0
  150. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_sku_name_enum.rb +15 -0
  151. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/core_summary.rb +57 -0
  152. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export.rb +174 -0
  153. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export_error_response.rb +48 -0
  154. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export_list_result.rb +56 -0
  155. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_ingestion_status.rb +20 -0
  156. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source.rb +130 -0
  157. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +61 -0
  158. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_kind.rb +47 -0
  159. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +98 -0
  160. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_type.rb +18 -0
  161. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/error_additional_info.rb +59 -0
  162. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/error_contract.rb +49 -0
  163. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/error_response.rb +113 -0
  164. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/identity.rb +72 -0
  165. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/identity_type.rb +16 -0
  166. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +69 -0
  167. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/key_vault_properties.rb +71 -0
  168. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service.rb +120 -0
  169. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service_entity_status.rb +18 -0
  170. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +55 -0
  171. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_list_result.rb +56 -0
  172. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +95 -0
  173. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb +128 -0
  174. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/metric_name.rb +57 -0
  175. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
  176. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation_display.rb +79 -0
  177. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
  178. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  179. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/private_link_scoped_resource.rb +58 -0
  180. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +63 -0
  181. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/public_network_access_type.rb +16 -0
  182. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
  183. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/resource.rb +83 -0
  184. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/saved_search.rb +165 -0
  185. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +55 -0
  186. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +67 -0
  187. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_metadata.rb +241 -0
  188. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +57 -0
  189. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +123 -0
  190. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_sort.rb +58 -0
  191. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb +16 -0
  192. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/shared_keys.rb +57 -0
  193. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  194. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_account.rb +58 -0
  195. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight.rb +157 -0
  196. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +98 -0
  197. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb +16 -0
  198. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +58 -0
  199. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/table.rb +79 -0
  200. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/tables_list_result.rb +55 -0
  201. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/tag.rb +57 -0
  202. data/lib/{2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb → 2020-08-01/generated/azure_mgmt_operational_insights/models/tracked_resource.rb} +33 -31
  203. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/type.rb +16 -0
  204. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/usage_metric.rb +103 -0
  205. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb +213 -0
  206. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_capping.rb +72 -0
  207. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_entity_status.rb +21 -0
  208. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +56 -0
  209. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +55 -0
  210. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +56 -0
  211. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb +206 -0
  212. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
  213. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
  214. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
  215. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
  216. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_sku.rb +85 -0
  217. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_sku_name_enum.rb +21 -0
  218. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
  219. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/operation_statuses.rb +121 -0
  220. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +207 -0
  221. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/operations.rb +220 -0
  222. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/saved_searches.rb +457 -0
  223. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/schema.rb +130 -0
  224. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/shared_keys_operations.rb +238 -0
  225. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/storage_insight_configs.rb +592 -0
  226. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/tables.rb +359 -0
  227. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/usages.rb +130 -0
  228. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/workspace_purge.rb +277 -0
  229. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/workspaces.rb +768 -0
  230. data/lib/azure_mgmt_operational_insights.rb +2 -0
  231. data/lib/profiles/latest/modules/operationalinsights_profile_module.rb +291 -145
  232. data/lib/version.rb +1 -1
  233. metadata +208 -9
  234. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb +0 -94
@@ -28,22 +28,24 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
28
28
 
29
29
  module Models
30
30
  autoload :MetricName, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb'
31
+ autoload :SharedKeys, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb'
32
+ autoload :LinkedServiceListResult, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb'
33
+ autoload :OperationStatus, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb'
31
34
  autoload :OperationDisplay, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb'
32
35
  autoload :UsageMetric, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb'
33
36
  autoload :OperationListResult, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb'
34
37
  autoload :WorkspaceListUsagesResult, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb'
35
- autoload :LinkedServiceListResult, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb'
36
- autoload :ManagementGroup, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb'
37
38
  autoload :DataSourceFilter, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb'
38
- autoload :WorkspaceListManagementGroupsResult, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb'
39
+ autoload :ManagementGroup, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb'
39
40
  autoload :IntelligencePack, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb'
40
- autoload :Sku, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb'
41
+ autoload :WorkspaceListManagementGroupsResult, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb'
41
42
  autoload :Operation, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb'
42
- autoload :SharedKeys, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb'
43
- autoload :Resource, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb'
43
+ autoload :Sku, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb'
44
44
  autoload :DataSourceListResult, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb'
45
- autoload :ProxyResource, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb'
45
+ autoload :ErrorResponse, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb'
46
46
  autoload :WorkspaceListResult, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb'
47
+ autoload :ProxyResource, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb'
48
+ autoload :Resource, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb'
47
49
  autoload :LinkedService, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb'
48
50
  autoload :DataSource, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb'
49
51
  autoload :Workspace, '2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb'
@@ -123,6 +123,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
123
123
  end
124
124
 
125
125
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
126
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
127
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
126
128
  # Deserialize Response
127
129
  if status_code == 200
128
130
  begin
@@ -237,6 +239,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
237
239
  end
238
240
 
239
241
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
242
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
243
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
240
244
 
241
245
  result
242
246
  end
@@ -332,6 +336,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
332
336
  end
333
337
 
334
338
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
339
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
340
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
335
341
  # Deserialize Response
336
342
  if status_code == 200
337
343
  begin
@@ -443,6 +449,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
443
449
  end
444
450
 
445
451
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
452
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
453
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
446
454
  # Deserialize Response
447
455
  if status_code == 200
448
456
  begin
@@ -534,6 +542,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
534
542
  end
535
543
 
536
544
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
545
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
546
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
537
547
  # Deserialize Response
538
548
  if status_code == 200
539
549
  begin
@@ -123,6 +123,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
123
123
  end
124
124
 
125
125
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
126
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
127
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
126
128
  # Deserialize Response
127
129
  if status_code == 200
128
130
  begin
@@ -237,6 +239,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
237
239
  end
238
240
 
239
241
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
242
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
243
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
240
244
 
241
245
  result
242
246
  end
@@ -332,6 +336,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
332
336
  end
333
337
 
334
338
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
339
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
340
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
335
341
  # Deserialize Response
336
342
  if status_code == 200
337
343
  begin
@@ -433,6 +439,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
433
439
  end
434
440
 
435
441
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
442
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
443
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
436
444
  # Deserialize Response
437
445
  if status_code == 200
438
446
  begin
@@ -30,7 +30,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
30
30
  def get_all_items
31
31
  items = @value
32
32
  page = self
33
- while page.next_link != nil do
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
34
  page = page.get_next_page
35
35
  items.concat(page.value)
36
36
  end
@@ -3,39 +3,39 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::OperationalInsights::Mgmt::V2015_03_20
6
+ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
7
7
  module Models
8
8
  #
9
- # Details for a search error.
9
+ # Describes the format of Error response.
10
10
  #
11
- class SearchError
11
+ class ErrorResponse
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] The error type.
16
- attr_accessor :type
15
+ # @return [String] Error code
16
+ attr_accessor :code
17
17
 
18
- # @return [String] The error message.
18
+ # @return [String] Error message indicating why the operation failed.
19
19
  attr_accessor :message
20
20
 
21
21
 
22
22
  #
23
- # Mapper for SearchError class as Ruby Hash.
23
+ # Mapper for ErrorResponse class as Ruby Hash.
24
24
  # This will be used for serialization/deserialization.
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
28
  client_side_validation: true,
29
29
  required: false,
30
- serialized_name: 'SearchError',
30
+ serialized_name: 'ErrorResponse',
31
31
  type: {
32
32
  name: 'Composite',
33
- class_name: 'SearchError',
33
+ class_name: 'ErrorResponse',
34
34
  model_properties: {
35
- type: {
35
+ code: {
36
36
  client_side_validation: true,
37
37
  required: false,
38
- serialized_name: 'type',
38
+ serialized_name: 'code',
39
39
  type: {
40
40
  name: 'String'
41
41
  }
@@ -32,7 +32,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
32
32
  def get_all_items
33
33
  items = @value
34
34
  page = self
35
- while page.next_link != nil do
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
36
  page = page.get_next_page
37
37
  items.concat(page.value)
38
38
  end
@@ -0,0 +1,102 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
7
+ module Models
8
+ #
9
+ # The status of operation.
10
+ #
11
+ class OperationStatus
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The operation Id.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The operation name.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The start time of the operation.
22
+ attr_accessor :start_time
23
+
24
+ # @return [String] The end time of the operation.
25
+ attr_accessor :end_time
26
+
27
+ # @return [String] The status of the operation.
28
+ attr_accessor :status
29
+
30
+ # @return [ErrorResponse] The error detail of the operation if any.
31
+ attr_accessor :error
32
+
33
+
34
+ #
35
+ # Mapper for OperationStatus class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'OperationStatus',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'OperationStatus',
46
+ model_properties: {
47
+ id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'id',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ name: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'name',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ start_time: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'startTime',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ end_time: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'endTime',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ status: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'status',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ error: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'error',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'ErrorResponse'
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ end
100
+ end
101
+ end
102
+ end
@@ -13,8 +13,8 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
13
13
  include MsRestAzure
14
14
 
15
15
  # @return [SkuNameEnum] The name of the SKU. Possible values include:
16
- # 'Free', 'Standard', 'Premium', 'Unlimited', 'PerNode', 'PerGB2018',
17
- # 'Standalone'
16
+ # 'Free', 'Standard', 'Premium', 'PerNode', 'PerGB2018', 'Standalone',
17
+ # 'CapacityReservation'
18
18
  attr_accessor :name
19
19
 
20
20
 
@@ -12,10 +12,10 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
12
12
  Free = "Free"
13
13
  Standard = "Standard"
14
14
  Premium = "Premium"
15
- Unlimited = "Unlimited"
16
15
  PerNode = "PerNode"
17
16
  PerGB2018 = "PerGB2018"
18
17
  Standalone = "Standalone"
18
+ CapacityReservation = "CapacityReservation"
19
19
  end
20
20
  end
21
21
  end
@@ -17,20 +17,16 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
17
17
  # 'Deleting', 'ProvisioningAccount'
18
18
  attr_accessor :provisioning_state
19
19
 
20
- # @return [String] The source of the workspace. Source defines where the
21
- # workspace was created. 'Azure' implies it was created in Azure.
22
- # 'External' implies it was created via the Operational Insights Portal.
23
- # This value is set on the service side and read-only on the client side.
20
+ # @return [String] This is a read-only legacy property. It is always set
21
+ # to 'Azure' by the service. Kept here for backward compatibility.
24
22
  attr_accessor :source
25
23
 
26
- # @return [String] The ID associated with the workspace. Setting this
27
- # value at creation time allows the workspace being created to be linked
28
- # to an existing workspace.
24
+ # @return [String] This is a read-only property. Represents the ID
25
+ # associated with the workspace.
29
26
  attr_accessor :customer_id
30
27
 
31
- # @return [String] The URL of the Operational Insights portal for this
32
- # workspace. This value is set on the service side and read-only on the
33
- # client side.
28
+ # @return [String] This is a legacy property and is not used anymore.
29
+ # Kept here for backward compatibility.
34
30
  attr_accessor :portal_url
35
31
 
36
32
  # @return [Sku] The SKU of the workspace.
@@ -120,6 +116,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
120
116
  source: {
121
117
  client_side_validation: true,
122
118
  required: false,
119
+ read_only: true,
123
120
  serialized_name: 'properties.source',
124
121
  type: {
125
122
  name: 'String'
@@ -128,6 +125,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
128
125
  customer_id: {
129
126
  client_side_validation: true,
130
127
  required: false,
128
+ read_only: true,
131
129
  serialized_name: 'properties.customerId',
132
130
  type: {
133
131
  name: 'String'
@@ -136,6 +134,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
136
134
  portal_url: {
137
135
  client_side_validation: true,
138
136
  required: false,
137
+ read_only: true,
139
138
  serialized_name: 'properties.portalUrl',
140
139
  type: {
141
140
  name: 'String'
@@ -6,7 +6,7 @@
6
6
  module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
7
7
  module Models
8
8
  #
9
- # The list workspace managmement groups operation response.
9
+ # The list workspace management groups operation response.
10
10
  #
11
11
  class WorkspaceListManagementGroupsResult
12
12
 
@@ -131,6 +131,100 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
131
131
  super(request_url, method, path, options)
132
132
  end
133
133
 
134
+ #
135
+ # Get the status of an azure asynchronous operation.
136
+ #
137
+ # @param location [String] The region name of operation.
138
+ # @param async_operation_id [String] The operation Id.
139
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
140
+ # will be added to the HTTP request.
141
+ #
142
+ # @return [OperationStatus] operation results.
143
+ #
144
+ def get_async_operations_status(location, async_operation_id, custom_headers:nil)
145
+ response = get_async_operations_status_async(location, async_operation_id, custom_headers:custom_headers).value!
146
+ response.body unless response.nil?
147
+ end
148
+
149
+ #
150
+ # Get the status of an azure asynchronous operation.
151
+ #
152
+ # @param location [String] The region name of operation.
153
+ # @param async_operation_id [String] The operation Id.
154
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
155
+ # will be added to the HTTP request.
156
+ #
157
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
158
+ #
159
+ def get_async_operations_status_with_http_info(location, async_operation_id, custom_headers:nil)
160
+ get_async_operations_status_async(location, async_operation_id, custom_headers:custom_headers).value!
161
+ end
162
+
163
+ #
164
+ # Get the status of an azure asynchronous operation.
165
+ #
166
+ # @param location [String] The region name of operation.
167
+ # @param async_operation_id [String] The operation Id.
168
+ # @param [Hash{String => String}] A hash of custom headers that will be added
169
+ # to the HTTP request.
170
+ #
171
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
172
+ #
173
+ def get_async_operations_status_async(location, async_operation_id, custom_headers:nil)
174
+ fail ArgumentError, 'location is nil' if location.nil?
175
+ fail ArgumentError, 'async_operation_id is nil' if async_operation_id.nil?
176
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
177
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
178
+
179
+
180
+ request_headers = {}
181
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
182
+
183
+ # Set Headers
184
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
185
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
186
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/locations/{location}/operationStatuses/{asyncOperationId}'
187
+
188
+ request_url = @base_url || self.base_url
189
+
190
+ options = {
191
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
192
+ path_params: {'location' => location,'asyncOperationId' => async_operation_id,'subscriptionId' => subscription_id},
193
+ query_params: {'api-version' => api_version},
194
+ headers: request_headers.merge(custom_headers || {}),
195
+ base_url: request_url
196
+ }
197
+ promise = self.make_request_async(:get, path_template, options)
198
+
199
+ promise = promise.then do |result|
200
+ http_response = result.response
201
+ status_code = http_response.status
202
+ response_content = http_response.body
203
+ unless status_code == 200
204
+ error_model = JSON.load(response_content)
205
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
206
+ end
207
+
208
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
209
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
210
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
211
+ # Deserialize Response
212
+ if status_code == 200
213
+ begin
214
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
215
+ result_mapper = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationStatus.mapper()
216
+ result.body = self.deserialize(result_mapper, parsed_response)
217
+ rescue Exception => e
218
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
219
+ end
220
+ end
221
+
222
+ result
223
+ end
224
+
225
+ promise.execute
226
+ end
227
+
134
228
 
135
229
  private
136
230
  #
@@ -138,7 +232,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
138
232
  #
139
233
  def add_telemetry
140
234
  sdk_information = 'azure_mgmt_operational_insights'
141
- sdk_information = "#{sdk_information}/0.17.1"
235
+ sdk_information = "#{sdk_information}/0.19.2"
142
236
  add_user_agent_information(sdk_information)
143
237
  end
144
238
  end