azure_sdk 0.22.5 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,12 +19,14 @@ module Azure::Profiles::Latest
19
19
  DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
20
20
  DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations
21
21
  MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline
22
+ MetricNamespaces = Azure::Monitor::Mgmt::V2017_12_01_preview::MetricNamespaces
22
23
  MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions
23
24
  Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics
24
25
  MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts
25
26
  MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus
26
- ActionGroups = Azure::Monitor::Mgmt::V2018_03_01::ActionGroups
27
27
  ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules
28
+ VMInsights = Azure::Monitor::Mgmt::V2018_11_27_preview::VMInsights
29
+ ActionGroups = Azure::Monitor::Mgmt::V2019_03_01::ActionGroups
28
30
 
29
31
  module Models
30
32
  RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
@@ -99,6 +101,9 @@ module Azure::Profiles::Latest
99
101
  TimeSeriesInformation = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation
100
102
  CalculateBaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse
101
103
  Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity
104
+ MetricNamespaceCollection = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceCollection
105
+ MetricNamespaceName = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceName
106
+ MetricNamespace = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespace
102
107
  MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
103
108
  LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
104
109
  MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
@@ -111,33 +116,18 @@ module Azure::Profiles::Latest
111
116
  Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
112
117
  AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
113
118
  ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
114
- EmailReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::EmailReceiver
115
- SmsReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::SmsReceiver
116
119
  MetricAlertCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
117
- WebhookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver
118
120
  MetricAlertResourcePatch = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
119
- ItsmReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver
120
121
  MetricAlertStatusProperties = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
121
- AzureAppPushReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver
122
122
  MetricAlertStatusCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
123
- AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver
124
123
  MetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
125
- VoiceReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::VoiceReceiver
126
- LogicAppReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::LogicAppReceiver
127
124
  MetricAlertAction = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
128
125
  MetricAlertResourceCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
129
- ActionGroupPatchBody = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody
130
126
  MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
131
- AzureFunctionReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AzureFunctionReceiver
132
127
  MetricAlertStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
133
- EnableRequest = Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest
134
- ActionGroupList = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList
135
128
  MetricAlertResource = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
136
129
  MetricAlertSingleResourceMultipleMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
137
- ActionGroupResource = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource
138
- ReceiverStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus
139
130
  LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
140
- Resource = Azure::Monitor::Mgmt::V2018_04_16::Models::Resource
141
131
  LogMetricTrigger = Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
142
132
  Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
143
133
  TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition
@@ -145,7 +135,6 @@ module Azure::Profiles::Latest
145
135
  Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source
146
136
  AzNsActionGroup = Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup
147
137
  LogSearchRuleResourcePatch = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
148
- ErrorResponse = Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse
149
138
  LogSearchRuleResource = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
150
139
  AlertingAction = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction
151
140
  Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled
@@ -154,10 +143,35 @@ module Azure::Profiles::Latest
154
143
  ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator
155
144
  MetricTriggerType = Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType
156
145
  AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity
146
+ WorkspaceInfo = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::WorkspaceInfo
147
+ ProxyResource = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ProxyResource
148
+ DataContainer = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataContainer
149
+ ResponseWithError = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ResponseWithError
150
+ Error = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::Error
151
+ VMInsightsOnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus
152
+ OnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::OnboardingStatus
153
+ DataStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
154
+ LogicAppReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
155
+ Resource = Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
156
+ AzureFunctionReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
157
+ SmsReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
158
+ ArmRoleReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
159
+ ItsmReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
160
+ AzureAppPushReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
161
+ VoiceReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
162
+ ActionGroupList = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
163
+ WebhookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver
164
+ EnableRequest = Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
165
+ EmailReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
166
+ ErrorResponse = Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
167
+ AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
168
+ ActionGroupPatchBody = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
169
+ ActionGroupResource = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
170
+ ReceiverStatus = Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
157
171
  end
158
172
 
159
173
  class MonitorManagementClass
160
- 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_definitions, :metrics, :metric_alerts, :metric_alerts_status, :action_groups, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes
174
+ 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
161
175
 
162
176
  def initialize(configurable, base_url=nil, options=nil)
163
177
  @configurable, @base_url, @options = configurable, base_url, options
@@ -204,29 +218,49 @@ module Azure::Profiles::Latest
204
218
  add_telemetry(@client_4)
205
219
  @metric_baseline = @client_4.metric_baseline
206
220
 
207
- @client_5 = Azure::Monitor::Mgmt::V2018_01_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
221
+ @client_5 = Azure::Monitor::Mgmt::V2017_12_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
208
222
  if(@client_5.respond_to?(:subscription_id))
209
223
  @client_5.subscription_id = configurable.subscription_id
210
224
  end
211
225
  add_telemetry(@client_5)
