Skip to content

Commit

Permalink
[AutoRelease] t2-servicefabricmanagedclusters-2024-12-03-87446(can on…
Browse files Browse the repository at this point in the history
…ly 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]>
  • Loading branch information
3 people authored Dec 18, 2024
1 parent 90ac3ab commit 20471ba
Show file tree
Hide file tree
Showing 141 changed files with 1,301 additions and 1,032 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Release History

## 2.1.0b2 (2024-12-16)

### Features Added

- Model `ManagedCluster` added property `allocated_outbound_ports`
- Operation group `NodeTypesOperations` added method `begin_update`

### Breaking Changes

- Model `ManagedCluster` deleted or renamed its instance variable `custom_fqdn`
- Deleted or renamed method `NodeTypesOperations.update`

## 2.1.0b1 (2024-10-21)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "9a8af2acfafc4d7a23eff41b859d2d332f51b0bc",
"commit": "93a8154cfee7eb198397e256357fa60dce671763",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.19.0",
"@autorest/python@6.26.4",
"@autorest/[email protected]"
],
"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",
"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",
"readme": "specification/servicefabricmanagedclusters/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._service_fabric_managed_clusters_management_client import ServiceFabricManagedClustersManagementClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._service_fabric_managed_clusters_management_client import ServiceFabricManagedClustersManagementClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"ServiceFabricManagedClustersManagementClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from ._version import VERSION

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


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

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

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Loading

0 comments on commit 20471ba

Please sign in to comment.