azure_sdk 0.17.8 → 0.17.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be44d4e3af797f55bfcc19e88d69d8d57f7cb4e9
4
- data.tar.gz: 8c790d0ff6b3c29c7f9edce597b2ff5d8c645a90
3
+ metadata.gz: f98fc0530e30653124aec3ee86eb7082b803a31f
4
+ data.tar.gz: 26deef90da228140a0c938f908e18531fb219c68
5
5
  SHA512:
6
- metadata.gz: fc408adcfdd72c946adf60fd1659d096a1800a3c7a0d3669156035674f021582a25efcddffac073f0b9960dfa3ba34eb4caaa1c31626e6876f26dcfb758b67f6
7
- data.tar.gz: 0847d3ac42fac92a95b88a3042150194af448de384e8fb54d5a34a6ed654330ca012f0ce000dc5dbe0c92004b5a8cda5dc1d2955df47948c2d1caa19870faaa6
6
+ metadata.gz: 7d960765b01ef5a8c57ad13e8e32c58998383e2ad80b24baf0601614ee444c55a217b4525e2eb7ef34003ff468e4e9200c7821930f1013c212e42919cb32d9cd
7
+ data.tar.gz: c695e504bbfc584c8399922884e72da9d27d6a42256a5e5355678e100b45977cf545d6eb69a94134621f517236ff2607933e158270fde125a7c69624e91f8cc6
@@ -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
6
- VERSION = '0.17.8'
6
+ VERSION = '0.17.9'
7
7
  end
@@ -42,6 +42,7 @@ require 'latest/modules/network_profile_module'
42
42
  require 'latest/modules/notificationhubs_profile_module'
43
43
  require 'latest/modules/operationalinsights_profile_module'
44
44
  require 'latest/modules/policy_profile_module'
45
+ require 'latest/modules/policyinsights_profile_module'
45
46
  require 'latest/modules/powerbiembedded_profile_module'
46
47
  require 'latest/modules/recoveryservices_profile_module'
47
48
  require 'latest/modules/recoveryservicesbackup_profile_module'
@@ -82,7 +83,7 @@ module Azure::Profiles::Latest
82
83
  class Client
83
84
  include MsRestAzure::Common::Configurable
84
85
 
85
- attr_reader :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph_rbac, :iot_hub, :key_vault, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :mobile_engagement, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :server_management, :service_bus, :service_fabric, :signalr, :sql, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :computer_vision, :content_moderator, :custom_search, :entity_search, :face, :image_search, :news_search, :spell_check, :text_analytics, :video_search, :web_search
86
+ attr_reader :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph_rbac, :iot_hub, :key_vault, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :mobile_engagement, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :server_management, :service_bus, :service_fabric, :signalr, :sql, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :computer_vision, :content_moderator, :custom_search, :entity_search, :face, :image_search, :news_search, :spell_check, :text_analytics, :video_search, :web_search
86
87
 
87
88
  #
88
89
  # Initializes a new instance of the Client class.
@@ -153,6 +154,7 @@ module Azure::Profiles::Latest
153
154
  @notification_hubs = NotificationHubsAdapter.new(self, base_url, sdk_options)
154
155
  @operational_insights = OperationalInsightsAdapter.new(self, base_url, sdk_options)
155
156
  @policy = PolicyAdapter.new(self, base_url, sdk_options)
157
+ @policy_insights = PolicyInsightsAdapter.new(self, base_url, sdk_options)
156
158
  @power_bi_embedded = PowerBiEmbeddedAdapter.new(self, base_url, sdk_options)
157
159
  @recovery_services = RecoveryServicesAdapter.new(self, base_url, sdk_options)
158
160
  @recovery_services_backup = RecoveryServicesBackupAdapter.new(self, base_url, sdk_options)
@@ -499,6 +501,14 @@ module Azure::Profiles::Latest
499
501
  end
500
502
  end
501
503
 
504
+ class PolicyInsightsAdapter
505
+ attr_accessor :mgmt
506
+
507
+ def initialize(context, base_url, options)
508
+ @mgmt = Azure::Profiles::Latest::PolicyInsights::Mgmt::PolicyInsightsManagementClass.new(context, base_url, options)
509
+ end
510
+ end
511
+
502
512
  class PowerBiEmbeddedAdapter
503
513
  attr_accessor :mgmt
504
514
 
