TypeScript integration
import Azure_sdk_for_js from 'azure-sdk-for-js'; const client = new Azure_sdk_for_js({ accessToken: "YOUR_ACCESS_TOKEN" });
curl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortscurl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocationscurl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}