azure_mgmt_operational_insights 0.16.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb +17 -13
  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/purge_state.rb +16 -0
  8. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb +9 -0
  9. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb +5 -5
  10. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +4 -3
  11. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/{search_highlight.rb → shared_keys.rb} +13 -13
  12. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  13. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +2 -3
  14. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
  15. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
  16. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
  17. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
  18. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +17 -10
  19. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operations.rb +2 -0
  20. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb +69 -175
  21. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb +36 -52
  22. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +463 -108
  23. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights.rb +9 -7
  24. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +10 -0
  25. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +8 -0
  26. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +1 -1
  27. 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
  28. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +1 -1
  29. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  30. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +9 -0
  31. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb +2 -1
  32. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +2 -1
  33. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +9 -10
  34. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +1 -1
  35. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +101 -6
  36. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operations.rb +4 -0
  37. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +24 -0
  38. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights.rb +123 -0
  39. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/available_service_tiers.rb +146 -0
  40. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/clusters.rb +959 -0
  41. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_exports.rb +473 -0
  42. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +603 -0
  43. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/deleted_workspaces.rb +211 -0
  44. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/gateways.rb +123 -0
  45. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/intelligence_packs.rb +351 -0
  46. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +577 -0
  47. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +481 -0
  48. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/management_groups.rb +130 -0
  49. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
  50. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +75 -0
  51. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster.rb +159 -0
  52. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_entity_status.rb +21 -0
  53. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_error_response.rb +48 -0
  54. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_list_result.rb +98 -0
  55. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_patch.rb +78 -0
  56. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku.rb +58 -0
  57. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku_name_enum.rb +15 -0
  58. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/core_summary.rb +57 -0
  59. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export.rb +174 -0
  60. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_error_response.rb +48 -0
  61. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_list_result.rb +56 -0
  62. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_ingestion_status.rb +20 -0
  63. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +130 -0
  64. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +61 -0
  65. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_kind.rb +47 -0
  66. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +98 -0
  67. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_type.rb +16 -0
  68. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_additional_info.rb +59 -0
  69. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_contract.rb +49 -0
  70. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb +113 -0
  71. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity.rb +72 -0
  72. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity_type.rb +16 -0
  73. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +69 -0
  74. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/key_vault_properties.rb +71 -0
  75. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb +120 -0
  76. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_entity_status.rb +18 -0
  77. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +55 -0
  78. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_list_result.rb +56 -0
  79. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +95 -0
  80. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb +128 -0
  81. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb +57 -0
  82. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
  83. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb +79 -0
  84. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
  85. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  86. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/private_link_scoped_resource.rb +58 -0
  87. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +63 -0
  88. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/public_network_access_type.rb +16 -0
  89. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
  90. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +83 -0
  91. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_search.rb +165 -0
  92. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +55 -0
  93. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +67 -0
  94. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata.rb +241 -0
  95. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +57 -0
  96. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +123 -0
  97. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort.rb +58 -0
  98. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb +16 -0
  99. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb +57 -0
  100. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  101. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_account.rb +58 -0
  102. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight.rb +157 -0
  103. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +98 -0
  104. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb +16 -0
  105. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +58 -0
  106. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/table.rb +79 -0
  107. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tables_list_result.rb +55 -0
  108. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tag.rb +57 -0
  109. data/lib/{2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb → 2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tracked_resource.rb} +33 -31
  110. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/type.rb +16 -0
  111. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb +103 -0
  112. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +214 -0
  113. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_capping.rb +73 -0
  114. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_entity_status.rb +21 -0
  115. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +56 -0
  116. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +55 -0
  117. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +56 -0
  118. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_patch.rb +207 -0
  119. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
  120. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
  121. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
  122. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
  123. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku.rb +85 -0
  124. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku_name_enum.rb +21 -0
  125. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
  126. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operation_statuses.rb +121 -0
  127. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +207 -0
  128. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operations.rb +220 -0
  129. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/saved_searches.rb +457 -0
  130. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/schema.rb +130 -0
  131. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/shared_keys_operations.rb +238 -0
  132. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/storage_insight_configs.rb +592 -0
  133. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/tables.rb +359 -0
  134. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/usages.rb +130 -0
  135. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspace_purge.rb +277 -0
  136. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +768 -0
  137. data/lib/azure_mgmt_operational_insights.rb +1 -0
  138. data/lib/profiles/latest/modules/operationalinsights_profile_module.rb +295 -129
  139. data/lib/version.rb +1 -1
  140. metadata +114 -9
  141. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb +0 -94
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 499347fcc590f774fcbf30a35978e605ba33cff7
4
- data.tar.gz: 54d7dcfac667e4adcf70d12d6b86c1ec1f72ba5b
2
+ SHA256:
3
+ metadata.gz: 9fcbfc2ade62502841adaec8706fb24f1ff226b9774010f21e0bd6e20583d7d4
4
+ data.tar.gz: 46f808d075b4108013189f2413ead7f1062c92fa8ebfd503725b044609c814a9
5
5
  SHA512:
6
- metadata.gz: b4232b21c4c8681eb235d3f294dd9679bdfce21801fd8f0c30de69145b78371646a772c09ee645d419a604cd94deb955c96df76e2c449eb2955d9e47cc13afec
7
- data.tar.gz: 58a4c693f2c2f8192be1fe8d04f69f89f9c4312fb7dae644f831031d7f46343933d62c1fc9dccbb4670efd75f0bfd9b9015205639191dde6c957b6457b0709d8
6
+ metadata.gz: e5d877d818ddecf975464fdd22d36bbc77a875e6c0dec6b5bb1afa45f251f260b7d963dda916e1d4d3b1ea1ffcf3ec85437dab959ff13b2bc0396c0272d4f322
7
+ data.tar.gz: d8da0103779c18f10a80ac7ff83bf604d216bcb38229772b74394ef187a40ddea285ec266736199fdfe4dcb86b6b962e96590d17a508cfbd53c7f701ee3459dc
@@ -27,30 +27,34 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
27
27
  autoload :OperationalInsightsManagementClient, '2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb'
28
28
 
29
29
  module Models
30
- autoload :SearchError, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb'
31
- autoload :SearchResultsResponse, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb'
32
- autoload :Operation, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb'
33
- autoload :SearchSchemaValue, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb'
34
- autoload :LinkTarget, '2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb'
35
30
  autoload :SearchGetSchemaResponse, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb'
36
- autoload :CoreSummary, '2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb'
37
- autoload :SearchHighlight, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb'
38
- autoload :SearchMetadataSchema, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb'
39
- autoload :SearchParameters, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb'
40
- autoload :SavedSearch, '2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb'
41
31
  autoload :StorageAccount, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb'
42
- autoload :OperationDisplay, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb'
32
+ autoload :Operation, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb'
43
33
  autoload :StorageInsightStatus, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb'
34
+ autoload :LinkTarget, '2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb'
44
35
  autoload :Tag, '2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb'
45
36
  autoload :SearchSort, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb'
46
- autoload :SavedSearchesListResult, '2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb'
47
37
  autoload :StorageInsightListResult, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb'
48
38
  autoload :SearchMetadata, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb'
49
39
  autoload :Resource, '2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb'
50
- autoload :OperationListResult, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb'
40
+ autoload :SavedSearchesListResult, '2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb'
51
41
  autoload :ProxyResource, '2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb'
42
+ autoload :OperationDisplay, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb'
43
+ autoload :WorkspacePurgeBodyFilters, '2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb'
44
+ autoload :CoreSummary, '2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb'
45
+ autoload :WorkspacePurgeBody, '2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb'
46
+ autoload :SavedSearch, '2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb'
47
+ autoload :WorkspacePurgeResponse, '2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb'
48
+ autoload :OperationListResult, '2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb'
49
+ autoload :WorkspacePurgeStatusResponse, '2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb'
50
+ autoload :SearchSchemaValue, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb'
51
+ autoload :SharedKeys, '2015-03-20/generated/azure_mgmt_operational_insights/models/shared_keys.rb'
52
+ autoload :SearchMetadataSchema, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb'
53
+ autoload :AvailableServiceTier, '2015-03-20/generated/azure_mgmt_operational_insights/models/available_service_tier.rb'
52
54
  autoload :StorageInsight, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb'
53
55
  autoload :SearchSortEnum, '2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb'
54
56
  autoload :StorageInsightState, '2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb'
57
+ autoload :PurgeState, '2015-03-20/generated/azure_mgmt_operational_insights/models/purge_state.rb'
58
+ autoload :SkuNameEnum, '2015-03-20/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb'
55
59
  end
56
60
  end