212
- @metric_definitions = @client_5.metric_definitions
213
- @metrics = @client_5.metrics
226
+ @metric_namespaces = @client_5.metric_namespaces
214
227
 
215
- @client_6 = Azure::Monitor::Mgmt::V2018_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
228
+ @client_6 = Azure::Monitor::Mgmt::V2018_01_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
216
229
  if(@client_6.respond_to?(:subscription_id))
217
230
  @client_6.subscription_id = configurable.subscription_id
218
231
  end
219
232
  add_telemetry(@client_6)
220
- @metric_alerts = @client_6.metric_alerts
221
- @metric_alerts_status = @client_6.metric_alerts_status
222
- @action_groups = @client_6.action_groups
233
+ @metric_definitions = @client_6.metric_definitions
234
+ @metrics = @client_6.metrics
223
235
 
224
- @client_7 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options)
236
+ @client_7 = Azure::Monitor::Mgmt::V2018_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
225
237
  if(@client_7.respond_to?(:subscription_id))
226
238
  @client_7.subscription_id = configurable.subscription_id
227
239
  end
228
240
  add_telemetry(@client_7)
229
- @scheduled_query_rules = @client_7.scheduled_query_rules
241
+ @metric_alerts = @client_7.metric_alerts
242
+ @metric_alerts_status = @client_7.metric_alerts_status
243
+
244
+ @client_8 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options)
245
+ if(@client_8.respond_to?(:subscription_id))
246
+ @client_8.subscription_id = configurable.subscription_id
247
+ end
248
+ add_telemetry(@client_8)
249
+ @scheduled_query_rules = @client_8.scheduled_query_rules
250
+
251
+ @client_9 = Azure::Monitor::Mgmt::V2018_11_27_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
252
+ if(@client_9.respond_to?(:subscription_id))
253
+ @client_9.subscription_id = configurable.subscription_id
254
+ end
255
+ add_telemetry(@client_9)
256
+ @vminsights = @client_9.vminsights
257
+
258
+ @client_10 = Azure::Monitor::Mgmt::V2019_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
259
+ if(@client_10.respond_to?(:subscription_id))
260
+ @client_10.subscription_id = configurable.subscription_id
261
+ end
262
+ add_telemetry(@client_10)
263
+ @action_groups = @client_10.action_groups
230
264
 
231
265
  @model_classes = ModelClasses.new
232
266
  end
@@ -237,7 +271,13 @@ module Azure::Profiles::Latest
237
271
  end
238
272
 
239
273
  def method_missing(method, *args)
240
- if @client_7.respond_to?method
274
+ if @client_10.respond_to?method
275
+ @client_10.send(method, *args)
276
+ elsif @client_9.respond_to?method
277
+ @client_9.send(method, *args)
278
+ elsif @client_8.respond_to?method
279
+ @client_8.send(method, *args)
280
+ elsif @client_7.respond_to?method
241
281
  @client_7.send(method, *args)
242
282
  elsif @client_6.respond_to?method
243
283
  @client_6.send(method, *args)
@@ -475,6 +515,15 @@ module Azure::Profiles::Latest
475
515
  def sensitivity
476
516
  Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity
477
517
  end
518
+ def metric_namespace_collection
519
+ Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceCollection
520
+ end
521
+ def metric_namespace_name
522
+ Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceName
523
+ end
524
+ def metric_namespace
525
+ Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespace
526
+ end
478
527
  def metric_value
479
528
  Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
480
529
  end
@@ -511,87 +560,42 @@ module Azure::Profiles::Latest
511
560
  def result_type
512
561
  Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
513
562
  end
514
- def email_receiver
515
- Azure::Monitor::Mgmt::V2018_03_01::Models::EmailReceiver
516
- end
517
- def sms_receiver
518
- Azure::Monitor::Mgmt::V2018_03_01::Models::SmsReceiver
519
- end
520
563
  def metric_alert_criteria
521
564
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
522
565
  end
523
- def webhook_receiver
524
- Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver
525
- end
526
566
  def metric_alert_resource_patch
527
567
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
528
568
  end
529
- def itsm_receiver
530
- Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver
531
- end
532
569
  def metric_alert_status_properties
533
570
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
534
571
  end
535
- def azure_app_push_receiver
536
- Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver
537
- end
538
572
  def metric_alert_status_collection
539
573
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
540
574
  end
541
- def automation_runbook_receiver
542
- Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver
543
- end
544
575
  def metric_criteria
545
576
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
546
577
  end
547
- def voice_receiver
548
- Azure::Monitor::Mgmt::V2018_03_01::Models::VoiceReceiver
549
- end
550
- def logic_app_receiver
551
- Azure::Monitor::Mgmt::V2018_03_01::Models::LogicAppReceiver
552
- end
553
578
  def metric_alert_action
