Skip to content

Commit 85ef6d5

Browse files
[AutoRelease] t2-rdbms-2024-02-27-90755(can only be merged by SDK owner) (#34466)
* code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 52fca3b commit 85ef6d5

File tree

98 files changed

+4662
-178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+4662
-178
lines changed

sdk/rdbms/azure-mgmt-rdbms/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Release History
22

3+
## 10.2.0b15 (2024-03-04)
4+
5+
### Features Added
6+
7+
- Added operation AdvancedThreatProtectionSettingsOperations.begin_update_put
8+
- Added operation group LongRunningBackupOperations
9+
- Added operation group LongRunningBackupsOperations
10+
- Added operation group MaintenancesOperations
11+
- Added operation group OperationProgressOperations
12+
313
## 10.2.0b14 (2024-01-23)
414

515
### Features Added

sdk/rdbms/azure-mgmt-rdbms/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commit": "05c4049bc22f0ec65acc18f9835132397049cb9e",
2+
"commit": "a298fd4c9d0649e4ddc43c97c20a2e089d6f5a73",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77

8-
VERSION = "10.2.0b14"
8+
VERSION = "10.2.0b15"

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mariadb/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "10.2.0b14"
9+
VERSION = "10.2.0b15"

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "10.2.0b14"
9+
VERSION = "10.2.0b15"

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers/_my_sql_management_client.py

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
LocationBasedCapabilitiesOperations,
3131
LocationBasedCapabilitySetOperations,
3232
LogFilesOperations,
33+
LongRunningBackupOperations,
34+
LongRunningBackupsOperations,
35+
MaintenancesOperations,
36+
OperationProgressOperations,
3337
OperationResultsOperations,
3438
Operations,
3539
ReplicasOperations,
@@ -55,6 +59,12 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
5559
:ivar backup_and_export: BackupAndExportOperations operations
5660
:vartype backup_and_export:
5761
azure.mgmt.rdbms.mysql_flexibleservers.operations.BackupAndExportOperations
62+
:ivar long_running_backup: LongRunningBackupOperations operations
63+
:vartype long_running_backup:
64+
azure.mgmt.rdbms.mysql_flexibleservers.operations.LongRunningBackupOperations
65+
:ivar long_running_backups: LongRunningBackupsOperations operations
66+
:vartype long_running_backups:
67+
azure.mgmt.rdbms.mysql_flexibleservers.operations.LongRunningBackupsOperations
5868
:ivar configurations: ConfigurationsOperations operations
5969
:vartype configurations:
6070
azure.mgmt.rdbms.mysql_flexibleservers.operations.ConfigurationsOperations
@@ -70,6 +80,10 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
7080
:ivar servers_migration: ServersMigrationOperations operations
7181
:vartype servers_migration:
7282
azure.mgmt.rdbms.mysql_flexibleservers.operations.ServersMigrationOperations
83+
:ivar advanced_threat_protection_settings: AdvancedThreatProtectionSettingsOperations
84+
operations
85+
:vartype advanced_threat_protection_settings:
86+
azure.mgmt.rdbms.mysql_flexibleservers.operations.AdvancedThreatProtectionSettingsOperations
7387
:ivar log_files: LogFilesOperations operations
7488
:vartype log_files: azure.mgmt.rdbms.mysql_flexibleservers.operations.LogFilesOperations
7589
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
@@ -91,15 +105,16 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
91105
:ivar operation_results: OperationResultsOperations operations
92106
:vartype operation_results:
93107
azure.mgmt.rdbms.mysql_flexibleservers.operations.OperationResultsOperations
108+
:ivar operation_progress: OperationProgressOperations operations
109+
:vartype operation_progress:
110+
azure.mgmt.rdbms.mysql_flexibleservers.operations.OperationProgressOperations
94111
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
95112
:vartype get_private_dns_zone_suffix:
96113
azure.mgmt.rdbms.mysql_flexibleservers.operations.GetPrivateDnsZoneSuffixOperations
97114
:ivar operations: Operations operations
98115
:vartype operations: azure.mgmt.rdbms.mysql_flexibleservers.operations.Operations
99-
:ivar advanced_threat_protection_settings: AdvancedThreatProtectionSettingsOperations
100-
operations
101-
:vartype advanced_threat_protection_settings:
102-
azure.mgmt.rdbms.mysql_flexibleservers.operations.AdvancedThreatProtectionSettingsOperations
116+
:ivar maintenances: MaintenancesOperations operations
117+
:vartype maintenances: azure.mgmt.rdbms.mysql_flexibleservers.operations.MaintenancesOperations
103118
:param credential: Credential needed for the client to connect to Azure. Required.
104119
:type credential: ~azure.core.credentials.TokenCredential
105120
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
@@ -133,6 +148,12 @@ def __init__(
133148
self.backup_and_export = BackupAndExportOperations(
134149
self._client, self._config, self._serialize, self._deserialize
135150
)
151+
self.long_running_backup = LongRunningBackupOperations(
152+
self._client, self._config, self._serialize, self._deserialize
153+
)
154+
self.long_running_backups = LongRunningBackupsOperations(
155+
self._client, self._config, self._serialize, self._deserialize
156+
)
136157
self.configurations = ConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
137158
self.databases = DatabasesOperations(self._client, self._config, self._serialize, self._deserialize)
138159
self.firewall_rules = FirewallRulesOperations(self._client, self._config, self._serialize, self._deserialize)
@@ -141,6 +162,9 @@ def __init__(
141162
self.servers_migration = ServersMigrationOperations(
142163
self._client, self._config, self._serialize, self._deserialize
143164
)
165+
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
166+
self._client, self._config, self._serialize, self._deserialize
167+
)
144168
self.log_files = LogFilesOperations(self._client, self._config, self._serialize, self._deserialize)
145169
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
146170
self._client, self._config, self._serialize, self._deserialize
@@ -160,13 +184,14 @@ def __init__(
160184
self.operation_results = OperationResultsOperations(
161185
self._client, self._config, self._serialize, self._deserialize
162186
)
163-
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
187+
self.operation_progress = OperationProgressOperations(
164188
self._client, self._config, self._serialize, self._deserialize
165189
)
166-
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
167-
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
190+
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
168191
self._client, self._config, self._serialize, self._deserialize
169192
)
193+
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
194+
self.maintenances = MaintenancesOperations(self._client, self._config, self._serialize, self._deserialize)
170195

171196
def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
172197
"""Runs the network request through the client's chained policies.

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "10.2.0b14"
9+
VERSION = "10.2.0b15"

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers/aio/_my_sql_management_client.py

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
LocationBasedCapabilitiesOperations,
3131
LocationBasedCapabilitySetOperations,
3232
LogFilesOperations,
33+
LongRunningBackupOperations,
34+
LongRunningBackupsOperations,
35+
MaintenancesOperations,
36+
OperationProgressOperations,
3337
OperationResultsOperations,
3438
Operations,
3539
ReplicasOperations,
@@ -55,6 +59,12 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
5559
:ivar backup_and_export: BackupAndExportOperations operations
5660
:vartype backup_and_export:
5761
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.BackupAndExportOperations
62+
:ivar long_running_backup: LongRunningBackupOperations operations
63+
:vartype long_running_backup:
64+
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.LongRunningBackupOperations
65+
:ivar long_running_backups: LongRunningBackupsOperations operations
66+
:vartype long_running_backups:
67+
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.LongRunningBackupsOperations
5868
:ivar configurations: ConfigurationsOperations operations
5969
:vartype configurations:
6070
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.ConfigurationsOperations
@@ -70,6 +80,10 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
7080
:ivar servers_migration: ServersMigrationOperations operations
7181
:vartype servers_migration:
7282
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.ServersMigrationOperations
83+
:ivar advanced_threat_protection_settings: AdvancedThreatProtectionSettingsOperations
84+
operations
85+
:vartype advanced_threat_protection_settings:
86+
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.AdvancedThreatProtectionSettingsOperations
7387
:ivar log_files: LogFilesOperations operations
7488
:vartype log_files: azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.LogFilesOperations
7589
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
@@ -91,15 +105,17 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
91105
:ivar operation_results: OperationResultsOperations operations
92106
:vartype operation_results:
93107
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.OperationResultsOperations
108+
:ivar operation_progress: OperationProgressOperations operations
109+
:vartype operation_progress:
110+
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.OperationProgressOperations
94111
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
95112
:vartype get_private_dns_zone_suffix:
96113
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.GetPrivateDnsZoneSuffixOperations
97114
:ivar operations: Operations operations
98115
:vartype operations: azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.Operations
99-
:ivar advanced_threat_protection_settings: AdvancedThreatProtectionSettingsOperations
100-
operations
101-
:vartype advanced_threat_protection_settings:
102-
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.AdvancedThreatProtectionSettingsOperations
116+
:ivar maintenances: MaintenancesOperations operations
117+
:vartype maintenances:
118+
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.MaintenancesOperations
103119
:param credential: Credential needed for the client to connect to Azure. Required.
104120
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
105121
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
@@ -133,6 +149,12 @@ def __init__(
133149
self.backup_and_export = BackupAndExportOperations(
134150
self._client, self._config, self._serialize, self._deserialize
135151
)
152+
self.long_running_backup = LongRunningBackupOperations(
153+
self._client, self._config, self._serialize, self._deserialize
154+
)
155+
self.long_running_backups = LongRunningBackupsOperations(
156+
self._client, self._config, self._serialize, self._deserialize
157+
)
136158
self.configurations = ConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
137159
self.databases = DatabasesOperations(self._client, self._config, self._serialize, self._deserialize)
138160
self.firewall_rules = FirewallRulesOperations(self._client, self._config, self._serialize, self._deserialize)
@@ -141,6 +163,9 @@ def __init__(
141163
self.servers_migration = ServersMigrationOperations(
142164
self._client, self._config, self._serialize, self._deserialize
143165
)
166+
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
167+
self._client, self._config, self._serialize, self._deserialize
168+
)
144169
self.log_files = LogFilesOperations(self._client, self._config, self._serialize, self._deserialize)
145170
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
146171
self._client, self._config, self._serialize, self._deserialize
@@ -160,13 +185,14 @@ def __init__(
160185
self.operation_results = OperationResultsOperations(
161186
self._client, self._config, self._serialize, self._deserialize
162187
)
163-
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
188+
self.operation_progress = OperationProgressOperations(
164189
self._client, self._config, self._serialize, self._deserialize
165190
)
166-
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
167-
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
191+
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
168192
self._client, self._config, self._serialize, self._deserialize
169193
)
194+
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
195+
self.maintenances = MaintenancesOperations(self._client, self._config, self._serialize, self._deserialize)
170196

171197
def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
172198
"""Runs the network request through the client's chained policies.

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers/aio/operations/__init__.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,26 @@
99
from ._azure_ad_administrators_operations import AzureADAdministratorsOperations
1010
from ._backups_operations import BackupsOperations
1111
from ._backup_and_export_operations import BackupAndExportOperations
12+
from ._long_running_backup_operations import LongRunningBackupOperations
13+
from ._long_running_backups_operations import LongRunningBackupsOperations
1214
from ._configurations_operations import ConfigurationsOperations
1315
from ._databases_operations import DatabasesOperations
1416
from ._firewall_rules_operations import FirewallRulesOperations
1517
from ._servers_operations import ServersOperations
1618
from ._replicas_operations import ReplicasOperations
1719
from ._servers_migration_operations import ServersMigrationOperations
20+
from ._advanced_threat_protection_settings_operations import AdvancedThreatProtectionSettingsOperations
1821
from ._log_files_operations import LogFilesOperations
1922
from ._location_based_capabilities_operations import LocationBasedCapabilitiesOperations
2023
from ._location_based_capability_set_operations import LocationBasedCapabilitySetOperations
2124
from ._check_virtual_network_subnet_usage_operations import CheckVirtualNetworkSubnetUsageOperations
2225
from ._check_name_availability_operations import CheckNameAvailabilityOperations
2326
from ._check_name_availability_without_location_operations import CheckNameAvailabilityWithoutLocationOperations
2427
from ._operation_results_operations import OperationResultsOperations
28+
from ._operation_progress_operations import OperationProgressOperations
2529
from ._get_private_dns_zone_suffix_operations import GetPrivateDnsZoneSuffixOperations
2630
from ._operations import Operations
27-
from ._advanced_threat_protection_settings_operations import AdvancedThreatProtectionSettingsOperations
31+
from ._maintenances_operations import MaintenancesOperations
2832

2933
from ._patch import __all__ as _patch_all
3034
from ._patch import * # pylint: disable=unused-wildcard-import
@@ -34,22 +38,26 @@
3438
"AzureADAdministratorsOperations",
3539
"BackupsOperations",
3640
"BackupAndExportOperations",
41+
"LongRunningBackupOperations",
42+
"LongRunningBackupsOperations",
3743
"ConfigurationsOperations",
3844
"DatabasesOperations",
3945
"FirewallRulesOperations",
4046
"ServersOperations",
4147
"ReplicasOperations",
4248
"ServersMigrationOperations",
49+
"AdvancedThreatProtectionSettingsOperations",
4350
"LogFilesOperations",
4451
"LocationBasedCapabilitiesOperations",
4552
"LocationBasedCapabilitySetOperations",
4653
"CheckVirtualNetworkSubnetUsageOperations",
4754
"CheckNameAvailabilityOperations",
4855
"CheckNameAvailabilityWithoutLocationOperations",
4956
"OperationResultsOperations",
57+
"OperationProgressOperations",
5058
"GetPrivateDnsZoneSuffixOperations",
5159
"Operations",
52-
"AdvancedThreatProtectionSettingsOperations",
60+
"MaintenancesOperations",
5361
]
5462
__all__.extend([p for p in _patch_all if p not in __all__])
5563
_patch_sdk()

0 commit comments

Comments
 (0)