Skip to content

Commit

Permalink
CodeGen from PR 12596 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
fix readme Configuration Tags for sql (Azure#12596)
  • Loading branch information
SDKAuto committed Jan 26, 2021
1 parent e36e23c commit 0b580d2
Show file tree
Hide file tree
Showing 7 changed files with 400 additions and 341 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
from .operations import ServerAzureADAdministratorsOperations
from .operations import SyncGroupsOperations
from .operations import SyncMembersOperations
from .operations import ImportExportOperations
from .operations import ManagedDatabasesOperations
from .operations import ManagedDatabaseRestoreDetailsOperations
from .operations import ServerAzureADOnlyAuthenticationsOperations
Expand Down Expand Up @@ -293,6 +294,8 @@ class SqlManagementClient(SDKClient):
:vartype sync_groups: azure.mgmt.sql.operations.SyncGroupsOperations
:ivar sync_members: SyncMembers operations
:vartype sync_members: azure.mgmt.sql.operations.SyncMembersOperations
:ivar import_export: ImportExport operations
:vartype import_export: azure.mgmt.sql.operations.ImportExportOperations
:ivar managed_databases: ManagedDatabases operations
:vartype managed_databases: azure.mgmt.sql.operations.ManagedDatabasesOperations
:ivar managed_database_restore_details: ManagedDatabaseRestoreDetails operations
Expand Down Expand Up @@ -503,6 +506,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.sync_members = SyncMembersOperations(
self._client, self.config, self._serialize, self._deserialize)
self.import_export = ImportExportOperations(
self._client, self.config, self._serialize, self._deserialize)
self.managed_databases = ManagedDatabasesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.managed_database_restore_details = ManagedDatabaseRestoreDetailsOperations(
Expand Down
4 changes: 2 additions & 2 deletions sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@
SyncGroupState,
SyncDirection,
SyncMemberState,
StorageKeyType,
ManagedDatabaseStatus,
CatalogCollationType,
ManagedDatabaseCreateMode,
Expand All @@ -576,7 +577,6 @@
DatabaseLicenseType,
DatabaseReadScale,
SecondaryType,
StorageKeyType,
ElasticPoolState,
ElasticPoolLicenseType,
CreatedByType,
Expand Down Expand Up @@ -946,6 +946,7 @@
'SyncGroupState',
'SyncDirection',
'SyncMemberState',
'StorageKeyType',
'ManagedDatabaseStatus',
'CatalogCollationType',
'ManagedDatabaseCreateMode',
Expand All @@ -961,7 +962,6 @@
'DatabaseLicenseType',
'DatabaseReadScale',
'SecondaryType',
'StorageKeyType',
'ElasticPoolState',
'ElasticPoolLicenseType',
'CreatedByType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,12 @@ class SyncMemberState(str, Enum):
un_reprovisioned = "UnReprovisioned"


class StorageKeyType(str, Enum):

shared_access_key = "SharedAccessKey"
storage_access_key = "StorageAccessKey"


class ManagedDatabaseStatus(str, Enum):

online = "Online"
Expand Down Expand Up @@ -715,12 +721,6 @@ class SecondaryType(str, Enum):
named = "Named"


class StorageKeyType(str, Enum):

shared_access_key = "SharedAccessKey"
storage_access_key = "StorageAccessKey"


class ElasticPoolState(str, Enum):

creating = "Creating"
Expand Down
2 changes: 2 additions & 0 deletions sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
from ._server_azure_ad_administrators_operations import ServerAzureADAdministratorsOperations
from ._sync_groups_operations import SyncGroupsOperations
from ._sync_members_operations import SyncMembersOperations
from ._import_export_operations import ImportExportOperations
from ._managed_databases_operations import ManagedDatabasesOperations
from ._managed_database_restore_details_operations import ManagedDatabaseRestoreDetailsOperations
from ._server_azure_ad_only_authentications_operations import ServerAzureADOnlyAuthenticationsOperations
Expand Down Expand Up @@ -194,6 +195,7 @@
'ServerAzureADAdministratorsOperations',
'SyncGroupsOperations',
'SyncMembersOperations',
'ImportExportOperations',
'ManagedDatabasesOperations',
'ManagedDatabaseRestoreDetailsOperations',
'ServerAzureADOnlyAuthenticationsOperations',
Expand Down
Loading

0 comments on commit 0b580d2

Please sign in to comment.