554
579
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
555
580
  end
556
581
  def metric_alert_resource_collection
557
582
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
558
583
  end
559
- def action_group_patch_body
560
- Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody
561
- end
562
584
  def metric_dimension
563
585
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
564
586
  end
565
- def azure_function_receiver
566
- Azure::Monitor::Mgmt::V2018_03_01::Models::AzureFunctionReceiver
567
- end
568
587
  def metric_alert_status
569
588
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
570
589
  end
571
- def enable_request
572
- Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest
573
- end
574
- def action_group_list
575
- Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList
576
- end
577
590
  def metric_alert_resource
578
591
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
579
592
  end
580
593
  def metric_alert_single_resource_multiple_metric_criteria
581
594
  Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
582
595
  end
583
- def action_group_resource
584
- Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource
585
- end
586
- def receiver_status
587
- Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus
588
- end
589
596
  def log_search_rule_resource_collection
590
597
  Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
591
598
  end
592
- def resource
593
- Azure::Monitor::Mgmt::V2018_04_16::Models::Resource
594
- end
595
599
  def log_metric_trigger
596
600
  Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
597
601
  end
@@ -613,9 +617,6 @@ module Azure::Profiles::Latest
613
617
  def log_search_rule_resource_patch
614
618
  Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
615
619
  end
616
- def error_response
617
- Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse
618
- end
619
620
  def log_search_rule_resource
620
621
  Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
621
622
  end
@@ -640,6 +641,81 @@ module Azure::Profiles::Latest
640
641
  def alert_severity
641
642
  Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity
642
643
  end
644
+ def workspace_info
645
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::WorkspaceInfo
646
+ end
647
+ def proxy_resource
648
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ProxyResource
649
+ end
650
+ def data_container
651
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataContainer
652
+ end
653
+ def response_with_error
654
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ResponseWithError
655
+ end
656
+ def error
657
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::Error
658
+ end
659
+ def vminsights_onboarding_status
660
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus
661
+ end
662
+ def onboarding_status
663
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::OnboardingStatus
664
+ end
665
+ def data_status
666
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
667
+ end
668
+ def logic_app_receiver
669
+ Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
670
+ end
671
+ def resource
672
+ Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
673
+ end
674
+ def azure_function_receiver
675
+ Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
676
+ end
677
+ def sms_receiver
678
+ Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
679
+ end
680
+ def arm_role_receiver
681
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
682
+ end
683
+ def itsm_receiver
684
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
685
+ end
686
+ def azure_app_push_receiver
687
+ Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
688
+ end
689
+ def voice_receiver
690
+ Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
691
+ end
692
+ def action_group_list
693
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
694
+ end
695
+ def webhook_receiver
696
+ Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver
697
+ end
698
+ def enable_request
699
+ Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
700
+ end
701
+ def email_receiver
702
+ Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
703
+ end
704
+ def error_response
705
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
706
+ end
707
+ def automation_runbook_receiver
708
+ Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
709
+ end
710
+ def action_group_patch_body
711
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
712
+ end
713
+ def action_group_resource
714
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
715
+ end
716
+ def receiver_status
717
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
718
+ end
643
719
  end
644
720
  end
645
721
  end
@@ -8,24 +8,26 @@ module Azure::Profiles::Latest
8
8
  module TextAnalytics
9
9
 
10
10
  module Models
11
- DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::DetectedLanguage
12
- MultiLanguageInput = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MultiLanguageInput
13
- LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::LanguageBatchResultItem
14
- KeyPhraseBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::KeyPhraseBatchResultItem
15
- LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::LanguageBatchResult
16
- KeyPhraseBatchResult = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::KeyPhraseBatchResult
17
- SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::SentimentBatchResultItem
18
- ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::ErrorResponse
19
- SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::SentimentBatchResult
20
- BatchInput = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::BatchInput
21
- MatchRecordV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MatchRecordV2dot1
22
- ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::ErrorRecord
23
- EntityRecordV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntityRecordV2dot1
24
- Input = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::Input
25
- EntitiesBatchResultItemV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultItemV2dot1
26
- InternalError = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::InternalError
27
- EntitiesBatchResultV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultV2dot1
28
- MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MultiLanguageBatchInput
11
+ ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_1::Models::ErrorResponse
12
+ MultiLanguageInput = Azure::CognitiveServices::TextAnalytics::V2_1::Models::MultiLanguageInput
13
+ KeyPhraseBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_1::Models::KeyPhraseBatchResultItem
14
+ MatchRecord = Azure::CognitiveServices::TextAnalytics::V2_1::Models::MatchRecord
15
+ KeyPhraseBatchResult = Azure::CognitiveServices::TextAnalytics::V2_1::Models::KeyPhraseBatchResult
16
+ DocumentStatistics = Azure::CognitiveServices::TextAnalytics::V2_1::Models::DocumentStatistics
17
+ LanguageInput = Azure::CognitiveServices::TextAnalytics::V2_1::Models::LanguageInput
18
+ ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_1::Models::ErrorRecord
19
+ LanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_1::Models::LanguageBatchInput
20
+ EntitiesBatchResult = Azure::CognitiveServices::TextAnalytics::V2_1::Models::EntitiesBatchResult
21
+ DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_1::Models::DetectedLanguage
22
+ MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_1::Models::MultiLanguageBatchInput
23
+ LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_1::Models::LanguageBatchResultItem
24
+ EntitiesBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_1::Models::EntitiesBatchResultItem
25
+ LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_1::Models::LanguageBatchResult
26
+ InternalError = Azure::CognitiveServices::TextAnalytics::V2_1::Models::InternalError
27
+ SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_1::Models::SentimentBatchResultItem
28
+ RequestStatistics = Azure::CognitiveServices::TextAnalytics::V2_1::Models::RequestStatistics
29
+ SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_1::Models::SentimentBatchResult
30
+ EntityRecord = Azure::CognitiveServices::TextAnalytics::V2_1::Models::EntityRecord
29
31
  end