@@ -0,0 +1,124 @@
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_03_20
7
+ module Models
8
+ #
9
+ # Service Tier details.
10
+ #
11
+ class AvailableServiceTier
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [SkuNameEnum] The name of the Service Tier. Possible values
16
+ # include: 'Free', 'Standard', 'Premium', 'PerNode', 'PerGB2018',
17
+ # 'Standalone', 'CapacityReservation'
18
+ attr_accessor :service_tier
19
+
20
+ # @return [Boolean] True if the Service Tier is enabled for the
21
+ # workspace.
22
+ attr_accessor :enabled
23
+
24
+ # @return [Integer] The minimum retention for the Service Tier, in days.
25
+ attr_accessor :minimum_retention
26
+
27
+ # @return [Integer] The maximum retention for the Service Tier, in days.
28
+ attr_accessor :maximum_retention
29
+
30
+ # @return [Integer] The default retention for the Service Tier, in days.
31
+ attr_accessor :default_retention
32
+
33
+ # @return [Integer] The capacity reservation level in GB per day.
34
+ # Returned for the Capacity Reservation Service Tier.
35
+ attr_accessor :capacity_reservation_level
36
+
37
+ # @return [DateTime] Time when the sku was last updated for the
38
+ # workspace. Returned for the Capacity Reservation Service Tier.
39
+ attr_accessor :last_sku_update
40
+
41
+
42
+ #
43
+ # Mapper for AvailableServiceTier class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'AvailableServiceTier',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'AvailableServiceTier',
54
+ model_properties: {
55
+ service_tier: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ read_only: true,
59
+ serialized_name: 'ServiceTier',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ enabled: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'Enabled',
69
+ type: {
70
+ name: 'Boolean'
71
+ }
72
+ },
73
+ minimum_retention: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'MinimumRetention',
78
+ type: {
79
+ name: 'Number'
80
+ }
81
+ },
82
+ maximum_retention: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'MaximumRetention',
87
+ type: {
88
+ name: 'Number'
89
+ }
90
+ },
91
+ default_retention: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'DefaultRetention',
96
+ type: {
97
+ name: 'Number'
98
+ }
99
+ },
100
+ capacity_reservation_level: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ read_only: true,
104
+ serialized_name: 'CapacityReservationLevel',
105
+ type: {
106
+ name: 'Number'
107
+ }
108
+ },
109
+ last_sku_update: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ read_only: true,
113
+ serialized_name: 'LastSkuUpdate',
114
+ type: {
115
+ name: 'DateTime'
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ end
122
+ end
123
+ end
124
+ end
@@ -6,7 +6,7 @@
6
6
  module Azure::OperationalInsights::Mgmt::V2015_03_20
7
7
  module Models
8
8
  #
9
- # Supported operation of OperationsManagement resource provider.
9
+ # Supported operation of OperationalInsights resource provider.
10
10
  #
11
11
  class Operation
12
12
 
@@ -12,7 +12,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Service provider: Microsoft OperationsManagement.
15
+ # @return [String] Service provider: OperationalInsights.
16
16
  attr_accessor :provider
17
17
 
18
18
  # @return [String] Resource on which the operation is performed etc.
@@ -6,14 +6,14 @@
6
6
  module Azure::OperationalInsights::Mgmt::V2015_03_20
7
7
  module Models
8
8
  #
9
- # Result of the request to list solution operations.
9
+ # Result of the request to list OperationalInsights operations.
10
10
  #
11
11
  class OperationListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<Operation>] List of solution operations supported by the
16
- # OperationsManagement resource provider.
15
+ # @return [Array<Operation>] List of operations supported by the
16
+ # OperationalInsights resource provider.
17
17
  attr_accessor :value
18
18
 
19
19
 
@@ -0,0 +1,16 @@
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_03_20
7
+ module Models
8
+ #
9
+ # Defines values for PurgeState
10
+ #
11
+ module PurgeState
12
+ Pending = "pending"
13
+ Completed = "completed"
14
+ end
15
+ end
16
+ end
@@ -28,6 +28,15 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
28
28
  attr_accessor :tags
29
29
 
30
30
 
31
+ # @return [String] the name of the resource group of the resource.
32
+ def resource_group
33
+ unless self.id.nil?
34
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
35
+ groups.captures[0].strip if groups
36
+ end
37
+ end
38
+
39
+
31
40
  #
32
41
  # Mapper for Resource class as Ruby Hash.
33
42
  # This will be used for serialization/deserialization.
@@ -21,7 +21,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
21
21
  # @return [String] The type of the saved search.
22
22
  attr_accessor :type
23
23
 
24
- # @return [String] The etag of the saved search.
24
+ # @return [String] The ETag of the saved search.
25
25
  attr_accessor :e_tag
26
26
 
27
27
  # @return [String] The category of the saved search. This helps the user
@@ -36,8 +36,8 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
36
36
  # for reference.
37
37
  attr_accessor :query
38
38
 
39
- # @return [Integer] The version number of the query lanuage. Only verion
40
- # 1 is allowed here.
39
+ # @return [Integer] The version number of the query language. The current
40
+ # version is 2 and is the default.
41
41
  attr_accessor :version
42
42
 
43
43
  # @return [Array<Tag>] The tags attached to the saved search.
@@ -118,10 +118,10 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
118
118
  },
