# 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.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from ._patch import *  # pylint: disable=unused-wildcard-import


from ._models_py3 import (  # type: ignore
    ActionDetail,
    ActionGroup,
    ActionGroupList,
    ActionGroupPatchBody,
    ActionGroupResource,
    ActionList,
    Actions,
    ActivityLogAlertResource,
    AdxDestination,
    AgentSetting,
    AgentSettingsSpec,
    AlertRuleAllOfCondition,
    AlertRuleAnyOfOrLeafCondition,
    AlertRuleLeafCondition,
    AlertRuleList,
    AlertRulePatchObject,
    ArmRoleReceiver,
    AutomationRunbookReceiver,
    AutoscaleErrorResponse,
    AutoscaleErrorResponseError,
    AutoscaleNotification,
    AutoscaleProfile,
    AutoscaleSettingResource,
    AutoscaleSettingResourceCollection,
    AutoscaleSettingResourcePatch,
    AzureAppPushReceiver,
    AzureFunctionReceiver,
    AzureMonitorMetricsDestination,
    AzureMonitorWorkspace,
    AzureMonitorWorkspaceDefaultIngestionSettings,
    AzureMonitorWorkspaceMetrics,
    AzureMonitorWorkspaceResource,
    AzureMonitorWorkspaceResourceForUpdate,
    AzureMonitorWorkspaceResourceListResult,
    AzureMonitorWorkspaceResourceProperties,
    AzureResource,
    AzureResourceAutoGenerated,
    BaselineMetadata,
    ColumnDefinition,
    Condition,
    ConditionFailingPeriods,
    ConfigurationAccessEndpointSpec,
    Context,
    DataCollectionEndpoint,
    DataCollectionEndpointConfigurationAccess,
    DataCollectionEndpointFailoverConfiguration,
    DataCollectionEndpointLogsIngestion,
    DataCollectionEndpointMetadata,
    DataCollectionEndpointMetricsIngestion,
    DataCollectionEndpointNetworkAcls,
    DataCollectionEndpointResource,
    DataCollectionEndpointResourceIdentity,
    DataCollectionEndpointResourceListResult,
    DataCollectionEndpointResourceProperties,
    DataCollectionEndpointResourceSystemData,
    DataCollectionRule,
    DataCollectionRuleAgentSettings,
    DataCollectionRuleAssociation,
    DataCollectionRuleAssociationMetadata,
    DataCollectionRuleAssociationProxyOnlyResource,
    DataCollectionRuleAssociationProxyOnlyResourceListResult,
    DataCollectionRuleAssociationProxyOnlyResourceProperties,
    DataCollectionRuleAssociationProxyOnlyResourceSystemData,
    DataCollectionRuleDataSources,
    DataCollectionRuleDestinations,
    DataCollectionRuleEndpoints,
    DataCollectionRuleMetadata,
    DataCollectionRuleReferences,
    DataCollectionRuleResource,
    DataCollectionRuleResourceIdentity,
    DataCollectionRuleResourceListResult,
    DataCollectionRuleResourceProperties,
    DataCollectionRuleResourceSystemData,
    DataFlow,
    DataImportSources,
    DataImportSourcesEventHub,
    DataSourcesSpec,
    DataSourcesSpecDataImports,
    DestinationsSpec,
    DestinationsSpecAzureMonitorMetrics,
    Dimension,
    DynamicMetricCriteria,
    DynamicThresholdFailingPeriods,
    EmailNotification,
    EmailReceiver,
    EnableRequest,
    EndpointsSpec,
    EnrichmentData,
    ErrorAdditionalInfo,
    ErrorContract,
    ErrorDetail,
    ErrorDetailAdditionalInfoItem,
    ErrorDetailAutoGenerated,
    ErrorDetailAutoGenerated2,
    ErrorResponse,
    ErrorResponseAutoGenerated,
    ErrorResponseAutoGenerated2,
    ErrorResponseAutoGenerated3,
    ErrorResponseAutoGenerated4,
    ErrorResponseAutoGenerated5,
    ErrorResponseCommonV2,
    ErrorResponseError,
    ErrorResponseErrorAdditionalInfoItem,
    EventCategoryCollection,
    EventData,
    EventDataCollection,
    EventHubDataSource,
    EventHubDestination,
    EventHubDirectDestination,
    EventHubReceiver,
    ExtensionDataSource,
    FailoverConfigurationSpec,
    HttpRequestInfo,
    Identity,
    IisLogsDataSource,
    Incident,
    IncidentListResult,
    IngestionSettings,
    ItsmReceiver,
    LocalizableString,
    LocalizableStringAutoGenerated,
    LocationSpec,
    LogAnalyticsDestination,
    LogFileSettings,
    LogFileSettingsText,
    LogFileTextSettings,
    LogFilesDataSource,
    LogFilesDataSourceSettings,
    LogProfileCollection,
    LogProfileResource,
    LogProfileResourcePatch,
    LogicAppReceiver,
    LogsIngestionEndpointSpec,
    ManagedServiceIdentity,
    Metadata,
    MetadataValue,
    Metric,
    MetricAlertAction,
    MetricAlertCriteria,
    MetricAlertMultipleResourceMultipleMetricCriteria,
    MetricAlertResource,
    MetricAlertResourceCollection,
    MetricAlertResourcePatch,
    MetricAlertSingleResourceMultipleMetricCriteria,
    MetricAlertStatus,
    MetricAlertStatusCollection,
    MetricAlertStatusProperties,
    MetricAvailability,
    MetricBaselinesResponse,
    MetricCriteria,
    MetricDefinition,
    MetricDefinitionCollection,
    MetricDimension,
    MetricNamespace,
    MetricNamespaceCollection,
    MetricNamespaceName,
    MetricSingleDimension,
    MetricTrigger,
    MetricValue,
    Metrics,
    MetricsIngestionEndpointSpec,
    MicrosoftFabricDestination,
    MonitoringAccountDestination,
    MultiMetricCriteria,
    NetworkRuleSet,
    NotificationRequestBody,
    Operation,
    OperationAutoGenerated,
    OperationDisplay,
    OperationDisplayAutoGenerated,
    OperationListResult,
    OperationListResultAutoGenerated,
    PerfCounterDataSource,
    PlatformTelemetryDataSource,
    PredictiveAutoscalePolicy,
    PredictiveResponse,
    PredictiveValue,
    PrivateEndpoint,
    PrivateEndpointConnection,
    PrivateLinkScopedResource,
    PrivateLinkServiceConnectionState,
    PrometheusForwarderDataSource,
    Recurrence,
    RecurrentSchedule,
    ReferencesSpec,
    ReferencesSpecEnrichmentData,
    Resource,
    ResourceAutoGenerated,
    ResourceAutoGenerated2,
    ResourceAutoGenerated3,
    ResourceAutoGenerated4,
    ResourceForUpdate,
    ResourceForUpdateIdentity,
    Response,
    RetentionPolicy,
    RuleResolveConfiguration,
    ScaleAction,
    ScaleCapacity,
    ScaleRule,
    ScaleRuleMetricDimension,
    ScheduledQueryRuleCriteria,
    ScheduledQueryRuleResource,
    ScheduledQueryRuleResourceCollection,
    ScheduledQueryRuleResourcePatch,
    SenderAuthorization,
    SingleBaseline,
    SingleMetricBaseline,
    SmsReceiver,
    StorageBlob,
    StorageBlobDestination,
    StorageTableDestination,
    StreamDeclaration,
    SubscriptionScopeMetricDefinition,
    SubscriptionScopeMetricDefinitionCollection,
    SubscriptionScopeMetricsRequestBodyParameters,
    SyslogDataSource,
    SystemData,
    TestNotificationDetailsResponse,
    TimeSeriesBaseline,
    TimeSeriesElement,
    TimeWindow,
    TrackedResource,
    UserAssignedIdentity,
    UserIdentityProperties,
    VoiceReceiver,
    WebhookNotification,
    WebhookReceiver,
    WebtestLocationAvailabilityCriteria,
    WindowsEventLogDataSource,
    WindowsFirewallLogsDataSource,
)