30
32
 
31
33
  class TextAnalyticsDataClass
@@ -34,7 +36,7 @@ module Azure::Profiles::Latest
34
36
  def initialize(configurable, base_url=nil, options=nil)
35
37
  @configurable, @base_url, @options = configurable, base_url, options
36
38
 
37
- @client_0 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::TextAnalyticsClient.new(configurable.credentials, options)
39
+ @client_0 = Azure::CognitiveServices::TextAnalytics::V2_1::TextAnalyticsClient.new(configurable.credentials, options)
38
40
  if(@client_0.respond_to?(:subscription_id))
39
41
  @client_0.subscription_id = configurable.subscription_id
40
42
  end
@@ -57,59 +59,65 @@ module Azure::Profiles::Latest
57
59
  end
58
60
 
59
61
  class ModelClasses
60
- def detected_language
61
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::DetectedLanguage
62
+ def error_response
63
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::ErrorResponse
62
64
  end
63
65
  def multi_language_input
64
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MultiLanguageInput
65
- end
66
- def language_batch_result_item
67
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::LanguageBatchResultItem
66
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::MultiLanguageInput
68
67
  end
69
68
  def key_phrase_batch_result_item
70
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::KeyPhraseBatchResultItem
69
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::KeyPhraseBatchResultItem
71
70
  end
72
- def language_batch_result
73
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::LanguageBatchResult
71
+ def match_record
72
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::MatchRecord
74
73
  end
75
74
  def key_phrase_batch_result
76
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::KeyPhraseBatchResult
75
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::KeyPhraseBatchResult
77
76
  end
78
- def sentiment_batch_result_item
79
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::SentimentBatchResultItem
77
+ def document_statistics
78
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::DocumentStatistics
80
79
  end
81
- def error_response
82
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::ErrorResponse
80
+ def language_input
81
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::LanguageInput
83
82
  end
84
- def sentiment_batch_result
85
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::SentimentBatchResult
83
+ def error_record
84
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::ErrorRecord
86
85
  end
87
- def batch_input
88
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::BatchInput
86
+ def language_batch_input
87
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::LanguageBatchInput
89
88
  end
90
- def match_record_v2dot1
91
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MatchRecordV2dot1
89
+ def entities_batch_result
90
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::EntitiesBatchResult
92
91
  end
93
- def error_record
94
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::ErrorRecord
92
+ def detected_language
93
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::DetectedLanguage
95
94
  end
96
- def entity_record_v2dot1
97
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntityRecordV2dot1
95
+ def multi_language_batch_input
96
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::MultiLanguageBatchInput
98
97
  end
99
- def input
100
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::Input
98
+ def language_batch_result_item
99
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::LanguageBatchResultItem
101
100
  end
102
- def entities_batch_result_item_v2dot1
103
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultItemV2dot1
101
+ def entities_batch_result_item
102
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::EntitiesBatchResultItem
103
+ end
104
+ def language_batch_result
105
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::LanguageBatchResult
104
106
  end
105
107
  def internal_error
106
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::InternalError
108
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::InternalError
107
109
  end
108
- def entities_batch_result_v2dot1
109
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultV2dot1
110
+ def sentiment_batch_result_item
111
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::SentimentBatchResultItem
110
112
  end
111
- def multi_language_batch_input
112
- Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MultiLanguageBatchInput
113
+ def request_statistics
114
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::RequestStatistics
115
+ end
116
+ def sentiment_batch_result
117
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::SentimentBatchResult
118
+ end
119
+ def entity_record
120
+ Azure::CognitiveServices::TextAnalytics::V2_1::Models::EntityRecord
113
121
  end
114
122
  end
115
123
  end