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.
- checksums.yaml +5 -5
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb +18 -10
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb +2 -2
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_display.rb +68 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +56 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb +9 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb +37 -13
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +3 -2
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +1 -1
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb +8 -8
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/{search_highlight.rb → shared_keys.rb} +13 -13
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +2 -3
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb +2 -2
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +24 -10
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operations.rb +109 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb +78 -181
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb +69 -82
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +476 -119
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights.rb +14 -8
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +45 -32
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +34 -24
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +1 -1
- 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
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +11 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb +68 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +10 -1
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb +2 -1
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +2 -1
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +10 -11
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +1 -1
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +239 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operations.rb +219 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +202 -63
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights.rb +123 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/available_service_tiers.rb +146 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/clusters.rb +959 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_exports.rb +523 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +603 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/deleted_workspaces.rb +211 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/gateways.rb +123 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/intelligence_packs.rb +351 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +577 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +481 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/management_groups.rb +130 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +75 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster.rb +159 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_entity_status.rb +21 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_error_response.rb +48 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_list_result.rb +98 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_patch.rb +78 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku.rb +58 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/cluster_sku_name_enum.rb +15 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/core_summary.rb +57 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export.rb +174 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_error_response.rb +48 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export_list_result.rb +56 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_ingestion_status.rb +20 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +130 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +61 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_kind.rb +47 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +98 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_type.rb +16 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_additional_info.rb +59 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_contract.rb +49 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb +113 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity.rb +72 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/identity_type.rb +16 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +69 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/key_vault_properties.rb +71 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb +120 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_entity_status.rb +18 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +55 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_list_result.rb +56 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +95 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb +128 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb +57 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_display.rb +79 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/private_link_scoped_resource.rb +58 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +63 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/public_network_access_type.rb +16 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +83 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_search.rb +165 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +55 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +67 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata.rb +241 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +57 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +123 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort.rb +58 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb +16 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb +57 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_account.rb +58 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight.rb +157 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +98 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb +16 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +58 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/table.rb +79 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tables_list_result.rb +55 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tag.rb +57 -0
- 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
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/type.rb +16 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb +103 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +214 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_capping.rb +73 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_entity_status.rb +21 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +56 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +55 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +56 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_patch.rb +207 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku.rb +85 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_sku_name_enum.rb +21 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operation_statuses.rb +121 -0
- 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
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operations.rb +220 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/saved_searches.rb +457 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/schema.rb +130 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/shared_keys_operations.rb +238 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/storage_insight_configs.rb +592 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/tables.rb +359 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/usages.rb +130 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspace_purge.rb +277 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +768 -0
- data/lib/azure_mgmt_operational_insights.rb +1 -0
- data/lib/profiles/latest/modules/operationalinsights_profile_module.rb +382 -180
- data/lib/profiles/latest/operationalinsights_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/operationalinsights_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +123 -10
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb +0 -94
data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb
CHANGED
@@ -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]
|
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.
|
@@ -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 :
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
156
|
+
serialized_name: 'lastUpdated',
|
157
157
|
type: {
|
158
158
|
name: 'DateTime'
|
159
159
|
}
|
160
160
|
},
|
161
|
-
|
161
|
+
e_tag: {
|
162
162
|
client_side_validation: true,
|
163
163
|
required: false,
|
164
|
-
serialized_name: '
|
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
|
-
#
|
9
|
+
# The shared keys for a workspace.
|
10
10
|
#
|
11
|
-
class
|
11
|
+
class SharedKeys
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The
|
16
|
-
attr_accessor :
|
15
|
+
# @return [String] The primary shared key of a workspace.
|
16
|
+
attr_accessor :primary_shared_key
|
17
17
|
|
18
|
-
# @return [String] The
|
19
|
-
attr_accessor :
|
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
|
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: '
|
30
|
+
serialized_name: 'SharedKeys',
|
31
31
|
type: {
|
32
32
|
name: 'Composite',
|
33
|
-
class_name: '
|
33
|
+
class_name: 'SharedKeys',
|
34
34
|
model_properties: {
|
35
|
-
|
35
|
+
primary_shared_key: {
|
36
36
|
client_side_validation: true,
|
37
37
|
required: false,
|
38
|
-
serialized_name: '
|
38
|
+
serialized_name: 'primarySharedKey',
|
39
39
|
type: {
|
40
40
|
name: 'String'
|
41
41
|
}
|
42
42
|
},
|
43
|
-
|
43
|
+
secondary_shared_key: {
|
44
44
|
client_side_validation: true,
|
45
45
|
required: false,
|
46
|
-
serialized_name: '
|
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
|
data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb
CHANGED
@@ -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>]
|
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: '
|
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: '
|
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
|
data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb
ADDED
@@ -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
|
data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb
ADDED
@@ -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
|