azure_mgmt_monitor 0.17.3 → 0.17.4
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 +4 -4
- data/lib/2015-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-04-16/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-09-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/2019-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
- data/lib/azure_mgmt_monitor.rb +1 -0
- data/lib/profiles/v2019_03_01_hybrid/modules/monitor_profile_module.rb +297 -0
- data/lib/profiles/v2019_03_01_hybrid/monitor_module_definition.rb +8 -0
- data/lib/profiles/v2019_03_01_hybrid/monitor_v2019_03_01_hybrid_profile_client.rb +40 -0
- data/lib/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 280f199be3d83dc5efb96eff07ddd8bbfa8e5b4fece90b6ab76591e1dadb31b5
|
4
|
+
data.tar.gz: 5fd4569ea7b49b0ef156cb82da3b767fd485e0ceeafda40cbc16af69c2ab1edb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a778e79f56016f7c88a5b251638a1087ee12a1f72412f4802ea723432643d27c3c95a99c4e6774876fe4370f80e5d55a26ee21ed6ab408395761d417d70c9a09
|
7
|
+
data.tar.gz: c81d0e41c313c51026d623aca1dd873d4592a3b0627e17d83c80fb9ba9e81d9427051e593cdb0875597ea11d7a43c0d0893f542d1f6059b5076bd8b9323d979c
|
@@ -140,7 +140,7 @@ module Azure::Monitor::Mgmt::V2015_04_01
|
|
140
140
|
#
|
141
141
|
def add_telemetry
|
142
142
|
sdk_information = 'azure_mgmt_monitor'
|
143
|
-
sdk_information = "#{sdk_information}/0.17.
|
143
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
144
144
|
add_user_agent_information(sdk_information)
|
145
145
|
end
|
146
146
|
end
|
@@ -136,7 +136,7 @@ module Azure::Monitor::Mgmt::V2016_03_01
|
|
136
136
|
#
|
137
137
|
def add_telemetry
|
138
138
|
sdk_information = 'azure_mgmt_monitor'
|
139
|
-
sdk_information = "#{sdk_information}/0.17.
|
139
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
140
140
|
add_user_agent_information(sdk_information)
|
141
141
|
end
|
142
142
|
end
|
@@ -126,7 +126,7 @@ module Azure::Monitor::Mgmt::V2016_09_01
|
|
126
126
|
#
|
127
127
|
def add_telemetry
|
128
128
|
sdk_information = 'azure_mgmt_monitor'
|
129
|
-
sdk_information = "#{sdk_information}/0.17.
|
129
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
130
130
|
add_user_agent_information(sdk_information)
|
131
131
|
end
|
132
132
|
end
|
@@ -128,7 +128,7 @@ module Azure::Monitor::Mgmt::V2017_04_01
|
|
128
128
|
#
|
129
129
|
def add_telemetry
|
130
130
|
sdk_information = 'azure_mgmt_monitor'
|
131
|
-
sdk_information = "#{sdk_information}/0.17.
|
131
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
132
132
|
add_user_agent_information(sdk_information)
|
133
133
|
end
|
134
134
|
end
|
@@ -134,7 +134,7 @@ module Azure::Monitor::Mgmt::V2017_05_01_preview
|
|
134
134
|
#
|
135
135
|
def add_telemetry
|
136
136
|
sdk_information = 'azure_mgmt_monitor'
|
137
|
-
sdk_information = "#{sdk_information}/0.17.
|
137
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
138
138
|
add_user_agent_information(sdk_information)
|
139
139
|
end
|
140
140
|
end
|
@@ -121,7 +121,7 @@ module Azure::Monitor::Mgmt::V2017_11_01_preview
|
|
121
121
|
#
|
122
122
|
def add_telemetry
|
123
123
|
sdk_information = 'azure_mgmt_monitor'
|
124
|
-
sdk_information = "#{sdk_information}/0.17.
|
124
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
125
125
|
add_user_agent_information(sdk_information)
|
126
126
|
end
|
127
127
|
end
|
@@ -121,7 +121,7 @@ module Azure::Monitor::Mgmt::V2017_12_01_preview
|
|
121
121
|
#
|
122
122
|
def add_telemetry
|
123
123
|
sdk_information = 'azure_mgmt_monitor'
|
124
|
-
sdk_information = "#{sdk_information}/0.17.
|
124
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
125
125
|
add_user_agent_information(sdk_information)
|
126
126
|
end
|
127
127
|
end
|
@@ -125,7 +125,7 @@ module Azure::Monitor::Mgmt::V2018_01_01
|
|
125
125
|
#
|
126
126
|
def add_telemetry
|
127
127
|
sdk_information = 'azure_mgmt_monitor'
|
128
|
-
sdk_information = "#{sdk_information}/0.17.
|
128
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
129
129
|
add_user_agent_information(sdk_information)
|
130
130
|
end
|
131
131
|
end
|
@@ -132,7 +132,7 @@ module Azure::Monitor::Mgmt::V2018_03_01
|
|
132
132
|
#
|
133
133
|
def add_telemetry
|
134
134
|
sdk_information = 'azure_mgmt_monitor'
|
135
|
-
sdk_information = "#{sdk_information}/0.17.
|
135
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
136
136
|
add_user_agent_information(sdk_information)
|
137
137
|
end
|
138
138
|
end
|
@@ -124,7 +124,7 @@ module Azure::Monitor::Mgmt::V2018_04_16
|
|
124
124
|
#
|
125
125
|
def add_telemetry
|
126
126
|
sdk_information = 'azure_mgmt_monitor'
|
127
|
-
sdk_information = "#{sdk_information}/0.17.
|
127
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
128
128
|
add_user_agent_information(sdk_information)
|
129
129
|
end
|
130
130
|
end
|
@@ -129,7 +129,7 @@ module Azure::Monitor::Mgmt::V2018_06_01_preview
|
|
129
129
|
#
|
130
130
|
def add_telemetry
|
131
131
|
sdk_information = 'azure_mgmt_monitor'
|
132
|
-
sdk_information = "#{sdk_information}/0.17.
|
132
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
133
133
|
add_user_agent_information(sdk_information)
|
134
134
|
end
|
135
135
|
end
|
@@ -128,7 +128,7 @@ module Azure::Monitor::Mgmt::V2018_09_01
|
|
128
128
|
#
|
129
129
|
def add_telemetry
|
130
130
|
sdk_information = 'azure_mgmt_monitor'
|
131
|
-
sdk_information = "#{sdk_information}/0.17.
|
131
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
132
132
|
add_user_agent_information(sdk_information)
|
133
133
|
end
|
134
134
|
end
|
@@ -121,7 +121,7 @@ module Azure::Monitor::Mgmt::V2018_11_27_preview
|
|
121
121
|
#
|
122
122
|
def add_telemetry
|
123
123
|
sdk_information = 'azure_mgmt_monitor'
|
124
|
-
sdk_information = "#{sdk_information}/0.17.
|
124
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
125
125
|
add_user_agent_information(sdk_information)
|
126
126
|
end
|
127
127
|
end
|
@@ -124,7 +124,7 @@ module Azure::Monitor::Mgmt::V2019_03_01
|
|
124
124
|
#
|
125
125
|
def add_telemetry
|
126
126
|
sdk_information = 'azure_mgmt_monitor'
|
127
|
-
sdk_information = "#{sdk_information}/0.17.
|
127
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
128
128
|
add_user_agent_information(sdk_information)
|
129
129
|
end
|
130
130
|
end
|
data/lib/azure_mgmt_monitor.rb
CHANGED
@@ -17,3 +17,4 @@ require '2018-01-01/generated/azure_mgmt_monitor'
|
|
17
17
|
require '2016-09-01/generated/azure_mgmt_monitor'
|
18
18
|
require '2018-11-27-preview/generated/azure_mgmt_monitor'
|
19
19
|
require 'profiles/latest/monitor_latest_profile_client'
|
20
|
+
require 'profiles/v2019_03_01_hybrid/monitor_v2019_03_01_hybrid_profile_client'
|
@@ -0,0 +1,297 @@
|
|
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_monitor'
|
6
|
+
|
7
|
+
module Azure::Monitor::Profiles::V2019_03_01_Hybrid
|
8
|
+
module Mgmt
|
9
|
+
ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs
|
10
|
+
AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings
|
11
|
+
EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories
|
12
|
+
Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations
|
13
|
+
TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs
|
14
|
+
DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
|
15
|
+
DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations
|
16
|
+
MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions
|
17
|
+
Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics
|
18
|
+
|
19
|
+
module Models
|
20
|
+
RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
|
21
|
+
Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
|
22
|
+
SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
|
23
|
+
AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
|
24
|
+
EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
|
25
|
+
EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
|
26
|
+
WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
|
27
|
+
ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
|
28
|
+
AutoscaleNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
|
29
|
+
ScaleAction = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
|
30
|
+
ScaleRule = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
|
31
|
+
AutoscaleSettingResourcePatch = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
|
32
|
+
EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
|
33
|
+
AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
|
34
|
+
MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
|
35
|
+
EventCategoryCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
|
36
|
+
HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
|
37
|
+
OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
|
38
|
+
TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
|
39
|
+
Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
|
40
|
+
Resource = Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
|
41
|
+
OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
|
42
|
+
AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
|
43
|
+
EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
|
44
|
+
MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
|
45
|
+
TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
|
46
|
+
ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
|
47
|
+
ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
|
48
|
+
ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
|
49
|
+
ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
50
|
+
MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
51
|
+
LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
52
|
+
DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
53
|
+
DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
54
|
+
RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
55
|
+
DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
56
|
+
DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
|
57
|
+
CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
58
|
+
MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
59
|
+
LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
60
|
+
MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
61
|
+
MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
62
|
+
TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
63
|
+
ErrorResponse = Azure::Monitor::Mgmt::V2018_01_01::Models::ErrorResponse
|
64
|
+
Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
65
|
+
MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
66
|
+
Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
67
|
+
MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
68
|
+
Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
69
|
+
AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
70
|
+
ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
71
|
+
end
|
72
|
+
|
73
|
+
#
|
74
|
+
# MonitorManagementClass
|
75
|
+
#
|
76
|
+
class MonitorManagementClass
|
77
|
+
attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_definitions, :metrics, :configurable, :base_url, :options, :model_classes
|
78
|
+
|
79
|
+
def initialize(options = {})
|
80
|
+
if options.is_a?(Hash) && options.length == 0
|
81
|
+
@options = setup_default_options
|
82
|
+
else
|
83
|
+
@options = options
|
84
|
+
end
|
85
|
+
|
86
|
+
reset!(options)
|
87
|
+
|
88
|
+
@configurable = self
|
89
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
90
|
+
@options = options[:options].nil? ? nil:options[:options]
|
91
|
+
|
92
|
+
@client_0 = Azure::Monitor::Mgmt::V2015_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
93
|
+
if(@client_0.respond_to?(:subscription_id))
|
94
|
+
@client_0.subscription_id = configurable.subscription_id
|
95
|
+
end
|
96
|
+
add_telemetry(@client_0)
|
97
|
+
@activity_logs = @client_0.activity_logs
|
98
|
+
@autoscale_settings = @client_0.autoscale_settings
|
99
|
+
@event_categories = @client_0.event_categories
|
100
|
+
@operations = @client_0.operations
|
101
|
+
@tenant_activity_logs = @client_0.tenant_activity_logs
|
102
|
+
|
103
|
+
@client_1 = Azure::Monitor::Mgmt::V2017_05_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
104
|
+
if(@client_1.respond_to?(:subscription_id))
|
105
|
+
@client_1.subscription_id = configurable.subscription_id
|
106
|
+
end
|
107
|
+
add_telemetry(@client_1)
|
108
|
+
@diagnostic_settings_operations = @client_1.diagnostic_settings_operations
|
109
|
+
@diagnostic_settings_category_operations = @client_1.diagnostic_settings_category_operations
|
110
|
+
|
111
|
+
@client_2 = Azure::Monitor::Mgmt::V2018_01_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
112
|
+
if(@client_2.respond_to?(:subscription_id))
|
113
|
+
@client_2.subscription_id = configurable.subscription_id
|
114
|
+
end
|
115
|
+
add_telemetry(@client_2)
|
116
|
+
@metric_definitions = @client_2.metric_definitions
|
117
|
+
@metrics = @client_2.metrics
|
118
|
+
|
119
|
+
@model_classes = ModelClasses.new
|
120
|
+
end
|
121
|
+
|
122
|
+
def add_telemetry(client)
|
123
|
+
profile_information = 'Profiles/V2019_03_01_Hybrid/Monitor/Mgmt'
|
124
|
+
client.add_user_agent_information(profile_information)
|
125
|
+
end
|
126
|
+
|
127
|
+
def method_missing(method, *args)
|
128
|
+
if @client_2.respond_to?method
|
129
|
+
@client_2.send(method, *args)
|
130
|
+
elsif @client_1.respond_to?method
|
131
|
+
@client_1.send(method, *args)
|
132
|
+
elsif @client_0.respond_to?method
|
133
|
+
@client_0.send(method, *args)
|
134
|
+
else
|
135
|
+
super
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
class ModelClasses
|
142
|
+
def recurrent_schedule
|
143
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
|
144
|
+
end
|
145
|
+
def recurrence
|
146
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
|
147
|
+
end
|
148
|
+
def sender_authorization
|
149
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
|
150
|
+
end
|
151
|
+
def autoscale_profile
|
152
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
|
153
|
+
end
|
154
|
+
def event_data
|
155
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
|
156
|
+
end
|
157
|
+
def email_notification
|
158
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
|
159
|
+
end
|
160
|
+
def webhook_notification
|
161
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
|
162
|
+
end
|
163
|
+
def scale_capacity
|
164
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
|
165
|
+
end
|
166
|
+
def autoscale_notification
|
167
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
|
168
|
+
end
|
169
|
+
def scale_action
|
170
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
|
171
|
+
end
|
172
|
+
def scale_rule
|
173
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
|
174
|
+
end
|
175
|
+
def autoscale_setting_resource_patch
|
176
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
|
177
|
+
end
|
178
|
+
def event_data_collection
|
179
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
|
180
|
+
end
|
181
|
+
def autoscale_setting_resource_collection
|
182
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
|
183
|
+
end
|
184
|
+
def metric_trigger
|
185
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
|
186
|
+
end
|
187
|
+
def event_category_collection
|
188
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
|
189
|
+
end
|
190
|
+
def http_request_info
|
191
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
|
192
|
+
end
|
193
|
+
def operation_display
|
194
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
|
195
|
+
end
|
196
|
+
def time_window
|
197
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
|
198
|
+
end
|
199
|
+
def operation
|
200
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
|
201
|
+
end
|
202
|
+
def resource
|
203
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
|
204
|
+
end
|
205
|
+
def operation_list_result
|
206
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
|
207
|
+
end
|
208
|
+
def autoscale_setting_resource
|
209
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
|
210
|
+
end
|
211
|
+
def event_level
|
212
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
|
213
|
+
end
|
214
|
+
def metric_statistic_type
|
215
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
|
216
|
+
end
|
217
|
+
def time_aggregation_type
|
218
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
|
219
|
+
end
|
220
|
+
def comparison_operation_type
|
221
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
|
222
|
+
end
|
223
|
+
def scale_direction
|
224
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
|
225
|
+
end
|
226
|
+
def scale_type
|
227
|
+
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
|
228
|
+
end
|
229
|
+
def proxy_only_resource
|
230
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
231
|
+
end
|
232
|
+
def metric_settings
|
233
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
234
|
+
end
|
235
|
+
def log_settings
|
236
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
237
|
+
end
|
238
|
+
def diagnostic_settings_category_resource_collection
|
239
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
240
|
+
end
|
241
|
+
def diagnostic_settings_resource_collection
|
242
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
243
|
+
end
|
244
|
+
def retention_policy
|
245
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
246
|
+
end
|
247
|
+
def diagnostic_settings_resource
|
248
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
249
|
+
end
|
250
|
+
def diagnostic_settings_category_resource
|
251
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
|
252
|
+
end
|
253
|
+
def category_type
|
254
|
+
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
255
|
+
end
|
256
|
+
def metric_value
|
257
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
258
|
+
end
|
259
|
+
def localizable_string
|
260
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
261
|
+
end
|
262
|
+
def metadata_value
|
263
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
264
|
+
end
|
265
|
+
def metric_definition
|
266
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
267
|
+
end
|
268
|
+
def time_series_element
|
269
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
270
|
+
end
|
271
|
+
def error_response
|
272
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::ErrorResponse
|
273
|
+
end
|
274
|
+
def metric
|
275
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
276
|
+
end
|
277
|
+
def metric_definition_collection
|
278
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
279
|
+
end
|
280
|
+
def response
|
281
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
282
|
+
end
|
283
|
+
def metric_availability
|
284
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
285
|
+
end
|
286
|
+
def unit
|
287
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
288
|
+
end
|
289
|
+
def aggregation_type
|
290
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
291
|
+
end
|
292
|
+
def result_type
|
293
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
294
|
+
end
|
295
|
+
end
|
296
|
+
end
|
297
|
+
end
|
@@ -0,0 +1,8 @@
|
|
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::Monitor end
|
7
|
+
module Azure::Monitor::Profiles end
|
8
|
+
module Azure::Monitor::Profiles::V2019_03_01_Hybrid end
|
@@ -0,0 +1,40 @@
|
|
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/v2019_03_01_hybrid/monitor_module_definition'
|
6
|
+
require 'profiles/v2019_03_01_hybrid/modules/monitor_profile_module'
|
7
|
+
|
8
|
+
module Azure::Monitor::Profiles::V2019_03_01_Hybrid
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the V2019_03_01_Hybrid profile SDK.
|
12
|
+
#
|
13
|
+
class Client < MonitorManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
15
|
+
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -417,6 +417,9 @@ files:
|
|
417
417
|
- lib/profiles/latest/modules/monitor_profile_module.rb
|
418
418
|
- lib/profiles/latest/monitor_latest_profile_client.rb
|
419
419
|
- lib/profiles/latest/monitor_module_definition.rb
|
420
|
+
- lib/profiles/v2019_03_01_hybrid/modules/monitor_profile_module.rb
|
421
|
+
- lib/profiles/v2019_03_01_hybrid/monitor_module_definition.rb
|
422
|
+
- lib/profiles/v2019_03_01_hybrid/monitor_v2019_03_01_hybrid_profile_client.rb
|
420
423
|
- lib/version.rb
|
421
424
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
422
425
|
licenses:
|