src/MediaServices/MediaServicesRestProxy.php
public function getOperation($operation)
    {
        $operationId = Utilities::getEntityId(
            $operation,
            'WindowsAzure\MediaServices\Models\Operation'
        );

        return Operation::createFromOptions($this->_getEntity("Operations('{$operationId}')"));
    }
public function getOperation($operation)
    {
        $operationId = Utilities::getEntityId(
            $operation,
            'WindowsAzure\MediaServices\Models\Operation'
        );

        return Operation::createFromOptions($this->_getEntity("Operations('{$operationId}')"));
    }
public function getOperation ( $ operation ) { $ operationId = Utilities :: getEntityId ( $ operation , 'WindowsAzure\MediaServices\Models\Operation' ) ; return Operation :: createFromOptions ( $ this -> _getEntity ( "Operations('{$operationId}')" ) ) ; }
Get the Operation entity.

@param Operation|string $operation The operation id

@return Operation
Get the Operation entity .