src/MediaServices/MediaServicesRestProxy.php
public function getAssetStorageAccount($asset)
    {
        $assetId = Utilities::getEntityId(
            $asset,
            'WindowsAzure\MediaServices\Models\Asset'
        );

        return StorageAccount::createFromOptions(
            $this->_getEntity("Assets('{$assetId}')/StorageAccount")
        );
    }
public function getAssetStorageAccount($asset)
    {
        $assetId = Utilities::getEntityId(
            $asset,
            'WindowsAzure\MediaServices\Models\Asset'
        );

        return StorageAccount::createFromOptions(
            $this->_getEntity("Assets('{$assetId}')/StorageAccount")
        );
    }
public function getAssetStorageAccount ( $ asset ) { $ assetId = Utilities :: getEntityId ( $ asset , 'WindowsAzure\MediaServices\Models\Asset' ) ; return StorageAccount :: createFromOptions ( $ this -> _getEntity ( "Assets('{$assetId}')/StorageAccount" ) ) ; }
Get storage account of asset.

@param Asset|string $asset Asset data or asset Id

@return StorageAccount
Get storage account of asset .