File: __init__.py

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (370 lines) | stat: -rw-r--r-- 16,628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

try:
    from .resource_py3 import Resource
    from .scale_capacity_py3 import ScaleCapacity
    from .metric_trigger_py3 import MetricTrigger
    from .scale_action_py3 import ScaleAction
    from .scale_rule_py3 import ScaleRule
    from .time_window_py3 import TimeWindow
    from .recurrent_schedule_py3 import RecurrentSchedule
    from .recurrence_py3 import Recurrence
    from .autoscale_profile_py3 import AutoscaleProfile
    from .email_notification_py3 import EmailNotification
    from .webhook_notification_py3 import WebhookNotification
    from .autoscale_notification_py3 import AutoscaleNotification
    from .autoscale_setting_resource_py3 import AutoscaleSettingResource
    from .autoscale_setting_resource_patch_py3 import AutoscaleSettingResourcePatch
    from .error_response_py3 import ErrorResponse, ErrorResponseException
    from .operation_display_py3 import OperationDisplay
    from .operation_py3 import Operation
    from .operation_list_result_py3 import OperationListResult
    from .incident_py3 import Incident
    from .rule_data_source_py3 import RuleDataSource
    from .rule_condition_py3 import RuleCondition
    from .rule_metric_data_source_py3 import RuleMetricDataSource
    from .rule_management_event_claims_data_source_py3 import RuleManagementEventClaimsDataSource
    from .rule_management_event_data_source_py3 import RuleManagementEventDataSource
    from .threshold_rule_condition_py3 import ThresholdRuleCondition
    from .location_threshold_rule_condition_py3 import LocationThresholdRuleCondition
    from .management_event_aggregation_condition_py3 import ManagementEventAggregationCondition
    from .management_event_rule_condition_py3 import ManagementEventRuleCondition
    from .rule_action_py3 import RuleAction
    from .rule_email_action_py3 import RuleEmailAction
    from .rule_webhook_action_py3 import RuleWebhookAction
    from .alert_rule_resource_py3 import AlertRuleResource
    from .alert_rule_resource_patch_py3 import AlertRuleResourcePatch
    from .retention_policy_py3 import RetentionPolicy
    from .log_profile_resource_py3 import LogProfileResource
    from .log_profile_resource_patch_py3 import LogProfileResourcePatch
    from .proxy_only_resource_py3 import ProxyOnlyResource
    from .metric_settings_py3 import MetricSettings
    from .log_settings_py3 import LogSettings
    from .diagnostic_settings_resource_py3 import DiagnosticSettingsResource
    from .diagnostic_settings_resource_collection_py3 import DiagnosticSettingsResourceCollection
    from .diagnostic_settings_category_resource_py3 import DiagnosticSettingsCategoryResource
    from .diagnostic_settings_category_resource_collection_py3 import DiagnosticSettingsCategoryResourceCollection
    from .email_receiver_py3 import EmailReceiver
    from .sms_receiver_py3 import SmsReceiver
    from .webhook_receiver_py3 import WebhookReceiver
    from .itsm_receiver_py3 import ItsmReceiver
    from .azure_app_push_receiver_py3 import AzureAppPushReceiver
    from .automation_runbook_receiver_py3 import AutomationRunbookReceiver
    from .voice_receiver_py3 import VoiceReceiver
    from .logic_app_receiver_py3 import LogicAppReceiver
    from .azure_function_receiver_py3 import AzureFunctionReceiver
    from .action_group_resource_py3 import ActionGroupResource
    from .enable_request_py3 import EnableRequest
    from .action_group_patch_body_py3 import ActionGroupPatchBody
    from .activity_log_alert_leaf_condition_py3 import ActivityLogAlertLeafCondition
    from .activity_log_alert_all_of_condition_py3 import ActivityLogAlertAllOfCondition
    from .activity_log_alert_action_group_py3 import ActivityLogAlertActionGroup
    from .activity_log_alert_action_list_py3 import ActivityLogAlertActionList
    from .activity_log_alert_resource_py3 import ActivityLogAlertResource
    from .activity_log_alert_patch_body_py3 import ActivityLogAlertPatchBody
    from .localizable_string_py3 import LocalizableString
    from .sender_authorization_py3 import SenderAuthorization
    from .http_request_info_py3 import HttpRequestInfo
    from .event_data_py3 import EventData
    from .metric_availability_py3 import MetricAvailability
    from .metric_definition_py3 import MetricDefinition
    from .metric_value_py3 import MetricValue
    from .metadata_value_py3 import MetadataValue
    from .time_series_element_py3 import TimeSeriesElement
    from .metric_py3 import Metric
    from .response_py3 import Response
    from .baseline_metadata_value_py3 import BaselineMetadataValue
    from .baseline_py3 import Baseline
    from .baseline_response_py3 import BaselineResponse
    from .time_series_information_py3 import TimeSeriesInformation
    from .calculate_baseline_response_py3 import CalculateBaselineResponse
    from .metric_alert_action_py3 import MetricAlertAction
    from .metric_alert_criteria_py3 import MetricAlertCriteria
    from .metric_alert_resource_py3 import MetricAlertResource
    from .metric_alert_resource_patch_py3 import MetricAlertResourcePatch
    from .metric_alert_status_properties_py3 import MetricAlertStatusProperties
    from .metric_alert_status_py3 import MetricAlertStatus
    from .metric_alert_status_collection_py3 import MetricAlertStatusCollection
    from .metric_dimension_py3 import MetricDimension
    from .metric_criteria_py3 import MetricCriteria
    from .metric_alert_single_resource_multiple_metric_criteria_py3 import MetricAlertSingleResourceMultipleMetricCriteria
    from .source_py3 import Source
    from .schedule_py3 import Schedule
    from .action_py3 import Action
    from .log_search_rule_resource_py3 import LogSearchRuleResource
    from .log_search_rule_resource_patch_py3 import LogSearchRuleResourcePatch
    from .log_metric_trigger_py3 import LogMetricTrigger
    from .trigger_condition_py3 import TriggerCondition
    from .az_ns_action_group_py3 import AzNsActionGroup
    from .alerting_action_py3 import AlertingAction
