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,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::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A voice receiver.
|
10
|
+
#
|
11
|
+
class VoiceReceiver
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the voice 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 voice receiver.
|
20
|
+
attr_accessor :country_code
|
21
|
+
|
22
|
+
# @return [String] The phone number of the voice receiver.
|
23
|
+
attr_accessor :phone_number
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for VoiceReceiver 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: 'VoiceReceiver',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'VoiceReceiver',
|
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
|
+
country_code: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'countryCode',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
phone_number: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: true,
|
58
|
+
serialized_name: 'phoneNumber',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
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::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A webhook receiver.
|
10
|
+
#
|
11
|
+
class WebhookReceiver
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the webhook receiver. Names must be unique
|
16
|
+
# across all receivers within an action group.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] The URI where webhooks should be sent.
|
20
|
+
attr_accessor :service_uri
|
21
|
+
|
22
|
+
# @return [Boolean] Indicates whether to use common alert schema.
|
23
|
+
attr_accessor :use_common_alert_schema
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for WebhookReceiver 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: 'WebhookReceiver',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'WebhookReceiver',
|
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
|
+
service_uri: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'serviceUri',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
use_common_alert_schema: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: true,
|
58
|
+
serialized_name: 'useCommonAlertSchema',
|
59
|
+
type: {
|
60
|
+
name: 'Boolean'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,9 @@
|
|
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 end
|
7
|
+
module Azure::Monitor end
|
8
|
+
module Azure::Monitor::Mgmt end
|
9
|
+
module Azure::Monitor::Mgmt::V2019_03_01 end
|
@@ -0,0 +1,131 @@
|
|
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::V2019_03_01
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class MonitorManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] The Azure subscription Id.
|
21
|
+
attr_accessor :subscription_id
|
22
|
+
|
23
|
+
# @return [String] Client Api Version.
|
24
|
+
attr_reader :api_version
|
25
|
+
|
26
|
+
# @return [String] The preferred language for the response.
|
27
|
+
attr_accessor :accept_language
|
28
|
+
|
29
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
30
|
+
# Operations. Default value is 30.
|
31
|
+
attr_accessor :long_running_operation_retry_timeout
|
32
|
+
|
33
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
34
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
35
|
+
# generated and included in each request. Default is true.
|
36
|
+
attr_accessor :generate_client_request_id
|
37
|
+
|
38
|
+
# @return [ActionGroups] action_groups
|
39
|
+
attr_reader :action_groups
|
40
|
+
|
41
|
+
#
|
42
|
+
# Creates initializes a new instance of the MonitorManagementClient class.
|
43
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
44
|
+
# @param base_url [String] the base URI of the service.
|
45
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
46
|
+
#
|
47
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
48
|
+
super(credentials, options)
|
49
|
+
@base_url = base_url || 'https://management.azure.com'
|
50
|
+
|
51
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
52
|
+
@credentials = credentials
|
53
|
+
|
54
|
+
@action_groups = ActionGroups.new(self)
|
55
|
+
@api_version = '2019-03-01'
|
56
|
+
@accept_language = 'en-US'
|
57
|
+
@long_running_operation_retry_timeout = 30
|
58
|
+
@generate_client_request_id = true
|
59
|
+
add_telemetry
|
60
|
+
end
|
61
|
+
|
62
|
+
#
|
63
|
+
# Makes a request and returns the body of the response.
|
64
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
65
|
+
# @param path [String] the path, relative to {base_url}.
|
66
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
67
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
68
|
+
# Example:
|
69
|
+
#
|
70
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
71
|
+
# path = "/path"
|
72
|
+
# options = {
|
73
|
+
# body: request_content,
|
74
|
+
# query_params: {'api-version' => '2016-02-01'}
|
75
|
+
# }
|
76
|
+
# result = @client.make_request(:put, path, options)
|
77
|
+
#
|
78
|
+
def make_request(method, path, options = {})
|
79
|
+
result = make_request_with_http_info(method, path, options)
|
80
|
+
result.body unless result.nil?
|
81
|
+
end
|
82
|
+
|
83
|
+
#
|
84
|
+
# Makes a request and returns the operation response.
|
85
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
86
|
+
# @param path [String] the path, relative to {base_url}.
|
87
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
88
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
89
|
+
#
|
90
|
+
def make_request_with_http_info(method, path, options = {})
|
91
|
+
result = make_request_async(method, path, options).value!
|
92
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
93
|
+
result
|
94
|
+
end
|
95
|
+
|
96
|
+
#
|
97
|
+
# Makes a request asynchronously.
|
98
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
99
|
+
# @param path [String] the path, relative to {base_url}.
|
100
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
101
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
102
|
+
#
|
103
|
+
def make_request_async(method, path, options = {})
|
104
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
105
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
106
|
+
|
107
|
+
request_url = options[:base_url] || @base_url
|
108
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
109
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
110
|
+
end
|
111
|
+
|
112
|
+
request_headers = @request_headers
|
113
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
114
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
115
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
116
|
+
|
117
|
+
super(request_url, method, path, options)
|
118
|
+
end
|
119
|
+
|
120
|
+
|
121
|
+
private
|
122
|
+
#
|
123
|
+
# Adds telemetry information.
|
124
|
+
#
|
125
|
+
def add_telemetry
|
126
|
+
sdk_information = 'azure_mgmt_monitor'
|
127
|
+
sdk_information = "#{sdk_information}/0.17.3"
|
128
|
+
add_user_agent_information(sdk_information)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
data/lib/azure_mgmt_monitor.rb
CHANGED
@@ -2,13 +2,18 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
+
require '2018-06-01-preview/generated/azure_mgmt_monitor'
|
5
6
|
require '2015-04-01/generated/azure_mgmt_monitor'
|
7
|
+
require '2019-03-01/generated/azure_mgmt_monitor'
|
8
|
+
require '2018-09-01/generated/azure_mgmt_monitor'
|
6
9
|
require '2017-04-01/generated/azure_mgmt_monitor'
|
7
10
|
require '2017-05-01-preview/generated/azure_mgmt_monitor'
|
8
11
|
require '2017-11-01-preview/generated/azure_mgmt_monitor'
|
9
12
|
require '2018-03-01/generated/azure_mgmt_monitor'
|
10
13
|
require '2018-04-16/generated/azure_mgmt_monitor'
|
14
|
+
require '2017-12-01-preview/generated/azure_mgmt_monitor'
|
11
15
|
require '2016-03-01/generated/azure_mgmt_monitor'
|
12
16
|
require '2018-01-01/generated/azure_mgmt_monitor'
|
13
17
|
require '2016-09-01/generated/azure_mgmt_monitor'
|
18
|
+
require '2018-11-27-preview/generated/azure_mgmt_monitor'
|
14
19
|
require 'profiles/latest/monitor_latest_profile_client'
|
@@ -14,13 +14,18 @@ module Azure::Monitor::Profiles::Latest
|
|
14
14
|
AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules
|
15
15
|
AlertRuleIncidents = Azure::Monitor::Mgmt::V2016_03_01::AlertRuleIncidents
|
16
16
|
LogProfiles = Azure::Monitor::Mgmt::V2016_03_01::LogProfiles
|
17
|
-
ActionGroups = Azure::Monitor::Mgmt::V2017_04_01::ActionGroups
|
18
17
|
ActivityLogAlerts = Azure::Monitor::Mgmt::V2017_04_01::ActivityLogAlerts
|
19
18
|
DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
|
20
19
|
DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations
|
21
|
-
MetricDefinitions = Azure::Monitor::Mgmt::V2017_05_01_preview::MetricDefinitions
|
22
|
-
Metrics = Azure::Monitor::Mgmt::V2017_05_01_preview::Metrics
|
23
20
|
MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline
|
21
|
+
MetricNamespaces = Azure::Monitor::Mgmt::V2017_12_01_preview::MetricNamespaces
|
22
|
+
MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions
|
23
|
+
Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics
|
24
|
+
MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts
|
25
|
+
MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus
|
26
|
+
ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules
|
27
|
+
VMInsights = Azure::Monitor::Mgmt::V2018_11_27_preview::VMInsights
|
28
|
+
ActionGroups = Azure::Monitor::Mgmt::V2019_03_01::ActionGroups
|
24
29
|
|
25
30
|
module Models
|
26
31
|
RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
|
@@ -73,60 +78,102 @@ module Azure::Monitor::Profiles::Latest
|
|
73
78
|
LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource
|
74
79
|
ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator
|
75
80
|
TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator
|
76
|
-
EnableRequest = Azure::Monitor::Mgmt::V2017_04_01::Models::EnableRequest
|
77
|
-
EmailReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::EmailReceiver
|
78
|
-
ActionGroupPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupPatchBody
|
79
|
-
WebhookReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::WebhookReceiver
|
80
81
|
ActivityLogAlertLeafCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition
|
81
|
-
AzureAppPushReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::AzureAppPushReceiver
|
82
82
|
ActivityLogAlertAllOfCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition
|
83
|
-
AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::AutomationRunbookReceiver
|
84
|
-
Resource = Azure::Monitor::Mgmt::V2017_04_01::Models::Resource
|
85
83
|
ActivityLogAlertActionGroup = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup
|
86
|
-
ItsmReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::ItsmReceiver
|
87
84
|
ActivityLogAlertActionList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList
|
88
|
-
SmsReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver
|
89
85
|
ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody
|
90
|
-
ActionGroupList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList
|
91
86
|
ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList
|
92
|
-
ActionGroupResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource
|
93
87
|
ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource
|
94
|
-
ReceiverStatus = Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus
|
95
88
|
ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
96
|
-
MetricAvailability = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricAvailability
|
97
89
|
MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
98
|
-
MetricDefinition = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricDefinition
|
99
90
|
LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
100
|
-
Response = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::Response
|
101
|
-
MetricDefinitionCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricDefinitionCollection
|
102
91
|
DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
103
|
-
MetricValue = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricValue
|
104
92
|
DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
105
|
-
MetadataValue = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetadataValue
|
106
93
|
RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
107
|
-
TimeSeriesElement = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::TimeSeriesElement
|
108
|
-
Metric = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::Metric
|
109
94
|
DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
110
95
|
DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
|
111
96
|
CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
112
|
-
Unit = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::Unit
|
113
|
-
AggregationType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::AggregationType
|
114
97
|
Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline
|
115
98
|
BaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse
|
116
99
|
BaselineMetadataValue = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineMetadataValue
|
117
100
|
TimeSeriesInformation = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation
|
118
|
-
LocalizableString = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::LocalizableString
|
119
101
|
CalculateBaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse
|
120
|
-
ErrorResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse
|
121
102
|
Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity
|
122
|
-
|
103
|
+
MetricNamespaceCollection = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceCollection
|
104
|
+
MetricNamespaceName = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceName
|
105
|
+
MetricNamespace = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespace
|
106
|
+
MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
107
|
+
LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
108
|
+
MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
109
|
+
MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
110
|
+
TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
111
|
+
Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
112
|
+
MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
113
|
+
Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
114
|
+
MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
115
|
+
Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
116
|
+
AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
117
|
+
ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
118
|
+
MetricAlertCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
|
119
|
+
MetricAlertResourcePatch = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
|
120
|
+
MetricAlertStatusProperties = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
|
121
|
+
MetricAlertStatusCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
|
122
|
+
MetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
|
123
|
+
MetricAlertAction = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
|
124
|
+
MetricAlertResourceCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
|
125
|
+
MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
|
126
|
+
MetricAlertStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
|
127
|
+
MetricAlertResource = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
|
128
|
+
MetricAlertSingleResourceMultipleMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
|
129
|
+
LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
|
130
|
+
LogMetricTrigger = Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
|
131
|
+
Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
|
132
|
+
TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition
|
133
|
+
Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action
|
134
|
+
Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source
|
135
|
+
AzNsActionGroup = Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup
|
136
|
+
LogSearchRuleResourcePatch = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
|
137
|
+
LogSearchRuleResource = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
|
138
|
+
AlertingAction = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction
|
139
|
+
Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled
|
140
|
+
ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState
|
141
|
+
QueryType = Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType
|
142
|
+
ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator
|
143
|
+
MetricTriggerType = Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType
|
144
|
+
AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity
|
145
|
+
WorkspaceInfo = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::WorkspaceInfo
|
146
|
+
ProxyResource = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ProxyResource
|
147
|
+
DataContainer = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataContainer
|
148
|
+
ResponseWithError = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ResponseWithError
|
149
|
+
Error = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::Error
|
150
|
+
VMInsightsOnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus
|
151
|
+
OnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::OnboardingStatus
|
152
|
+
DataStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
|
153
|
+
LogicAppReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
|
154
|
+
Resource = Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
|
155
|
+
AzureFunctionReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
|
156
|
+
SmsReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
|
157
|
+
ArmRoleReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
|
158
|
+
ItsmReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
|
159
|
+
AzureAppPushReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
|
160
|
+
VoiceReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
|
161
|
+
ActionGroupList = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
|
162
|
+
WebhookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver
|
163
|
+
EnableRequest = Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
|
164
|
+
EmailReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
|
165
|
+
ErrorResponse = Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
|
166
|
+
AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
|
167
|
+
ActionGroupPatchBody = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
|
168
|
+
ActionGroupResource = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
|
169
|
+
ReceiverStatus = Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
|
123
170
|
end
|
124
171
|
|
125
172
|
#
|
126
173
|
# MonitorManagementClass
|
127
174
|
#
|
128
175
|
class MonitorManagementClass
|
129
|
-
attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :
|
176
|
+
attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_namespaces, :metric_definitions, :metrics, :metric_alerts, :metric_alerts_status, :scheduled_query_rules, :vminsights, :action_groups, :configurable, :base_url, :options, :model_classes
|
130
177
|
|
131
178
|
def initialize(options = {})
|
132
179
|
if options.is_a?(Hash) && options.length == 0
|
@@ -166,7 +213,6 @@ module Azure::Monitor::Profiles::Latest
|
|
166
213
|
@client_2.subscription_id = configurable.subscription_id
|
167
214
|
end
|
168
215
|
add_telemetry(@client_2)
|
169
|
-
@action_groups = @client_2.action_groups
|
170
216
|
@activity_log_alerts = @client_2.activity_log_alerts
|
171
217
|
|
172
218
|
@client_3 = Azure::Monitor::Mgmt::V2017_05_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
@@ -176,8 +222,6 @@ module Azure::Monitor::Profiles::Latest
|
|
176
222
|
add_telemetry(@client_3)
|
177
223
|
@diagnostic_settings_operations = @client_3.diagnostic_settings_operations
|
178
224
|
@diagnostic_settings_category_operations = @client_3.diagnostic_settings_category_operations
|
179
|
-
@metric_definitions = @client_3.metric_definitions
|
180
|
-
@metrics = @client_3.metrics
|
181
225
|
|
182
226
|
@client_4 = Azure::Monitor::Mgmt::V2017_11_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
183
227
|
if(@client_4.respond_to?(:subscription_id))
|
@@ -186,6 +230,50 @@ module Azure::Monitor::Profiles::Latest
|
|
186
230
|
add_telemetry(@client_4)
|
187
231
|
@metric_baseline = @client_4.metric_baseline
|
188
232
|
|
233
|
+
@client_5 = Azure::Monitor::Mgmt::V2017_12_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
234
|
+
if(@client_5.respond_to?(:subscription_id))
|
235
|
+
@client_5.subscription_id = configurable.subscription_id
|
236
|
+
end
|
237
|
+
add_telemetry(@client_5)
|
238
|
+
@metric_namespaces = @client_5.metric_namespaces
|
239
|
+
|
240
|
+
@client_6 = Azure::Monitor::Mgmt::V2018_01_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
241
|
+
if(@client_6.respond_to?(:subscription_id))
|
242
|
+
@client_6.subscription_id = configurable.subscription_id
|
243
|
+
end
|
244
|
+
add_telemetry(@client_6)
|
245
|
+
@metric_definitions = @client_6.metric_definitions
|
246
|
+
@metrics = @client_6.metrics
|
247
|
+
|
248
|
+
@client_7 = Azure::Monitor::Mgmt::V2018_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
249
|
+
if(@client_7.respond_to?(:subscription_id))
|
250
|
+
@client_7.subscription_id = configurable.subscription_id
|
251
|
+
end
|
252
|
+
add_telemetry(@client_7)
|
253
|
+
@metric_alerts = @client_7.metric_alerts
|
254
|
+
@metric_alerts_status = @client_7.metric_alerts_status
|
255
|
+
|
256
|
+
@client_8 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options)
|
257
|
+
if(@client_8.respond_to?(:subscription_id))
|
258
|
+
@client_8.subscription_id = configurable.subscription_id
|
259
|
+
end
|
260
|
+
add_telemetry(@client_8)
|
261
|
+
@scheduled_query_rules = @client_8.scheduled_query_rules
|
262
|
+
|
263
|
+
@client_9 = Azure::Monitor::Mgmt::V2018_11_27_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
264
|
+
if(@client_9.respond_to?(:subscription_id))
|
265
|
+
@client_9.subscription_id = configurable.subscription_id
|
266
|
+
end
|
267
|
+
add_telemetry(@client_9)
|
268
|
+
@vminsights = @client_9.vminsights
|
269
|
+
|
270
|
+
@client_10 = Azure::Monitor::Mgmt::V2019_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
271
|
+
if(@client_10.respond_to?(:subscription_id))
|
272
|
+
@client_10.subscription_id = configurable.subscription_id
|
273
|
+
end
|
274
|
+
add_telemetry(@client_10)
|
275
|
+
@action_groups = @client_10.action_groups
|
276
|
+
|
189
277
|
@model_classes = ModelClasses.new
|
190
278
|
end
|
191
279
|
|
@@ -195,7 +283,19 @@ module Azure::Monitor::Profiles::Latest
|
|
195
283
|
end
|
196
284
|
|
197
285
|
def method_missing(method, *args)
|
198
|
-
if @
|
286
|
+
if @client_10.respond_to?method
|
287
|
+
@client_10.send(method, *args)
|
288
|
+
elsif @client_9.respond_to?method
|
289
|
+
@client_9.send(method, *args)
|
290
|
+
elsif @client_8.respond_to?method
|
291
|
+
@client_8.send(method, *args)
|
292
|
+
elsif @client_7.respond_to?method
|
293
|
+
@client_7.send(method, *args)
|
294
|
+
elsif @client_6.respond_to?method
|
295
|
+
@client_6.send(method, *args)
|
296
|
+
elsif @client_5.respond_to?method
|
297
|
+
@client_5.send(method, *args)
|
298
|
+
elsif @client_4.respond_to?method
|
199
299
|
@client_4.send(method, *args)
|
200
300
|
elsif @client_3.respond_to?method
|
201
301
|
@client_3.send(method, *args)
|
@@ -363,105 +463,45 @@ module Azure::Monitor::Profiles::Latest
|
|
363
463
|
def time_aggregation_operator
|
364
464
|
Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator
|
365
465
|
end
|
366
|
-
def enable_request
|
367
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::EnableRequest
|
368
|
-
end
|
369
|
-
def email_receiver
|
370
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::EmailReceiver
|
371
|
-
end
|
372
|
-
def action_group_patch_body
|
373
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupPatchBody
|
374
|
-
end
|
375
|
-
def webhook_receiver
|
376
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::WebhookReceiver
|
377
|
-
end
|
378
466
|
def activity_log_alert_leaf_condition
|
379
467
|
Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition
|
380
468
|
end
|
381
|
-
def azure_app_push_receiver
|
382
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::AzureAppPushReceiver
|
383
|
-
end
|
384
469
|
def activity_log_alert_all_of_condition
|
385
470
|
Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition
|
386
471
|
end
|
387
|
-
def automation_runbook_receiver
|
388
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::AutomationRunbookReceiver
|
389
|
-
end
|
390
|
-
def resource
|
391
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::Resource
|
392
|
-
end
|
393
472
|
def activity_log_alert_action_group
|
394
473
|
Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup
|
395
474
|
end
|
396
|
-
def itsm_receiver
|
397
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::ItsmReceiver
|
398
|
-
end
|
399
475
|
def activity_log_alert_action_list
|
400
476
|
Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList
|
401
477
|
end
|
402
|
-
def sms_receiver
|
403
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver
|
404
|
-
end
|
405
478
|
def activity_log_alert_patch_body
|
406
479
|
Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody
|
407
480
|
end
|
408
|
-
def action_group_list
|
409
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList
|
410
|
-
end
|
411
481
|
def activity_log_alert_list
|
412
482
|
Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList
|
413
483
|
end
|
414
|
-
def action_group_resource
|
415
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource
|
416
|
-
end
|
417
484
|
def activity_log_alert_resource
|
418
485
|
Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource
|
419
486
|
end
|
420
|
-
def receiver_status
|
421
|
-
Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus
|
422
|
-
end
|
423
487
|
def proxy_only_resource
|
424
488
|
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
425
489
|
end
|
426
|
-
def metric_availability
|
427
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricAvailability
|
428
|
-
end
|
429
490
|
def metric_settings
|
430
491
|
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
431
492
|
end
|
432
|
-
def metric_definition
|
433
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricDefinition
|
434
|
-
end
|
435
493
|
def log_settings
|
436
494
|
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
437
495
|
end
|
438
|
-
def response
|
439
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::Response
|
440
|
-
end
|
441
|
-
def metric_definition_collection
|
442
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricDefinitionCollection
|
443
|
-
end
|
444
496
|
def diagnostic_settings_category_resource_collection
|
445
497
|
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
446
498
|
end
|
447
|
-
def metric_value
|
448
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricValue
|
449
|
-
end
|
450
499
|
def diagnostic_settings_resource_collection
|
451
500
|
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
452
501
|
end
|
453
|
-
def metadata_value
|
454
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetadataValue
|
455
|
-
end
|
456
502
|
def retention_policy
|
457
503
|
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
458
504
|
end
|
459
|
-
def time_series_element
|
460
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::TimeSeriesElement
|
461
|
-
end
|
462
|
-
def metric
|
463
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::Metric
|
464
|
-
end
|
465
505
|
def diagnostic_settings_resource
|
466
506
|
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
467
507
|
end
|
@@ -471,12 +511,6 @@ module Azure::Monitor::Profiles::Latest
|
|
471
511
|
def category_type
|
472
512
|
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
473
513
|
end
|
474
|
-
def unit
|
475
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::Unit
|
476
|
-
end
|
477
|
-
def aggregation_type
|
478
|
-
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::AggregationType
|
479
|
-
end
|
480
514
|
def baseline
|
481
515
|
Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline
|
482
516
|
end
|
@@ -489,20 +523,212 @@ module Azure::Monitor::Profiles::Latest
|
|
489
523
|
def time_series_information
|
490
524
|
Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation
|
491
525
|
end
|
492
|
-
def localizable_string
|
493
|
-
Azure::Monitor::Mgmt::V2017_11_01_preview::Models::LocalizableString
|
494
|
-
end
|
495
526
|
def calculate_baseline_response
|
496
527
|
Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse
|
497
528
|
end
|
498
|
-
def error_response
|
499
|
-
Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse
|
500
|
-
end
|
501
529
|
def sensitivity
|
502
530
|
Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity
|
503
531
|
end
|
532
|
+
def metric_namespace_collection
|
533
|
+
Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceCollection
|
534
|
+
end
|
535
|
+
def metric_namespace_name
|
536
|
+
Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceName
|
537
|
+
end
|
538
|
+
def metric_namespace
|
539
|
+
Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespace
|
540
|
+
end
|
541
|
+
def metric_value
|
542
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
543
|
+
end
|
544
|
+
def localizable_string
|
545
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
546
|
+
end
|
547
|
+
def metadata_value
|
548
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
549
|
+
end
|
550
|
+
def metric_definition
|
551
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
552
|
+
end
|
553
|
+
def time_series_element
|
554
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
555
|
+
end
|
556
|
+
def metric
|
557
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
558
|
+
end
|
559
|
+
def metric_definition_collection
|
560
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
561
|
+
end
|
562
|
+
def response
|
563
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
564
|
+
end
|
565
|
+
def metric_availability
|
566
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
567
|
+
end
|
568
|
+
def unit
|
569
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
570
|
+
end
|
571
|
+
def aggregation_type
|
572
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
573
|
+
end
|
504
574
|
def result_type
|
505
|
-
Azure::Monitor::Mgmt::
|
575
|
+
Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
576
|
+
end
|
577
|
+
def metric_alert_criteria
|
578
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
|
579
|
+
end
|
580
|
+
def metric_alert_resource_patch
|
581
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
|
582
|
+
end
|
583
|
+
def metric_alert_status_properties
|
584
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
|
585
|
+
end
|
586
|
+
def metric_alert_status_collection
|
587
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
|
588
|
+
end
|
589
|
+
def metric_criteria
|
590
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
|
591
|
+
end
|
592
|
+
def metric_alert_action
|
593
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
|
594
|
+
end
|
595
|
+
def metric_alert_resource_collection
|
596
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
|
597
|
+
end
|
598
|
+
def metric_dimension
|
599
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
|
600
|
+
end
|
601
|
+
def metric_alert_status
|
602
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
|
603
|
+
end
|
604
|
+
def metric_alert_resource
|
605
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
|
606
|
+
end
|
607
|
+
def metric_alert_single_resource_multiple_metric_criteria
|
608
|
+
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
|
609
|
+
end
|
610
|
+
def log_search_rule_resource_collection
|
611
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
|
612
|
+
end
|
613
|
+
def log_metric_trigger
|
614
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
|
615
|
+
end
|
616
|
+
def schedule
|
617
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
|
618
|
+
end
|
619
|
+
def trigger_condition
|
620
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition
|
621
|
+
end
|
622
|
+
def action
|
623
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::Action
|
624
|
+
end
|
625
|
+
def source
|
626
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::Source
|
627
|
+
end
|
628
|
+
def az_ns_action_group
|
629
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup
|
630
|
+
end
|
631
|
+
def log_search_rule_resource_patch
|
632
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
|
633
|
+
end
|
634
|
+
def log_search_rule_resource
|
635
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
|
636
|
+
end
|
637
|
+
def alerting_action
|
638
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction
|
639
|
+
end
|
640
|
+
def enabled
|
641
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled
|
642
|
+
end
|
643
|
+
def provisioning_state
|
644
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState
|
645
|
+
end
|
646
|
+
def query_type
|
647
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType
|
648
|
+
end
|
649
|
+
def conditional_operator
|
650
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator
|
651
|
+
end
|
652
|
+
def metric_trigger_type
|
653
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType
|
654
|
+
end
|
655
|
+
def alert_severity
|
656
|
+
Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity
|
657
|
+
end
|
658
|
+
def workspace_info
|
659
|
+
Azure::Monitor::Mgmt::V2018_11_27_preview::Models::WorkspaceInfo
|
660
|
+
end
|
661
|
+
def proxy_resource
|
662
|
+
Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ProxyResource
|
663
|
+
end
|
664
|
+
def data_container
|
665
|
+
Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataContainer
|
666
|
+
end
|
667
|
+
def response_with_error
|
668
|
+
Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ResponseWithError
|
669
|
+
end
|
670
|
+
def error
|
671
|
+
Azure::Monitor::Mgmt::V2018_11_27_preview::Models::Error
|
672
|
+
end
|
673
|
+
def vminsights_onboarding_status
|
674
|
+
Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus
|
675
|
+
end
|
676
|
+
def onboarding_status
|
677
|
+
Azure::Monitor::Mgmt::V2018_11_27_preview::Models::OnboardingStatus
|
678
|
+
end
|
679
|
+
def data_status
|
680
|
+
Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
|
681
|
+
end
|
682
|
+
def logic_app_receiver
|
683
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
|
684
|
+
end
|
685
|
+
def resource
|
686
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
|
687
|
+
end
|
688
|
+
def azure_function_receiver
|
689
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
|
690
|
+
end
|
691
|
+
def sms_receiver
|
692
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
|
693
|
+
end
|
694
|
+
def arm_role_receiver
|
695
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
|
696
|
+
end
|
697
|
+
def itsm_receiver
|
698
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
|
699
|
+
end
|
700
|
+
def azure_app_push_receiver
|
701
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
|
702
|
+
end
|
703
|
+
def voice_receiver
|
704
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
|
705
|
+
end
|
706
|
+
def action_group_list
|
707
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
|
708
|
+
end
|
709
|
+
def webhook_receiver
|
710
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver
|
711
|
+
end
|
712
|
+
def enable_request
|
713
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
|
714
|
+
end
|
715
|
+
def email_receiver
|
716
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
|
717
|
+
end
|
718
|
+
def error_response
|
719
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
|
720
|
+
end
|
721
|
+
def automation_runbook_receiver
|
722
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
|
723
|
+
end
|
724
|
+
def action_group_patch_body
|
725
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
|
726
|
+
end
|
727
|
+
def action_group_resource
|
728
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
|
729
|
+
end
|
730
|
+
def receiver_status
|
731
|
+
Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
|
506
732
|
end
|
507
733
|
end
|
508
734
|
end
|