Skip to content

Commit a59803c

Browse files
[AutoRelease] t2-sql-2025-07-30-73038(can only be merged by SDK owner) (#42267)
* code and test * update changelog * update changelog --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 9598d11 commit a59803c

File tree

1,308 files changed

+17523
-9794
lines changed

Some content is hidden

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

1,308 files changed

+17523
-9794
lines changed

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

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

3+
## 4.0.0b22 (2025-07-30)
4+
5+
### Features Added
6+
7+
- Added operation LongTermRetentionBackupsOperations.begin_lock_time_based_immutability
8+
- Added operation LongTermRetentionBackupsOperations.begin_lock_time_based_immutability_by_resource_group
9+
- Added operation LongTermRetentionBackupsOperations.begin_remove_legal_hold_immutability
10+
- Added operation LongTermRetentionBackupsOperations.begin_remove_legal_hold_immutability_by_resource_group
11+
- Added operation LongTermRetentionBackupsOperations.begin_remove_time_based_immutability
12+
- Added operation LongTermRetentionBackupsOperations.begin_remove_time_based_immutability_by_resource_group
13+
- Added operation LongTermRetentionBackupsOperations.begin_set_legal_hold_immutability
14+
- Added operation LongTermRetentionBackupsOperations.begin_set_legal_hold_immutability_by_resource_group
15+
- Added operation ManagedDatabasesOperations.begin_reevaluate_inaccessible_database_state
16+
- Added operation ManagedInstancesOperations.begin_reevaluate_inaccessible_database_state
17+
- Added operation ManagedInstancesOperations.begin_validate_azure_key_vault_encryption_key
18+
- Added operation TransparentDataEncryptionsOperations.begin_resume
19+
- Added operation TransparentDataEncryptionsOperations.begin_suspend
20+
- Added operation VirtualClustersOperations.begin_create_or_update
21+
- Model DatabaseKey has a new parameter key_version
22+
- Model EncryptionProtector has a new parameter key_version
23+
- Model LocationCapabilities has a new parameter is_zone_resilient_provisioning_allowed
24+
- Model LogicalDatabaseTransparentDataEncryption has a new parameter scan_state
25+
- Model LongTermRetentionBackup has a new parameter legal_hold_immutability
26+
- Model LongTermRetentionBackup has a new parameter time_based_immutability
27+
- Model LongTermRetentionBackup has a new parameter time_based_immutability_mode
28+
- Model LongTermRetentionPolicy has a new parameter time_based_immutability
29+
- Model LongTermRetentionPolicy has a new parameter time_based_immutability_mode
30+
- Model ManagedDatabase has a new parameter extended_accessibility_info
31+
- Model ManagedDatabaseUpdate has a new parameter extended_accessibility_info
32+
- Model ManagedInstance has a new parameter memory_size_in_gb
33+
- Model ManagedInstance has a new parameter requested_logical_availability_zone
34+
- Model ManagedInstanceUpdate has a new parameter memory_size_in_gb
35+
- Model ManagedInstanceUpdate has a new parameter requested_logical_availability_zone
36+
- Model ManagedInstanceVcoresCapability has a new parameter supported_memory_sizes_in_gb
37+
- Model Server has a new parameter create_mode
38+
- Model Server has a new parameter retention_days
39+
- Model ServerKey has a new parameter key_version
40+
- Model ServerUpdate has a new parameter create_mode
41+
- Model ServerUpdate has a new parameter retention_days
42+
43+
### Breaking Changes
44+
45+
- Model ManagedInstance no longer has parameter total_memory_mb
46+
- Model ManagedInstanceUpdate no longer has parameter total_memory_mb
47+
- Model ManagedInstanceVcoresCapability no longer has parameter supported_memory_limits_mb
48+
349
## 4.0.0b21 (2025-03-23)
450

551
### Features Added

sdk/sql/azure-mgmt-sql/MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include _meta.json
21
recursive-include tests *.py *.json
32
recursive-include samples *.py *.md
43
include *.md

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

Lines changed: 3 additions & 3 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 SQL Management Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.9+.
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.8+ is required to use this package.
15+
- Python 3.9+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "70eec0726034ed22734168f3cd3d2b641dbc5723",
2+
"commit": "ac8a6431be655f67c87f4dced2e79eff1c824833",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.27.4",
6+
"@autorest/python@6.35.0",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/sql/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-preview-2024-05 --use=@autorest/python@6.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/sql/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-preview-2024-11-01-preview --use=@autorest/python@6.35.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/sql/resource-manager/readme.md"
1111
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class SqlManagementClientConfiguration: # pylint: disable=too-many-instance-att
2727
:type credential: ~azure.core.credentials.TokenCredential
2828
:param subscription_id: The subscription ID that identifies an Azure subscription. Required.
2929
:type subscription_id: str
30-
:keyword api_version: Api Version. Default value is "2024-05-01-preview". Note that overriding
30+
:keyword api_version: Api Version. Default value is "2024-11-01-preview". Note that overriding
3131
this default value may result in unsupported behavior.
3232
:paramtype api_version: str
3333
"""
3434

3535
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
36-
api_version: str = kwargs.pop("api_version", "2024-05-01-preview")
36+
api_version: str = kwargs.pop("api_version", "2024-11-01-preview")
3737

3838
if credential is None:
3939
raise ValueError("Parameter 'credential' must not be None.")

0 commit comments

Comments
 (0)