from ._monitor_management_client_enums import (  # type: ignore
    ActionType,
    AggregationType,
    AggregationTypeEnum,
    AlertSeverity,
    BaselineSensitivity,
    ComparisonOperationType,
    ConditionOperator,
    CreatedByType,
    CriterionType,
    DimensionOperator,
    DynamicThresholdOperator,
    DynamicThresholdSensitivity,
    EventLevel,
    IdentityType,
    Kind,
    KnownAgentSettingName,
    KnownColumnDefinitionType,
    KnownDataCollectionEndpointProvisioningState,
    KnownDataCollectionEndpointResourceKind,
    KnownDataCollectionRuleAssociationProvisioningState,
    KnownDataCollectionRuleProvisioningState,
    KnownDataCollectionRuleResourceKind,
    KnownDataFlowStreams,
    KnownExtensionDataSourceStreams,
    KnownLocationSpecProvisioningStatus,
    KnownLogFileTextSettingsRecordStartTimestampFormat,
    KnownLogFilesDataSourceFormat,
    KnownPerfCounterDataSourceStreams,
    KnownPrometheusForwarderDataSourceStreams,
    KnownPublicNetworkAccessOptions,
    KnownStorageBlobLookupType,
    KnownSyslogDataSourceFacilityNames,
    KnownSyslogDataSourceLogLevels,
    KnownSyslogDataSourceStreams,
    KnownWindowsEventLogDataSourceStreams,
    KnownWindowsFirewallLogsDataSourceProfileFilter,
    ManagedServiceIdentityType,
    MetricAggregationType,
    MetricClass,
    MetricResultType,
    MetricStatisticType,
    MetricUnit,
    NamespaceClassification,
    Odatatype,
    Operator,
    Origin,
    PredictiveAutoscalePolicyScaleMode,
    PrivateEndpointConnectionProvisioningState,
    PrivateEndpointServiceConnectionStatus,
    ProvisioningState,
    PublicNetworkAccess,
    ReceiverStatus,
    RecurrenceFrequency,
    ResultType,
    ScaleDirection,
    ScaleRuleMetricDimensionOperationType,
    ScaleType,
    TimeAggregation,
    TimeAggregationType,
)
from ._patch import __all__ as _patch_all
from ._patch import *
from ._patch import patch_sdk as _patch_sdk