@@ -0,0 +1,117 @@
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_policy_insights'
6
+
7
+ module Azure::Profiles::Latest
8
+ module PolicyInsights
9
+ module Mgmt
10
+ PolicyEvents = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyEvents
11
+ PolicyStates = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyStates
12
+ Operations = Azure::PolicyInsights::Mgmt::V2018_04_04::Operations
13
+
14
+ module Models
15
+ PolicyDefinitionSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyDefinitionSummary
16
+ PolicyAssignmentSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyAssignmentSummary
17
+ PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults
18
+ Summary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Summary
19
+ QueryFailure = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure
20
+ SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults
21
+ PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults
22
+ OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay
23
+ PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent
24
+ Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation
25
+ PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState
26
+ OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults
27
+ QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError
28
+ QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions
29
+ SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults
30
+ PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource
31
+ end
32
+
33
+ class PolicyInsightsManagementClass
34
+ attr_reader :policy_events, :policy_states, :operations, :configurable, :base_url, :options, :model_classes
35
+
36
+ def initialize(configurable, base_url=nil, options=nil)
37
+ @configurable, @base_url, @options = configurable, base_url, options
38
+
39
+ @client_0 = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyInsightsClient.new(configurable.credentials, base_url, options)
40
+ if(@client_0.respond_to?(:subscription_id))
41
+ @client_0.subscription_id = configurable.subscription_id
42
+ end
43
+ add_telemetry(@client_0)
44
+ @policy_events = @client_0.policy_events
45
+ @policy_states = @client_0.policy_states
46
+ @operations = @client_0.operations
47
+
48
+ @model_classes = ModelClasses.new
49
+ end
50
+
51
+ def add_telemetry(client)
52
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/PolicyInsights/Mgmt"
53
+ client.add_user_agent_information(profile_information)
54
+ end
55
+
56
+ def method_missing(method, *args)
57
+ if @client_0.respond_to?method
58
+ @client_0.send(method, *args)
59
+ else
60
+ super
61
+ end
62
+ end
63
+
64
+ class ModelClasses
65
+ def policy_definition_summary
66
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyDefinitionSummary
67
+ end
68
+ def policy_assignment_summary
69
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyAssignmentSummary
70
+ end
71
+ def policy_events_query_results
72
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults
73
+ end
74
+ def summary
75
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Summary
76
+ end
77
+ def query_failure
78
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure
79
+ end
80
+ def summarize_results
81
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults
82
+ end
83
+ def policy_states_query_results
84
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults
85
+ end
86
+ def operation_display
87
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay
88
+ end
89
+ def policy_event
90
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent
91
+ end
92
+ def operation
93
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation
94
+ end
95
+ def policy_state
96
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState
97
+ end
98
+ def operations_list_results
99
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults
100
+ end
101
+ def query_failure_error
102
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError
103
+ end
104
+ def query_options
105
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions
106
+ end
107
+ def summary_results
108
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults
109
+ end
110
+ def policy_states_resource
111
+ Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource
112
+ end
113
+ end
114
+ end
115
+ end
116
+ end
117
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.8
4
+ version: 0.17.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-31 00:00:00.000000000 Z
11
+ date: 2018-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -598,6 +598,20 @@ dependencies:
598
598
  - - "~>"
599
599
  - !ruby/object:Gem::Version
600
600
  version: 0.16.0
601
+ - !ruby/object:Gem::Dependency
602
+ name: azure_mgmt_policy_insights
603
+ requirement: !ruby/object:Gem::Requirement
604
+ requirements:
605
+ - - "~>"
606
+ - !ruby/object:Gem::Version
607
+ version: 0.16.0
608
+ type: :runtime
609
+ prerelease: false
610
+ version_requirements: !ruby/object:Gem::Requirement
611
+ requirements:
612
+ - - "~>"
613
+ - !ruby/object:Gem::Version
614
+ version: 0.16.0
601
615
  - !ruby/object:Gem::Dependency
602
616
  name: azure_mgmt_powerbi_embedded
603
617
  requirement: !ruby/object:Gem::Requirement
@@ -1131,6 +1145,7 @@ files:
1131
1145
  - lib/latest/modules/notificationhubs_profile_module.rb
1132
1146
  - lib/latest/modules/operationalinsights_profile_module.rb
1133
1147
  - lib/latest/modules/policy_profile_module.rb
1148
+ - lib/latest/modules/policyinsights_profile_module.rb
1134
1149
  - lib/latest/modules/powerbiembedded_profile_module.rb
1135
1150
  - lib/latest/modules/recoveryservices_profile_module.rb
1136
1151
  - lib/latest/modules/recoveryservicesbackup_profile_module.rb
@@ -1175,7 +1190,7 @@ metadata:
1175
1190
  changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
1176
1191
  documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
1177
1192
  homepage_uri: https://aka.ms/azure-sdk-for-ruby
1178
- source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.17.8
1193
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.17.9
1179
1194
  wiki_uri: https://github.com/Azure/azure-sdk-for-ruby/wiki
1180
1195
  post_install_message:
1181
1196
  rdoc_options: []