azure_mgmt_monitor 0.17.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- 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.rb +32 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/metric_namespaces.rb +118 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace.rb +81 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb +55 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_name.rb +46 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
- 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.rb +44 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings.rb +602 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings_association.rb +622 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source_configuration.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_event_configuration.rb +69 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_provider_configuration.rb +67 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/event_log_configuration.rb +58 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_list.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource_patch.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_list.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_patch_resource.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_resource.rb +130 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/performance_counter_configuration.rb +69 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/resource.rb +110 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/sink_configuration.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +136 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor.rb +54 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb +693 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/metric_baseline.rb +290 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +102 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +80 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline.rb +86 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_metadata_value.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_response.rb +171 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/calculate_baseline_response.rb +85 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/email_receiver.rb +72 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/localizable_string.rb +57 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +69 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/result_type.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sensitivity.rb +17 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/time_series_information.rb +93 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2018-09-01/generated/azure_mgmt_monitor/monitor_management_client.rb +135 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor.rb +36 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_container.rb +47 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_status.rb +16 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/error.rb +57 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/onboarding_status.rb +17 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/proxy_resource.rb +71 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb +47 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/vminsights_onboarding_status.rb +123 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb +69 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
- data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/vminsights.rb +118 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor.rb +45 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/action_groups.rb +693 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +113 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +91 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/email_receiver.rb +83 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +80 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
- data/lib/2019-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +131 -0
- data/lib/azure_mgmt_monitor.rb +5 -0
- data/lib/profiles/latest/modules/monitor_profile_module.rb +332 -106
- data/lib/version.rb +1 -1
- metadata +92 -1
@@ -0,0 +1,57 @@
|
|
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::Monitor::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The localizable string class.
|
10
|
+
#
|
11
|
+
class LocalizableString
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The invariant value.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
# @return [String] The locale specific value.
|
19
|
+
attr_accessor :localized_value
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for LocalizableString class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'LocalizableString',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'LocalizableString',
|
34
|
+
model_properties: {
|
35
|
+
value: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: true,
|
38
|
+
serialized_name: 'value',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
localized_value: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'localizedValue',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,69 @@
|
|
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::Monitor::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A logic app receiver.
|
10
|
+
#
|
11
|
+
class LogicAppReceiver
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the logic app receiver. Names must be
|
16
|
+
# unique across all receivers within an action group.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] The azure resource id of the logic app receiver.
|
20
|
+
attr_accessor :resource_id
|
21
|
+
|
22
|
+
# @return [String] The callback url where http request sent to.
|
23
|
+
attr_accessor :callback_url
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for LogicAppReceiver class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'LogicAppReceiver',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'LogicAppReceiver',
|
38
|
+
model_properties: {
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: true,
|
42
|
+
serialized_name: 'name',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
resource_id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'resourceId',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
callback_url: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: true,
|
58
|
+
serialized_name: 'callbackUrl',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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::Monitor::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ReceiverStatus
|
10
|
+
#
|
11
|
+
module ReceiverStatus
|
12
|
+
NotSpecified = "NotSpecified"
|
13
|
+
Enabled = "Enabled"
|
14
|
+
Disabled = "Disabled"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,110 @@
|
|
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::Monitor::Mgmt::V2018_09_01
|
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
|
+
# @return [String] the name of the resource group of the resource.
|
32
|
+
def resource_group
|
33
|
+
unless self.id.nil?
|
34
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
35
|
+
groups.captures[0].strip if groups
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for Resource class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'Resource',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'Resource',
|
52
|
+
model_properties: {
|
53
|
+
id: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'id',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
name: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'name',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
type: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'type',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
location: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: true,
|
83
|
+
serialized_name: 'location',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
tags: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'tags',
|
92
|
+
type: {
|
93
|
+
name: 'Dictionary',
|
94
|
+
value: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'StringElementType',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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::Monitor::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ResultType
|
10
|
+
#
|
11
|
+
module ResultType
|
12
|
+
Data = "Data"
|
13
|
+
Metadata = "Metadata"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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::Monitor::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for Sensitivity
|
10
|
+
#
|
11
|
+
module Sensitivity
|
12
|
+
Low = "Low"
|
13
|
+
Medium = "Medium"
|
14
|
+
High = "High"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,83 @@
|
|
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::Monitor::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# An SMS receiver.
|
10
|
+
#
|
11
|
+
class SmsReceiver
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the SMS receiver. Names must be unique
|
16
|
+
# across all receivers within an action group.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] The country code of the SMS receiver.
|
20
|
+
attr_accessor :country_code
|
21
|
+
|
22
|
+
# @return [String] The phone number of the SMS receiver.
|
23
|
+
attr_accessor :phone_number
|
24
|
+
|
25
|
+
# @return [ReceiverStatus] The status of the receiver. Possible values
|
26
|
+
# include: 'NotSpecified', 'Enabled', 'Disabled'
|
27
|
+
attr_accessor :status
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for SmsReceiver class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'SmsReceiver',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'SmsReceiver',
|
42
|
+
model_properties: {
|
43
|
+
name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: true,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
country_code: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: true,
|
54
|
+
serialized_name: 'countryCode',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
phone_number: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: true,
|
62
|
+
serialized_name: 'phoneNumber',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
status: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'status',
|
72
|
+
type: {
|
73
|
+
name: 'Enum',
|
74
|
+
module: 'ReceiverStatus'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,93 @@
|
|
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::Monitor::Mgmt::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The time series info needed for calculating the baseline.
|
10
|
+
#
|
11
|
+
class TimeSeriesInformation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<String>] The list of sensitivities for calculating the
|
16
|
+
# baseline.
|
17
|
+
attr_accessor :sensitivities
|
18
|
+
|
19
|
+
# @return [Array<Float>] The metric values to calculate the baseline.
|
20
|
+
attr_accessor :values
|
21
|
+
|
22
|
+
# @return [Array<DateTime>] The array of timestamps of the baselines.
|
23
|
+
attr_accessor :timestamps
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for TimeSeriesInformation class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'TimeSeriesInformation',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'TimeSeriesInformation',
|
38
|
+
model_properties: {
|
39
|
+
sensitivities: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: true,
|
42
|
+
serialized_name: 'sensitivities',
|
43
|
+
type: {
|
44
|
+
name: 'Sequence',
|
45
|
+
element: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'StringElementType',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
},
|
55
|
+
values: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: true,
|
58
|
+
serialized_name: 'values',
|
59
|
+
type: {
|
60
|
+
name: 'Sequence',
|
61
|
+
element: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'FloatElementType',
|
65
|
+
type: {
|
66
|
+
name: 'Double'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
},
|
71
|
+
timestamps: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'timestamps',
|
75
|
+
type: {
|
76
|
+
name: 'Sequence',
|
77
|
+
element: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'DateTimeElementType',
|
81
|
+
type: {
|
82
|
+
name: 'DateTime'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|