Azure / Azure/azure-sdk-for-python

Microsoft.Cache/redisEnterprise/databases does not support PATCH even though the documentation suggests so

Open
#46,142 0 comments 0 reactions 0 assignees View on GitHub
Redis Cache
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

**Package Name**: azure mgmt redisenterprise

**Describe the bug**
Customer attempted to use the RedisEnterpriseManagementClient class to update the database persistence configuration using the client.databases.begin_update method. Based on the Python SDK documentation, persistence is available as a model in the azure mgmt redisenterprise package. However, the customer encountered
error while attempting to update the persistence settings through the SDK.

Reference documents :
Persistence package : [azure.mgmt.redisenterprise package | Microsoft Learn](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fpython%2Fapi%2Fazure-mgmt-redisenterprise%2Fazure.mgmt.redisenterprise%3Fview%3Dazure-python&data=05%7C02%7Cabhijitch%40microsoft.com%7C76c8c59cd5f14f935a9708de6798535e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639062101122708186%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=iQJ%2B8U6nD6DtRAWAJrflEfQ8qka9JTRTgP1Iq03dBVw%3D&reserved=0)
Database operations : [azure.mgmt.redisenterprise.operations.DatabasesOperations class | Microsoft Learn](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fpython%2Fapi%2Fazure-mgmt-redisenterprise%2Fazure.mgmt.redisenterprise%3Fview%3Dazure-python&data=05%7C02%7Cabhijitch%40microsoft.com%7C76c8c59cd5f14f935a9708de6798535e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639062101122708186%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=iQJ%2B8U6nD6DtRAWAJrflEfQ8qka9JTRTgP1Iq03dBVw%3D&reserved=0)

Note: this might have been generated from the current redisenterpise swagger definition https://github.com/Azure/azure-rest-api-specs/blob/55fc3e7d12df68485d19b10847f24c95579a06f4/specification/redisenterprise/resource-manager/Microsoft.Cache/RedisEnterprise/stable/2025-07-01/redisenterprise.json#L540-L541

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.