azure_mgmt_operational_insights 0.15.2 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb +18 -10
  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/core_summary.rb +2 -2
  5. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
  6. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb +68 -0
  7. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +56 -0
  8. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
  9. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb +9 -0
  10. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb +37 -13
  11. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +3 -2
  12. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +1 -1
  13. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb +8 -8
  14. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/{search_highlight.rb → shared_keys.rb} +13 -13
  15. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  16. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +2 -3
  17. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb +2 -2
  18. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
  19. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
  20. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
  21. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
  22. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +24 -10
  23. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operations.rb +109 -0
  24. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb +78 -181
  25. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb +69 -82
  26. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +476 -119
  27. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights.rb +14 -8
  28. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +45 -32
  29. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +34 -24
  30. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +1 -1
  31. 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
  32. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +11 -0
  33. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
  34. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb +68 -0
  35. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
  36. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  37. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +10 -1
  38. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb +2 -1
  39. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +2 -1
  40. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +10 -11
  41. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +1 -1
  42. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +239 -0
  43. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operations.rb +219 -0
  44. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +202 -63
  45. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights.rb +123 -0
  46. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/available_service_tiers.rb +146 -0
  47. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/clusters.rb +959 -0
  48. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_exports.rb +523 -0
  49. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +603 -0
  50. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/deleted_workspaces.rb +211 -0
  51. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/gateways.rb +123 -0
  52. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/intelligence_packs.rb +351 -0
  53. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +577 -0
  54. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +481 -0
  55. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/management_groups.rb +130 -0
  56. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
  57. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +75 -0
  58. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster.rb +159 -0
  59. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_entity_status.rb +21 -0
  60. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_error_response.rb +48 -0
  61. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_list_result.rb +98 -0
  62. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_patch.rb +78 -0
  63. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku.rb +58 -0
  64. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku_name_enum.rb +15 -0
  65. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/core_summary.rb +57 -0
  66. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export.rb +174 -0
  67. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_error_response.rb +48 -0
  68. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_list_result.rb +56 -0
  69. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_ingestion_status.rb +20 -0
  70. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +130 -0
  71. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +61 -0
  72. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_kind.rb +47 -0
  73. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +98 -0
  74. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_type.rb +16 -0
  75. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_additional_info.rb +59 -0
  76. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_contract.rb +49 -0
  77. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb +113 -0
  78. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity.rb +72 -0
  79. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity_type.rb +16 -0
  80. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +69 -0
  81. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/key_vault_properties.rb +71 -0
  82. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb +120 -0
  83. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_entity_status.rb +18 -0
  84. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +55 -0
  85. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_list_result.rb +56 -0
  86. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +95 -0
  87. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb +128 -0
  88. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb +57 -0
  89. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
  90. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb +79 -0
  91. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
  92. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  93. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/private_link_scoped_resource.rb +58 -0
  94. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +63 -0
  95. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/public_network_access_type.rb +16 -0
  96. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
  97. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +83 -0
  98. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_search.rb +165 -0
  99. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +55 -0
  100. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +67 -0
  101. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata.rb +241 -0
  102. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +57 -0
  103. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +123 -0
  104. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort.rb +58 -0
  105. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb +16 -0
  106. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb +57 -0
  107. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  108. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_account.rb +58 -0
  109. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight.rb +157 -0
  110. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +98 -0
  111. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb +16 -0
  112. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +58 -0
  113. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/table.rb +79 -0
  114. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tables_list_result.rb +55 -0
  115. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tag.rb +57 -0
  116. 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
  117. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/type.rb +16 -0
  118. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb +103 -0
  119. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +214 -0
  120. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_capping.rb +73 -0
  121. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_entity_status.rb +21 -0
  122. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +56 -0
  123. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +55 -0
  124. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +56 -0
  125. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_patch.rb +207 -0
  126. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
  127. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
  128. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
  129. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
  130. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku.rb +85 -0
  131. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku_name_enum.rb +21 -0
  132. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
  133. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operation_statuses.rb +121 -0
  134. data/lib/{2015-11-01-preview/generated/azure_mgmt_operational_insights/azure_log_analytics.rb → 2020-03-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb} +89 -19
  135. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operations.rb +220 -0
  136. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/saved_searches.rb +457 -0
  137. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/schema.rb +130 -0
  138. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/shared_keys_operations.rb +238 -0
  139. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/storage_insight_configs.rb +592 -0
  140. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/tables.rb +359 -0
  141. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/usages.rb +130 -0
  142. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspace_purge.rb +277 -0
  143. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +768 -0
  144. data/lib/azure_mgmt_operational_insights.rb +1 -0
  145. data/lib/profiles/latest/modules/operationalinsights_profile_module.rb +382 -180
  146. data/lib/profiles/latest/operationalinsights_latest_profile_client.rb +28 -9
  147. data/lib/profiles/latest/operationalinsights_module_definition.rb +0 -1
  148. data/lib/version.rb +1 -1
  149. metadata +123 -10
  150. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb +0 -94
