Windows スケジューラを使用して Azure Worker ロールを停止/開始しようとしています。使用したアクション URL は次のとおりですhttps://management.core.windows.net/<subscription-id>/services/hostedservices/<cloudservice-name>/deploymentslots/<deployment-slot>/
。証明書を使用して保護されます。応答は次のエラーです。
HTTP アクション - ホスト 'management.core.windows.net' からの応答: 'NotFound' 応答ヘッダー: x-ms-servedbyregion: ussouth3 Strict-Transport-Security: max-age=31536000; includeSubDomains x-ms-request-id: e1f235c155cf6a00a904a527bc22c77f Cache-Control: no-cache Date: Fri, 15 Jan 2016 19:55:02 GMT サーバー: 1.0.6198.304 (rd_rdfe_stable.160106-1801) Microsoft-HTTPAPI/2.0 本体:
ResourceNotFound
Theリソース サービス名 hostsservices はサポートされていません。
ここの指示に従いました: https://msdn.microsoft.com/en-us/library/azure/ee460808.aspx 生の POST は次のようになります: POST https://management.core.windows.net/9974e512- xxxx-xxxx-xxxx-xxxxxxxxb846a/services/hostedservices/sblqueueprocessorservice/deployments/c2cdxxxxxxxxxxxxxxxxxxxxxxxx6e32/ HTTP/1.1 x-ms-バージョン: 2009-10-01 コンテンツ タイプ: アプリケーション/xml ホスト: management.core.windows.net コンテンツ-長さ: 173
<?xml version="1.0" encoding="utf-8"?>
<UpdateDeploymentStatus xmlns="http://schemas.microsoft.com/windowsazure">
<Status>Suspended</Status>
</UpdateDeploymentStatus>
さらに、Get Deployment API 呼び出しが機能します。