azure_mgmt_operational_insights 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-03-20/generated/azure_mgmt_operational_insights.rb +52 -0
  3. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/core_summary.rb +1 -1
  4. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/link_target.rb +1 -1
  5. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/proxy_resource.rb +1 -1
  6. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/resource.rb +1 -1
  7. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/saved_search.rb +1 -1
  8. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +1 -1
  9. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_error.rb +1 -1
  10. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_get_schema_response.rb +1 -1
  11. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_highlight.rb +1 -1
  12. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_metadata.rb +1 -1
  13. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_metadata_schema.rb +1 -1
  14. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_parameters.rb +1 -1
  15. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_results_response.rb +1 -1
  16. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_schema_value.rb +1 -1
  17. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_sort.rb +1 -1
  18. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/search_sort_enum.rb +1 -1
  19. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/storage_account.rb +1 -1
  20. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/storage_insight.rb +1 -1
  21. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +1 -1
  22. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/storage_insight_state.rb +1 -1
  23. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/storage_insight_status.rb +1 -1
  24. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/models/tag.rb +1 -1
  25. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
  26. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/operational_insights_management_client.rb +10 -14
  27. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/saved_searches.rb +16 -16
  28. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/storage_insights.rb +15 -15
  29. data/lib/{generated → 2015-03-20/generated}/azure_mgmt_operational_insights/version.rb +2 -2
  30. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +489 -0
  31. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights.rb +50 -0
  32. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/azure_log_analytics.rb +139 -0
  33. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/data_sources.rb +17 -17
  34. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/linked_services.rb +16 -16
  35. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/data_source.rb +1 -1
  36. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/data_source_filter.rb +1 -1
  37. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/data_source_kind.rb +1 -1
  38. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/data_source_list_result.rb +1 -1
  39. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/entity_status.rb +1 -1
  40. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/intelligence_pack.rb +1 -1
  41. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/linked_service.rb +1 -1
  42. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/linked_service_list_result.rb +1 -1
  43. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/management_group.rb +1 -1
  44. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/metric_name.rb +1 -1
  45. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +84 -0
  46. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +94 -0
  47. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/shared_keys.rb +1 -1
  48. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/sku.rb +1 -1
  49. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/sku_name_enum.rb +1 -1
  50. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/usage_metric.rb +1 -1
  51. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/workspace.rb +1 -1
  52. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +1 -1
  53. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/workspace_list_result.rb +1 -1
  54. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +1 -1
  55. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
  56. data/lib/{generated/azure_mgmt_operational_insights/module_definition.rb → 2015-11-01-preview/generated/azure_mgmt_operational_insights/version.rb} +3 -3
  57. data/lib/{generated → 2015-11-01-preview/generated}/azure_mgmt_operational_insights/workspaces.rb +35 -499
  58. data/lib/azure_mgmt_operational_insights.rb +3 -4
  59. data/lib/module_definition.rb +7 -0
  60. data/lib/profiles/common/configurable.rb +73 -0
  61. data/lib/profiles/common/default.rb +68 -0
  62. data/lib/profiles/latest/modules/operationalinsights_profile_module.rb +215 -0
  63. data/lib/profiles/latest/operationalinsights_latest_profile_client.rb +33 -0
  64. data/lib/profiles/latest/operationalinsights_module_definition.rb +9 -0
  65. data/lib/version.rb +7 -0
  66. metadata +65 -51
  67. data/lib/generated/azure_mgmt_operational_insights.rb +0 -72
