Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Azure management service rest api request content invalid

$
0
0

Cross post from http://stackoverflow.com/questions/26784762/azure-management-service-rest-api-request-content-invalid

I'm trying to turn on/off network gateway diagnostics as can be seen here: http://msdn.microsoft.com/en-us/library/azure/dn547038.aspx. However, I'm getting the following error message when executing the call:

The specified request content was not valid and could not be deserialized.

I'm using the following url: https://management.core.windows.net/<subscription-id>/services/networking/<vnet-name>/gateway/publicdiagnostics/

<?xml version="1.0" encoding="utf-8"?><UpdateGatewayPublicDiagnostics><Operation>StopDiagnostics</Operation><CustomerStorageName>*****</CustomerStorageName><CustomerStorageKey>*****</CustomerStorageKey><CaptureDurationInSeconds>300</CaptureDurationInSeconds></UpdateGatewayPublicDiagnostics>



Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>