Closed adahlinvcrs closed 9 months ago
Thank you for your feedback. Tagging and routing to the team member best able to assist.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @miaojiang.
This looks like a service domain quetion, add service attention label here.
As the test results using REST Api, the isOnline
property will only show when value is false in the result, its a service issue.
Hey @adahlinvcrs , thank you for reaching out to us about the Azure SDK for .NET. Unfortunately, this issue is related to the service side and not the SDK side, so we are not able to help you with it. Therefore, we are closing this issue for now. If you need more assistance, please open an Azure support request. We apologize for any inconvenience this may cause you.
We value your feedback and we want to make sure that your problem is solved. If you think that we have misunderstood your issue or closed it incorrectly, please feel free to comment on this thread and reopen the issue. We will be happy to assist you further. Thank you for your understanding and cooperation.
Library name and version
Azure.ResourceManager.ApiManagement 1.0.1
Query/Question
When using the ApiCollection.GetAllAsync method, APIs that are offline are indicated by the IsOnline property being set as false, but for online APIs it is null.
Using the API Management Rest API, we can see that the property is not included in the response for APIs that are online, but included as false for APIs that are offline.
Example properties for an API that is online:
Example properties for an API that is offline:
Is the expected method for determining that an API is online to check for the property being null when using the Azure.ResourceManager.ApiManagement nuget package?
Thank you!
Environment
Windows 10 net6.0 project Visual Studio 2022 17.4.2