我正在尝试使用REST API创建事件订阅,请参考上面的链接。
它确实将“ provisioningState”显示为“正在创建”,有一段时间我也可以在门户网站上看到它的创建时间,但几分钟后它就会显示出来。
写订阅-在门户网站上失败,订阅消失。并可以查看以下日志
"properties": {
"statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"Internal error\",\"message\":\"The operation failed due to an internal server error. The initial state of the impacted resources (if any) are restored. Please try again in few minutes. If error still persists, report XXXXXXXXXXXXXX:5/17/2020 11:51:09 AM (UTC) to our forums for assistance or raise a support ticket .\"}]}}"
}
但是我可以从门户创建。 API仅存在问题。