Azure / azure-libraries-for-java

Azure Management Libraries for Java
https://docs.microsoft.com/en-us/java/azure/
MIT License
94 stars 98 forks source link

[BUG] TrafficManager profileMonitorStatus=null #1294

Open MarkoVk95 opened 3 years ago

MarkoVk95 commented 3 years ago

I've tried both by running with the debugger attached and by logging the monitorStatus() function output.

image

It is working on Postman, I get back "online", as it is on the Portal. image

I am available for any further troubleshooting help.

weidongxu-microsoft commented 3 years ago

@MarkoVk95

It appears that traffic monitor service does not return this status on list. But it is available on getByResourceGroup or getById. (in screenshot you can see the bottom part has it, while the upper part does not, same resource, bottom one is from get, upper from list)

image

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @tmsuppgithub.

weidongxu-microsoft commented 3 years ago

@tmsuppgithub

Would you let us know whether this is intended? I.e., monitorConfig.profileMonitorStatus of TrafficManagerProfile is available in GET of single resource (i.e., Profiles_Get), but not in GET by resource group (i.e. Profiles_ListByResourceGroup).