azure_mgmt_operational_insights 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/core_summary.rb +3 -0
  3. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb +5 -0
  4. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +6 -0
  5. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb +7 -0
  6. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb +9 -0
  7. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +4 -0
  8. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb +3 -0
  9. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +4 -0
  10. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb +3 -0
  11. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb +20 -0
  12. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +3 -0
  13. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb +6 -0
  14. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb +6 -0
  15. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +9 -0
  16. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb +3 -0
  17. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb +3 -0
  18. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb +13 -0
  19. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +4 -0
  20. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +3 -0
  21. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb +3 -0
  22. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +1 -3
  23. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb +15 -0
  24. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb +12 -0
  25. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +11 -0
  26. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/azure_log_analytics.rb +1 -3
  27. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +12 -0
  28. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +12 -0
  29. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +9 -0
  30. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +2 -0
  31. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +4 -0
  32. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +3 -0
  33. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb +7 -0
  34. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +3 -0
  35. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb +9 -0
  36. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb +3 -0
  37. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +6 -0
  38. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +7 -0
  39. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb +3 -0
  40. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb +2 -0
  41. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb +7 -0
  42. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +14 -0
  43. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +3 -0
  44. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +3 -0
  45. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +3 -0
  46. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +26 -0
  47. data/lib/profiles/latest/operationalinsights_latest_profile_client.rb +1 -3
  48. data/lib/version.rb +1 -1
  49. metadata +10 -9
  50. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/version.rb +0 -8
  51. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/version.rb +0 -8
  52. data/lib/profiles/common/configurable.rb +0 -86
  53. data/lib/profiles/common/default.rb +0 -57
@@ -4,15 +4,13 @@
4
4
 
5
5
  require 'profiles/latest/operationalinsights_module_definition'
6
6
  require 'profiles/latest/modules/operationalinsights_profile_module'
7
- require 'profiles/common/configurable'
8
- require 'profiles/common/default'
9
7
 
10
8
  module Azure::OperationalInsights::Profiles::Latest::Mgmt
11
9
  #
12
10
  # Client class for the Latest profile SDK.
13
11
  #
14
12
  class Client < OperationalInsightsClass
15
- include Azure::Common::Configurable
13
+ include MsRestAzure::Common::Configurable
16
14
 
17
15
 
18
16
  def initialize(options = {})
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::OperationalInsights::Mgmt
6
- VERSION = '0.15.1'
6
+ VERSION = '0.15.2'
7
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.15.1
4
+ version: 0.15.2
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-30 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.9.0
75
+ version: 0.10.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.9.0
82
+ version: 0.10.0
83
83
  description: Microsoft Azure Operational Insights Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -114,7 +114,6 @@ files:
114
114
  - lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb
115
115
  - lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb
116
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
117
  - lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb
119
118
  - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights.rb
120
119
  - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/azure_log_analytics.rb
@@ -141,12 +140,9 @@ files:
141
140
  - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb
142
141
  - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb
143
142
  - 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
143
  - lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb
146
144
  - lib/azure_mgmt_operational_insights.rb
147
145
  - lib/module_definition.rb
148
- - lib/profiles/common/configurable.rb
149
- - lib/profiles/common/default.rb
150
146
  - lib/profiles/latest/modules/operationalinsights_profile_module.rb
151
147
  - lib/profiles/latest/operationalinsights_latest_profile_client.rb
152
148
  - lib/profiles/latest/operationalinsights_module_definition.rb
@@ -154,7 +150,12 @@ files:
154
150
  homepage: https://aka.ms/azure-sdk-for-ruby
155
151
  licenses:
156
152
  - MIT
157
- metadata: {}
153
+ metadata:
154
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
155
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
156
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
157
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
158
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_operational_insights
158
159
  post_install_message:
159
160
  rdoc_options: []
160
161
  require_paths:
@@ -1,8 +0,0 @@
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
- VERSION = '0.15.1'
8
- end
@@ -1,8 +0,0 @@
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_11_01_preview
7
- VERSION = '0.15.1'
8
- end
@@ -1,86 +0,0 @@
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::Common
6
- # The Azure::Common::Configurable module provides basic configuration for Azure 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::Common::Client}.
29
- # @return [Array] of option keys.
30
- #
31
- def keys
32
- @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings]
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::Common::Configurable.keys.each do |key|
49
- default_value = Azure::Common::Default.options[key]
50
- instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
- end
52
-
53
- fail ArgumentError, 'tenant_id is nil' if self.tenant_id.nil?
54
- fail ArgumentError, 'client_id is nil' if self.client_id.nil?
55
- fail ArgumentError, 'client_secret is nil' if self.client_secret.nil?
56
- fail ArgumentError, 'subscription_id is nil' if self.subscription_id.nil?
57
- fail ArgumentError, 'active_directory_settings is nil' if self.active_directory_settings.nil?
58
-
59
- default_value = MsRest::TokenCredentials.new(
60
- MsRestAzure::ApplicationTokenProvider.new(
61
- self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
62
-
63
- instance_variable_set(:"@credentials", options.fetch(:credentials, default_value))
64
-
65
- self
66
- end
67
-
68
- def config
69
- self
70
- end
71
-
72
- private
73
-
74
- #
75
- # configures configurable options to default values
76
- #
77
- def setup_default_options
78
- opts = {}
79
- Azure::Common::Configurable.keys.map do |key|
80
- opts[key] = Azure::Common::Default.options[key]
81
- end
82
-
83
- opts
84
- end
85
- end
86
- end
@@ -1,57 +0,0 @@
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::Common
6
- module Default
7
- class << self
8
- #
9
- # Default Azure Tenant Id.
10
- # @return [String] Azure Tenant Id.
11
- #
12
- def tenant_id
13
- ENV['AZURE_TENANT_ID']
14
- end
15
-
16
- #
17
- # Default Azure Client Id.
18
- # @return [String] Azure Client Id.
19
- #
20
- def client_id
21
- ENV['AZURE_CLIENT_ID']
22
- end
23
-
24
- #
25
- # Default Azure Client Secret.
26
- # @return [String] Azure Client Secret.
27
- #
28
- def client_secret
29
- ENV['AZURE_CLIENT_SECRET']
30
- end
31
-
32
- #
33
- # Default Azure Subscription Id.
34
- # @return [String] Azure Subscription Id.
35
- #
36
- def subscription_id
37
- ENV['AZURE_SUBSCRIPTION_ID']
38
- end
39
-
40
- #
41
- # Default Azure Active Directory Service Settings.
42
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
43
- #
44
- def active_directory_settings
45
- MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
46
- end
47
-
48
- #
49
- # Configuration options.
50
- # @return [Hash] Configuration options.
51
- #
52
- def options
53
- Hash[Azure::Common::Configurable.keys.map { |key| [key, send(key)]}]
54
- end
55
- end
56
- end
57
- end