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
@@ -0,0 +1,48 @@
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::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Error response indicates that the service is not able to process the
10
+ # incoming request. The reason is provided in the error message.
11
+ #
12
+ class DataExportErrorResponse
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [ErrorResponse] The details of the error.
17
+ attr_accessor :error
18
+
19
+
20
+ #
21
+ # Mapper for DataExportErrorResponse 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: 'DataExportErrorResponse',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DataExportErrorResponse',
32
+ model_properties: {
33
+ error: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'error',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ErrorResponse'
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,56 @@
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::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Result of the request to list data exports.
10
+ #
11
+ class DataExportListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DataExport>] List of data export instances within a
16
+ # workspace..
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for DataExportListResult 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: 'DataExportListResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DataExportListResult',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'DataExportElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'DataExport'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,20 @@
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::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for DataIngestionStatus
10
+ #
11
+ module DataIngestionStatus
12
+ RespectQuota = "RespectQuota"
13
+ ForceOn = "ForceOn"
14
+ ForceOff = "ForceOff"
15
+ OverQuota = "OverQuota"
16
+ SubscriptionSuspended = "SubscriptionSuspended"
17
+ ApproachingQuota = "ApproachingQuota"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,130 @@
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::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Datasources under OMS Workspace.
10
+ #
11
+ class DataSource < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return The data source properties in raw json format, each kind of
16
+ # data source have it's own schema.
17
+ attr_accessor :properties
18
+
19
+ # @return [String] The ETag of the data source.
20
+ attr_accessor :e_tag
21
+
22
+ # @return [DataSourceKind] Possible values include: 'WindowsEvent',
23
+ # 'WindowsPerformanceCounter', 'IISLogs', 'LinuxSyslog',
24
+ # 'LinuxSyslogCollection', 'LinuxPerformanceObject',
25
+ # 'LinuxPerformanceCollection', 'CustomLog', 'CustomLogCollection',
26
+ # 'AzureAuditLog', 'AzureActivityLog', 'GenericDataSource',
27
+ # 'ChangeTrackingCustomPath', 'ChangeTrackingPath',
28
+ # 'ChangeTrackingServices', 'ChangeTrackingDataTypeConfiguration',
29
+ # 'ChangeTrackingDefaultRegistry', 'ChangeTrackingRegistry',
30
+ # 'ChangeTrackingLinuxPath', 'LinuxChangeTrackingPath',
31
+ # 'ChangeTrackingContentLocation', 'WindowsTelemetry', 'Office365',
32
+ # 'SecurityWindowsBaselineConfiguration',
33
+ # 'SecurityCenterSecurityWindowsBaselineConfiguration',
34
+ # 'SecurityEventCollectionConfiguration',
35
+ # 'SecurityInsightsSecurityEventCollectionConfiguration',
36
+ # 'ImportComputerGroup', 'NetworkMonitoring', 'Itsm', 'DnsAnalytics',
37
+ # 'ApplicationInsights', 'SqlDataClassification'
38
+ attr_accessor :kind
39
+
40
+ # @return [Hash{String => String}] Resource tags.
41
+ attr_accessor :tags
42
+
43
+
44
+ #
45
+ # Mapper for DataSource class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'DataSource',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'DataSource',
56
+ model_properties: {
57
+ id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'id',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ name: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'name',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ type: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'type',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ properties: {
85
+ client_side_validation: true,
86
+ required: true,
87
+ serialized_name: 'properties',
88
+ type: {
89
+ name: 'Object'
90
+ }
91
+ },
92
+ e_tag: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'eTag',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ kind: {
101
+ client_side_validation: true,
102
+ required: true,
103
+ serialized_name: 'kind',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ tags: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'tags',
112
+ type: {
113
+ name: 'Dictionary',
114
+ value: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'StringElementType',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ end
128
+ end
129
+ end
130
+ end
@@ -0,0 +1,61 @@
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::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # DataSource filter. Right now, only filter by kind is supported.
10
+ #
11
+ class DataSourceFilter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DataSourceKind] Possible values include: 'WindowsEvent',
16
+ # 'WindowsPerformanceCounter', 'IISLogs', 'LinuxSyslog',
17
+ # 'LinuxSyslogCollection', 'LinuxPerformanceObject',
18
+ # 'LinuxPerformanceCollection', 'CustomLog', 'CustomLogCollection',
19
+ # 'AzureAuditLog', 'AzureActivityLog', 'GenericDataSource',
20
+ # 'ChangeTrackingCustomPath', 'ChangeTrackingPath',
21
+ # 'ChangeTrackingServices', 'ChangeTrackingDataTypeConfiguration',
22
+ # 'ChangeTrackingDefaultRegistry', 'ChangeTrackingRegistry',
23
+ # 'ChangeTrackingLinuxPath', 'LinuxChangeTrackingPath',
24
+ # 'ChangeTrackingContentLocation', 'WindowsTelemetry', 'Office365',
25
+ # 'SecurityWindowsBaselineConfiguration',
26
+ # 'SecurityCenterSecurityWindowsBaselineConfiguration',
27
+ # 'SecurityEventCollectionConfiguration',
28
+ # 'SecurityInsightsSecurityEventCollectionConfiguration',
29
+ # 'ImportComputerGroup', 'NetworkMonitoring', 'Itsm', 'DnsAnalytics',
30
+ # 'ApplicationInsights', 'SqlDataClassification'
31
+ attr_accessor :kind
32
+
33
+
34
+ #
35
+ # Mapper for DataSourceFilter 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: 'DataSourceFilter',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'DataSourceFilter',
46
+ model_properties: {
47
+ kind: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'kind',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ 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::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for DataSourceKind
10
+ #
11
+ module DataSourceKind
12
+ WindowsEvent = "WindowsEvent"
13
+ WindowsPerformanceCounter = "WindowsPerformanceCounter"
14
+ IISLogs = "IISLogs"
15
+ LinuxSyslog = "LinuxSyslog"
16
+ LinuxSyslogCollection = "LinuxSyslogCollection"
17
+ LinuxPerformanceObject = "LinuxPerformanceObject"
18
+ LinuxPerformanceCollection = "LinuxPerformanceCollection"
19
+ CustomLog = "CustomLog"
20
+ CustomLogCollection = "CustomLogCollection"
21
+ AzureAuditLog = "AzureAuditLog"
22
+ AzureActivityLog = "AzureActivityLog"
23
+ GenericDataSource = "GenericDataSource"
24
+ ChangeTrackingCustomPath = "ChangeTrackingCustomPath"
25
+ ChangeTrackingPath = "ChangeTrackingPath"
26
+ ChangeTrackingServices = "ChangeTrackingServices"
27
+ ChangeTrackingDataTypeConfiguration = "ChangeTrackingDataTypeConfiguration"
28
+ ChangeTrackingDefaultRegistry = "ChangeTrackingDefaultRegistry"
29
+ ChangeTrackingRegistry = "ChangeTrackingRegistry"
30
+ ChangeTrackingLinuxPath = "ChangeTrackingLinuxPath"
31
+ LinuxChangeTrackingPath = "LinuxChangeTrackingPath"
32
+ ChangeTrackingContentLocation = "ChangeTrackingContentLocation"
33
+ WindowsTelemetry = "WindowsTelemetry"
34
+ Office365 = "Office365"
35
+ SecurityWindowsBaselineConfiguration = "SecurityWindowsBaselineConfiguration"
36
+ SecurityCenterSecurityWindowsBaselineConfiguration = "SecurityCenterSecurityWindowsBaselineConfiguration"
37
+ SecurityEventCollectionConfiguration = "SecurityEventCollectionConfiguration"
38
+ SecurityInsightsSecurityEventCollectionConfiguration = "SecurityInsightsSecurityEventCollectionConfiguration"
39
+ ImportComputerGroup = "ImportComputerGroup"
40
+ NetworkMonitoring = "NetworkMonitoring"
41
+ Itsm = "Itsm"
42
+ DnsAnalytics = "DnsAnalytics"
43
+ ApplicationInsights = "ApplicationInsights"
44
+ SqlDataClassification = "SqlDataClassification"
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,98 @@
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::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # The list data source by workspace operation response.
10
+ #
11
+ class DataSourceListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<DataSource>] A list of datasources.
17
+ attr_accessor :value
18
+
19
+ # @return [String] The link (url) to the next page of datasources.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<DataSource>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [DataSourceListResult] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for DataSourceListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'DataSourceListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'DataSourceListResult',
66
+ model_properties: {
67
+ value: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'DataSourceElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'DataSource'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ next_link: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'nextLink',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end