except (SyntaxError, ImportError):
    from .resource import Resource
    from .scale_capacity import ScaleCapacity
    from .metric_trigger import MetricTrigger
    from .scale_action import ScaleAction
    from .scale_rule import ScaleRule
    from .time_window import TimeWindow
    from .recurrent_schedule import RecurrentSchedule
    from .recurrence import Recurrence
    from .autoscale_profile import AutoscaleProfile
    from .email_notification import EmailNotification
    from .webhook_notification import WebhookNotification
    from .autoscale_notification import AutoscaleNotification
    from .autoscale_setting_resource import AutoscaleSettingResource
    from .autoscale_setting_resource_patch import AutoscaleSettingResourcePatch
    from .error_response import ErrorResponse, ErrorResponseException
    from .operation_display import OperationDisplay
    from .operation import Operation
    from .operation_list_result import OperationListResult
    from .incident import Incident
    from .rule_data_source import RuleDataSource
    from .rule_condition import RuleCondition
    from .rule_metric_data_source import RuleMetricDataSource
    from .rule_management_event_claims_data_source import RuleManagementEventClaimsDataSource
    from .rule_management_event_data_source import RuleManagementEventDataSource
    from .threshold_rule_condition import ThresholdRuleCondition
    from .location_threshold_rule_condition import LocationThresholdRuleCondition
    from .management_event_aggregation_condition import ManagementEventAggregationCondition
    from .management_event_rule_condition import ManagementEventRuleCondition
    from .rule_action import RuleAction
    from .rule_email_action import RuleEmailAction
    from .rule_webhook_action import RuleWebhookAction
    from .alert_rule_resource import AlertRuleResource
    from .alert_rule_resource_patch import AlertRuleResourcePatch
    from .retention_policy import RetentionPolicy
    from .log_profile_resource import LogProfileResource
    from .log_profile_resource_patch import LogProfileResourcePatch
    from .proxy_only_resource import ProxyOnlyResource
    from .metric_settings import MetricSettings
    from .log_settings import LogSettings
    from .diagnostic_settings_resource import DiagnosticSettingsResource
    from .diagnostic_settings_resource_collection import DiagnosticSettingsResourceCollection
    from .diagnostic_settings_category_resource import DiagnosticSettingsCategoryResource
    from .diagnostic_settings_category_resource_collection import DiagnosticSettingsCategoryResourceCollection
    from .email_receiver import EmailReceiver
    from .sms_receiver import SmsReceiver
    from .webhook_receiver import WebhookReceiver
    from .itsm_receiver import ItsmReceiver
    from .azure_app_push_receiver import AzureAppPushReceiver
    from .automation_runbook_receiver import AutomationRunbookReceiver
    from .voice_receiver import VoiceReceiver
    from .logic_app_receiver import LogicAppReceiver
    from .azure_function_receiver import AzureFunctionReceiver
    from .action_group_resource import ActionGroupResource
    from .enable_request import EnableRequest
    from .action_group_patch_body import ActionGroupPatchBody
    from .activity_log_alert_leaf_condition import ActivityLogAlertLeafCondition
    from .activity_log_alert_all_of_condition import ActivityLogAlertAllOfCondition
    from .activity_log_alert_action_group import ActivityLogAlertActionGroup
    from .activity_log_alert_action_list import ActivityLogAlertActionList
    from .activity_log_alert_resource import ActivityLogAlertResource
    from .activity_log_alert_patch_body import ActivityLogAlertPatchBody
    from .localizable_string import LocalizableString
    from .sender_authorization import SenderAuthorization
    from .http_request_info import HttpRequestInfo
    from .event_data import EventData
    from .metric_availability import MetricAvailability
    from .metric_definition import MetricDefinition
    from .metric_value import MetricValue
    from .metadata_value import MetadataValue
    from .time_series_element import TimeSeriesElement
    from .metric import Metric
    from .response import Response
    from .baseline_metadata_value import BaselineMetadataValue
    from .baseline import Baseline
    from .baseline_response import BaselineResponse
    from .time_series_information import TimeSeriesInformation
    from .calculate_baseline_response import CalculateBaselineResponse
    from .metric_alert_action import MetricAlertAction
    from .metric_alert_criteria import MetricAlertCriteria
    from .metric_alert_resource import MetricAlertResource
    from .metric_alert_resource_patch import MetricAlertResourcePatch
    from .metric_alert_status_properties import MetricAlertStatusProperties
    from .metric_alert_status import MetricAlertStatus
    from .metric_alert_status_collection import MetricAlertStatusCollection
    from .metric_dimension import MetricDimension
    from .metric_criteria import MetricCriteria
    from .metric_alert_single_resource_multiple_metric_criteria import MetricAlertSingleResourceMultipleMetricCriteria
    from .source import Source
    from .schedule import Schedule
    from .action import Action
    from .log_search_rule_resource import LogSearchRuleResource
    from .log_search_rule_resource_patch import LogSearchRuleResourcePatch
    from .log_metric_trigger import LogMetricTrigger
    from .trigger_condition import TriggerCondition
    from .az_ns_action_group import AzNsActionGroup
    from .alerting_action import AlertingAction