@@ -2,7 +2,6 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
- require 'generated/azure_mgmt_operational_insights'
6
-
7
-
8
-
5
+ require '2015-03-20/generated/azure_mgmt_operational_insights'
6
+ require '2015-11-01-preview/generated/azure_mgmt_operational_insights'
7
+ require 'profiles/latest/operationalinsights_latest_profile_client'
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::OperationalInsights end
7
+ module Azure::OperationalInsights::Mgmt end
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::ARM
6
+ # The Azure::ARM::Configurable module provides basic configuration for Azure ARM activities.
7
+ module Configurable
8
+ # @return [String] Azure tenant id (also known as domain).
9
+ attr_accessor :tenant_id
10
+
11
+ # @return [String] Azure client id.
12
+ attr_accessor :client_id
13
+
14
+ # @return [String] Azure secret key.
15
+ attr_accessor :client_secret
16
+
17
+ # @return [String] Azure subscription id.
18
+ attr_accessor :subscription_id
19
+
20
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
+ attr_accessor :active_directory_settings
22
+
23
+ # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
+ attr_accessor :credentials
25
+
26
+ class << self
27
+ #
28
+ # List of configurable keys for {Azure::ARM::Client}.
29
+ # @return [Array] of option keys.
30
+ #
31
+ def keys
32
+ @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings, :credentials]
33
+ end
34
+ end
35
+
36
+ #
37
+ # Set configuration options using a block.
38
+ #
39
+ def configure
40
+ yield self
41
+ end
42
+
43
+ #
44
+ # Resets the configurable options to provided options or defaults.
45
+ # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
+ #
47
+ def reset!(options = {})
48
+ Azure::ARM::Configurable.keys.each do |key|
49
+ default_value = Azure::ARM::Default.options[key]
50
+ instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
+ end
52
+
53
+ self
54
+ end
55
+
56
+ def config
57
+ self
58
+ end
59
+
60
+ private
61
+
62
+ #
63
+ # configures configurable options to default values
64
+ #
65
+ def setup_options
66
+ opts = {}
67
+ Azure::ARM::Configurable.keys.map do |key|
68
+ opts[key] = Azure::ARM::Default.options[key]
69
+ end
70
+ opts
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,68 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::ARM
6
+ # Default configuration options for {Azure::ARM.Client}
7
+ module Default
8
+ class << self
9
+ #
10
+ # Default Azure Tenant Id.
11
+ # @return [String] Azure Tenant Id.
12
+ #
13
+ def tenant_id
14
+ ENV['AZURE_TENANT_ID']
15
+ end
16
+
17
+ #
18
+ # Default Azure Client Id.
19
+ # @return [String] Azure Client Id.
20
+ #
21
+ def client_id
22
+ ENV['AZURE_CLIENT_ID']
23
+ end
24
+
25
+ #
26
+ # Default Azure Client Secret.
27
+ # @return [String] Azure Client Secret.
28
+ #
29
+ def client_secret
30
+ ENV['AZURE_CLIENT_SECRET']
31
+ end
32
+
33
+ #
34
+ # Default Azure Subscription Id.
35
+ # @return [String] Azure Subscription Id.
36
+ #
37
+ def subscription_id
38
+ ENV['AZURE_SUBSCRIPTION_ID']
39
+ end
40
+
41
+ #
42
+ # Default Azure credentials to authorize HTTP requests made by the service client.
43
+ # @return [MsRest::ServiceClientCredentials] Azure credentials to authorize HTTP requests made by the service client.
44
+ #
45
+ def credentials
46
+ MsRest::TokenCredentials.new(
47
+ MsRestAzure::ApplicationTokenProvider.new(
48
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
49
+ end
50
+
51
+ #
52
+ # Default Azure Active Directory Service Settings.
53
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
54
+ #
55
+ def active_directory_settings
56
+ MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
57
+ end
58
+
59
+ #
60
+ # Configuration options.
61
+ # @return [Hash] Configuration options.
62
+ #
63
+ def options
64
+ Hash[Azure::ARM::Configurable.keys.map{|key| [key, send(key)]}]
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,215 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_operational_insights'
6
+
7
+ module Azure::OperationalInsights::Profiles::Latest::Mgmt
8
+ StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights
9
+ SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches
10
+ LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices
11
+ DataSources = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::DataSources
12
+ Workspaces = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Workspaces
13
+
14
+ module Models
15
+ SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue
16
+ LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
17
+ SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse
18
+ CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
19
+ SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight
20
+ SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema
21
+ SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters
22
+ SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
23
+ StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount
24
+ SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
25
+ StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus
26
+ Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag
27
+ SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
28
+ SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult
29
+ StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult
30
+ SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
31
+ SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
32
+ StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight
33
+ SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum
34
+ StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState
35
+ UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric
36
+ WorkspaceListUsagesResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult
37
+ LinkedServiceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult
38
+ ManagementGroup = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup
39
+ DataSourceFilter = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter
40
+ WorkspaceListManagementGroupsResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult
41
+ IntelligencePack = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack
42
+ Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku
43
+ MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName
44
+ SharedKeys = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys
45
+ Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource
46
+ DataSourceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult
47
+ ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource
48
+ WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult
49
+ LinkedService = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService
50
+ DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource
51
+ Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace
52
+ DataSourceKind = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind
53
+ SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum
54
+ EntityStatus = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus
55
+ end
56
+
57
+ #
58
+ # OperationalInsights
59
+ #
60
+ class OperationalInsightsClass
61
+ attr_reader :storage_insights, :saved_searches, :linked_services, :data_sources, :workspaces, :configurable, :base_url, :options, :model_classes
62
+
63
+ def initialize(options = {})
64
+ if options.is_a?(Hash) && options.length == 0
65
+ @options = setup_options
66
+ else
67
+ @options = options
68
+ end
69
+
70
+ reset!(options)
71
+
72
+ @configurable, @base_url, @options = self, nil, nil
73
+
74
+ client_0 = Azure::OperationalInsights::Mgmt::V2015_03_20::OperationalInsightsManagementClient.new(configurable.credentials, base_url, options)
75
+ if(client_0.respond_to?(:subscription_id))
76
+ client_0.subscription_id = configurable.subscription_id
77
+ end
78
+ @storage_insights = client_0.storage_insights
79
+ @saved_searches = client_0.saved_searches
80
+
81
+ client_1 = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::AzureLogAnalytics.new(configurable.credentials, base_url, options)
82
+ if(client_1.respond_to?(:subscription_id))
83
+ client_1.subscription_id = configurable.subscription_id
84
+ end
85
+ @linked_services = client_1.linked_services
86
+ @data_sources = client_1.data_sources
87
+ @workspaces = client_1.workspaces
88
+
89
+ @model_classes = ModelClasses.new
90
+ end
91
+
92
+ class ModelClasses
93
+ def search_schema_value
94
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue
95
+ end
96
+ def link_target
97
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
98
+ end
99
+ def search_get_schema_response
100
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse
101
+ end
102
+ def core_summary
103
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
104
+ end
105
+ def search_highlight
106
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight
107
+ end
108
+ def search_metadata_schema
109
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema
110
+ end
111
+ def search_parameters
112
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters
113
+ end
114
+ def saved_search
115
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
116
+ end
117
+ def storage_account
118
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount
119
+ end
120
+ def search_error
121
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
122
+ end
123
+ def storage_insight_status
124
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus
125
+ end
126
+ def tag
127
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag
128
+ end
129
+ def search_sort
130
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
131
+ end
132
+ def saved_searches_list_result
133
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult
134
+ end
135
+ def storage_insight_list_result
136
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult
137
+ end
138
+ def search_metadata
139
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
140
+ end
141
+ def search_results_response
142
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
143
+ end
144
+ def storage_insight
145
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight
146
+ end
147
+ def search_sort_enum
148
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum
149
+ end
150
+ def storage_insight_state
151
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState
152
+ end
153
+ def usage_metric
154
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric
155
+ end
156
+ def workspace_list_usages_result
157
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult
158
+ end
159
+ def linked_service_list_result
160
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult
161
+ end
162
+ def management_group
163
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup
164
+ end
165
+ def data_source_filter
166
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter
167
+ end
168
+ def workspace_list_management_groups_result
169
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult
170
+ end
171
+ def intelligence_pack
172
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack
173
+ end
174
+ def sku
175
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku
176
+ end
177
+ def metric_name
178
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName
179
+ end
180
+ def shared_keys
181
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys
182
+ end
183
+ def resource
184
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource
185
+ end
186
+ def data_source_list_result
187
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult
188
+ end
189
+ def proxy_resource
190
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource
191
+ end
192
+ def workspace_list_result
193
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult
194
+ end
195
+ def linked_service
196
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService
197
+ end
198
+ def data_source
199
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource
200
+ end
201
+ def workspace
202
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace
203
+ end
204
+ def data_source_kind
205
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind
206
+ end
207
+ def sku_name_enum
208
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum
209
+ end
210
+ def entity_status
211
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus
212
+ end
213
+ end
214
+ end
215
+ end
@@ -0,0 +1,33 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/operationalinsights_module_definition'
6
+ require 'profiles/latest/modules/operationalinsights_profile_module'
7
+ require 'profiles/common/configurable'
8
+ require 'profiles/common/default'
9
+
10
+ module Azure::OperationalInsights::Profiles::Latest::Mgmt
11
+ #
12
+ # Client class for the Latest profile SDK.
13
+ #
14
+ class Client < OperationalInsightsClass
15
+ include Azure::ARM::Configurable
16
+
17
+
18
+ def initialize(options = {})
19
+ super(options)
20
+ end
21
+
22
+ def credentials
23
+ if @credentials.nil?
24
+ self.active_directory_settings ||= Azure::ARM::Default.active_directory_settings
25
+
26
+ @credentials = MsRest::TokenCredentials.new(
27
+ MsRestAzure::ApplicationTokenProvider.new(
28
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
29
+ end
30
+ @credentials
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::OperationalInsights end
7
+ module Azure::OperationalInsights::Profiles end
8
+ module Azure::OperationalInsights::Profiles::Latest end
9
+ module Azure::OperationalInsights::Profiles::Latest::Mgmt end
data/lib/version.rb ADDED
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::OperationalInsights::Mgmt
6
+ VERSION = '0.15.0'
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_operational_insights
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-09 00:00:00.000000000 Z
11
+ date: 2017-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -87,56 +87,70 @@ extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
89
  - LICENSE.txt
90
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights.rb
91
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb
92
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb
93
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb
94
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb
95
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb
96
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb
97
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb
98
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb
99
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb
100
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb
101
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb
102
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb
103
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb
104
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb
105
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb
106
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb
107
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb
108
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb
109
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb
110
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb
111
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb
112
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb
113
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/module_definition.rb
114
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb
115
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb
116
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb
117
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/version.rb
118
+ - lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb
119
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights.rb
120
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/azure_log_analytics.rb
121
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb
122
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb
123
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb
124
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb
125
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_kind.rb
126
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb
127
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/entity_status.rb
128
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb
129
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb
130
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb
131
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb
132
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb
133
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb
134
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb
135
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb
136
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb
137
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb
138
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb
139
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb
140
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb
141
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb
142
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb
143
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/module_definition.rb
144
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/version.rb
145
+ - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb
90
146
  - lib/azure_mgmt_operational_insights.rb
91
- - lib/generated/azure_mgmt_operational_insights.rb
92
- - lib/generated/azure_mgmt_operational_insights/data_sources.rb
93
- - lib/generated/azure_mgmt_operational_insights/linked_services.rb
94
- - lib/generated/azure_mgmt_operational_insights/models/core_summary.rb
95
- - lib/generated/azure_mgmt_operational_insights/models/data_source.rb
96
- - lib/generated/azure_mgmt_operational_insights/models/data_source_filter.rb
97
- - lib/generated/azure_mgmt_operational_insights/models/data_source_kind.rb
98
- - lib/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb
99
- - lib/generated/azure_mgmt_operational_insights/models/entity_status.rb
100
- - lib/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb
101
- - lib/generated/azure_mgmt_operational_insights/models/link_target.rb
102
- - lib/generated/azure_mgmt_operational_insights/models/linked_service.rb
103
- - lib/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb
104
- - lib/generated/azure_mgmt_operational_insights/models/management_group.rb
105
- - lib/generated/azure_mgmt_operational_insights/models/metric_name.rb
106
- - lib/generated/azure_mgmt_operational_insights/models/proxy_resource.rb
107
- - lib/generated/azure_mgmt_operational_insights/models/resource.rb
108
- - lib/generated/azure_mgmt_operational_insights/models/saved_search.rb
109
- - lib/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb
110
- - lib/generated/azure_mgmt_operational_insights/models/search_error.rb
111
- - lib/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb
112
- - lib/generated/azure_mgmt_operational_insights/models/search_highlight.rb
113
- - lib/generated/azure_mgmt_operational_insights/models/search_metadata.rb
114
- - lib/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb
115
- - lib/generated/azure_mgmt_operational_insights/models/search_parameters.rb
116
- - lib/generated/azure_mgmt_operational_insights/models/search_results_response.rb
117
- - lib/generated/azure_mgmt_operational_insights/models/search_schema_value.rb
118
- - lib/generated/azure_mgmt_operational_insights/models/search_sort.rb
119
- - lib/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb
120
- - lib/generated/azure_mgmt_operational_insights/models/shared_keys.rb
121
- - lib/generated/azure_mgmt_operational_insights/models/sku.rb
122
- - lib/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb
123
- - lib/generated/azure_mgmt_operational_insights/models/storage_account.rb
124
- - lib/generated/azure_mgmt_operational_insights/models/storage_insight.rb
125
- - lib/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb
126
- - lib/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb
127
- - lib/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb
128
- - lib/generated/azure_mgmt_operational_insights/models/tag.rb
129
- - lib/generated/azure_mgmt_operational_insights/models/usage_metric.rb
130
- - lib/generated/azure_mgmt_operational_insights/models/workspace.rb
131
- - lib/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb
132
- - lib/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb
133
- - lib/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb
134
- - lib/generated/azure_mgmt_operational_insights/module_definition.rb
135
- - lib/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb
136
- - lib/generated/azure_mgmt_operational_insights/saved_searches.rb
137
- - lib/generated/azure_mgmt_operational_insights/storage_insights.rb
138
- - lib/generated/azure_mgmt_operational_insights/version.rb
139
- - lib/generated/azure_mgmt_operational_insights/workspaces.rb
147
+ - lib/module_definition.rb
148
+ - lib/profiles/common/configurable.rb
149
+ - lib/profiles/common/default.rb
150
+ - lib/profiles/latest/modules/operationalinsights_profile_module.rb
151
+ - lib/profiles/latest/operationalinsights_latest_profile_client.rb
152
+ - lib/profiles/latest/operationalinsights_module_definition.rb
153
+ - lib/version.rb
140
154
  homepage: https://aka.ms/azure-sdk-for-ruby
141
155
  licenses:
142
156
  - MIT