@@ -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 +35,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
35
35
  metadata: {
36
36
  client_side_validation: true,
37
37
  required: false,
38
- serialized_name: '__metadata',
38
+ serialized_name: 'metadata',
39
39
  type: {
40
40
  name: 'Composite',
41
41
  class_name: 'SearchMetadata'
@@ -40,7 +40,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
40
40
  attr_accessor :last_updated
41
41
 
42
42
  # @return [String] The ETag of the search results.
43
- attr_accessor :etag
43
+ attr_accessor :e_tag
44
44
 
45
45
  # @return [Array<SearchSort>] How the results are sorted.
46
46
  attr_accessor :sort
@@ -80,7 +80,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
80
80
  search_id: {
81
81
  client_side_validation: true,
82
82
  required: false,
83
- serialized_name: 'RequestId',
83
+ serialized_name: 'requestId',
84
84
  type: {
85
85
  name: 'String'
86
86
  }
@@ -120,7 +120,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
120
120
  core_summaries: {
121
121
  client_side_validation: true,
122
122
  required: false,
123
- serialized_name: 'CoreSummaries',
123
+ serialized_name: 'coreSummaries',
124
124
  type: {
125
125
  name: 'Sequence',
126
126
  element: {
@@ -137,7 +137,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
137
137
  status: {
138
138
  client_side_validation: true,
139
139
  required: false,
140
- serialized_name: 'Status',
140
+ serialized_name: 'status',
141
141
  type: {
142
142
  name: 'String'
143
143
  }
@@ -145,7 +145,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
145
145
  start_time: {
146
146
  client_side_validation: true,
147
147
  required: false,
148
- serialized_name: 'StartTime',
148
+ serialized_name: 'startTime',
149
149
  type: {
150
150
  name: 'DateTime'
151
151
  }
@@ -153,15 +153,15 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
153
153
  last_updated: {
154
154
  client_side_validation: true,
155
155
  required: false,
156
- serialized_name: 'LastUpdated',
156
+ serialized_name: 'lastUpdated',
157
157
  type: {
158
158
  name: 'DateTime'
159
159
  }
160
160
  },
161
- etag: {
161
+ e_tag: {
162
162
  client_side_validation: true,
163
163
  required: false,
164
- serialized_name: 'ETag',
164
+ serialized_name: 'eTag',
165
165
  type: {
166
166
  name: 'String'
167
167
  }
@@ -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
@@ -35,7 +35,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
35
35
  name: {
36
36
  client_side_validation: true,
37
37
  required: true,
38
- serialized_name: 'Name',
38
+ serialized_name: 'name',
39
39
  type: {
40
40
  name: 'String'
41
41
  }
@@ -43,7 +43,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
43
43
  value: {
44
44
  client_side_validation: true,
45
45
  required: true,
46
- serialized_name: 'Value',
46
+ serialized_name: 'value',
47
47
  type: {
48
48
  name: 'String'
49
49
  }
@@ -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
@@ -0,0 +1,85 @@
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
+ # User-defined filters to return data which will be purged from the table.
10
+ #
11
+ class WorkspacePurgeBodyFilters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The column of the table over which the given query
16
+ # should run
17
+ attr_accessor :column
18
+
19
+ # @return [String] A query operator to evaluate over the provided column
20
+ # and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=,
21
+ # between, and have the same behavior as they would in a KQL query.
22
+ attr_accessor :operator
23
+
24
+ # @return the value for the operator to function over. This can be a
25
+ # number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of
26
+ # values.
27
+ attr_accessor :value
28
+
29
+ # @return [String] When filtering over custom dimensions, this key will
30
+ # be used as the name of the custom dimension.
31
+ attr_accessor :key
32
+
33
+
34
+ #
35
+ # Mapper for WorkspacePurgeBodyFilters 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: 'WorkspacePurgeBodyFilters',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'WorkspacePurgeBodyFilters',
46
+ model_properties: {
47
+ column: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'column',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ operator: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'operator',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ value: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'value',
67
+ type: {
68
+ name: 'Object'
69
+ }
70
+ },
71
+ key: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'key',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,47 @@
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
+ # Response containing operationId for a specific purge action.
10
+ #
11
+ class WorkspacePurgeResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Id to use when querying for status for a particular
16
+ # purge operation.
17
+ attr_accessor :operation_id
18
+
19
+
20
+ #
21
+ # Mapper for WorkspacePurgeResponse class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'WorkspacePurgeResponse',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'WorkspacePurgeResponse',
32
+ model_properties: {
33
+ operation_id: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'operationId',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,47 @@
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
+ # Response containing status for a specific purge operation.
10
+ #
11
+ class WorkspacePurgeStatusResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [PurgeState] Status of the operation represented by the
16
+ # requested Id. Possible values include: 'pending', 'completed'
17
+ attr_accessor :status
18
+
19
+
20
+ #
21
+ # Mapper for WorkspacePurgeStatusResponse class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'WorkspacePurgeStatusResponse',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'WorkspacePurgeStatusResponse',
32
+ model_properties: {
33
+ status: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'status',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end