Azure リファレンス ドキュメントを確認したところ、 のリファレンスにAsynchronous Request (classic) REST
は、Get Operation Status
require と Service Management のリクエスト ヘッダーを含む REST API<subscription-id>
が含ま<request-id>
れていることがわかりました。https://msdn.microsoft.com/en-us/library/azure/ee460783.aspxx-ms-version
を参照してください。
次に、Azure SDK の JavaDocs を確認したところ、クラスcom.microsoft.windowsazure.core.OperationStatusResponse
とcom.microsoft.windowsazure.core.AzureAsyncOperationResponse
. getStatus()
Enum のいずれかを返す関数がありますcom.microsoft.windowsazure.core.OperationStatus
。詳細については、http://azure.github.io/azure-sdk-for-java/com/microsoft/windowsazure/core/OperationStatusResponse.htmlおよび http://azure.github.io/azure-sdkを参照してください。 -for-java/com/microsoft/azure/management/network/models/AzureAsyncOperationResponse.htmlおよびhttp://azure.github.io/azure-sdk-for-java/com/microsoft/windowsazure/core/OperationStatus.html .
これらは Azure サービス管理用です。したがって、これらのクラスを maven リポジトリazure-svc-mgmt
http://mvnrepository.com/artifact/com.microsoft.azure/azure-svc-mgmt/0.9.0からインポートする必要があります。以下の maven 構成を参照してください。
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-svc-mgmt</artifactId>
<version>0.9.0</version>
</dependency>
そしてOperationStatusResponse getOperationStatus(String requestId)
、クラスの機能を使用しcom.microsoft.windowsazure.management.ManagementClient
てオブジェクトOperationStatusResponse
を取得し、必要なものを取得します。http://azure.github.io/azure-sdk-for-java/com/microsoft/windowsazure/management/ManagementClient.htmlを参照してください。
よろしくお願いします。