# 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
    AdminCredentials,
    AdminCredentialsForPatch,
    AdministratorMicrosoftEntra,
    AdministratorMicrosoftEntraAdd,
    AdministratorMicrosoftEntraList,
    AdvancedThreatProtectionSettingsList,
    AdvancedThreatProtectionSettingsModel,
    AuthConfig,
    AuthConfigForPatch,
    Backup,
    BackupAutomaticAndOnDemand,
    BackupAutomaticAndOnDemandList,
    BackupForPatch,
    BackupRequestBase,
    BackupSettings,
    BackupStoreDetails,
    BackupsLongTermRetentionOperation,
    BackupsLongTermRetentionRequest,
    BackupsLongTermRetentionResponse,
    Capability,
    CapabilityBase,
    CapabilityList,
    CapturedLog,
    CapturedLogList,
    CheckNameAvailabilityRequest,
    CheckNameAvailabilityResponse,
    Cluster,
    Configuration,
    ConfigurationForUpdate,
    ConfigurationList,
    DataEncryption,
    Database,
    DatabaseList,
    DatabaseMigrationState,
    DbLevelValidationStatus,
    DbServerMetadata,
    DelegatedSubnetUsage,
    ErrorAdditionalInfo,
    ErrorDetail,
    ErrorResponse,
    FastProvisioningEditionCapability,
    FirewallRule,
    FirewallRuleList,
    HighAvailability,
    HighAvailabilityForPatch,
    ImpactRecord,
    LtrPreBackupRequest,
    LtrPreBackupResponse,
    LtrServerBackupOperationList,
    MaintenanceWindow,
    MaintenanceWindowForPatch,
    Migration,
    MigrationList,
    MigrationNameAvailability,
    MigrationResourceForPatch,
    MigrationSecretParameters,
    MigrationSecretParametersForPatch,
    MigrationStatus,
    MigrationSubstateDetails,
    NameAvailabilityModel,
    NameProperty,
    Network,
    ObjectRecommendation,
    ObjectRecommendationDetails,
    ObjectRecommendationList,
    ObjectRecommendationPropertiesAnalyzedWorkload,
    ObjectRecommendationPropertiesImplementationDetails,
    Operation,
    OperationDisplay,
    OperationList,
    PrivateEndpoint,
    PrivateEndpointConnection,
    PrivateEndpointConnectionList,
    PrivateLinkResource,
    PrivateLinkResourceList,
    PrivateLinkServiceConnectionState,
    ProxyResource,
    QuotaUsage,
    QuotaUsageList,
    Replica,
    Resource,
    RestartParameter,
    Server,
    ServerEditionCapability,
    ServerForPatch,
    ServerList,
    ServerSku,
    ServerSkuCapability,
    ServerVersionCapability,
    Sku,
    SkuForPatch,
    Storage,
    StorageEditionCapability,
    StorageMbCapability,
    StorageTierCapability,
    SupportedFeature,
    SystemData,
    TrackedResource,
    TuningOptions,
    TuningOptionsList,
    UserAssignedIdentity,
    UserIdentity,
    ValidationDetails,
    ValidationMessage,
    ValidationSummaryItem,
    VirtualEndpoint,
    VirtualEndpointResourceForPatch,
    VirtualEndpointsList,
    VirtualNetworkSubnetUsageModel,
    VirtualNetworkSubnetUsageParameter,
)

from ._postgre_sql_management_client_enums import (  # type: ignore
    AzureManagedDiskPerformanceTier,
    BackupType,
    Cancel,
    CapabilityStatus,
    CheckNameAvailabilityReason,
    ConfigurationDataType,
    CreateMode,
    CreateModeForPatch,
    CreatedByType,
    DataEncryptionType,
    EncryptionKeyStatus,
    ExecutionStatus,
    FailoverMode,
    FastProvisioningSupport,
    FeatureStatus,
    GeographicallyRedundantBackup,
    GeographicallyRedundantBackupSupport,
    HighAvailabilityMode,
    HighAvailabilityState,
    IdentityType,
    LocationRestricted,
    LogicalReplicationOnSourceServer,
    MicrosoftEntraAuth,
    MigrateRolesAndPermissions,
    MigrationDatabaseState,
    MigrationDetailsLevel,
    MigrationListFilter,
    MigrationMode,
    MigrationNameAvailabilityReason,
    MigrationOption,
    MigrationState,
    MigrationSubstate,
    OnlineStorageResizeSupport,
    OperationOrigin,
    OverwriteDatabasesOnTargetServer,
    PasswordBasedAuth,
    PostgresMajorVersion,
    PrincipalType,
    PrivateEndpointConnectionProvisioningState,
    PrivateEndpointServiceConnectionStatus,
    ReadReplicaPromoteMode,
    ReadReplicaPromoteOption,
    RecommendationTypeEnum,
    RecommendationTypeParameterEnum,
    ReplicationRole,
    ReplicationState,
    ServerPublicNetworkAccessState,
    ServerState,
    SkuTier,
    SourceType,
    SslMode,
    StartDataMigration,
    StorageAutoGrow,
    StorageAutoGrowthSupport,
    StorageType,
    ThreatProtectionName,
    ThreatProtectionState,
    TriggerCutover,
    TuningOptionParameterEnum,
    ValidationState,
    VirtualEndpointType,
    ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport,
    ZoneRedundantHighAvailabilitySupport,
)
from ._patch import __all__ as _patch_all
from ._patch import *
from ._patch import patch_sdk as _patch_sdk

