Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-cosmosdb] Cosmos DB remove 404 response on databaseAccounts GET #1366

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
# --------------------------------------------------------------------------

try:
from ._models_py3 import ApiProperties
from ._models_py3 import ARMProxyResource
from ._models_py3 import ARMResourceProperties
from ._models_py3 import AutoscaleSettings
from ._models_py3 import AutoscaleSettingsResource
from ._models_py3 import AutoUpgradePolicyResource
from ._models_py3 import AzureEntityResource
from ._models_py3 import Capability
Expand Down Expand Up @@ -60,6 +63,7 @@
from ._models_py3 import IncludedPath
from ._models_py3 import Indexes
from ._models_py3 import IndexingPolicy
from ._models_py3 import IpAddressOrRange
from ._models_py3 import Location
from ._models_py3 import Metric
from ._models_py3 import MetricAvailability
Expand Down Expand Up @@ -93,7 +97,6 @@
from ._models_py3 import PrivateEndpointProperty
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkServiceConnectionStateProperty
from ._models_py3 import ProvisionedThroughputSettingsResource
from ._models_py3 import ProxyResource
from ._models_py3 import RegionForOnlineOffline
from ._models_py3 import Resource
Expand Down Expand Up @@ -136,8 +139,11 @@
from ._models_py3 import Usage
from ._models_py3 import VirtualNetworkRule
except (SyntaxError, ImportError):
from ._models import ApiProperties
from ._models import ARMProxyResource
from ._models import ARMResourceProperties
from ._models import AutoscaleSettings
from ._models import AutoscaleSettingsResource
from ._models import AutoUpgradePolicyResource
from ._models import AzureEntityResource
from ._models import Capability
Expand Down Expand Up @@ -186,6 +192,7 @@
from ._models import IncludedPath
from ._models import Indexes
from ._models import IndexingPolicy
from ._models import IpAddressOrRange
from ._models import Location
from ._models import Metric
from ._models import MetricAvailability
Expand Down Expand Up @@ -219,7 +226,6 @@
from ._models import PrivateEndpointProperty
from ._models import PrivateLinkResource
from ._models import PrivateLinkServiceConnectionStateProperty
from ._models import ProvisionedThroughputSettingsResource
from ._models import ProxyResource
from ._models import RegionForOnlineOffline
from ._models import Resource
Expand Down Expand Up @@ -290,6 +296,7 @@
DefaultConsistencyLevel,
ConnectorOffer,
PublicNetworkAccess,
ServerVersion,
IndexingMode,
DataType,
IndexKind,
Expand All @@ -305,8 +312,11 @@
)

__all__ = [
'ApiProperties',
'ARMProxyResource',
'ARMResourceProperties',
'AutoscaleSettings',
'AutoscaleSettingsResource',
'AutoUpgradePolicyResource',
'AzureEntityResource',
'Capability',
Expand Down Expand Up @@ -355,6 +365,7 @@
'IncludedPath',
'Indexes',
'IndexingPolicy',
'IpAddressOrRange',
'Location',
'Metric',
'MetricAvailability',
Expand Down Expand Up @@ -388,7 +399,6 @@
'PrivateEndpointProperty',
'PrivateLinkResource',
'PrivateLinkServiceConnectionStateProperty',
'ProvisionedThroughputSettingsResource',
'ProxyResource',
'RegionForOnlineOffline',
'Resource',
Expand Down Expand Up @@ -458,6 +468,7 @@
'DefaultConsistencyLevel',
'ConnectorOffer',
'PublicNetworkAccess',
'ServerVersion',
'IndexingMode',
'DataType',
'IndexKind',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ class PublicNetworkAccess(str, Enum):
disabled = "Disabled"


class ServerVersion(str, Enum):

three_full_stop_two = "3.2"
three_full_stop_six = "3.6"


class IndexingMode(str, Enum):

consistent = "Consistent"
Expand Down
Loading