Closed fogwildflower closed 2 months ago
Thank you for your feedback. Tagging and routing to the team member best able to assist.
Hi @fogwildflower , this similar question has been asked at this link. It does make sense, since the Azure web portal does not provide a clear feature or status indicator for enabling or disabling.
Hi @fogwildflower. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
/unresolve
Hi @fogwildflower , this similar question has been asked at this link. It does make sense, since the Azure web portal does not provide a clear feature or status indicator for enabling or disabling.
Azure API Management does not offer a feature to enable or disable APIs or their operations. The only available actions are adding, updating, or deleting APIs and operations.
As backing up and restoring the entire API Management instance is not a feasible solution for me, I don't want to take down the whole instance. I need a way to disable specific APIs dedicated to certain clients. When a client's subscription expires, I need to disable their APIs, and when they rejoin, I need to re-enable them.
Is there any plan to introduce this feature in the future?
@fogwildflower Sorry for the inconvenience caused. Since we are the SDK team, if you want the new feature, it's better to open an Azure ticket to get support from the service team. Then it will be feasible to introduce this feature into the SDK.
Library name and version
Azure.ResourceManager.ApiManagement 1.1.0
Query/Question
I'm currently working on a project that involves managing APIs within Azure API Management programmatically using the .NET SDK. However, I couldn't find explicit documentation or examples on how to enable or disable APIs and their operations or individual operations specifically.
Could you please provide guidance or code snippets on how to achieve this functionality using the .NET SDK for Azure API Management? It would be immensely helpful to have clear instructions or references to ensure seamless integration with our existing .NET applications.
Environment
No response