119
119
  version: {
120
120
  client_side_validation: true,
121
- required: true,
121
+ required: false,
122
122
  serialized_name: 'properties.version',
123
123
  constraints: {
124
- InclusiveMaximum: 1,
124
+ InclusiveMaximum: 2,
125
125
  InclusiveMinimum: 1
126
126
  },
127
127
  type: {
@@ -6,13 +6,14 @@
6
6
  module Azure::OperationalInsights::Mgmt::V2015_03_20
7
7
  module Models
8
8
  #
9
- # The saved search operation response.
9
+ # The saved search list operation response.
10
10
  #
11
11
  class SavedSearchesListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [SearchMetadata] The metadata from search results.
15
+ # @return [SearchMetadata] Unused legacy property, kept here for backward
16
+ # compatibility.
16
17
  attr_accessor :metadata
17
18
 
18
19
  # @return [Array<SavedSearch>] The array of result values.
@@ -35,7 +36,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
35
36
  metadata: {
36
37
  client_side_validation: true,
37
38
  required: false,
38
- serialized_name: 'metaData',
39
+ serialized_name: '__metadata',
39
40
  type: {
40
41
  name: 'Composite',
41
42
  class_name: 'SearchMetadata'
@@ -6,44 +6,44 @@
6
6
  module Azure::OperationalInsights::Mgmt::V2015_03_20
7
7
  module Models
8
8
  #
9
- # Highlight details.
9
+ # The shared keys for a workspace.
10
10
  #
11
- class SearchHighlight
11
+ class SharedKeys
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] The string that is put before a matched result.
16
- attr_accessor :pre
15
+ # @return [String] The primary shared key of a workspace.
16
+ attr_accessor :primary_shared_key
17
17
 
18
- # @return [String] The string that is put after a matched result.
19
- attr_accessor :post
18
+ # @return [String] The secondary shared key of a workspace.
19
+ attr_accessor :secondary_shared_key
20
20
 
21
21
 
22
22
  #
23
- # Mapper for SearchHighlight class as Ruby Hash.
23
+ # Mapper for SharedKeys 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: 'SearchHighlight',
30
+ serialized_name: 'SharedKeys',
31
31
  type: {
32
32
  name: 'Composite',
33
- class_name: 'SearchHighlight',
33
+ class_name: 'SharedKeys',
34
34
  model_properties: {
35
- pre: {
35
+ primary_shared_key: {
36
36
  client_side_validation: true,
37
37
  required: false,
38
- serialized_name: 'pre',
38
+ serialized_name: 'primarySharedKey',
39
39
  type: {
40
40
  name: 'String'
41
41
  }
42
42
  },
43
- post: {
43
+ secondary_shared_key: {
44
44
  client_side_validation: true,
45
45
  required: false,
46
- serialized_name: 'post',
46
+ serialized_name: 'secondarySharedKey',
47
47
  type: {
48
48
  name: 'String'
49
49
  }
@@ -0,0 +1,21 @@
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_03_20
7
+ module Models
8
+ #
9
+ # Defines values for SkuNameEnum
10
+ #
11
+ module SkuNameEnum
12
+ Free = "Free"
13
+ Standard = "Standard"
14
+ Premium = "Premium"
15
+ PerNode = "PerNode"
16
+ PerGB2018 = "PerGB2018"
17
+ Standalone = "Standalone"
18
+ CapacityReservation = "CapacityReservation"
19
+ end
20
+ end
21
+ end
@@ -13,8 +13,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
- # @return [Array<StorageInsight>] Gets or sets a list of storage insight
17
- # instances.
16
+ # @return [Array<StorageInsight>] A list of storage insight items.
18
17
  attr_accessor :value
19
18
 
20
19
  # @return [String] The link (url) to the next page of results.
@@ -31,7 +30,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
31
30
  def get_all_items
32
31
  items = @value
33
32
  page = self
34
- while page.odatanext_link != nil do
33
+ while page.odatanext_link != nil && !page.odatanext_link.strip.empty? do
35
34
  page = page.get_next_page
36
35
  items.concat(page.value)
37
36
  end
@@ -0,0 +1,67 @@
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_03_20
7
+ module Models
8
+ #
9
+ # Describes the body of a purge request for an App Insights Workspace
10
+ #
11
+ class WorkspacePurgeBody
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Table from which to purge data.
16
+ attr_accessor :table
17
+
18
+ # @return [Array<WorkspacePurgeBodyFilters>] The set of columns and
19
+ # filters (queries) to run over them to purge the resulting data.
20
+ attr_accessor :filters
21
+
22
+
23
+ #
24
+ # Mapper for WorkspacePurgeBody class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'WorkspacePurgeBody',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'WorkspacePurgeBody',
35
+ model_properties: {
36
+ table: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'table',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ filters: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'filters',
48
+ type: {
49
+ name: 'Sequence',
50
+ element: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'WorkspacePurgeBodyFiltersElementType',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'WorkspacePurgeBodyFilters'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ end