Skip to content

Commit 663c846

Browse files
[AutoRelease] t2-sql-2022-07-04-70384(Do not merge) (Azure#25063)
* code and test * Update CHANGELOG.md Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: zhenbiao wei <[email protected]>
1 parent b1ab2bd commit 663c846

File tree

272 files changed

+44196
-22285
lines changed

Some content is hidden

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

272 files changed

+44196
-22285
lines changed

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

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

3+
## 4.0.0b3 (2022-07-06)
4+
5+
**Features**
6+
7+
- Added operation group DatabaseAdvancedThreatProtectionSettingsOperations
8+
- Added operation group EndpointCertificatesOperations
9+
- Added operation group ManagedServerDnsAliasesOperations
10+
- Added operation group ServerAdvancedThreatProtectionSettingsOperations
11+
- Model Database has a new parameter source_resource_id
12+
- Model DatabaseBlobAuditingPolicy has a new parameter is_managed_identity_in_use
13+
- Model ExtendedDatabaseBlobAuditingPolicy has a new parameter is_managed_identity_in_use
14+
- Model ExtendedServerBlobAuditingPolicy has a new parameter is_managed_identity_in_use
15+
- Model ServerBlobAuditingPolicy has a new parameter is_managed_identity_in_use
16+
17+
**Breaking changes**
18+
19+
- Model Database no longer has parameter primary_delegated_identity_client_id
20+
- Model DatabaseIdentity no longer has parameter delegated_resources
21+
- Model DatabaseUpdate no longer has parameter primary_delegated_identity_client_id
22+
- Removed operation ReplicationLinksOperations.begin_unlink
23+
324
## 4.0.0b2 (2022-03-08)
425

526
**Features**

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ include *.md
44
include azure/__init__.py
55
include azure/mgmt/__init__.py
66
include LICENSE
7+
include azure/mgmt/sql/py.typed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"autorest": "3.7.2",
33
"use": [
4-
"@autorest/python@5.12.0",
4+
"@autorest/python@5.16.0",
55
"@autorest/[email protected]"
66
],
7-
"commit": "989a7d0e47a71a77d9a8e56f2a3eee0d366b6909",
7+
"commit": "b9b91929c304f8fb44002267b6c98d9fb9dde014",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/sql/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/[email protected] --version=3.7.2",
9+
"autorest_command": "autorest specification/sql/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/[email protected] --version=3.7.2",
1010
"readme": "specification/sql/resource-manager/readme.md"
1111
}

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@
1010
from ._version import VERSION
1111

1212
__version__ = VERSION
13+
14+
try:
15+
from ._patch import __all__ as _patch_all
16+
from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import
17+
except ImportError:
18+
_patch_all = []
19+
from ._patch import patch_sdk as _patch_sdk
1320
__all__ = ['SqlManagementClient']
21+
__all__.extend([p for p in _patch_all if p not in __all__])
1422

15-
# `._patch.py` is used for handwritten extensions to the generated code
16-
# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md
17-
from ._patch import patch_sdk
18-
patch_sdk()
23+
_patch_sdk()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from azure.core.credentials import TokenCredential
2020

2121

22-
class SqlManagementClientConfiguration(Configuration):
22+
class SqlManagementClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes
2323
"""Configuration for SqlManagementClient.
2424
2525
Note that all parameters used to create this instance are saved as instance

sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_metadata.json

Lines changed: 0 additions & 222 deletions
This file was deleted.

0 commit comments

Comments
 (0)