Skip to content

Commit 6f24f50

Browse files
author
SDKAuto
committed
CodeGen from PR 11880 in Azure/azure-rest-api-specs
Merge cd6b8e22f4cc45c247eacb631c012f75cd4b47e8 into 61ab5c8
1 parent e1f2009 commit 6f24f50

File tree

9 files changed

+438
-273
lines changed

9 files changed

+438
-273
lines changed

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@
105105
from .operations import ManagedDatabaseRestoreDetailsOperations
106106
from .operations import ManagedDatabasesOperations
107107
from .operations import ServerAzureADOnlyAuthenticationsOperations
108-
from .operations import ImportExportOperations
109108
from .operations import ManagedInstanceAzureADOnlyAuthenticationsOperations
110109
from .operations import ServerTrustGroupsOperations
111110
from . import models
@@ -301,8 +300,6 @@ class SqlManagementClient(SDKClient):
301300
:vartype managed_databases: azure.mgmt.sql.operations.ManagedDatabasesOperations
302301
:ivar server_azure_ad_only_authentications: ServerAzureADOnlyAuthentications operations
303302
:vartype server_azure_ad_only_authentications: azure.mgmt.sql.operations.ServerAzureADOnlyAuthenticationsOperations
304-
:ivar import_export: ImportExport operations
305-
:vartype import_export: azure.mgmt.sql.operations.ImportExportOperations
306303
:ivar managed_instance_azure_ad_only_authentications: ManagedInstanceAzureADOnlyAuthentications operations
307304
:vartype managed_instance_azure_ad_only_authentications: azure.mgmt.sql.operations.ManagedInstanceAzureADOnlyAuthenticationsOperations
308305
:ivar server_trust_groups: ServerTrustGroups operations
@@ -511,8 +508,6 @@ def __init__(
511508
self._client, self.config, self._serialize, self._deserialize)
512509
self.server_azure_ad_only_authentications = ServerAzureADOnlyAuthenticationsOperations(
513510
self._client, self.config, self._serialize, self._deserialize)
514-
self.import_export = ImportExportOperations(
515-
self._client, self.config, self._serialize, self._deserialize)
516511
self.managed_instance_azure_ad_only_authentications = ManagedInstanceAzureADOnlyAuthenticationsOperations(
517512
self._client, self.config, self._serialize, self._deserialize)
518513
self.server_trust_groups = ServerTrustGroupsOperations(

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,13 +544,13 @@
544544
ManagedInstanceLicenseType,
545545
ManagedInstanceProxyOverride,
546546
StorageAccountType,
547-
StorageKeyType,
548547
CreateMode,
549548
SampleName,
550549
DatabaseStatus,
551550
DatabaseLicenseType,
552551
DatabaseReadScale,
553552
SecondaryType,
553+
StorageKeyType,
554554
ElasticPoolState,
555555
ElasticPoolLicenseType,
556556
LongTermRetentionDatabaseState,
@@ -911,13 +911,13 @@
911911
'ManagedInstanceLicenseType',
912912
'ManagedInstanceProxyOverride',
913913
'StorageAccountType',
914-
'StorageKeyType',
915914
'CreateMode',
916915
'SampleName',
917916
'DatabaseStatus',
918917
'DatabaseLicenseType',
919918
'DatabaseReadScale',
920919
'SecondaryType',
920+
'StorageKeyType',
921921
'ElasticPoolState',
922922
'ElasticPoolLicenseType',
923923
'LongTermRetentionDatabaseState',

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,7 @@ class Database(TrackedResource):
625625
automatically paused. A value of -1 means that automatic pause is disabled
626626
:type auto_pause_delay: int
627627
:param storage_account_type: The storage account type used to store
628-
backups for this database. Currently the only supported option is GRS
629-
(GeoRedundantStorage). Possible values include: 'GRS', 'LRS', 'ZRS'
628+
backups for this database. Possible values include: 'GRS', 'LRS', 'ZRS'
630629
:type storage_account_type: str or
631630
~azure.mgmt.sql.models.StorageAccountType
632631
:param min_capacity: Minimal capacity that database will always have
@@ -640,7 +639,7 @@ class Database(TrackedResource):
640639
:vartype resumed_date: datetime
641640
:param maintenance_configuration_id: Maintenance configuration id assigned
642641
to the database. This configuration defines the period when the
643-
maintenance updates will be rolled out.
642+
maintenance updates will occur.
644643
:type maintenance_configuration_id: str
645644
"""
646645

@@ -1289,8 +1288,7 @@ class DatabaseUpdate(Model):
12891288
automatically paused. A value of -1 means that automatic pause is disabled
12901289
:type auto_pause_delay: int
12911290
:param storage_account_type: The storage account type used to store
1292-
backups for this database. Currently the only supported option is GRS
1293-
(GeoRedundantStorage). Possible values include: 'GRS', 'LRS', 'ZRS'
1291+
backups for this database. Possible values include: 'GRS', 'LRS', 'ZRS'
12941292
:type storage_account_type: str or
12951293
~azure.mgmt.sql.models.StorageAccountType
12961294
:param min_capacity: Minimal capacity that database will always have
@@ -1304,7 +1302,7 @@ class DatabaseUpdate(Model):
13041302
:vartype resumed_date: datetime
13051303
:param maintenance_configuration_id: Maintenance configuration id assigned
13061304
to the database. This configuration defines the period when the
1307-
maintenance updates will be rolled out.
1305+
maintenance updates will occur.
13081306
:type maintenance_configuration_id: str
13091307
:param tags: Resource tags.
13101308
:type tags: dict[str, str]
@@ -1905,7 +1903,7 @@ class ElasticPool(TrackedResource):
19051903
:type license_type: str or ~azure.mgmt.sql.models.ElasticPoolLicenseType
19061904
:param maintenance_configuration_id: Maintenance configuration id assigned
19071905
to the elastic pool. This configuration defines the period when the
1908-
maintenance updates will be rolled out.
1906+
maintenance updates will will occur.
19091907
:type maintenance_configuration_id: str
19101908
"""
19111909

@@ -2557,7 +2555,7 @@ class ElasticPoolUpdate(Model):
25572555
:type license_type: str or ~azure.mgmt.sql.models.ElasticPoolLicenseType
25582556
:param maintenance_configuration_id: Maintenance configuration id assigned
25592557
to the elastic pool. This configuration defines the period when the
2560-
maintenance updates will be rolled out.
2558+
maintenance updates will will occur.
25612559
:type maintenance_configuration_id: str
25622560
:param tags: Resource tags.
25632561
:type tags: dict[str, str]

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,7 @@ class Database(TrackedResource):
625625
automatically paused. A value of -1 means that automatic pause is disabled
626626
:type auto_pause_delay: int
627627
:param storage_account_type: The storage account type used to store
628-
backups for this database. Currently the only supported option is GRS
629-
(GeoRedundantStorage). Possible values include: 'GRS', 'LRS', 'ZRS'
628+
backups for this database. Possible values include: 'GRS', 'LRS', 'ZRS'
630629
:type storage_account_type: str or
631630
~azure.mgmt.sql.models.StorageAccountType
632631
:param min_capacity: Minimal capacity that database will always have
@@ -640,7 +639,7 @@ class Database(TrackedResource):
640639
:vartype resumed_date: datetime
641640
:param maintenance_configuration_id: Maintenance configuration id assigned
642641
to the database. This configuration defines the period when the
643-
maintenance updates will be rolled out.
642+
maintenance updates will occur.
644643
:type maintenance_configuration_id: str
645644
"""
646645

@@ -1289,8 +1288,7 @@ class DatabaseUpdate(Model):
12891288
automatically paused. A value of -1 means that automatic pause is disabled
12901289
:type auto_pause_delay: int
12911290
:param storage_account_type: The storage account type used to store
1292-
backups for this database. Currently the only supported option is GRS
1293-
(GeoRedundantStorage). Possible values include: 'GRS', 'LRS', 'ZRS'
1291+
backups for this database. Possible values include: 'GRS', 'LRS', 'ZRS'
12941292
:type storage_account_type: str or
12951293
~azure.mgmt.sql.models.StorageAccountType
12961294
:param min_capacity: Minimal capacity that database will always have
@@ -1304,7 +1302,7 @@ class DatabaseUpdate(Model):
13041302
:vartype resumed_date: datetime
13051303
:param maintenance_configuration_id: Maintenance configuration id assigned
13061304
to the database. This configuration defines the period when the
1307-
maintenance updates will be rolled out.
1305+
maintenance updates will occur.
13081306
:type maintenance_configuration_id: str
13091307
:param tags: Resource tags.
13101308
:type tags: dict[str, str]
@@ -1905,7 +1903,7 @@ class ElasticPool(TrackedResource):
19051903
:type license_type: str or ~azure.mgmt.sql.models.ElasticPoolLicenseType
19061904
:param maintenance_configuration_id: Maintenance configuration id assigned
19071905
to the elastic pool. This configuration defines the period when the
1908-
maintenance updates will be rolled out.
1906+
maintenance updates will will occur.
19091907
:type maintenance_configuration_id: str
19101908
"""
19111909

@@ -2557,7 +2555,7 @@ class ElasticPoolUpdate(Model):
25572555
:type license_type: str or ~azure.mgmt.sql.models.ElasticPoolLicenseType
25582556
:param maintenance_configuration_id: Maintenance configuration id assigned
25592557
to the elastic pool. This configuration defines the period when the
2560-
maintenance updates will be rolled out.
2558+
maintenance updates will will occur.
25612559
:type maintenance_configuration_id: str
25622560
:param tags: Resource tags.
25632561
:type tags: dict[str, str]

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_sql_management_client_enums.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -635,12 +635,6 @@ class StorageAccountType(str, Enum):
635635
zrs = "ZRS"
636636

637637

638-
class StorageKeyType(str, Enum):
639-
640-
shared_access_key = "SharedAccessKey"
641-
storage_access_key = "StorageAccessKey"
642-
643-
644638
class CreateMode(str, Enum):
645639

646640
default = "Default"
@@ -705,6 +699,12 @@ class SecondaryType(str, Enum):
705699
named = "Named"
706700

707701

702+
class StorageKeyType(str, Enum):
703+
704+
shared_access_key = "SharedAccessKey"
705+
storage_access_key = "StorageAccessKey"
706+
707+
708708
class ElasticPoolState(str, Enum):
709709

710710
creating = "Creating"

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
from ._managed_database_restore_details_operations import ManagedDatabaseRestoreDetailsOperations
102102
from ._managed_databases_operations import ManagedDatabasesOperations
103103
from ._server_azure_ad_only_authentications_operations import ServerAzureADOnlyAuthenticationsOperations
104-
from ._import_export_operations import ImportExportOperations
105104
from ._managed_instance_azure_ad_only_authentications_operations import ManagedInstanceAzureADOnlyAuthenticationsOperations
106105
from ._server_trust_groups_operations import ServerTrustGroupsOperations
107106

@@ -198,7 +197,6 @@
198197
'ManagedDatabaseRestoreDetailsOperations',
199198
'ManagedDatabasesOperations',
200199
'ServerAzureADOnlyAuthenticationsOperations',
201-
'ImportExportOperations',
202200
'ManagedInstanceAzureADOnlyAuthenticationsOperations',
203201
'ServerTrustGroupsOperations',
204202
]

0 commit comments

Comments
 (0)