src/ServiceManagement/ServiceManagementRestProxy.php
public function getOperationStatus(AsynchronousOperationResult $requestInfo)
    {
        Validate::notNullOrEmpty($requestInfo, 'requestInfo');
        Validate::notNullOrEmpty($requestInfo->getRequestId(), 'requestId');

        $context = new HttpCallContext();
        $context->setMethod(Resources::HTTP_GET);
        $context->setPath($this->_getOperationPath($requestInfo->getRequestId()));
        $context->addStatusCode(Resources::STATUS_OK);

        $response = $this->sendHttpContext($context);
        $serialized = $this->dataSerializer->unserialize($response->getBody());

        return GetOperationStatusResult::create($serialized);
    }
public function getOperationStatus(AsynchronousOperationResult $requestInfo)
    {
        Validate::notNullOrEmpty($requestInfo, 'requestInfo');
        Validate::notNullOrEmpty($requestInfo->getRequestId(), 'requestId');

        $context = new HttpCallContext();
        $context->setMethod(Resources::HTTP_GET);
        $context->setPath($this->_getOperationPath($requestInfo->getRequestId()));
        $context->addStatusCode(Resources::STATUS_OK);

        $response = $this->sendHttpContext($context);
        $serialized = $this->dataSerializer->unserialize($response->getBody());

        return GetOperationStatusResult::create($serialized);
    }
public function getOperationStatus ( AsynchronousOperationResult $ requestInfo ) { Validate :: notNullOrEmpty ( $ requestInfo , 'requestInfo' ) ; Validate :: notNullOrEmpty ( $ requestInfo -> getRequestId ( ) , 'requestId' ) ; $ context = new HttpCallContext ( ) ; $ context -> setMethod ( Resources :: HTTP_GET ) ; $ context -> setPath ( $ this -> _getOperationPath ( $ requestInfo -> getRequestId ( ) ) ) ; $ context -> addStatusCode ( Resources :: STATUS_OK ) ; $ response = $ this -> sendHttpContext ( $ context ) ; $ serialized = $ this -> dataSerializer -> unserialize ( $ response -> getBody ( ) ) ; return GetOperationStatusResult :: create ( $ serialized ) ; }
Returns the status of the specified operation. After calling an asynchronous
operation, you can call Get Operation Status to determine whether the
operation has succeeded, failed, or is still in progress.

@param AsynchronousOperationResult $requestInfo The request information for
the REST call you want to track

@return GetOperationStatusResult

@see http://msdn.microsoft.com/en-us/library/windowsazure/ee460783.aspx
Returns the status of the specified operation . After calling an asynchronous operation you can call Get Operation Status to determine whether the operation has succeeded failed or is still in progress .