azure_mgmt_monitor 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_monitor/models/action_group_list.rb +0 -1
  3. data/lib/generated/azure_mgmt_monitor/models/action_group_resource.rb +1 -2
  4. data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_action_group.rb +0 -1
  5. data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_action_list.rb +0 -1
  6. data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_all_of_condition.rb +0 -1
  7. data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_leaf_condition.rb +0 -1
  8. data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_list.rb +0 -1
  9. data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_patch_body.rb +0 -1
  10. data/lib/generated/azure_mgmt_monitor/models/activity_log_alert_resource.rb +1 -2
  11. data/lib/generated/azure_mgmt_monitor/models/alert_rule_resource.rb +1 -2
  12. data/lib/generated/azure_mgmt_monitor/models/alert_rule_resource_collection.rb +0 -1
  13. data/lib/generated/azure_mgmt_monitor/models/alert_rule_resource_patch.rb +0 -1
  14. data/lib/generated/azure_mgmt_monitor/models/autoscale_notification.rb +0 -1
  15. data/lib/generated/azure_mgmt_monitor/models/autoscale_profile.rb +0 -1
  16. data/lib/generated/azure_mgmt_monitor/models/autoscale_setting_resource.rb +1 -2
  17. data/lib/generated/azure_mgmt_monitor/models/autoscale_setting_resource_patch.rb +0 -1
  18. data/lib/generated/azure_mgmt_monitor/models/diagnostic_settings_category_resource.rb +0 -1
  19. data/lib/generated/azure_mgmt_monitor/models/diagnostic_settings_category_resource_collection.rb +0 -1
  20. data/lib/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb +0 -1
  21. data/lib/generated/azure_mgmt_monitor/models/diagnostic_settings_resource_collection.rb +0 -1
  22. data/lib/generated/azure_mgmt_monitor/models/email_notification.rb +0 -1
  23. data/lib/generated/azure_mgmt_monitor/models/email_receiver.rb +0 -1
  24. data/lib/generated/azure_mgmt_monitor/models/enable_request.rb +0 -1
  25. data/lib/generated/azure_mgmt_monitor/models/error_response.rb +0 -1
  26. data/lib/generated/azure_mgmt_monitor/models/incident.rb +0 -1
  27. data/lib/generated/azure_mgmt_monitor/models/incident_list_result.rb +0 -1
  28. data/lib/generated/azure_mgmt_monitor/models/location_threshold_rule_condition.rb +0 -1
  29. data/lib/generated/azure_mgmt_monitor/models/log_profile_collection.rb +0 -1
  30. data/lib/generated/azure_mgmt_monitor/models/log_profile_resource.rb +1 -2
  31. data/lib/generated/azure_mgmt_monitor/models/log_profile_resource_patch.rb +0 -1
  32. data/lib/generated/azure_mgmt_monitor/models/log_settings.rb +0 -1
  33. data/lib/generated/azure_mgmt_monitor/models/management_event_aggregation_condition.rb +0 -1
  34. data/lib/generated/azure_mgmt_monitor/models/management_event_rule_condition.rb +0 -1
  35. data/lib/generated/azure_mgmt_monitor/models/metric_settings.rb +0 -1
  36. data/lib/generated/azure_mgmt_monitor/models/metric_trigger.rb +0 -1
  37. data/lib/generated/azure_mgmt_monitor/models/operation.rb +0 -1
  38. data/lib/generated/azure_mgmt_monitor/models/operation_display.rb +0 -1
  39. data/lib/generated/azure_mgmt_monitor/models/operation_list_result.rb +0 -1
  40. data/lib/generated/azure_mgmt_monitor/models/proxy_only_resource.rb +0 -1
  41. data/lib/generated/azure_mgmt_monitor/models/recurrence.rb +0 -1
  42. data/lib/generated/azure_mgmt_monitor/models/recurrent_schedule.rb +0 -1
  43. data/lib/generated/azure_mgmt_monitor/models/resource.rb +94 -0
  44. data/lib/generated/azure_mgmt_monitor/models/retention_policy.rb +0 -1
  45. data/lib/generated/azure_mgmt_monitor/models/rule_action.rb +0 -1
  46. data/lib/generated/azure_mgmt_monitor/models/rule_condition.rb +0 -1
  47. data/lib/generated/azure_mgmt_monitor/models/rule_data_source.rb +0 -1
  48. data/lib/generated/azure_mgmt_monitor/models/rule_email_action.rb +0 -1
  49. data/lib/generated/azure_mgmt_monitor/models/rule_management_event_claims_data_source.rb +0 -1
  50. data/lib/generated/azure_mgmt_monitor/models/rule_management_event_data_source.rb +0 -1
  51. data/lib/generated/azure_mgmt_monitor/models/rule_metric_data_source.rb +0 -1
  52. data/lib/generated/azure_mgmt_monitor/models/rule_webhook_action.rb +0 -1
  53. data/lib/generated/azure_mgmt_monitor/models/scale_action.rb +0 -1
  54. data/lib/generated/azure_mgmt_monitor/models/scale_capacity.rb +0 -1
  55. data/lib/generated/azure_mgmt_monitor/models/scale_rule.rb +0 -1
  56. data/lib/generated/azure_mgmt_monitor/models/sms_receiver.rb +0 -1
  57. data/lib/generated/azure_mgmt_monitor/models/threshold_rule_condition.rb +0 -1
  58. data/lib/generated/azure_mgmt_monitor/models/time_window.rb +0 -1
  59. data/lib/generated/azure_mgmt_monitor/models/webhook_notification.rb +0 -1
  60. data/lib/generated/azure_mgmt_monitor/models/webhook_receiver.rb +0 -1
  61. data/lib/generated/azure_mgmt_monitor/version.rb +1 -1
  62. data/lib/generated/azure_mgmt_monitor.rb +1 -0
  63. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a719ce2feaf6a97e427d0cacf25c836fa401b2e5
