Skip to content

Commit 20471ba

Browse files
[AutoRelease] t2-servicefabricmanagedclusters-2024-12-03-87446(can only be merged by SDK owner) (Azure#38754)
* code and test * update format * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: Chenxi Jiang (WICRESOFT NORTH AMERICA LTD) <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 90ac3ab commit 20471ba

File tree

141 files changed

+1301
-1032
lines changed

Some content is hidden

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

141 files changed

+1301
-1032
lines changed

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

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

3+
## 2.1.0b2 (2024-12-16)
4+
5+
### Features Added
6+
7+
- Model `ManagedCluster` added property `allocated_outbound_ports`
8+
- Operation group `NodeTypesOperations` added method `begin_update`
9+
10+
### Breaking Changes
11+
12+
- Model `ManagedCluster` deleted or renamed its instance variable `custom_fqdn`
13+
- Deleted or renamed method `NodeTypesOperations.update`
14+
315
## 2.1.0b1 (2024-10-21)
416

517
### Features Added
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "9a8af2acfafc4d7a23eff41b859d2d332f51b0bc",
2+
"commit": "93a8154cfee7eb198397e256357fa60dce671763",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.19.0",
6+
"@autorest/python@6.26.4",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/servicefabricmanagedclusters/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 --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/servicefabricmanagedclusters/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 --use=@autorest/python@6.26.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/servicefabricmanagedclusters/resource-manager/readme.md"
1111
}

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._service_fabric_managed_clusters_management_client import ServiceFabricManagedClustersManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._service_fabric_managed_clusters_management_client import ServiceFabricManagedClustersManagementClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"ServiceFabricManagedClustersManagementClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

@@ -28,13 +27,13 @@ class ServiceFabricManagedClustersManagementClientConfiguration: # pylint: disa
2827
:type credential: ~azure.core.credentials.TokenCredential
2928
:param subscription_id: The customer subscription identifier. Required.
3029
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-06-01-preview". Note that overriding
30+
:keyword api_version: Api Version. Default value is "2024-09-01-preview". Note that overriding
3231
this default value may result in unsupported behavior.
3332
:paramtype api_version: str
3433
"""
3534

3635
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-06-01-preview")
36+
api_version: str = kwargs.pop("api_version", "2024-09-01-preview")
3837

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

0 commit comments

Comments
 (0)