from .autoscale_setting_resource_paged import AutoscaleSettingResourcePaged
from .incident_paged import IncidentPaged
from .alert_rule_resource_paged import AlertRuleResourcePaged
from .log_profile_resource_paged import LogProfileResourcePaged
from .action_group_resource_paged import ActionGroupResourcePaged
from .activity_log_alert_resource_paged import ActivityLogAlertResourcePaged
from .event_data_paged import EventDataPaged
from .localizable_string_paged import LocalizableStringPaged
from .metric_definition_paged import MetricDefinitionPaged
from .metric_alert_resource_paged import MetricAlertResourcePaged
from .log_search_rule_resource_paged import LogSearchRuleResourcePaged
from .monitor_management_client_enums import (
    MetricStatisticType,
    TimeAggregationType,
    ComparisonOperationType,
    ScaleDirection,
    ScaleType,
    RecurrenceFrequency,
    ConditionOperator,
    TimeAggregationOperator,
    CategoryType,
    ReceiverStatus,
    EventLevel,
    Unit,
    AggregationType,
    Sensitivity,
    Enabled,
    ProvisioningState,
    QueryType,
    ConditionalOperator,
    MetricTriggerType,
    AlertSeverity,
    ResultType,
)

__all__ = [
    'Resource',
    'ScaleCapacity',
    'MetricTrigger',
    'ScaleAction',
    'ScaleRule',
    'TimeWindow',
    'RecurrentSchedule',
    'Recurrence',
    'AutoscaleProfile',
    'EmailNotification',
    'WebhookNotification',
    'AutoscaleNotification',
    'AutoscaleSettingResource',
    'AutoscaleSettingResourcePatch',
    'ErrorResponse', 'ErrorResponseException',
    'OperationDisplay',
    'Operation',
    'OperationListResult',
    'Incident',
    'RuleDataSource',
    'RuleCondition',
    'RuleMetricDataSource',
    'RuleManagementEventClaimsDataSource',
    'RuleManagementEventDataSource',
    'ThresholdRuleCondition',
    'LocationThresholdRuleCondition',
    'ManagementEventAggregationCondition',
    'ManagementEventRuleCondition',
    'RuleAction',
    'RuleEmailAction',
    'RuleWebhookAction',
    'AlertRuleResource',
    'AlertRuleResourcePatch',
    'RetentionPolicy',
    'LogProfileResource',
    'LogProfileResourcePatch',
    'ProxyOnlyResource',
    'MetricSettings',
    'LogSettings',
    'DiagnosticSettingsResource',
    'DiagnosticSettingsResourceCollection',
    'DiagnosticSettingsCategoryResource',
    'DiagnosticSettingsCategoryResourceCollection',
    'EmailReceiver',
    'SmsReceiver',
    'WebhookReceiver',
    'ItsmReceiver',
    'AzureAppPushReceiver',
    'AutomationRunbookReceiver',
    'VoiceReceiver',
    'LogicAppReceiver',
    'AzureFunctionReceiver',
    'ActionGroupResource',
    'EnableRequest',
    'ActionGroupPatchBody',
    'ActivityLogAlertLeafCondition',
    'ActivityLogAlertAllOfCondition',
    'ActivityLogAlertActionGroup',
    'ActivityLogAlertActionList',
    'ActivityLogAlertResource',
    'ActivityLogAlertPatchBody',
    'LocalizableString',
    'SenderAuthorization',
    'HttpRequestInfo',
    'EventData',
    'MetricAvailability',
    'MetricDefinition',
    'MetricValue',
    'MetadataValue',
    'TimeSeriesElement',
    'Metric',
    'Response',
    'BaselineMetadataValue',
    'Baseline',
    'BaselineResponse',
    'TimeSeriesInformation',
    'CalculateBaselineResponse',
    'MetricAlertAction',
    'MetricAlertCriteria',
    'MetricAlertResource',
    'MetricAlertResourcePatch',
    'MetricAlertStatusProperties',
    'MetricAlertStatus',
    'MetricAlertStatusCollection',
    'MetricDimension',
    'MetricCriteria',
    'MetricAlertSingleResourceMultipleMetricCriteria',
    'Source',
    'Schedule',
    'Action',
    'LogSearchRuleResource',
    'LogSearchRuleResourcePatch',
    'LogMetricTrigger',
    'TriggerCondition',
    'AzNsActionGroup',
    'AlertingAction',
    'AutoscaleSettingResourcePaged',
    'IncidentPaged',
    'AlertRuleResourcePaged',
    'LogProfileResourcePaged',
    'ActionGroupResourcePaged',
    'ActivityLogAlertResourcePaged',
    'EventDataPaged',
    'LocalizableStringPaged',
    'MetricDefinitionPaged',
    'MetricAlertResourcePaged',
    'LogSearchRuleResourcePaged',
    'MetricStatisticType',
    'TimeAggregationType',
    'ComparisonOperationType',
    'ScaleDirection',
    'ScaleType',
    'RecurrenceFrequency',
    'ConditionOperator',
    'TimeAggregationOperator',
    'CategoryType',
    'ReceiverStatus',
    'EventLevel',
    'Unit',
    'AggregationType',
    'Sensitivity',
    'Enabled',
    'ProvisioningState',
    'QueryType',
    'ConditionalOperator',
    'MetricTriggerType',
    'AlertSeverity',
    'ResultType',
]