__all__ = [
    "AdminCredentials",
    "AdminCredentialsForPatch",
    "AdministratorMicrosoftEntra",
    "AdministratorMicrosoftEntraAdd",
    "AdministratorMicrosoftEntraList",
    "AdvancedThreatProtectionSettingsList",
    "AdvancedThreatProtectionSettingsModel",
    "AuthConfig",
    "AuthConfigForPatch",
    "Backup",
    "BackupAutomaticAndOnDemand",
    "BackupAutomaticAndOnDemandList",
    "BackupForPatch",
    "BackupRequestBase",
    "BackupSettings",
    "BackupStoreDetails",
    "BackupsLongTermRetentionOperation",
    "BackupsLongTermRetentionRequest",
    "BackupsLongTermRetentionResponse",
    "Capability",
    "CapabilityBase",
    "CapabilityList",
    "CapturedLog",
    "CapturedLogList",
    "CheckNameAvailabilityRequest",
    "CheckNameAvailabilityResponse",
    "Cluster",
    "Configuration",
    "ConfigurationForUpdate",
    "ConfigurationList",
    "DataEncryption",
    "Database",
    "DatabaseList",
    "DatabaseMigrationState",
    "DbLevelValidationStatus",
    "DbServerMetadata",
    "DelegatedSubnetUsage",
    "ErrorAdditionalInfo",
    "ErrorDetail",
    "ErrorResponse",
    "FastProvisioningEditionCapability",
    "FirewallRule",
    "FirewallRuleList",
    "HighAvailability",
    "HighAvailabilityForPatch",
    "ImpactRecord",
    "LtrPreBackupRequest",
    "LtrPreBackupResponse",
    "LtrServerBackupOperationList",
    "MaintenanceWindow",
    "MaintenanceWindowForPatch",
    "Migration",
    "MigrationList",
    "MigrationNameAvailability",
    "MigrationResourceForPatch",
    "MigrationSecretParameters",
    "MigrationSecretParametersForPatch",
    "MigrationStatus",
    "MigrationSubstateDetails",
    "NameAvailabilityModel",
    "NameProperty",
    "Network",
    "ObjectRecommendation",
    "ObjectRecommendationDetails",
    "ObjectRecommendationList",
    "ObjectRecommendationPropertiesAnalyzedWorkload",
    "ObjectRecommendationPropertiesImplementationDetails",
    "Operation",
    "OperationDisplay",
    "OperationList",
    "PrivateEndpoint",
    "PrivateEndpointConnection",
    "PrivateEndpointConnectionList",
    "PrivateLinkResource",
    "PrivateLinkResourceList",
    "PrivateLinkServiceConnectionState",
    "ProxyResource",
    "QuotaUsage",
    "QuotaUsageList",
    "Replica",
    "Resource",
    "RestartParameter",
    "Server",
    "ServerEditionCapability",
    "ServerForPatch",
    "ServerList",
    "ServerSku",
    "ServerSkuCapability",
    "ServerVersionCapability",
    "Sku",
    "SkuForPatch",
    "Storage",
    "StorageEditionCapability",
    "StorageMbCapability",
    "StorageTierCapability",
    "SupportedFeature",
    "SystemData",
    "TrackedResource",
    "TuningOptions",
    "TuningOptionsList",
    "UserAssignedIdentity",
    "UserIdentity",
    "ValidationDetails",
    "ValidationMessage",
    "ValidationSummaryItem",
    "VirtualEndpoint",
    "VirtualEndpointResourceForPatch",
    "VirtualEndpointsList",
    "VirtualNetworkSubnetUsageModel",
    "VirtualNetworkSubnetUsageParameter",
    "AzureManagedDiskPerformanceTier",
    "BackupType",
    "Cancel",
    "CapabilityStatus",
    "CheckNameAvailabilityReason",
    "ConfigurationDataType",
    "CreateMode",
    "CreateModeForPatch",
    "CreatedByType",
    "DataEncryptionType",
    "EncryptionKeyStatus",
    "ExecutionStatus",
    "FailoverMode",
    "FastProvisioningSupport",
    "FeatureStatus",
    "GeographicallyRedundantBackup",
    "GeographicallyRedundantBackupSupport",
    "HighAvailabilityMode",
    "HighAvailabilityState",
    "IdentityType",
    "LocationRestricted",
    "LogicalReplicationOnSourceServer",
    "MicrosoftEntraAuth",
    "MigrateRolesAndPermissions",
    "MigrationDatabaseState",
    "MigrationDetailsLevel",
    "MigrationListFilter",
    "MigrationMode",
    "MigrationNameAvailabilityReason",
    "MigrationOption",
    "MigrationState",
    "MigrationSubstate",
    "OnlineStorageResizeSupport",
    "OperationOrigin",
    "OverwriteDatabasesOnTargetServer",
    "PasswordBasedAuth",
    "PostgresMajorVersion",
    "PrincipalType",
    "PrivateEndpointConnectionProvisioningState",
    "PrivateEndpointServiceConnectionStatus",
    "ReadReplicaPromoteMode",
    "ReadReplicaPromoteOption",
    "RecommendationTypeEnum",
    "RecommendationTypeParameterEnum",
    "ReplicationRole",
    "ReplicationState",
    "ServerPublicNetworkAccessState",
    "ServerState",
    "SkuTier",
    "SourceType",
    "SslMode",
    "StartDataMigration",
    "StorageAutoGrow",
    "StorageAutoGrowthSupport",
    "StorageType",
    "ThreatProtectionName",
    "ThreatProtectionState",
    "TriggerCutover",
    "TuningOptionParameterEnum",
    "ValidationState",
    "VirtualEndpointType",
    "ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport",
    "ZoneRedundantHighAvailabilitySupport",
]
__all__.extend([p for p in _patch_all if p not in __all__])  # pyright: ignore
_patch_sdk()