__all__ = [
    "ActionDetail",
    "ActionGroup",
    "ActionGroupList",
    "ActionGroupPatchBody",
    "ActionGroupResource",
    "ActionList",
    "Actions",
    "ActivityLogAlertResource",
    "AdxDestination",
    "AgentSetting",
    "AgentSettingsSpec",
    "AlertRuleAllOfCondition",
    "AlertRuleAnyOfOrLeafCondition",
    "AlertRuleLeafCondition",
    "AlertRuleList",
    "AlertRulePatchObject",
    "ArmRoleReceiver",
    "AutomationRunbookReceiver",
    "AutoscaleErrorResponse",
    "AutoscaleErrorResponseError",
    "AutoscaleNotification",
    "AutoscaleProfile",
    "AutoscaleSettingResource",
    "AutoscaleSettingResourceCollection",
    "AutoscaleSettingResourcePatch",
    "AzureAppPushReceiver",
    "AzureFunctionReceiver",
    "AzureMonitorMetricsDestination",
    "AzureMonitorWorkspace",
    "AzureMonitorWorkspaceDefaultIngestionSettings",
    "AzureMonitorWorkspaceMetrics",
    "AzureMonitorWorkspaceResource",
    "AzureMonitorWorkspaceResourceForUpdate",
    "AzureMonitorWorkspaceResourceListResult",
    "AzureMonitorWorkspaceResourceProperties",
    "AzureResource",
    "AzureResourceAutoGenerated",
    "BaselineMetadata",
    "ColumnDefinition",
    "Condition",
    "ConditionFailingPeriods",
    "ConfigurationAccessEndpointSpec",
    "Context",
    "DataCollectionEndpoint",
    "DataCollectionEndpointConfigurationAccess",
    "DataCollectionEndpointFailoverConfiguration",
    "DataCollectionEndpointLogsIngestion",
    "DataCollectionEndpointMetadata",
    "DataCollectionEndpointMetricsIngestion",
    "DataCollectionEndpointNetworkAcls",
    "DataCollectionEndpointResource",
    "DataCollectionEndpointResourceIdentity",
    "DataCollectionEndpointResourceListResult",
    "DataCollectionEndpointResourceProperties",
    "DataCollectionEndpointResourceSystemData",
    "DataCollectionRule",
    "DataCollectionRuleAgentSettings",
    "DataCollectionRuleAssociation",
    "DataCollectionRuleAssociationMetadata",
    "DataCollectionRuleAssociationProxyOnlyResource",
    "DataCollectionRuleAssociationProxyOnlyResourceListResult",
    "DataCollectionRuleAssociationProxyOnlyResourceProperties",
    "DataCollectionRuleAssociationProxyOnlyResourceSystemData",
    "DataCollectionRuleDataSources",
    "DataCollectionRuleDestinations",
    "DataCollectionRuleEndpoints",
    "DataCollectionRuleMetadata",
    "DataCollectionRuleReferences",
    "DataCollectionRuleResource",
    "DataCollectionRuleResourceIdentity",
    "DataCollectionRuleResourceListResult",
    "DataCollectionRuleResourceProperties",
    "DataCollectionRuleResourceSystemData",
    "DataFlow",
    "DataImportSources",
    "DataImportSourcesEventHub",
    "DataSourcesSpec",
    "DataSourcesSpecDataImports",
    "DestinationsSpec",
    "DestinationsSpecAzureMonitorMetrics",
    "Dimension",
    "DynamicMetricCriteria",
    "DynamicThresholdFailingPeriods",
    "EmailNotification",
    "EmailReceiver",
    "EnableRequest",
    "EndpointsSpec",
    "EnrichmentData",
    "ErrorAdditionalInfo",
    "ErrorContract",
    "ErrorDetail",
    "ErrorDetailAdditionalInfoItem",
    "ErrorDetailAutoGenerated",
    "ErrorDetailAutoGenerated2",
    "ErrorResponse",
    "ErrorResponseAutoGenerated",
    "ErrorResponseAutoGenerated2",
    "ErrorResponseAutoGenerated3",
    "ErrorResponseAutoGenerated4",
    "ErrorResponseAutoGenerated5",
    "ErrorResponseCommonV2",
    "ErrorResponseError",
    "ErrorResponseErrorAdditionalInfoItem",
    "EventCategoryCollection",
    "EventData",
    "EventDataCollection",
    "EventHubDataSource",
    "EventHubDestination",
    "EventHubDirectDestination",
    "EventHubReceiver",
    "ExtensionDataSource",
    "FailoverConfigurationSpec",
    "HttpRequestInfo",
    "Identity",
    "IisLogsDataSource",
    "Incident",
    "IncidentListResult",
    "IngestionSettings",
    "ItsmReceiver",
    "LocalizableString",
    "LocalizableStringAutoGenerated",
    "LocationSpec",
    "LogAnalyticsDestination",
    "LogFileSettings",
    "LogFileSettingsText",
    "LogFileTextSettings",
    "LogFilesDataSource",
    "LogFilesDataSourceSettings",
    "LogProfileCollection",
    "LogProfileResource",
    "LogProfileResourcePatch",
    "LogicAppReceiver",
    "LogsIngestionEndpointSpec",
    "ManagedServiceIdentity",
    "Metadata",
    "MetadataValue",
    "Metric",
    "MetricAlertAction",
    "MetricAlertCriteria",
    "MetricAlertMultipleResourceMultipleMetricCriteria",
    "MetricAlertResource",
    "MetricAlertResourceCollection",
    "MetricAlertResourcePatch",
    "MetricAlertSingleResourceMultipleMetricCriteria",
    "MetricAlertStatus",
    "MetricAlertStatusCollection",
    "MetricAlertStatusProperties",
    "MetricAvailability",
    "MetricBaselinesResponse",
    "MetricCriteria",
    "MetricDefinition",
    "MetricDefinitionCollection",
    "MetricDimension",
    "MetricNamespace",
    "MetricNamespaceCollection",
    "MetricNamespaceName",
    "MetricSingleDimension",
    "MetricTrigger",
    "MetricValue",
    "Metrics",
    "MetricsIngestionEndpointSpec",
    "MicrosoftFabricDestination",
    "MonitoringAccountDestination",
    "MultiMetricCriteria",
    "NetworkRuleSet",
    "NotificationRequestBody",
    "Operation",
    "OperationAutoGenerated",
    "OperationDisplay",
    "OperationDisplayAutoGenerated",
    "OperationListResult",
    "OperationListResultAutoGenerated",
    "PerfCounterDataSource",
    "PlatformTelemetryDataSource",
    "PredictiveAutoscalePolicy",
    "PredictiveResponse",
    "PredictiveValue",
    "PrivateEndpoint",
    "PrivateEndpointConnection",
    "PrivateLinkScopedResource",
    "PrivateLinkServiceConnectionState",
    "PrometheusForwarderDataSource",
    "Recurrence",
    "RecurrentSchedule",
    "ReferencesSpec",
    "ReferencesSpecEnrichmentData",
    "Resource",
    "ResourceAutoGenerated",
    "ResourceAutoGenerated2",
    "ResourceAutoGenerated3",
    "ResourceAutoGenerated4",
    "ResourceForUpdate",
    "ResourceForUpdateIdentity",
    "Response",
    "RetentionPolicy",
    "RuleResolveConfiguration",
    "ScaleAction",
    "ScaleCapacity",
    "ScaleRule",
    "ScaleRuleMetricDimension",
    "ScheduledQueryRuleCriteria",
    "ScheduledQueryRuleResource",
    "ScheduledQueryRuleResourceCollection",
    "ScheduledQueryRuleResourcePatch",
    "SenderAuthorization",
    "SingleBaseline",
    "SingleMetricBaseline",
    "SmsReceiver",
    "StorageBlob",
    "StorageBlobDestination",
    "StorageTableDestination",
    "StreamDeclaration",
    "SubscriptionScopeMetricDefinition",
    "SubscriptionScopeMetricDefinitionCollection",
    "SubscriptionScopeMetricsRequestBodyParameters",
    "SyslogDataSource",
    "SystemData",
    "TestNotificationDetailsResponse",
    "TimeSeriesBaseline",
    "TimeSeriesElement",
    "TimeWindow",
    "TrackedResource",
    "UserAssignedIdentity",
    "UserIdentityProperties",
    "VoiceReceiver",
    "WebhookNotification",
    "WebhookReceiver",
    "WebtestLocationAvailabilityCriteria",
    "WindowsEventLogDataSource",
    "WindowsFirewallLogsDataSource",
    "ActionType",
    "AggregationType",
    "AggregationTypeEnum",
    "AlertSeverity",
    "BaselineSensitivity",
    "ComparisonOperationType",
    "ConditionOperator",
    "CreatedByType",
    "CriterionType",
    "DimensionOperator",
    "DynamicThresholdOperator",
    "DynamicThresholdSensitivity",
    "EventLevel",
    "IdentityType",
    "Kind",
    "KnownAgentSettingName",
    "KnownColumnDefinitionType",
    "KnownDataCollectionEndpointProvisioningState",
    "KnownDataCollectionEndpointResourceKind",
    "KnownDataCollectionRuleAssociationProvisioningState",
    "KnownDataCollectionRuleProvisioningState",
    "KnownDataCollectionRuleResourceKind",
    "KnownDataFlowStreams",
    "KnownExtensionDataSourceStreams",
    "KnownLocationSpecProvisioningStatus",
    "KnownLogFileTextSettingsRecordStartTimestampFormat",
    "KnownLogFilesDataSourceFormat",
    "KnownPerfCounterDataSourceStreams",
    "KnownPrometheusForwarderDataSourceStreams",
    "KnownPublicNetworkAccessOptions",
    "KnownStorageBlobLookupType",
    "KnownSyslogDataSourceFacilityNames",
    "KnownSyslogDataSourceLogLevels",
    "KnownSyslogDataSourceStreams",
    "KnownWindowsEventLogDataSourceStreams",
    "KnownWindowsFirewallLogsDataSourceProfileFilter",
    "ManagedServiceIdentityType",
    "MetricAggregationType",
    "MetricClass",
    "MetricResultType",
    "MetricStatisticType",
    "MetricUnit",
    "NamespaceClassification",
    "Odatatype",
    "Operator",
    "Origin",
    "PredictiveAutoscalePolicyScaleMode",
    "PrivateEndpointConnectionProvisioningState",
    "PrivateEndpointServiceConnectionStatus",
    "ProvisioningState",
    "PublicNetworkAccess",
    "ReceiverStatus",
    "RecurrenceFrequency",
    "ResultType",
    "ScaleDirection",
    "ScaleRuleMetricDimensionOperationType",
    "ScaleType",
    "TimeAggregation",
    "TimeAggregationType",
]
__all__.extend([p for p in _patch_all if p not in __all__])  # pyright: ignore
_patch_sdk()
