是否存在REST API可获取Azure门户Help+Support板块的支持请求?
Retrieving Azure Support Requests via REST API
Absolutely, there is a REST API to pull the support requests you've added in the Azure Portal's Help+Support section—you were on the right track, but might have missed the specific endpoint under the Azure Support resource provider.
Key Details:
- This API falls under the Microsoft.Support resource provider, which handles all support-related operations in Azure.
- The core endpoints you'll need are:
- List all support requests for a subscription:
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportRequests?api-version=2020-04-01 - Get a single support request by its system-generated name (note: this is not the display title you set in the portal):
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportRequests/{supportRequestName}?api-version=2020-04-01
- List all support requests for a subscription:
Requirements:
- You'll need a valid Azure AD access token with the
Microsoft.Support/supportRequests/readpermission. Common roles that include this permission are:- Support Request Contributor
- Reader (at the subscription or resource group level)
- Owner
Example cURL Request:
curl --location --request GET 'https://management.azure.com/subscriptions/your-subscription-id/providers/Microsoft.Support/supportRequests?api-version=2020-04-01' \ --header 'Authorization: Bearer your-azure-ad-access-token'
Why you might have missed it:
The documentation is categorized under "Azure Support" rather than a generic "get support request" label. If you search the Azure REST API docs for "Support Requests - List" or "Support Requests - Get", you'll find the full details including response schemas and optional parameters (like filtering by status or creation date).
内容的提问来源于stack exchange,提问作者Abinaya Kumar
相关产品推荐
相关产品推荐