4
- data.tar.gz: 76b805b52ab75b8d7756219c6230d93d7cb27a44
3
+ metadata.gz: eddef5fd10906e5ad8c35fbe3b44ed93b9c4339d
4
+ data.tar.gz: 15f566f8ffc6a0b02a421bfdfb71c6c3576d2d03
5
5
  SHA512:
6
- metadata.gz: fb9f28d862b0104b177b8554239f52f8091d0ed95968d524ee578629a3ffbfe6194d6933b39f7cb0b81e7a452d4fc7e7de1a5a3999ec30cce319f31bf69f4feb
7
- data.tar.gz: 606dd154866d25a3c91b12fcf80d25603a7df5451925fcdaf72dc0384ecd00eee4ecb35bfa01e5281ae6f58738aaca0b5aff0cc1814a32a4ad4fe1f785a2ebe6
6
+ metadata.gz: 1e10bbfb2de288ccaa07ddd40cf5d97eab535fb4da15d80047ad6acb017baed563705d944f27d246d676e61a2b03394b7080580eb27ee03208861b128643b5ac
7
+ data.tar.gz: 0db5d0e76fb1c7d893a4e4df3b0ec1cd6a4a7a2c7bd6ef5c97b31377ab54201cb10fd81f5b23f724951e3d636d2f5bb5d309bfd6a1202bddbfa7f0406fa9da64
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<ActionGroupResource>] The list of action groups.
17
16
  attr_accessor :value
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::Monitor
8
8
  #
9
9
  # An action group resource.
10
10
  #
11
- class ActionGroupResource < MsRestAzure::Resource
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
@@ -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 resourceId of the action group. This cannot be
17
16
  # null or empty.
18
17
  attr_accessor :action_group_id
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<ActivityLogAlertActionGroup>] The list of activity log
17
16
  # alerts.
18
17
  attr_accessor :action_groups
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Array<ActivityLogAlertLeafCondition>] The list of activity log
18
17
  # alert conditions.
19
18
  attr_accessor :all_of
@@ -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',
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<ActivityLogAlertResource>] The list of activity log
17
16
  # alerts.
18
17
  attr_accessor :value
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] Resource tags
17
16
  attr_accessor :tags
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::Monitor
8
8
  #
9
9
  # An activity log alert resource.
10
10
  #
11
- class ActivityLogAlertResource < MsRestAzure::Resource
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 < MsRestAzure::Resource
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
 
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<AlertRuleResource>] the values for the alert rule
17
16
  # resources.
