azure_mgmt_monitor 0.13.0 → 0.14.0
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/generated/azure_mgmt_monitor/models/action_group_list.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/action_group_resource.rb +1 -2
- data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_action_group.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_action_list.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_all_of_condition.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_leaf_condition.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_list.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_patch_body.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_resource.rb +1 -2
- data/lib/generated/azure_mgmt_monitor/models/alert_rule_resource.rb +1 -2
- data/lib/generated/azure_mgmt_monitor/models/alert_rule_resource_collection.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/alert_rule_resource_patch.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/autoscale_notification.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/autoscale_profile.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/autoscale_setting_resource.rb +1 -2
- data/lib/generated/azure_mgmt_monitor/models/autoscale_setting_resource_patch.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/diagnostic_settings_category_resource.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/diagnostic_settings_category_resource_collection.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/diagnostic_settings_resource_collection.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/email_notification.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/email_receiver.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/enable_request.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/error_response.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/incident.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/incident_list_result.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/location_threshold_rule_condition.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/log_profile_collection.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/log_profile_resource.rb +1 -2
- data/lib/generated/azure_mgmt_monitor/models/log_profile_resource_patch.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/log_settings.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/management_event_aggregation_condition.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/management_event_rule_condition.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/metric_settings.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/metric_trigger.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/operation.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/operation_display.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/operation_list_result.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/proxy_only_resource.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/recurrence.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/recurrent_schedule.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/resource.rb +94 -0
- data/lib/generated/azure_mgmt_monitor/models/retention_policy.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/rule_action.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/rule_condition.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/rule_data_source.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/rule_email_action.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/rule_management_event_claims_data_source.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/rule_management_event_data_source.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/rule_metric_data_source.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/rule_webhook_action.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/scale_action.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/scale_capacity.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/scale_rule.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/sms_receiver.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/threshold_rule_condition.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/time_window.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/webhook_notification.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/models/webhook_receiver.rb +0 -1
- data/lib/generated/azure_mgmt_monitor/version.rb +1 -1
- data/lib/generated/azure_mgmt_monitor.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eddef5fd10906e5ad8c35fbe3b44ed93b9c4339d
|
|
4
|
+
data.tar.gz: 15f566f8ffc6a0b02a421bfdfb71c6c3576d2d03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1e10bbfb2de288ccaa07ddd40cf5d97eab535fb4da15d80047ad6acb017baed563705d944f27d246d676e61a2b03394b7080580eb27ee03208861b128643b5ac
|
|
7
|
+
data.tar.gz: 0db5d0e76fb1c7d893a4e4df3b0ec1cd6a4a7a2c7bd6ef5c97b31377ab54201cb10fd81f5b23f724951e3d636d2f5bb5d309bfd6a1202bddbfa7f0406fa9da64
|
|
@@ -8,11 +8,10 @@ module Azure::ARM::Monitor
|
|
|
8
8
|
#
|
|
9
9
|
# An action group resource.
|
|
10
10
|
#
|
|
11
|
-
class ActionGroupResource <
|
|
11
|
+
class ActionGroupResource < Resource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
# @return [String] The short name of the action group. This will be used
|
|
17
16
|
# in SMS messages.
|
|
18
17
|
attr_accessor :group_short_name
|
|
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
|
|
|
13
13
|
|
|
14
14
|
include MsRestAzure
|
|
15
15
|
|
|
16
|
-
include MsRest::JSONable
|
|
17
16
|
# @return [String] The name of the field that this condition will
|
|
18
17
|
# examine. The possible values for this field are (case-insensitive):
|
|
19
18
|
# 'resourceId', 'category', 'caller', 'level', 'operationName',
|
|
@@ -8,11 +8,10 @@ module Azure::ARM::Monitor
|
|
|
8
8
|
#
|
|
9
9
|
# An activity log alert resource.
|
|
10
10
|
#
|
|
11
|
-
class ActivityLogAlertResource <
|
|
11
|
+
class ActivityLogAlertResource < Resource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
# @return [Array<String>] A list of resourceIds that will be used as
|
|
17
16
|
# prefixes. The alert will only apply to activityLogs with resourceIds
|
|
18
17
|
# that fall under one of these prefixes. This list must include at least
|
|
@@ -8,11 +8,10 @@ module Azure::ARM::Monitor
|
|
|
8
8
|
#
|
|
9
9
|
# The alert rule resource.
|
|
10
10
|
#
|
|
11
|
-
class AlertRuleResource <
|
|
11
|
+
class AlertRuleResource < Resource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
# @return [String] the name of the alert rule.
|
|
17
16
|
attr_accessor :alert_rule_resource_name
|
|
18
17
|
|
|
@@ -8,11 +8,10 @@ module Azure::ARM::Monitor
|
|
|
8
8
|
#
|
|
9
9
|
# The autoscale setting resource.
|
|
10
10
|
#
|
|
11
|
-
class AutoscaleSettingResource <
|
|
11
|
+
class AutoscaleSettingResource < Resource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
# @return [Array<AutoscaleProfile>] the collection of automatic scaling
|
|
17
16
|
# profiles that specify different scaling parameters for different time
|
|
18
17
|
# periods. A maximum of 20 profiles can be specified.
|
|
@@ -8,11 +8,10 @@ module Azure::ARM::Monitor
|
|
|
8
8
|
#
|
|
9
9
|
# The log profile resource.
|
|
10
10
|
#
|
|
11
|
-
class LogProfileResource <
|
|
11
|
+
class LogProfileResource < Resource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
# @return [String] the resource id of the storage account to which you
|
|
17
16
|
# would like to send the Activity Log.
|
|
18
17
|
attr_accessor :storage_account_id
|
|
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
|
|
|
13
13
|
|
|
14
14
|
include MsRestAzure
|
|
15
15
|
|
|
16
|
-
include MsRest::JSONable
|
|
17
16
|
# @return [String] Name of a Diagnostic Log category for a resource type
|
|
18
17
|
# this setting is applied to. To obtain the list of Diagnostic Log
|
|
19
18
|
# categories for a resource, first perform a GET diagnostic settings
|
|
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
|
|
|
13
13
|
|
|
14
14
|
include MsRestAzure
|
|
15
15
|
|
|
16
|
-
include MsRest::JSONable
|
|
17
16
|
# @return [RecurrenceFrequency] the recurrence frequency. How often the
|
|
18
17
|
# schedule profile should take effect. This value must be Week, meaning
|
|
19
18
|
# each week will have the same set of profiles. Possible values include:
|
|
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
# @return [String] the timezone for the hours of the profile. Some
|
|
17
16
|
# examples of valid timezones are: Dateline Standard Time, UTC-11,
|
|
18
17
|
# Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time
|
|
@@ -0,0 +1,94 @@
|
|
|
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::ARM::Monitor
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# An azure resource object
|
|
10
|
+
#
|
|
11
|
+
class Resource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Azure resource Id
|
|
16
|
+
attr_accessor :id
|
|
17
|
+
|
|
18
|
+
# @return [String] Azure resource name
|
|
19
|
+
attr_accessor :name
|
|
20
|
+
|
|
21
|
+
# @return [String] Azure resource type
|
|
22
|
+
attr_accessor :type
|
|
23
|
+
|
|
24
|
+
# @return [String] Resource location
|
|
25
|
+
attr_accessor :location
|
|
26
|
+
|
|
27
|
+
# @return [Hash{String => String}] Resource tags
|
|
28
|
+
attr_accessor :tags
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
#
|
|
32
|
+
# Mapper for Resource class as Ruby Hash.
|
|
33
|
+
# This will be used for serialization/deserialization.
|
|
34
|
+
#
|
|
35
|
+
def self.mapper()
|
|
36
|
+
{
|
|
37
|
+
required: false,
|
|
38
|
+
serialized_name: 'Resource',
|
|
39
|
+
type: {
|
|
40
|
+
name: 'Composite',
|
|
41
|
+
class_name: 'Resource',
|
|
42
|
+
model_properties: {
|
|
43
|
+
id: {
|
|
44
|
+
required: false,
|
|
45
|
+
read_only: true,
|
|
46
|
+
serialized_name: 'id',
|
|
47
|
+
type: {
|
|
48
|
+
name: 'String'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
name: {
|
|
52
|
+
required: false,
|
|
53
|
+
read_only: true,
|
|
54
|
+
serialized_name: 'name',
|
|
55
|
+
type: {
|
|
56
|
+
name: 'String'
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
type: {
|
|
60
|
+
required: false,
|
|
61
|
+
read_only: true,
|
|
62
|
+
serialized_name: 'type',
|
|
63
|
+
type: {
|
|
64
|
+
name: 'String'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
location: {
|
|
68
|
+
required: true,
|
|
69
|
+
serialized_name: 'location',
|
|
70
|
+
type: {
|
|
71
|
+
name: 'String'
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
tags: {
|
|
75
|
+
required: false,
|
|
76
|
+
serialized_name: 'tags',
|
|
77
|
+
type: {
|
|
78
|
+
name: 'Dictionary',
|
|
79
|
+
value: {
|
|
80
|
+
required: false,
|
|
81
|
+
serialized_name: 'StringElementType',
|
|
82
|
+
type: {
|
|
83
|
+
name: 'String'
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
|
|
|
13
13
|
|
|
14
14
|
include MsRestAzure
|
|
15
15
|
|
|
16
|
-
include MsRest::JSONable
|
|
17
16
|
@@discriminatorMap = Hash.new
|
|
18
17
|
@@discriminatorMap["Microsoft.Azure.Management.Insights.Models.RuleEmailAction"] = "RuleEmailAction"
|
|
19
18
|
@@discriminatorMap["Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"] = "RuleWebhookAction"
|
|
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
@@discriminatorMap = Hash.new
|
|
17
16
|
@@discriminatorMap["Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"] = "ThresholdRuleCondition"
|
|
18
17
|
@@discriminatorMap["Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"] = "LocationThresholdRuleCondition"
|
|
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
@@discriminatorMap = Hash.new
|
|
17
16
|
@@discriminatorMap["Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"] = "RuleMetricDataSource"
|
|
18
17
|
@@discriminatorMap["Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"] = "RuleManagementEventDataSource"
|
|
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
# @return [ScaleDirection] the scale direction. Whether the scaling
|
|
17
16
|
# action increases or decreases the number of instances. Possible values
|
|
18
17
|
# include: 'None', 'Increase', 'Decrease'
|
|
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
include MsRest::JSONable
|
|
16
15
|
# @return [String] the timezone of the start and end times for the
|
|
17
16
|
# profile. Some examples of valid timezones are: Dateline Standard Time,
|
|
18
17
|
# UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard
|
|
@@ -33,6 +33,7 @@ module Azure::ARM::Monitor
|
|
|
33
33
|
|
|
34
34
|
module Models
|
|
35
35
|
autoload :RuleAction, 'generated/azure_mgmt_monitor/models/rule_action.rb'
|
|
36
|
+
autoload :Resource, 'generated/azure_mgmt_monitor/models/resource.rb'
|
|
36
37
|
autoload :WebhookReceiver, 'generated/azure_mgmt_monitor/models/webhook_receiver.rb'
|
|
37
38
|
autoload :MetricTrigger, 'generated/azure_mgmt_monitor/models/metric_trigger.rb'
|
|
38
39
|
autoload :ActivityLogAlertLeafCondition, 'generated/azure_mgmt_monitor/models/activity_log_alert_leaf_condition.rb'
|
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.
|
|
4
|
+
version: 0.14.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-09
|
|
11
|
+
date: 2017-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -145,6 +145,7 @@ files:
|
|
|
145
145
|
- lib/generated/azure_mgmt_monitor/models/recurrence.rb
|
|
146
146
|
- lib/generated/azure_mgmt_monitor/models/recurrence_frequency.rb
|
|
147
147
|
- lib/generated/azure_mgmt_monitor/models/recurrent_schedule.rb
|
|
148
|
+
- lib/generated/azure_mgmt_monitor/models/resource.rb
|
|
148
149
|
- lib/generated/azure_mgmt_monitor/models/retention_policy.rb
|
|
149
150
|
- lib/generated/azure_mgmt_monitor/models/rule_action.rb
|
|
150
151
|
- lib/generated/azure_mgmt_monitor/models/rule_condition.rb
|