azure_mgmt_insights 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_insights.rb +10 -12
- data/lib/generated/azure_mgmt_insights/alert_rule_incidents.rb +1 -1
- data/lib/generated/azure_mgmt_insights/alert_rules.rb +1 -1
- data/lib/generated/azure_mgmt_insights/autoscale_settings.rb +1 -1
- data/lib/generated/azure_mgmt_insights/insights_management_client.rb +1 -1
- data/lib/generated/azure_mgmt_insights/log_profiles.rb +5 -8
- data/lib/generated/azure_mgmt_insights/models/alert_rule_resource.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/alert_rule_resource_collection.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/autoscale_notification.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/autoscale_profile.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/autoscale_setting_resource.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/autoscale_setting_resource_collection.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/comparison_operation_type.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/condition_operator.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/email_notification.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/incident.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/incident_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/location_threshold_rule_condition.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/log_profile_collection.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/log_profile_resource.rb +2 -2
- data/lib/generated/azure_mgmt_insights/models/log_settings.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/management_event_aggregation_condition.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/management_event_rule_condition.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/metric_settings.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/metric_statistic_type.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/metric_trigger.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/recurrence.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/recurrence_frequency.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb +3 -3
- data/lib/generated/azure_mgmt_insights/models/retention_policy.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/rule_action.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/rule_condition.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/rule_data_source.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/rule_email_action.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/rule_management_event_claims_data_source.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/rule_management_event_data_source.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/rule_metric_data_source.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/rule_webhook_action.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/scale_action.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/scale_capacity.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/scale_direction.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/scale_rule.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/scale_type.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/service_diagnostic_settings_resource.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/threshold_rule_condition.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/time_aggregation_operator.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/time_aggregation_type.rb +1 -1
- data/lib/generated/azure_mgmt_insights/models/time_window.rb +41 -4
- data/lib/generated/azure_mgmt_insights/models/webhook_notification.rb +1 -1
- data/lib/generated/azure_mgmt_insights/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_insights/service_diagnostic_settings_operations.rb +10 -12
- data/lib/generated/azure_mgmt_insights/version.rb +2 -2
- metadata +2 -4
- data/lib/generated/azure_mgmt_insights/models/log_profile_properties.rb +0 -108
- data/lib/generated/azure_mgmt_insights/models/service_diagnostic_settings.rb +0 -107
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f58e56ae46d99c2e37d4e1a0b74f42967eed62a0
|
4
|
+
data.tar.gz: 5211545534b56212267f19e3cd3faaeeff0c51bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 824591bf1a7a40b6c75bedd40640df98c241a0fc1a781d21a3475e205729bc71f1ffbc3c0e706897282f78cf18d8515df235973e4183d5d08b2f6439ad5c5e41
|
7
|
+
data.tar.gz: f142c0cc0ea330e5ca8f12c9a00c4f04a1dcbe9b15095cbeea6c42e27badad1a32d00c1cb4ad0081caca9c86f3f598e7bc54189f89eb94bd60b6f3bb58a28b17
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -31,29 +31,27 @@ module Azure::ARM::Insights
|
|
31
31
|
autoload :RuleCondition, 'generated/azure_mgmt_insights/models/rule_condition.rb'
|
32
32
|
autoload :RuleDataSource, 'generated/azure_mgmt_insights/models/rule_data_source.rb'
|
33
33
|
autoload :MetricTrigger, 'generated/azure_mgmt_insights/models/metric_trigger.rb'
|
34
|
+
autoload :MetricSettings, 'generated/azure_mgmt_insights/models/metric_settings.rb'
|
34
35
|
autoload :LogSettings, 'generated/azure_mgmt_insights/models/log_settings.rb'
|
35
|
-
autoload :ServiceDiagnosticSettings, 'generated/azure_mgmt_insights/models/service_diagnostic_settings.rb'
|
36
36
|
autoload :TimeWindow, 'generated/azure_mgmt_insights/models/time_window.rb'
|
37
37
|
autoload :RecurrentSchedule, 'generated/azure_mgmt_insights/models/recurrent_schedule.rb'
|
38
|
-
autoload :
|
38
|
+
autoload :RuleAction, 'generated/azure_mgmt_insights/models/rule_action.rb'
|
39
39
|
autoload :AutoscaleProfile, 'generated/azure_mgmt_insights/models/autoscale_profile.rb'
|
40
40
|
autoload :ScaleCapacity, 'generated/azure_mgmt_insights/models/scale_capacity.rb'
|
41
41
|
autoload :WebhookNotification, 'generated/azure_mgmt_insights/models/webhook_notification.rb'
|
42
42
|
autoload :ScaleAction, 'generated/azure_mgmt_insights/models/scale_action.rb'
|
43
|
-
autoload :
|
43
|
+
autoload :AlertRuleResourceCollection, 'generated/azure_mgmt_insights/models/alert_rule_resource_collection.rb'
|
44
44
|
autoload :AutoscaleSettingResourceCollection, 'generated/azure_mgmt_insights/models/autoscale_setting_resource_collection.rb'
|
45
|
-
autoload :
|
45
|
+
autoload :ScaleRule, 'generated/azure_mgmt_insights/models/scale_rule.rb'
|
46
46
|
autoload :RuleManagementEventClaimsDataSource, 'generated/azure_mgmt_insights/models/rule_management_event_claims_data_source.rb'
|
47
|
-
autoload :
|
47
|
+
autoload :EmailNotification, 'generated/azure_mgmt_insights/models/email_notification.rb'
|
48
48
|
autoload :LogProfileCollection, 'generated/azure_mgmt_insights/models/log_profile_collection.rb'
|
49
|
-
autoload :AutoscaleNotification, 'generated/azure_mgmt_insights/models/autoscale_notification.rb'
|
50
|
-
autoload :LogProfileProperties, 'generated/azure_mgmt_insights/models/log_profile_properties.rb'
|
51
|
-
autoload :ScaleRule, 'generated/azure_mgmt_insights/models/scale_rule.rb'
|
52
|
-
autoload :IncidentListResult, 'generated/azure_mgmt_insights/models/incident_list_result.rb'
|
53
49
|
autoload :RetentionPolicy, 'generated/azure_mgmt_insights/models/retention_policy.rb'
|
54
|
-
autoload :
|
55
|
-
autoload :
|
50
|
+
autoload :IncidentListResult, 'generated/azure_mgmt_insights/models/incident_list_result.rb'
|
51
|
+
autoload :AutoscaleNotification, 'generated/azure_mgmt_insights/models/autoscale_notification.rb'
|
56
52
|
autoload :Incident, 'generated/azure_mgmt_insights/models/incident.rb'
|
53
|
+
autoload :Recurrence, 'generated/azure_mgmt_insights/models/recurrence.rb'
|
54
|
+
autoload :ManagementEventAggregationCondition, 'generated/azure_mgmt_insights/models/management_event_aggregation_condition.rb'
|
57
55
|
autoload :AutoscaleSettingResource, 'generated/azure_mgmt_insights/models/autoscale_setting_resource.rb'
|
58
56
|
autoload :ServiceDiagnosticSettingsResource, 'generated/azure_mgmt_insights/models/service_diagnostic_settings_resource.rb'
|
59
57
|
autoload :RuleMetricDataSource, 'generated/azure_mgmt_insights/models/rule_metric_data_source.rb'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -189,8 +189,7 @@ module Azure::ARM::Insights
|
|
189
189
|
# Create or update a log profile in Azure Monitoring REST API.
|
190
190
|
#
|
191
191
|
# @param log_profile_name [String] The name of the log profile.
|
192
|
-
# @param parameters [
|
193
|
-
# operation.
|
192
|
+
# @param parameters [LogProfileResource] Parameters supplied to the operation.
|
194
193
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
195
194
|
# will be added to the HTTP request.
|
196
195
|
#
|
@@ -205,8 +204,7 @@ module Azure::ARM::Insights
|
|
205
204
|
# Create or update a log profile in Azure Monitoring REST API.
|
206
205
|
#
|
207
206
|
# @param log_profile_name [String] The name of the log profile.
|
208
|
-
# @param parameters [
|
209
|
-
# operation.
|
207
|
+
# @param parameters [LogProfileResource] Parameters supplied to the operation.
|
210
208
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
211
209
|
# will be added to the HTTP request.
|
212
210
|
#
|
@@ -220,8 +218,7 @@ module Azure::ARM::Insights
|
|
220
218
|
# Create or update a log profile in Azure Monitoring REST API.
|
221
219
|
#
|
222
220
|
# @param log_profile_name [String] The name of the log profile.
|
223
|
-
# @param parameters [
|
224
|
-
# operation.
|
221
|
+
# @param parameters [LogProfileResource] Parameters supplied to the operation.
|
225
222
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
226
223
|
# to the HTTP request.
|
227
224
|
#
|
@@ -243,7 +240,7 @@ module Azure::ARM::Insights
|
|
243
240
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
244
241
|
|
245
242
|
# Serialize Request
|
246
|
-
request_mapper =
|
243
|
+
request_mapper = LogProfileResource.mapper()
|
247
244
|
request_content = @client.serialize(request_mapper, parameters, 'parameters')
|
248
245
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
249
246
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -94,7 +94,7 @@ module Azure::ARM::Insights
|
|
94
94
|
}
|
95
95
|
},
|
96
96
|
storage_account_id: {
|
97
|
-
required:
|
97
|
+
required: false,
|
98
98
|
serialized_name: 'properties.storageAccountId',
|
99
99
|
type: {
|
100
100
|
name: 'String'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,8 +12,8 @@ module Azure::ARM::Insights
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] the
|
16
|
-
# examples of valid
|
15
|
+
# @return [String] the timezone for the hours of the profile. Some
|
16
|
+
# examples of valid timezones are: Dateline Standard Time, UTC-11,
|
17
17
|
# Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time
|
18
18
|
# (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain
|
19
19
|
# Standard Time (Mexico), Mountain Standard Time, Central America
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,9 +12,46 @@ module Azure::ARM::Insights
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] the
|
16
|
-
# profile.
|
17
|
-
#
|
15
|
+
# @return [String] the timezone of the start and end times for the
|
16
|
+
# profile. Some examples of valid timezones are: Dateline Standard Time,
|
17
|
+
# UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard
|
18
|
+
# Time (Mexico), Pacific Standard Time, US Mountain Standard Time,
|
19
|
+
# Mountain Standard Time (Mexico), Mountain Standard Time, Central
|
20
|
+
# America Standard Time, Central Standard Time, Central Standard Time
|
21
|
+
# (Mexico), Canada Central Standard Time, SA Pacific Standard Time,
|
22
|
+
# Eastern Standard Time, US Eastern Standard Time, Venezuela Standard
|
23
|
+
# Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian
|
24
|
+
# Standard Time, SA Western Standard Time, Pacific SA Standard Time,
|
25
|
+
# Newfoundland Standard Time, E. South America Standard Time, Argentina
|
26
|
+
# Standard Time, SA Eastern Standard Time, Greenland Standard Time,
|
27
|
+
# Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic
|
28
|
+
# Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco
|
29
|
+
# Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W.
|
30
|
+
# Europe Standard Time, Central Europe Standard Time, Romance Standard
|
31
|
+
# Time, Central European Standard Time, W. Central Africa Standard Time,
|
32
|
+
# Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle
|
33
|
+
# East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe
|
34
|
+
# Standard Time, South Africa Standard Time, FLE Standard Time, Turkey
|
35
|
+
# Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya
|
36
|
+
# Standard Time, Arabic Standard Time, Arab Standard Time, Belarus
|
37
|
+
# Standard Time, Russian Standard Time, E. Africa Standard Time, Iran
|
38
|
+
# Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia
|
39
|
+
# Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus
|
40
|
+
# Standard Time, Afghanistan Standard Time, West Asia Standard Time,
|
41
|
+
# Ekaterinburg Standard Time, Pakistan Standard Time, India Standard
|
42
|
+
# Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia
|
43
|
+
# Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time,
|
44
|
+
# Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time,
|
45
|
+
# China Standard Time, North Asia East Standard Time, Singapore Standard
|
46
|
+
# Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar
|
47
|
+
# Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk
|
48
|
+
# Standard Time, Cen. Australia Standard Time, AUS Central Standard Time,
|
49
|
+
# E. Australia Standard Time, AUS Eastern Standard Time, West Pacific
|
50
|
+
# Standard Time, Tasmania Standard Time, Magadan Standard Time,
|
51
|
+
# Vladivostok Standard Time, Russia Time Zone 10, Central Pacific
|
52
|
+
# Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12,
|
53
|
+
# Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa
|
54
|
+
# Standard Time, Line Islands Standard Time
|
18
55
|
attr_accessor :time_zone
|
19
56
|
|
20
57
|
# @return [DateTime] the start time for the profile in ISO 8601 format.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -61,7 +61,6 @@ module Azure::ARM::Insights
|
|
61
61
|
def get_async(resource_uri, custom_headers = nil)
|
62
62
|
fail ArgumentError, 'resource_uri is nil' if resource_uri.nil?
|
63
63
|
api_version = '2015-07-01'
|
64
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
65
64
|
|
66
65
|
|
67
66
|
request_headers = {}
|
@@ -75,7 +74,7 @@ module Azure::ARM::Insights
|
|
75
74
|
|
76
75
|
options = {
|
77
76
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
78
|
-
path_params: {'resourceUri' => resource_uri
|
77
|
+
path_params: {'resourceUri' => resource_uri},
|
79
78
|
query_params: {'api-version' => api_version},
|
80
79
|
headers: request_headers.merge(custom_headers || {}),
|
81
80
|
base_url: request_url
|
@@ -113,8 +112,8 @@ module Azure::ARM::Insights
|
|
113
112
|
# Create or update new diagnostic settings for the specified resource.
|
114
113
|
#
|
115
114
|
# @param resource_uri [String] The identifier of the resource.
|
116
|
-
# @param parameters [
|
117
|
-
# operation.
|
115
|
+
# @param parameters [ServiceDiagnosticSettingsResource] Parameters supplied to
|
116
|
+
# the operation.
|
118
117
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
119
118
|
# will be added to the HTTP request.
|
120
119
|
#
|
@@ -129,8 +128,8 @@ module Azure::ARM::Insights
|
|
129
128
|
# Create or update new diagnostic settings for the specified resource.
|
130
129
|
#
|
131
130
|
# @param resource_uri [String] The identifier of the resource.
|
132
|
-
# @param parameters [
|
133
|
-
# operation.
|
131
|
+
# @param parameters [ServiceDiagnosticSettingsResource] Parameters supplied to
|
132
|
+
# the operation.
|
134
133
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
135
134
|
# will be added to the HTTP request.
|
136
135
|
#
|
@@ -144,8 +143,8 @@ module Azure::ARM::Insights
|
|
144
143
|
# Create or update new diagnostic settings for the specified resource.
|
145
144
|
#
|
146
145
|
# @param resource_uri [String] The identifier of the resource.
|
147
|
-
# @param parameters [
|
148
|
-
# operation.
|
146
|
+
# @param parameters [ServiceDiagnosticSettingsResource] Parameters supplied to
|
147
|
+
# the operation.
|
149
148
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
150
149
|
# to the HTTP request.
|
151
150
|
#
|
@@ -155,7 +154,6 @@ module Azure::ARM::Insights
|
|
155
154
|
fail ArgumentError, 'resource_uri is nil' if resource_uri.nil?
|
156
155
|
api_version = '2015-07-01'
|
157
156
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
158
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
159
157
|
|
160
158
|
|
161
159
|
request_headers = {}
|
@@ -167,7 +165,7 @@ module Azure::ARM::Insights
|
|
167
165
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
168
166
|
|
169
167
|
# Serialize Request
|
170
|
-
request_mapper =
|
168
|
+
request_mapper = ServiceDiagnosticSettingsResource.mapper()
|
171
169
|
request_content = @client.serialize(request_mapper, parameters, 'parameters')
|
172
170
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
173
171
|
|
@@ -177,7 +175,7 @@ module Azure::ARM::Insights
|
|
177
175
|
|
178
176
|
options = {
|
179
177
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
180
|
-
path_params: {'resourceUri' => resource_uri
|
178
|
+
path_params: {'resourceUri' => resource_uri},
|
181
179
|
query_params: {'api-version' => api_version},
|
182
180
|
body: request_content,
|
183
181
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Insights
|
7
|
-
VERSION = '0.
|
7
|
+
VERSION = '0.10.0'
|
8
8
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_insights
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.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-
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -107,7 +107,6 @@ files:
|
|
107
107
|
- lib/generated/azure_mgmt_insights/models/incident_list_result.rb
|
108
108
|
- lib/generated/azure_mgmt_insights/models/location_threshold_rule_condition.rb
|
109
109
|
- lib/generated/azure_mgmt_insights/models/log_profile_collection.rb
|
110
|
-
- lib/generated/azure_mgmt_insights/models/log_profile_properties.rb
|
111
110
|
- lib/generated/azure_mgmt_insights/models/log_profile_resource.rb
|
112
111
|
- lib/generated/azure_mgmt_insights/models/log_settings.rb
|
113
112
|
- lib/generated/azure_mgmt_insights/models/management_event_aggregation_condition.rb
|
@@ -132,7 +131,6 @@ files:
|
|
132
131
|
- lib/generated/azure_mgmt_insights/models/scale_direction.rb
|
133
132
|
- lib/generated/azure_mgmt_insights/models/scale_rule.rb
|
134
133
|
- lib/generated/azure_mgmt_insights/models/scale_type.rb
|
135
|
-
- lib/generated/azure_mgmt_insights/models/service_diagnostic_settings.rb
|
136
134
|
- lib/generated/azure_mgmt_insights/models/service_diagnostic_settings_resource.rb
|
137
135
|
- lib/generated/azure_mgmt_insights/models/threshold_rule_condition.rb
|
138
136
|
- lib/generated/azure_mgmt_insights/models/time_aggregation_operator.rb
|
@@ -1,108 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
-
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
-
# regenerated.
|
5
|
-
|
6
|
-
module Azure::ARM::Insights
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# The log profile properties.
|
10
|
-
#
|
11
|
-
class LogProfileProperties
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] the resource id of the storage account to which you
|
16
|
-
# would like to send the Activity Log.
|
17
|
-
attr_accessor :storage_account_id
|
18
|
-
|
19
|
-
# @return [String] The service bus rule ID of the service bus namespace
|
20
|
-
# in which you would like to have Event Hubs created for streaming the
|
21
|
-
# Activity Log. The rule ID is of the format: '{service bus resource
|
22
|
-
# ID}/authorizationrules/{key name}'.
|
23
|
-
attr_accessor :service_bus_rule_id
|
24
|
-
|
25
|
-
# @return [Array<String>] List of regions for which Activity Log events
|
26
|
-
# should be stored or streamed. It is a comma separated list of valid ARM
|
27
|
-
# locations including the 'global' location.
|
28
|
-
attr_accessor :locations
|
29
|
-
|
30
|
-
# @return [Array<String>] the categories of the logs. These categories
|
31
|
-
# are created as is convenient to the user. Some values are: 'Write',
|
32
|
-
# 'Delete', and/or 'Action.'
|
33
|
-
attr_accessor :categories
|
34
|
-
|
35
|
-
# @return [RetentionPolicy] the retention policy for the events in the
|
36
|
-
# log.
|
37
|
-
attr_accessor :retention_policy
|
38
|
-
|
39
|
-
|
40
|
-
#
|
41
|
-
# Mapper for LogProfileProperties class as Ruby Hash.
|
42
|
-
# This will be used for serialization/deserialization.
|
43
|
-
#
|
44
|
-
def self.mapper()
|
45
|
-
{
|
46
|
-
required: false,
|
47
|
-
serialized_name: 'LogProfileProperties',
|
48
|
-
type: {
|
49
|
-
name: 'Composite',
|
50
|
-
class_name: 'LogProfileProperties',
|
51
|
-
model_properties: {
|
52
|
-
storage_account_id: {
|
53
|
-
required: true,
|
54
|
-
serialized_name: 'storageAccountId',
|
55
|
-
type: {
|
56
|
-
name: 'String'
|
57
|
-
}
|
58
|
-
},
|
59
|
-
service_bus_rule_id: {
|
60
|
-
required: false,
|
61
|
-
serialized_name: 'serviceBusRuleId',
|
62
|
-
type: {
|
63
|
-
name: 'String'
|
64
|
-
}
|
65
|
-
},
|
66
|
-
locations: {
|
67
|
-
required: true,
|
68
|
-
serialized_name: 'locations',
|
69
|
-
type: {
|
70
|
-
name: 'Sequence',
|
71
|
-
element: {
|
72
|
-
required: false,
|
73
|
-
serialized_name: 'StringElementType',
|
74
|
-
type: {
|
75
|
-
name: 'String'
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
},
|
80
|
-
categories: {
|
81
|
-
required: false,
|
82
|
-
serialized_name: 'categories',
|
83
|
-
type: {
|
84
|
-
name: 'Sequence',
|
85
|
-
element: {
|
86
|
-
required: false,
|
87
|
-
serialized_name: 'StringElementType',
|
88
|
-
type: {
|
89
|
-
name: 'String'
|
90
|
-
}
|
91
|
-
}
|
92
|
-
}
|
93
|
-
},
|
94
|
-
retention_policy: {
|
95
|
-
required: false,
|
96
|
-
serialized_name: 'retentionPolicy',
|
97
|
-
type: {
|
98
|
-
name: 'Composite',
|
99
|
-
class_name: 'RetentionPolicy'
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
end
|
106
|
-
end
|
107
|
-
end
|
108
|
-
end
|
@@ -1,107 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
-
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
-
# regenerated.
|
5
|
-
|
6
|
-
module Azure::ARM::Insights
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# The diagnostic settings for service.
|
10
|
-
#
|
11
|
-
class ServiceDiagnosticSettings
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] The resource ID of the storage account to which you
|
16
|
-
# would like to send Diagnostic Logs.
|
17
|
-
attr_accessor :storage_account_id
|
18
|
-
|
19
|
-
# @return [String] The service bus rule ID of the service bus namespace
|
20
|
-
# in which you would like to have Event Hubs created for streaming
|
21
|
-
# Diagnostic Logs. The rule ID is of the format: '{service bus resource
|
22
|
-
# ID}/authorizationrules/{key name}'.
|
23
|
-
attr_accessor :service_bus_rule_id
|
24
|
-
|
25
|
-
# @return [Array<MetricSettings>] the list of metric settings.
|
26
|
-
attr_accessor :metrics
|
27
|
-
|
28
|
-
# @return [Array<LogSettings>] the list of logs settings.
|
29
|
-
attr_accessor :logs
|
30
|
-
|
31
|
-
# @return [String] The workspace ID (resource ID of a Log Analytics
|
32
|
-
# workspace) for a Log Analytics workspace to which you would like to
|
33
|
-
# send Diagnostic Logs. Example:
|
34
|
-
# /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
|
35
|
-
attr_accessor :workspace_id
|
36
|
-
|
37
|
-
|
38
|
-
#
|
39
|
-
# Mapper for ServiceDiagnosticSettings class as Ruby Hash.
|
40
|
-
# This will be used for serialization/deserialization.
|
41
|
-
#
|
42
|
-
def self.mapper()
|
43
|
-
{
|
44
|
-
required: false,
|
45
|
-
serialized_name: 'ServiceDiagnosticSettings',
|
46
|
-
type: {
|
47
|
-
name: 'Composite',
|
48
|
-
class_name: 'ServiceDiagnosticSettings',
|
49
|
-
model_properties: {
|
50
|
-
storage_account_id: {
|
51
|
-
required: false,
|
52
|
-
serialized_name: 'storageAccountId',
|
53
|
-
type: {
|
54
|
-
name: 'String'
|
55
|
-
}
|
56
|
-
},
|
57
|
-
service_bus_rule_id: {
|
58
|
-
required: false,
|
59
|
-
serialized_name: 'serviceBusRuleId',
|
60
|
-
type: {
|
61
|
-
name: 'String'
|
62
|
-
}
|
63
|
-
},
|
64
|
-
metrics: {
|
65
|
-
required: false,
|
66
|
-
serialized_name: 'metrics',
|
67
|
-
type: {
|
68
|
-
name: 'Sequence',
|
69
|
-
element: {
|
70
|
-
required: false,
|
71
|
-
serialized_name: 'MetricSettingsElementType',
|
72
|
-
type: {
|
73
|
-
name: 'Composite',
|
74
|
-
class_name: 'MetricSettings'
|
75
|
-
}
|
76
|
-
}
|
77
|
-
}
|
78
|
-
},
|
79
|
-
logs: {
|
80
|
-
required: false,
|
81
|
-
serialized_name: 'logs',
|
82
|
-
type: {
|
83
|
-
name: 'Sequence',
|
84
|
-
element: {
|
85
|
-
required: false,
|
86
|
-
serialized_name: 'LogSettingsElementType',
|
87
|
-
type: {
|
88
|
-
name: 'Composite',
|
89
|
-
class_name: 'LogSettings'
|
90
|
-
}
|
91
|
-
}
|
92
|
-
}
|
93
|
-
},
|
94
|
-
workspace_id: {
|
95
|
-
required: false,
|
96
|
-
serialized_name: 'workspaceId',
|
97
|
-
type: {
|
98
|
-
name: 'String'
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
end
|
105
|
-
end
|
106
|
-
end
|
107
|
-
end
|