18
17
  attr_accessor :value
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] Resource tags
17
16
  attr_accessor :tags
18
17
 
@@ -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 operation associated with the notification and its
17
16
  # value must be "scale". Default value: 'Scale' .
18
17
  attr_accessor :operation
@@ -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 name of the profile.
17
16
  attr_accessor :name
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::Monitor
8
8
  #
9
9
  # The autoscale setting resource.
10
10
  #
11
- class AutoscaleSettingResource < MsRestAzure::Resource
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.
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] Resource tags
17
16
  attr_accessor :tags
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [CategoryType] The type of the diagnostic settings category.
17
16
  # Possible values include: 'Metrics', 'Logs'
18
17
  attr_accessor :category_type
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<DiagnosticSettingsCategoryResource>] The collection of
17
16
  # diagnostic settings category resources.
18
17
  attr_accessor :value
@@ -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 resource ID of the storage account to which you
17
16
  # would like to send Diagnostic Logs.
18
17
  attr_accessor :storage_account_id
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<DiagnosticSettingsResource>] The collection of
17
16
  # diagnostic settings resources;.
18
17
  attr_accessor :value
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] a value indicating whether to send email to
17
16
  # subscription administrator.
18
17
  attr_accessor :send_to_subscription_administrator
@@ -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 name of the email receiver. Names must be unique
17
16
  # across all receivers within an action group.
18
17
  attr_accessor :name
@@ -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 name of the receiver to resubscribe.
17
16
  attr_accessor :receiver_name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Error code
17
16
  attr_accessor :code
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Incident name.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<Incident>] the incident collection.
17
16
  attr_accessor :value
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
 
17
16
  def initialize
18
17
  @odata.type = "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<LogProfileResource>] the values of the log profiles.
17
16
  attr_accessor :value
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::Monitor
8
8
  #
9
9
  # The log profile resource.
10
10
  #
11
- class LogProfileResource < MsRestAzure::Resource
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
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] Resource tags
17
16
  attr_accessor :tags
18
17
 
@@ -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
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [ConditionOperator] the condition operator. Possible values
17
16
  # include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan',
18
17
  # 'LessThanOrEqual'
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
 
17
16
  def initialize
18
17
  @odata.type = "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Duration] the timegrain of the metric in ISO8601 format.
18
17
  attr_accessor :time_grain
19
18
 
@@ -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 name of the metric that defines what the rule
17
16
  # monitors.
18
17
  attr_accessor :metric_name
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Operation name: {provider}/{resource}/{operation}
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Service provider: Microsoft.Insights
17
16
  attr_accessor :provider
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Array<Operation>] List of operations supported by the
18
17
  # Microsoft.Insights provider.
19
18
  attr_accessor :value
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Azure resource Id
17
16
  attr_accessor :id
18
17
 
@@ -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
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] a value indicating whether the retention policy is
17
16
  # enabled.
18
17
  attr_accessor :enabled
@@ -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"
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
 
18
17
  def initialize
19
18
  @odata.type = "Microsoft.Azure.Management.Insights.Models.RuleEmailAction"
@@ -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 email address.
17
16
  attr_accessor :email_address
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
 
18
17
  def initialize
19
18
  @odata.type = "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
 
18
17
  def initialize
19
18
  @odata.type = "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"
@@ -13,7 +13,6 @@ module Azure::ARM::Monitor
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
 
18
17
  def initialize
19
18
  @odata.type = "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"
@@ -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 minimum number of instances for the resource.
17
16
  attr_accessor :minimum
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [MetricTrigger] the trigger that results in a scaling action.
17
16
  attr_accessor :metric_trigger
18
17
 
@@ -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 name of the SMS receiver. Names must be unique
17
16
  # across all receivers within an action group.
18
17
  attr_accessor :name
@@ -12,7 +12,6 @@ module Azure::ARM::Monitor
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
 
17
16
  def initialize
18
17
  @odata.type = "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"
@@ -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
@@ -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 service address to receive the notification.
17
16
  attr_accessor :service_uri
18
17
 
@@ -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 name of the webhook receiver. Names must be unique
17
16
  # across all receivers within an action group.
18
17
  attr_accessor :name
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Monitor
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
@@ -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.13.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-27 00:00:00.000000000 Z
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