Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Release History

## 18.0.0b3 (2026-08-14)

### Features Added

- Model `LdapConfiguration` added property `secure_ldap_type`
- Model `LdapConfigurationPatch` added property `secure_ldap_type`
- Added enum `SecureLdapType`

### Breaking Changes

- Model `LdapConfiguration` deleted or renamed its instance variable `ldap_over_tls`
- Model `LdapConfigurationPatch` deleted or renamed its instance variable `ldap_over_tls`

## 18.0.0b2 (2026-07-27)

### Features Added
Expand Down
10 changes: 5 additions & 5 deletions sdk/netapp/azure-mgmt-netapp/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"apiVersion": "2026-05-15-preview",
"apiVersion": "2026-06-15-preview",
"apiVersions": {
"Microsoft.NetApp": "2026-05-15-preview"
"Microsoft.NetApp": "2026-06-15-preview"
},
"commit": "c97fe996d4a10f7d583b7951b07bd4b52b3a1be0",
"commit": "63d97d12eda6274f9851083cd1ae7911c7ccaa27",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/netapp/resource-manager/Microsoft.NetApp/NetApp",
"emitterVersion": "0.63.3",
"httpClientPythonVersion": "^0.34.2"
"emitterVersion": "0.63.5",
"httpClientPythonVersion": "^0.36.0"
}
1,200 changes: 589 additions & 611 deletions sdk/netapp/azure-mgmt-netapp/api.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions sdk/netapp/azure-mgmt-netapp/api.metadata.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apiMdSha256: 3fb4e22baa57b69b16f22e83f746e31476c798bc9843cfe637eb1be8ff4405d5
parserVersion: 0.3.30
apiMdSha256: 072caa248ad8c870b3d79de31ccf442d8ec0a9792fe4087e963913fd942bfa80
parserVersion: 0.3.31
pythonVersion: 3.13.14
3 changes: 2 additions & 1 deletion sdk/netapp/azure-mgmt-netapp/apiview-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@
"azure.mgmt.netapp.models.RegionStorageToNetworkProximity": "Microsoft.NetApp.RegionStorageToNetworkProximity",
"azure.mgmt.netapp.models.KeyVaultStatus": "Microsoft.NetApp.KeyVaultStatus",
"azure.mgmt.netapp.models.MultiAdStatus": "Microsoft.NetApp.MultiAdStatus",
"azure.mgmt.netapp.models.SecureLdapType": "Microsoft.NetApp.SecureLdapType",
"azure.mgmt.netapp.models.BindAuthenticationLevel": "Microsoft.NetApp.BindAuthenticationLevel",
"azure.mgmt.netapp.models.QosType": "Microsoft.NetApp.QosType",
"azure.mgmt.netapp.models.EncryptionType": "Microsoft.NetApp.EncryptionType",
Expand Down Expand Up @@ -663,5 +664,5 @@
"azure.mgmt.netapp.operations.NetAppResourceUsagesOperations.get": "Microsoft.NetApp.NetAppResourceUsagesOperationGroup.get",
"azure.mgmt.netapp.aio.operations.NetAppResourceUsagesOperations.get": "Microsoft.NetApp.NetAppResourceUsagesOperationGroup.get"
},
"CrossLanguageVersion": "350e558187f3"
"CrossLanguageVersion": "281057c63986"
}
5 changes: 3 additions & 2 deletions sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_client.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down Expand Up @@ -64,7 +65,7 @@
from azure.core.credentials import TokenCredential


class NetAppManagementClient: # pylint: disable=too-many-instance-attributes
class NetAppManagementClient: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only
"""Microsoft NetApp Files Azure Resource Provider specification.

:ivar operations: Operations operations
Expand Down Expand Up @@ -148,7 +149,7 @@ class NetAppManagementClient: # pylint: disable=too-many-instance-attributes
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are
"2026-05-15-preview" and None. Default value is None. If not set, the operation's default API
"2026-06-15-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -18,7 +19,7 @@
from azure.core.credentials import TokenCredential


class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only
"""Configuration for NetAppManagementClient.

Note that all parameters used to create this instance are saved as instance
Expand All @@ -34,7 +35,7 @@ class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are
"2026-05-15-preview" and None. Default value is None. If not set, the operation's default API
"2026-06-15-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
Expand All @@ -48,7 +49,7 @@ def __init__(
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2026-05-15-preview")
api_version: str = kwargs.pop("api_version", "2026-06-15-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
1 change: 0 additions & 1 deletion sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
"""


__all__: list[str] = [] # Add all objects you want publicly available to users at this package level


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,15 @@ def _is_readonly(p):


class SdkJSONEncoder(JSONEncoder):
"""A JSON encoder that's capable of serializing datetime objects and bytes."""
"""A JSON encoder that's capable of serializing datetime objects and bytes.

:param args: Additional positional arguments passed to the base ``JSONEncoder``.
:type args: typing.Any
:keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False.
:paramtype exclude_readonly: bool
:keyword format: The format to use for serialization. Defaults to None.
:paramtype format: typing.Optional[str]
"""

def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs):
super().__init__(*args, **kwargs)
Expand Down Expand Up @@ -342,6 +350,12 @@ def _deserialize_int_as_str(attr):
return int(attr)


def _deserialize_bool_as_str(attr):
if isinstance(attr, bool):
return attr
return attr.lower() == "true"


_DESERIALIZE_MAPPING = {
datetime: _deserialize_datetime,
date: _deserialize_date,
Expand Down Expand Up @@ -369,6 +383,8 @@ def _deserialize_int_as_str(attr):
def get_deserializer(annotation: typing.Any, rf: typing.Optional["_RestField"] = None):
if annotation is int and rf and rf._format == "str":
return _deserialize_int_as_str
if annotation is bool and rf and rf._format == "str":
return _deserialize_bool_as_str
if annotation is str and rf and rf._format in _ARRAY_ENCODE_MAPPING:
return functools.partial(_deserialize_array_encoded, _ARRAY_ENCODE_MAPPING[rf._format])
if rf and rf._format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key):


class Serializer: # pylint: disable=too-many-public-methods
"""Request object model serializer."""
"""Request object model serializer.

:param classes: Mapping of model names to model types, used to resolve models during serialization.
:type classes: typing.Optional[typing.Mapping[str, type]]
"""

basic_types = {str: "str", int: "int", bool: "bool", float: "float"}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "18.0.0b2"
VERSION = "18.0.0b3"
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down Expand Up @@ -64,7 +65,7 @@
from azure.core.credentials_async import AsyncTokenCredential


class NetAppManagementClient: # pylint: disable=too-many-instance-attributes
class NetAppManagementClient: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only
"""Microsoft NetApp Files Azure Resource Provider specification.

:ivar operations: Operations operations
Expand Down Expand Up @@ -151,7 +152,7 @@ class NetAppManagementClient: # pylint: disable=too-many-instance-attributes
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are
"2026-05-15-preview" and None. Default value is None. If not set, the operation's default API
"2026-06-15-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -18,7 +19,7 @@
from azure.core.credentials_async import AsyncTokenCredential


class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only
"""Configuration for NetAppManagementClient.

Note that all parameters used to create this instance are saved as instance
Expand All @@ -34,7 +35,7 @@ class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are
"2026-05-15-preview" and None. Default value is None. If not set, the operation's default API
"2026-06-15-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
Expand All @@ -48,7 +49,7 @@ def __init__(
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2026-05-15-preview")
api_version: str = kwargs.pop("api_version", "2026-06-15-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
"""


__all__: list[str] = [] # Add all objects you want publicly available to users at this package level


Expand Down
Loading
Loading