Skip to content

Commit ad3cf0c

Browse files
[AutoRelease] t2-rdbms-2024-01-16-02112(can only be merged by SDK owner) (#33854)
* code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 52da3fe commit ad3cf0c

File tree

73 files changed

+2637
-179
lines changed

Some content is hidden

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

73 files changed

+2637
-179
lines changed

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

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

3+
## 10.2.0b14 (2024-01-23)
4+
5+
### Features Added
6+
7+
- Added operation group AdvancedThreatProtectionSettingsOperations
8+
- Added operation group LocationBasedCapabilitySetOperations
9+
- Added operation group OperationResultsOperations
10+
311
## 10.2.0b13 (2023-12-18)
412

513
### Other Changes

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure RDBMS Management Client Library.
4-
This package has been tested with Python 3.7+.
4+
This package has been tested with Python 3.8+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.7+ is required to use this package.
15+
- Python 3.8+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "d402f685809d6d08be9c0b45065cadd7d78ab870",
2+
"commit": "05c4049bc22f0ec65acc18f9835132397049cb9e",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/postgresql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
10-
"readme": "specification/postgresql/resource-manager/readme.md"
9+
"autorest_command": "autorest specification/mysql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
10+
"readme": "specification/mysql/resource-manager/readme.md"
1111
}

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.0b13"
8+
VERSION = "10.2.0b14"

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.0b13"
9+
VERSION = "10.2.0b14"

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.0b13"
9+
VERSION = "10.2.0b14"

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from ._configuration import MySQLManagementClientConfiguration
1717
from ._serialization import Deserializer, Serializer
1818
from .operations import (
19+
AdvancedThreatProtectionSettingsOperations,
1920
AzureADAdministratorsOperations,
2021
BackupAndExportOperations,
2122
BackupsOperations,
@@ -27,7 +28,9 @@
2728
FirewallRulesOperations,
2829
GetPrivateDnsZoneSuffixOperations,
2930
LocationBasedCapabilitiesOperations,
31+
LocationBasedCapabilitySetOperations,
3032
LogFilesOperations,
33+
OperationResultsOperations,
3134
Operations,
3235
ReplicasOperations,
3336
ServersMigrationOperations,
@@ -72,6 +75,9 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
7275
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
7376
:vartype location_based_capabilities:
7477
azure.mgmt.rdbms.mysql_flexibleservers.operations.LocationBasedCapabilitiesOperations
78+
:ivar location_based_capability_set: LocationBasedCapabilitySetOperations operations
79+
:vartype location_based_capability_set:
80+
azure.mgmt.rdbms.mysql_flexibleservers.operations.LocationBasedCapabilitySetOperations
7581
:ivar check_virtual_network_subnet_usage: CheckVirtualNetworkSubnetUsageOperations operations
7682
:vartype check_virtual_network_subnet_usage:
7783
azure.mgmt.rdbms.mysql_flexibleservers.operations.CheckVirtualNetworkSubnetUsageOperations
@@ -82,11 +88,18 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
8288
operations
8389
:vartype check_name_availability_without_location:
8490
azure.mgmt.rdbms.mysql_flexibleservers.operations.CheckNameAvailabilityWithoutLocationOperations
91+
:ivar operation_results: OperationResultsOperations operations
92+
:vartype operation_results:
93+
azure.mgmt.rdbms.mysql_flexibleservers.operations.OperationResultsOperations
8594
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
8695
:vartype get_private_dns_zone_suffix:
8796
azure.mgmt.rdbms.mysql_flexibleservers.operations.GetPrivateDnsZoneSuffixOperations
8897
:ivar operations: Operations operations
8998
: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
90103
:param credential: Credential needed for the client to connect to Azure. Required.
91104
:type credential: ~azure.core.credentials.TokenCredential
92105
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
@@ -132,6 +145,9 @@ def __init__(
132145
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
133146
self._client, self._config, self._serialize, self._deserialize
134147
)
148+
self.location_based_capability_set = LocationBasedCapabilitySetOperations(
149+
self._client, self._config, self._serialize, self._deserialize
150+
)
135151
self.check_virtual_network_subnet_usage = CheckVirtualNetworkSubnetUsageOperations(
136152
self._client, self._config, self._serialize, self._deserialize
137153
)
@@ -141,10 +157,16 @@ def __init__(
141157
self.check_name_availability_without_location = CheckNameAvailabilityWithoutLocationOperations(
142158
self._client, self._config, self._serialize, self._deserialize
143159
)
160+
self.operation_results = OperationResultsOperations(
161+
self._client, self._config, self._serialize, self._deserialize
162+
)
144163
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
145164
self._client, self._config, self._serialize, self._deserialize
146165
)
147166
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
167+
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
168+
self._client, self._config, self._serialize, self._deserialize
169+
)
148170

149171
def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
150172
"""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.0b13"
9+
VERSION = "10.2.0b14"

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from .._serialization import Deserializer, Serializer
1717
from ._configuration import MySQLManagementClientConfiguration
1818
from .operations import (
19+
AdvancedThreatProtectionSettingsOperations,
1920
AzureADAdministratorsOperations,
2021
BackupAndExportOperations,
2122
BackupsOperations,
@@ -27,7 +28,9 @@
2728
FirewallRulesOperations,
2829
GetPrivateDnsZoneSuffixOperations,
2930
LocationBasedCapabilitiesOperations,
31+
LocationBasedCapabilitySetOperations,
3032
LogFilesOperations,
33+
OperationResultsOperations,
3134
Operations,
3235
ReplicasOperations,
3336
ServersMigrationOperations,
@@ -72,6 +75,9 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
7275
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
7376
:vartype location_based_capabilities:
7477
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.LocationBasedCapabilitiesOperations
78+
:ivar location_based_capability_set: LocationBasedCapabilitySetOperations operations
79+
:vartype location_based_capability_set:
80+
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.LocationBasedCapabilitySetOperations
7581
:ivar check_virtual_network_subnet_usage: CheckVirtualNetworkSubnetUsageOperations operations
7682
:vartype check_virtual_network_subnet_usage:
7783
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.CheckVirtualNetworkSubnetUsageOperations
@@ -82,11 +88,18 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
8288
operations
8389
:vartype check_name_availability_without_location:
8490
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.CheckNameAvailabilityWithoutLocationOperations
91+
:ivar operation_results: OperationResultsOperations operations
92+
:vartype operation_results:
93+
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.OperationResultsOperations
8594
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
8695
:vartype get_private_dns_zone_suffix:
8796
azure.mgmt.rdbms.mysql_flexibleservers.aio.operations.GetPrivateDnsZoneSuffixOperations
8897
:ivar operations: Operations operations
8998
: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
90103
:param credential: Credential needed for the client to connect to Azure. Required.
91104
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
92105
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
@@ -132,6 +145,9 @@ def __init__(
132145
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
133146
self._client, self._config, self._serialize, self._deserialize
134147
)
148+
self.location_based_capability_set = LocationBasedCapabilitySetOperations(
149+
self._client, self._config, self._serialize, self._deserialize
150+
)
135151
self.check_virtual_network_subnet_usage = CheckVirtualNetworkSubnetUsageOperations(
136152
self._client, self._config, self._serialize, self._deserialize
137153
)
@@ -141,10 +157,16 @@ def __init__(
141157
self.check_name_availability_without_location = CheckNameAvailabilityWithoutLocationOperations(
142158
self._client, self._config, self._serialize, self._deserialize
143159
)
160+
self.operation_results = OperationResultsOperations(
161+
self._client, self._config, self._serialize, self._deserialize
162+
)
144163
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
145164
self._client, self._config, self._serialize, self._deserialize
146165
)
147166
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
167+
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
168+
self._client, self._config, self._serialize, self._deserialize
169+
)
148170

149171
def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
150172
"""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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@
1717
from ._servers_migration_operations import ServersMigrationOperations
1818
from ._log_files_operations import LogFilesOperations
1919
from ._location_based_capabilities_operations import LocationBasedCapabilitiesOperations
20+
from ._location_based_capability_set_operations import LocationBasedCapabilitySetOperations
2021
from ._check_virtual_network_subnet_usage_operations import CheckVirtualNetworkSubnetUsageOperations
2122
from ._check_name_availability_operations import CheckNameAvailabilityOperations
2223
from ._check_name_availability_without_location_operations import CheckNameAvailabilityWithoutLocationOperations
24+
from ._operation_results_operations import OperationResultsOperations
2325
from ._get_private_dns_zone_suffix_operations import GetPrivateDnsZoneSuffixOperations
2426
from ._operations import Operations
27+
from ._advanced_threat_protection_settings_operations import AdvancedThreatProtectionSettingsOperations
2528

2629
from ._patch import __all__ as _patch_all
2730
from ._patch import * # pylint: disable=unused-wildcard-import
@@ -39,11 +42,14 @@
3942
"ServersMigrationOperations",
4043
"LogFilesOperations",
4144
"LocationBasedCapabilitiesOperations",
45+
"LocationBasedCapabilitySetOperations",
4246
"CheckVirtualNetworkSubnetUsageOperations",
4347
"CheckNameAvailabilityOperations",
4448
"CheckNameAvailabilityWithoutLocationOperations",
49+
"OperationResultsOperations",
4550
"GetPrivateDnsZoneSuffixOperations",
4651
"Operations",
52+
"AdvancedThreatProtectionSettingsOperations",
4753
]
4854
__all__.extend([p for p in _patch_all if p not in __all__])
4955
_patch_sdk()

0 commit comments

Comments
 (0)