Skip to content

Commit c7e8772

Browse files
author
SDKAuto
committed
CodeGen from PR 32208 in Azure/azure-rest-api-specs
Merge d6bde830bc415516a9c646dc9f93fd9c2129a7c2 into 040184cd37f2eb2704325b47f205a32eb0891413
1 parent 9b6cd2a commit c7e8772

File tree

80 files changed

+796
-573
lines changed

Some content is hidden

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

80 files changed

+796
-573
lines changed

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

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

3+
## 5.0.0 (2025-03-25)
4+
5+
### Features Added
6+
7+
- Model `ConfigurationStore` added property `default_key_value_revision_retention_period_in_seconds`
8+
- Model `ConfigurationStoreUpdateParameters` added property `default_key_value_revision_retention_period_in_seconds`
9+
- Method `KeyValuesOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_group_name: str, config_store_name: str, key_value_name: str, key_value_parameters: KeyValue, content_type: str)`
10+
- Method `KeyValuesOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_group_name: str, config_store_name: str, key_value_name: str, key_value_parameters: IO[bytes], content_type: str)`
11+
12+
### Breaking Changes
13+
14+
- Method `KeyValuesOperations.create_or_update` removed default value `None` from its parameter `key_value_parameters`
15+
316
## 4.0.0 (2024-10-29)
417

518
### Breaking Changes
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "2776cb32cd6ca9ea953a13ae26c954b989e83367",
2+
"commit": "65f96d73e462b86b5db090ebe9abcec1f895a036",
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.27.4",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/appconfiguration/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/appconfiguration/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/s/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/appconfiguration/resource-manager/readme.md"
1111
}

sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/__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 ._app_configuration_management_client import AppConfigurationManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._app_configuration_management_client import AppConfigurationManagementClient # 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
"AppConfigurationManagementClient",
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/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_app_configuration_management_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@
2929
)
3030

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

3534

36-
class AppConfigurationManagementClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
35+
class AppConfigurationManagementClient: # pylint: disable=too-many-instance-attributes
3736
"""AppConfigurationManagementClient.
3837
3938
:ivar configuration_stores: ConfigurationStoresOperations operations
@@ -59,7 +58,7 @@ class AppConfigurationManagementClient: # pylint: disable=client-accepts-api-ve
5958
:type subscription_id: str
6059
:param base_url: Service URL. Default value is "https://management.azure.com".
6160
:type base_url: str
62-
:keyword api_version: Api Version. Default value is "2024-05-01". Note that overriding this
61+
:keyword api_version: Api Version. Default value is "2024-06-01". Note that overriding this
6362
default value may result in unsupported behavior.
6463
:paramtype api_version: str
6564
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_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 AppConfigurationManagementClientConfiguration: # pylint: disable=too-many
2827
:type credential: ~azure.core.credentials.TokenCredential
2928
:param subscription_id: The Microsoft Azure subscription ID. Required.
3029
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-05-01". Note that overriding this
30+
:keyword api_version: Api Version. Default value is "2024-06-01". Note that overriding this
3231
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-05-01")
36+
api_version: str = kwargs.pop("api_version", "2024-06-01")
3837

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

0 commit comments

Comments
 (0)